]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/js/thickbox/thickbox.css
WordPress 3.8
[autoinstalls/wordpress.git] / wp-includes / js / thickbox / thickbox.css
index 53438f104b74af46502b321ed67d3a2b855d42c5..25ea69cdaf8b985254e243ba4feca580592313df 100644 (file)
@@ -3,15 +3,25 @@
 /* ---------->>> 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;
 }
 
+.rtl #TB_window,
+.rtl #TB_secondLine {
+       font-family: Tahoma, sans-serif;
+}
+
+:lang(he-il) .rtl #TB_window,
+:lang(he-il) .rtl #TB_secondLine {
+       font-family: Arial, sans-serif;
+}
+
 #TB_window a:link {color: #666666;}
 #TB_window a:visited {color: #666666;}
 #TB_window a:hover {color: #000;}
@@ -23,7 +33,7 @@
 /* ----------------------------------------------------------------------------------------------------------------*/
 #TB_overlay {
        position: fixed;
-       z-index:100;
+       z-index:510; /* should overlap theme modal, which is 500 on mobile. */
        top: 0px;
        left: 0px;
        height:100%;
@@ -47,7 +57,7 @@
 #TB_window {
        position: fixed;
        background: #ffffff;
-       z-index: 102;
+       z-index: 510; /* should overlap theme modal, which is 500 on mobile. */
        color:#000000;
        visibility: hidden;
        text-align:left;
@@ -92,6 +102,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 +176,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;
-}
-
-@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;
-       }
+       height: 16px;
+       margin: -3px -3px 0 0;
+       width: 16px;
+}
+
+.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;
 }
\ No newline at end of file