Make WordPress Core

Changeset 26395


Ignore:
Timestamp:
11/26/2013 05:31:32 AM (13 years ago)
Author:
iammattthomas
Message:

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

Location:
trunk/src/wp-includes/js/thickbox
Files:
2 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/js/thickbox/thickbox.css

    r22629 r26395  
    44/* ----------------------------------------------------------------------------------------------------------------*/
    55#TB_window {
    6         font: 12px sans-serif;
     6        font: 12px "Open Sans", sans-serif;
    77        color: #333333;
    88}
    99
    1010#TB_secondLine {
    11         font: 10px sans-serif;
     11        font: 10px "Open Sans", sans-serif;
    1212        color:#666666;
    1313}
     
    9393}
    9494
     95#TB_closeAjaxWindow a {
     96        text-decoration: none;
     97}
     98
    9599#TB_ajaxWindowTitle{
    96100        float:left;
     
    163167
    164168.tb-close-icon {
    165         background: url('tb-close.png') no-repeat;
    166         height: 15px;
    167         width: 15px;
     169        height: 16px;
     170        margin: -3px -3px 0 0;
     171        width: 16px;
    168172}
    169173
    170 @media print,
    171   (-o-min-device-pixel-ratio: 5/4),
    172   (-webkit-min-device-pixel-ratio: 1.25),
    173   (min-resolution: 120dpi) {
    174         .tb-close-icon {
    175                 background: url('tb-close-2x.png') no-repeat;
    176                 background-size: 15px;
    177         }
     174.tb-close-icon:before {
     175        content: '\f158';
     176        color: #ccc;
     177        font: normal 20px/1 'dashicons';
     178        speak: none;
     179        vertical-align: middle;
     180        -webkit-font-smoothing: antialiased;
     181        -moz-osx-font-smoothing: grayscale;
    178182}
     183
     184.tb-close-icon:hover:before {
     185        color: #fff;
     186}
Note: See TracChangeset for help on using the changeset viewer.