2008-01-09 09:14:29 +01:00
|
|
|
|
|
|
|
/* ----------------------------------------------------------------------------------------------------------------*/
|
|
|
|
/* ---------->>> thickbox specific link and font settings <<<------------------------------------------------------*/
|
|
|
|
/* ----------------------------------------------------------------------------------------------------------------*/
|
|
|
|
#TB_window {
|
2012-09-13 19:08:01 +02:00
|
|
|
font: 12px sans-serif;
|
2008-01-09 09:14:29 +01:00
|
|
|
color: #333333;
|
|
|
|
}
|
|
|
|
|
|
|
|
#TB_secondLine {
|
2012-09-13 19:08:01 +02:00
|
|
|
font: 10px sans-serif;
|
2008-01-09 09:14:29 +01:00
|
|
|
color:#666666;
|
|
|
|
}
|
|
|
|
|
|
|
|
#TB_window a:link {color: #666666;}
|
|
|
|
#TB_window a:visited {color: #666666;}
|
|
|
|
#TB_window a:hover {color: #000;}
|
|
|
|
#TB_window a:active {color: #666666;}
|
|
|
|
#TB_window a:focus{color: #666666;}
|
|
|
|
|
|
|
|
/* ----------------------------------------------------------------------------------------------------------------*/
|
|
|
|
/* ---------->>> thickbox settings <<<-----------------------------------------------------------------------------*/
|
|
|
|
/* ----------------------------------------------------------------------------------------------------------------*/
|
|
|
|
#TB_overlay {
|
|
|
|
position: fixed;
|
|
|
|
z-index:100;
|
|
|
|
top: 0px;
|
|
|
|
left: 0px;
|
|
|
|
height:100%;
|
|
|
|
width:100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.TB_overlayMacFFBGHack {background: url(macFFBgHack.png) repeat;}
|
|
|
|
.TB_overlayBG {
|
|
|
|
background-color:#000;
|
2009-01-24 12:58:21 +01:00
|
|
|
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=75)";
|
2008-01-09 09:14:29 +01:00
|
|
|
filter:alpha(opacity=75);
|
|
|
|
-moz-opacity: 0.75;
|
|
|
|
opacity: 0.75;
|
|
|
|
}
|
|
|
|
|
|
|
|
* html #TB_overlay { /* ie6 hack */
|
|
|
|
position: absolute;
|
|
|
|
height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
|
|
|
|
}
|
|
|
|
|
|
|
|
#TB_window {
|
|
|
|
position: fixed;
|
2008-05-20 19:19:33 +02:00
|
|
|
background: #ffffff;
|
2008-01-09 09:14:29 +01:00
|
|
|
z-index: 102;
|
|
|
|
color:#000000;
|
2011-07-29 10:59:35 +02:00
|
|
|
visibility: hidden;
|
2008-01-09 09:14:29 +01:00
|
|
|
text-align:left;
|
2008-05-20 19:19:33 +02:00
|
|
|
top:50%;
|
2008-01-09 09:14:29 +01:00
|
|
|
left:50%;
|
2008-11-22 09:03:25 +01:00
|
|
|
border: 1px solid #555;
|
|
|
|
-moz-box-shadow: rgba(0,0,0,1) 0 4px 30px;
|
|
|
|
-webkit-box-shadow: rgba(0,0,0,1) 0 4px 30px;
|
|
|
|
-khtml-box-shadow: rgba(0,0,0,1) 0 4px 30px;
|
|
|
|
box-shadow: rgba(0,0,0,1) 0 4px 30px;
|
2008-01-09 09:14:29 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
* html #TB_window { /* ie6 hack */
|
|
|
|
position: absolute;
|
2008-05-20 19:19:33 +02:00
|
|
|
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
|
2008-01-09 09:14:29 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#TB_window img#TB_Image {
|
|
|
|
display:block;
|
|
|
|
margin: 15px 0 0 15px;
|
|
|
|
border-right: 1px solid #ccc;
|
|
|
|
border-bottom: 1px solid #ccc;
|
|
|
|
border-top: 1px solid #666;
|
|
|
|
border-left: 1px solid #666;
|
|
|
|
}
|
|
|
|
|
|
|
|
#TB_caption{
|
|
|
|
height:25px;
|
|
|
|
padding:7px 30px 10px 25px;
|
|
|
|
float:left;
|
|
|
|
}
|
|
|
|
|
|
|
|
#TB_closeWindow{
|
|
|
|
height:25px;
|
|
|
|
padding:11px 25px 10px 0;
|
|
|
|
float:right;
|
|
|
|
}
|
|
|
|
|
|
|
|
#TB_closeAjaxWindow{
|
2008-05-20 19:19:33 +02:00
|
|
|
padding:6px 10px 0;
|
2008-01-09 09:14:29 +01:00
|
|
|
text-align:right;
|
|
|
|
float:right;
|
|
|
|
}
|
|
|
|
|
|
|
|
#TB_ajaxWindowTitle{
|
|
|
|
float:left;
|
2008-05-20 19:19:33 +02:00
|
|
|
padding:6px 10px 0;
|
2008-01-09 09:14:29 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#TB_title{
|
|
|
|
background-color:#e8e8e8;
|
|
|
|
height:27px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#TB_ajaxContent{
|
|
|
|
clear:both;
|
|
|
|
padding:2px 15px 15px 15px;
|
|
|
|
overflow:auto;
|
|
|
|
text-align:left;
|
|
|
|
line-height:1.4em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#TB_ajaxContent.TB_modal{
|
|
|
|
padding:15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#TB_ajaxContent p{
|
|
|
|
padding:5px 0px 5px 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#TB_load{
|
|
|
|
position: fixed;
|
|
|
|
display:none;
|
|
|
|
z-index:103;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
2008-06-14 18:38:08 +02:00
|
|
|
background-color: #E8E8E8;
|
2008-11-22 09:03:25 +01:00
|
|
|
border: 1px solid #555;
|
2008-06-14 18:38:08 +02:00
|
|
|
margin: -45px 0pt 0pt -125px;
|
|
|
|
padding: 40px 15px 15px;
|
2008-01-09 09:14:29 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
* html #TB_load { /* ie6 hack */
|
|
|
|
position: absolute;
|
|
|
|
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
|
|
|
|
}
|
|
|
|
|
|
|
|
#TB_HideSelect{
|
|
|
|
z-index:99;
|
|
|
|
position:fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
background-color:#fff;
|
|
|
|
border:none;
|
|
|
|
filter:alpha(opacity=0);
|
|
|
|
-moz-opacity: 0;
|
|
|
|
opacity: 0;
|
|
|
|
height:100%;
|
|
|
|
width:100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
* html #TB_HideSelect { /* ie6 hack */
|
|
|
|
position: absolute;
|
|
|
|
height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
|
|
|
|
}
|
|
|
|
|
|
|
|
#TB_iframeContent{
|
|
|
|
clear:both;
|
|
|
|
border:none;
|
|
|
|
margin-bottom:-1px;
|
|
|
|
_margin-bottom:1px;
|
|
|
|
}
|
2012-11-05 22:00:15 +01:00
|
|
|
|
|
|
|
.tb-close-icon {
|
|
|
|
background: url('tb-close.png') no-repeat;
|
|
|
|
height: 15px;
|
|
|
|
width: 15px;
|
|
|
|
}
|
|
|
|
|
Introduce a new, cross-browser HiDPI CSS @media rule to be used everywhere.
{{{
@media print,
(-o-min-device-pixel-ratio: 5/4),
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
}}}
Serve HiDPI graphics for printing, regardless of screen resolution.
Specify Opera's vendor-prefixed device pixel ratio property, for Opera desktop.
Specify a minimum Webkit device pixel ratio of 1.25 instead of 1.5, to serve
2x images to Android devices that are between 1 and 1.5x (like the Nexus 7).
Firefox and Opera will respond to 1.5x on these devices, but Chrome will not.
Specify min-resolution, which covers Firefox 19. Opera on Android also supports
min-resolution, but Opera Mini does not support dppx, so the dpi unit is used.
props iammattthomas for the exhaustive research.
props lessbloat for patching.
fixes #22238.
git-svn-id: https://develop.svn.wordpress.org/trunk@22629 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-17 07:50:08 +01:00
|
|
|
@media print,
|
|
|
|
(-o-min-device-pixel-ratio: 5/4),
|
|
|
|
(-webkit-min-device-pixel-ratio: 1.25),
|
|
|
|
(min-resolution: 120dpi) {
|
2012-11-05 22:00:15 +01:00
|
|
|
.tb-close-icon {
|
|
|
|
background: url('tb-close-2x.png') no-repeat;
|
|
|
|
background-size: 15px;
|
|
|
|
}
|
|
|
|
}
|