Move thickbox styles from wp-admin.css to thickbox.css. Remove old png close icons. Fixes #26178.

Built from https://develop.svn.wordpress.org/trunk@26395


git-svn-id: http://core.svn.wordpress.org/trunk@26295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Matt Thomas 2013-11-26 05:32:09 +00:00
parent 236f388d6d
commit 97319603e3
3 changed files with 21 additions and 13 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 412 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 387 B

View File

@ -3,12 +3,12 @@
/* ---------->>> thickbox specific link and font settings <<<------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
#TB_window {
font: 12px sans-serif;
font: 12px "Open Sans", sans-serif;
color: #333333;
}
#TB_secondLine {
font: 10px sans-serif;
font: 10px "Open Sans", sans-serif;
color:#666666;
}
@ -92,6 +92,10 @@ margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = d
float:right;
}
#TB_closeAjaxWindow a {
text-decoration: none;
}
#TB_ajaxWindowTitle{
float:left;
padding:6px 10px 0;
@ -162,17 +166,21 @@ margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = d
}
.tb-close-icon {
background: url('tb-close.png') no-repeat;
height: 15px;
width: 15px;
height: 16px;
margin: -3px -3px 0 0;
width: 16px;
}
@media print,
(-o-min-device-pixel-ratio: 5/4),
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
.tb-close-icon {
background: url('tb-close-2x.png') no-repeat;
background-size: 15px;
}
.tb-close-icon:before {
content: '\f158';
color: #ccc;
font: normal 20px/1 'dashicons';
speak: none;
vertical-align: middle;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.tb-close-icon:hover:before {
color: #fff;
}