From 6683f9813da047bbe5e312d5ba71afd4b6415021 Mon Sep 17 00:00:00 2001 From: azaozz Date: Thu, 5 Apr 2012 01:02:36 +0000 Subject: [PATCH] More specific selectors for the 2x images, see #20293 git-svn-id: http://svn.automattic.com/wordpress/trunk@20362 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/css/colors-classic.dev.css | 26 ++++++++++++++++++++++---- wp-admin/css/colors-fresh.dev.css | 24 ++++++++++++++++++++++-- 2 files changed, 44 insertions(+), 6 deletions(-) diff --git a/wp-admin/css/colors-classic.dev.css b/wp-admin/css/colors-classic.dev.css index 78e9243f43..c402a1abd1 100644 --- a/wp-admin/css/colors-classic.dev.css +++ b/wp-admin/css/colors-classic.dev.css @@ -1632,20 +1632,38 @@ div.icon32 { background-position: -659px -5px; } -/* @media only screen and (-webkit-min-device-pixel-ratio: 1.5) { div.icon32 { background-image: url(../images/icons32-2x.png?ver=20120412); background-size: 708px 45px; } - .icon16, - div.wp-menu-image { + .icon16.icon-post, + .menu-icon-post div.wp-menu-image, + .icon16.icon-media, + .menu-icon-media div.wp-menu-image, + .icon16.icon-links, + .menu-icon-links div.wp-menu-image, + .icon16.icon-page, + .menu-icon-page div.wp-menu-image, + .icon16.icon-comments, + .menu-icon-comments div.wp-menu-image, + .icon16.icon-appearance, + .menu-icon-appearance div.wp-menu-image, + .icon16.icon-plugins, + .menu-icon-plugins div.wp-menu-image, + .icon16.icon-users, + .menu-icon-users div.wp-menu-image, + .icon16.icon-tools, + .menu-icon-tools div.wp-menu-image, + .icon16.icon-settings, + .menu-icon-settings div.wp-menu-image, + .icon16.icon-site, + .menu-icon-site div.wp-menu-image { background-image: url('../images/menu-2x.png?ver=20120412'); background-size: 390px 64px; } } -*/ /* end screen icons */ /* Diff */ diff --git a/wp-admin/css/colors-fresh.dev.css b/wp-admin/css/colors-fresh.dev.css index def3ff1148..08b6bd7d9c 100644 --- a/wp-admin/css/colors-fresh.dev.css +++ b/wp-admin/css/colors-fresh.dev.css @@ -1329,8 +1329,28 @@ div.icon32 { background-size: 708px 45px; } - .icon16, - div.wp-menu-image { + .icon16.icon-post, + .menu-icon-post div.wp-menu-image, + .icon16.icon-media, + .menu-icon-media div.wp-menu-image, + .icon16.icon-links, + .menu-icon-links div.wp-menu-image, + .icon16.icon-page, + .menu-icon-page div.wp-menu-image, + .icon16.icon-comments, + .menu-icon-comments div.wp-menu-image, + .icon16.icon-appearance, + .menu-icon-appearance div.wp-menu-image, + .icon16.icon-plugins, + .menu-icon-plugins div.wp-menu-image, + .icon16.icon-users, + .menu-icon-users div.wp-menu-image, + .icon16.icon-tools, + .menu-icon-tools div.wp-menu-image, + .icon16.icon-settings, + .menu-icon-settings div.wp-menu-image, + .icon16.icon-site, + .menu-icon-site div.wp-menu-image { background-image: url('../images/menu-2x.png?ver=20120412'); background-size: 390px 64px; }