Make WordPress Core

Changeset 23026


Ignore:
Timestamp:
12/04/2012 04:32:06 PM (13 years ago)
Author:
nacin
Message:

Move HiDPI block to the bottom of media-views. @media does not provide additional specificity, so the non-retina stuff overrides if the retina rules come first. props lessbloat, fixes #22728.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/css/media-views.css

    r23024 r23026  
    808808
    809809/**
    810  * HiDPI Displays
    811  */
    812 @media print,
    813   (-o-min-device-pixel-ratio: 5/4),
    814   (-webkit-min-device-pixel-ratio: 1.25),
    815   (min-resolution: 120dpi) {
    816     .media-modal-icon {
    817         background-image: url(../images/uploader-icons-2x.png);
    818         background-size: 134px 15px;
    819     }
    820 
    821     .media-sidebar .settings-save-status .spinner {
    822         background-image: url(../images/wpspin-2x.gif);
    823     }
    824 }
    825 
    826 /**
    827810 * Attachments Browser
    828811 */
     
    15531536    }
    15541537}
     1538
     1539/**
     1540 * HiDPI Displays
     1541 */
     1542@media print,
     1543  (-o-min-device-pixel-ratio: 5/4),
     1544  (-webkit-min-device-pixel-ratio: 1.25),
     1545  (min-resolution: 120dpi) {
     1546    .media-modal-icon {
     1547        background-image: url(../images/uploader-icons-2x.png);
     1548        background-size: 134px 15px;
     1549    }
     1550
     1551    .media-sidebar .settings-save-status .spinner {
     1552        background-image: url(../images/wpspin-2x.gif);
     1553    }
     1554}
Note: See TracChangeset for help on using the changeset viewer.