Retina display icons: add 2x sprite for the toolbar, props chexee, fixes #20293

git-svn-id: http://core.svn.wordpress.org/trunk@20814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2012-05-16 23:55:38 +00:00
parent 3940ec2b59
commit 0450af0ad5
2 changed files with 16 additions and 0 deletions

View File

@ -581,6 +581,22 @@
background-position: -2px -203px; background-position: -2px -203px;
} }
/**
* Retina display 2x icons
*/
@media only screen and (-webkit-min-device-pixel-ratio: 1.5) {
#wpadminbar .menupop .menupop > .ab-item,
#wpadminbar .ab-top-secondary .menupop .menupop > .ab-item,
#wpadminbar #adminbarsearch .adminbar-input,
#wp-admin-bar-wp-logo > .ab-item .ab-icon,
#wp-admin-bar-updates > .ab-item .ab-icon,
#wp-admin-bar-comments > .ab-item .ab-icon,
#wpadminbar #wp-admin-bar-new-content > .ab-item .ab-icon {
background-image: url(../images/admin-bar-sprite-2x.png?d=20120516);
background-size: 20px 220px;
}
}
/** /**
* IE 6-targeted rules * IE 6-targeted rules
*/ */

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB