mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-24 01:57:53 +01:00
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:
parent
756a8141df
commit
6683f9813d
@ -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 */
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user