More specific selectors for the 2x images, see #20293

git-svn-id: http://svn.automattic.com/wordpress/trunk@20362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2012-04-05 01:02:36 +00:00
parent 756a8141df
commit 6683f9813d
2 changed files with 44 additions and 6 deletions

View File

@ -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 */

View File

@ -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;
}