diff --git a/wp-includes/css/admin-bar.dev.css b/wp-includes/css/admin-bar.dev.css index dab99dacbd..5cf65c2fd1 100644 --- a/wp-includes/css/admin-bar.dev.css +++ b/wp-includes/css/admin-bar.dev.css @@ -581,6 +581,22 @@ 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 */ diff --git a/wp-includes/images/admin-bar-sprite-2x.png b/wp-includes/images/admin-bar-sprite-2x.png new file mode 100644 index 0000000000..f329c86e52 Binary files /dev/null and b/wp-includes/images/admin-bar-sprite-2x.png differ