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.

git-svn-id: http://core.svn.wordpress.org/trunk@23026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2012-12-04 16:32:06 +00:00
parent 32c83140d0
commit f116e787e5
1 changed files with 17 additions and 17 deletions

View File

@ -806,23 +806,6 @@
border-radius: 0;
}
/**
* HiDPI Displays
*/
@media print,
(-o-min-device-pixel-ratio: 5/4),
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
.media-modal-icon {
background-image: url(../images/uploader-icons-2x.png);
background-size: 134px 15px;
}
.media-sidebar .settings-save-status .spinner {
background-image: url(../images/wpspin-2x.gif);
}
}
/**
* Attachments Browser
*/
@ -1552,3 +1535,20 @@
position: absolute;
}
}
/**
* HiDPI Displays
*/
@media print,
(-o-min-device-pixel-ratio: 5/4),
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
.media-modal-icon {
background-image: url(../images/uploader-icons-2x.png);
background-size: 134px 15px;
}
.media-sidebar .settings-save-status .spinner {
background-image: url(../images/wpspin-2x.gif);
}
}