Move the admin menu icons up one pixel, to restore their 3.4 positioning. props lessbloat. fixes #22527.

git-svn-id: http://core.svn.wordpress.org/trunk@22767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2012-11-21 15:37:43 +00:00
parent fd191b3228
commit f1752a5568
2 changed files with 48 additions and 48 deletions

View File

@ -1204,134 +1204,134 @@ div.wp-menu-image {
.icon16.icon-dashboard, .icon16.icon-dashboard,
#adminmenu .menu-icon-dashboard div.wp-menu-image { #adminmenu .menu-icon-dashboard div.wp-menu-image {
background-position: -59px -33px; background-position: -59px -34px;
} }
#adminmenu .menu-icon-dashboard:hover div.wp-menu-image, #adminmenu .menu-icon-dashboard:hover div.wp-menu-image,
#adminmenu .menu-icon-dashboard.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-dashboard.wp-has-current-submenu div.wp-menu-image,
#adminmenu .menu-icon-dashboard.current div.wp-menu-image { #adminmenu .menu-icon-dashboard.current div.wp-menu-image {
background-position: -59px -1px; background-position: -59px -2px;
} }
.icon16.icon-post, .icon16.icon-post,
#adminmenu .menu-icon-post div.wp-menu-image { #adminmenu .menu-icon-post div.wp-menu-image {
background-position: -269px -33px; background-position: -269px -34px;
} }
#adminmenu .menu-icon-post:hover div.wp-menu-image, #adminmenu .menu-icon-post:hover div.wp-menu-image,
#adminmenu .menu-icon-post.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-post.wp-has-current-submenu div.wp-menu-image,
#adminmenu .menu-icon-post.current div.wp-menu-image { #adminmenu .menu-icon-post.current div.wp-menu-image {
background-position: -269px -1px; background-position: -269px -2px;
} }
.icon16.icon-media, .icon16.icon-media,
#adminmenu .menu-icon-media div.wp-menu-image { #adminmenu .menu-icon-media div.wp-menu-image {
background-position: -119px -33px; background-position: -119px -34px;
} }
#adminmenu .menu-icon-media:hover div.wp-menu-image, #adminmenu .menu-icon-media:hover div.wp-menu-image,
#adminmenu .menu-icon-media.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-media.wp-has-current-submenu div.wp-menu-image,
#adminmenu .menu-icon-media.current div.wp-menu-image { #adminmenu .menu-icon-media.current div.wp-menu-image {
background-position: -119px -1px; background-position: -119px -2px;
} }
.icon16.icon-links, .icon16.icon-links,
#adminmenu .menu-icon-links div.wp-menu-image { #adminmenu .menu-icon-links div.wp-menu-image {
background-position: -89px -33px; background-position: -89px -34px;
} }
#adminmenu .menu-icon-links:hover div.wp-menu-image, #adminmenu .menu-icon-links:hover div.wp-menu-image,
#adminmenu .menu-icon-links.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-links.wp-has-current-submenu div.wp-menu-image,
#adminmenu .menu-icon-links.current div.wp-menu-image { #adminmenu .menu-icon-links.current div.wp-menu-image {
background-position: -89px -1px; background-position: -89px -2px;
} }
.icon16.icon-page, .icon16.icon-page,
#adminmenu .menu-icon-page div.wp-menu-image { #adminmenu .menu-icon-page div.wp-menu-image {
background-position: -149px -33px; background-position: -149px -34px;
} }
#adminmenu .menu-icon-page:hover div.wp-menu-image, #adminmenu .menu-icon-page:hover div.wp-menu-image,
#adminmenu .menu-icon-page.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-page.wp-has-current-submenu div.wp-menu-image,
#adminmenu .menu-icon-page.current div.wp-menu-image { #adminmenu .menu-icon-page.current div.wp-menu-image {
background-position: -149px -1px; background-position: -149px -2px;
} }
.icon16.icon-comments, .icon16.icon-comments,
#adminmenu .menu-icon-comments div.wp-menu-image { #adminmenu .menu-icon-comments div.wp-menu-image {
background-position: -29px -33px; background-position: -29px -34px;
} }
#adminmenu .menu-icon-comments:hover div.wp-menu-image, #adminmenu .menu-icon-comments:hover div.wp-menu-image,
#adminmenu .menu-icon-comments.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-comments.wp-has-current-submenu div.wp-menu-image,
#adminmenu .menu-icon-comments.current div.wp-menu-image { #adminmenu .menu-icon-comments.current div.wp-menu-image {
background-position: -29px -1px; background-position: -29px -2px;
} }
.icon16.icon-appearance, .icon16.icon-appearance,
#adminmenu .menu-icon-appearance div.wp-menu-image { #adminmenu .menu-icon-appearance div.wp-menu-image {
background-position: 1px -33px; background-position: 1px -34px;
} }
#adminmenu .menu-icon-appearance:hover div.wp-menu-image, #adminmenu .menu-icon-appearance:hover div.wp-menu-image,
#adminmenu .menu-icon-appearance.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-appearance.wp-has-current-submenu div.wp-menu-image,
#adminmenu .menu-icon-appearance.current div.wp-menu-image { #adminmenu .menu-icon-appearance.current div.wp-menu-image {
background-position: 1px -1px; background-position: 1px -2px;
} }
.icon16.icon-plugins, .icon16.icon-plugins,
#adminmenu .menu-icon-plugins div.wp-menu-image { #adminmenu .menu-icon-plugins div.wp-menu-image {
background-position: -179px -33px; background-position: -179px -34px;
} }
#adminmenu .menu-icon-plugins:hover div.wp-menu-image, #adminmenu .menu-icon-plugins:hover div.wp-menu-image,
#adminmenu .menu-icon-plugins.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-plugins.wp-has-current-submenu div.wp-menu-image,
#adminmenu .menu-icon-plugins.current div.wp-menu-image { #adminmenu .menu-icon-plugins.current div.wp-menu-image {
background-position: -179px -1px; background-position: -179px -2px;
} }
.icon16.icon-users, .icon16.icon-users,
#adminmenu .menu-icon-users div.wp-menu-image { #adminmenu .menu-icon-users div.wp-menu-image {
background-position: -300px -33px; background-position: -300px -34px;
} }
#adminmenu .menu-icon-users:hover div.wp-menu-image, #adminmenu .menu-icon-users:hover div.wp-menu-image,
#adminmenu .menu-icon-users.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-users.wp-has-current-submenu div.wp-menu-image,
#adminmenu .menu-icon-users.current div.wp-menu-image { #adminmenu .menu-icon-users.current div.wp-menu-image {
background-position: -300px -1px; background-position: -300px -2px;
} }
.icon16.icon-tools, .icon16.icon-tools,
#adminmenu .menu-icon-tools div.wp-menu-image { #adminmenu .menu-icon-tools div.wp-menu-image {
background-position: -209px -33px; background-position: -209px -34px;
} }
#adminmenu .menu-icon-tools:hover div.wp-menu-image, #adminmenu .menu-icon-tools:hover div.wp-menu-image,
#adminmenu .menu-icon-tools.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-tools.wp-has-current-submenu div.wp-menu-image,
#adminmenu .menu-icon-tools.current div.wp-menu-image { #adminmenu .menu-icon-tools.current div.wp-menu-image {
background-position: -209px -1px; background-position: -209px -2px;
} }
.icon16.icon-settings, .icon16.icon-settings,
#adminmenu .menu-icon-settings div.wp-menu-image { #adminmenu .menu-icon-settings div.wp-menu-image {
background-position: -239px -33px; background-position: -239px -34px;
} }
#adminmenu .menu-icon-settings:hover div.wp-menu-image, #adminmenu .menu-icon-settings:hover div.wp-menu-image,
#adminmenu .menu-icon-settings.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-settings.wp-has-current-submenu div.wp-menu-image,
#adminmenu .menu-icon-settings.current div.wp-menu-image { #adminmenu .menu-icon-settings.current div.wp-menu-image {
background-position: -239px -1px; background-position: -239px -2px;
} }
.icon16.icon-site, .icon16.icon-site,
#adminmenu .menu-icon-site div.wp-menu-image { #adminmenu .menu-icon-site div.wp-menu-image {
background-position: -359px -33px; background-position: -359px -34px;
} }
#adminmenu .menu-icon-site:hover div.wp-menu-image, #adminmenu .menu-icon-site:hover div.wp-menu-image,
#adminmenu .menu-icon-site.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-site.wp-has-current-submenu div.wp-menu-image,
#adminmenu .menu-icon-site.current div.wp-menu-image { #adminmenu .menu-icon-site.current div.wp-menu-image {
background-position: -359px -1px; background-position: -359px -2px;
} }
.icon16.icon-generic, .icon16.icon-generic,

View File

@ -1097,134 +1097,134 @@ div.wp-menu-image {
.icon16.icon-dashboard, .icon16.icon-dashboard,
#adminmenu .menu-icon-dashboard div.wp-menu-image { #adminmenu .menu-icon-dashboard div.wp-menu-image {
background-position: -59px -33px; background-position: -59px -34px;
} }
#adminmenu .menu-icon-dashboard:hover div.wp-menu-image, #adminmenu .menu-icon-dashboard:hover div.wp-menu-image,
#adminmenu .menu-icon-dashboard.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-dashboard.wp-has-current-submenu div.wp-menu-image,
#adminmenu .menu-icon-dashboard.current div.wp-menu-image { #adminmenu .menu-icon-dashboard.current div.wp-menu-image {
background-position: -59px -1px; background-position: -59px -2px;
} }
.icon16.icon-post, .icon16.icon-post,
#adminmenu .menu-icon-post div.wp-menu-image { #adminmenu .menu-icon-post div.wp-menu-image {
background-position: -269px -33px; background-position: -269px -34px;
} }
#adminmenu .menu-icon-post:hover div.wp-menu-image, #adminmenu .menu-icon-post:hover div.wp-menu-image,
#adminmenu .menu-icon-post.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-post.wp-has-current-submenu div.wp-menu-image,
#adminmenu .menu-icon-post.current div.wp-menu-image { #adminmenu .menu-icon-post.current div.wp-menu-image {
background-position: -269px -1px; background-position: -269px -2px;
} }
.icon16.icon-media, .icon16.icon-media,
#adminmenu .menu-icon-media div.wp-menu-image { #adminmenu .menu-icon-media div.wp-menu-image {
background-position: -119px -33px; background-position: -119px -34px;
} }
#adminmenu .menu-icon-media:hover div.wp-menu-image, #adminmenu .menu-icon-media:hover div.wp-menu-image,
#adminmenu .menu-icon-media.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-media.wp-has-current-submenu div.wp-menu-image,
#adminmenu .menu-icon-media.current div.wp-menu-image { #adminmenu .menu-icon-media.current div.wp-menu-image {
background-position: -119px -1px; background-position: -119px -2px;
} }
.icon16.icon-links, .icon16.icon-links,
#adminmenu .menu-icon-links div.wp-menu-image { #adminmenu .menu-icon-links div.wp-menu-image {
background-position: -89px -33px; background-position: -89px -34px;
} }
#adminmenu .menu-icon-links:hover div.wp-menu-image, #adminmenu .menu-icon-links:hover div.wp-menu-image,
#adminmenu .menu-icon-links.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-links.wp-has-current-submenu div.wp-menu-image,
#adminmenu .menu-icon-links.current div.wp-menu-image { #adminmenu .menu-icon-links.current div.wp-menu-image {
background-position: -89px -1px; background-position: -89px -2px;
} }
.icon16.icon-page, .icon16.icon-page,
#adminmenu .menu-icon-page div.wp-menu-image { #adminmenu .menu-icon-page div.wp-menu-image {
background-position: -149px -33px; background-position: -149px -34px;
} }
#adminmenu .menu-icon-page:hover div.wp-menu-image, #adminmenu .menu-icon-page:hover div.wp-menu-image,
#adminmenu .menu-icon-page.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-page.wp-has-current-submenu div.wp-menu-image,
#adminmenu .menu-icon-page.current div.wp-menu-image { #adminmenu .menu-icon-page.current div.wp-menu-image {
background-position: -149px -1px; background-position: -149px -2px;
} }
.icon16.icon-comments, .icon16.icon-comments,
#adminmenu .menu-icon-comments div.wp-menu-image { #adminmenu .menu-icon-comments div.wp-menu-image {
background-position: -29px -33px; background-position: -29px -34px;
} }
#adminmenu .menu-icon-comments:hover div.wp-menu-image, #adminmenu .menu-icon-comments:hover div.wp-menu-image,
#adminmenu .menu-icon-comments.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-comments.wp-has-current-submenu div.wp-menu-image,
#adminmenu .menu-icon-comments.current div.wp-menu-image { #adminmenu .menu-icon-comments.current div.wp-menu-image {
background-position: -29px -1px; background-position: -29px -2px;
} }
.icon16.icon-appearance, .icon16.icon-appearance,
#adminmenu .menu-icon-appearance div.wp-menu-image { #adminmenu .menu-icon-appearance div.wp-menu-image {
background-position: 1px -33px; background-position: 1px -34px;
} }
#adminmenu .menu-icon-appearance:hover div.wp-menu-image, #adminmenu .menu-icon-appearance:hover div.wp-menu-image,
#adminmenu .menu-icon-appearance.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-appearance.wp-has-current-submenu div.wp-menu-image,
#adminmenu .menu-icon-appearance.current div.wp-menu-image { #adminmenu .menu-icon-appearance.current div.wp-menu-image {
background-position: 1px -1px; background-position: 1px -2px;
} }
.icon16.icon-plugins, .icon16.icon-plugins,
#adminmenu .menu-icon-plugins div.wp-menu-image { #adminmenu .menu-icon-plugins div.wp-menu-image {
background-position: -179px -33px; background-position: -179px -34px;
} }
#adminmenu .menu-icon-plugins:hover div.wp-menu-image, #adminmenu .menu-icon-plugins:hover div.wp-menu-image,
#adminmenu .menu-icon-plugins.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-plugins.wp-has-current-submenu div.wp-menu-image,
#adminmenu .menu-icon-plugins.current div.wp-menu-image { #adminmenu .menu-icon-plugins.current div.wp-menu-image {
background-position: -179px -1px; background-position: -179px -2px;
} }
.icon16.icon-users, .icon16.icon-users,
#adminmenu .menu-icon-users div.wp-menu-image { #adminmenu .menu-icon-users div.wp-menu-image {
background-position: -300px -33px; background-position: -300px -34px;
} }
#adminmenu .menu-icon-users:hover div.wp-menu-image, #adminmenu .menu-icon-users:hover div.wp-menu-image,
#adminmenu .menu-icon-users.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-users.wp-has-current-submenu div.wp-menu-image,
#adminmenu .menu-icon-users.current div.wp-menu-image { #adminmenu .menu-icon-users.current div.wp-menu-image {
background-position: -300px -1px; background-position: -300px -2px;
} }
.icon16.icon-tools, .icon16.icon-tools,
#adminmenu .menu-icon-tools div.wp-menu-image { #adminmenu .menu-icon-tools div.wp-menu-image {
background-position: -209px -33px; background-position: -209px -34px;
} }
#adminmenu .menu-icon-tools:hover div.wp-menu-image, #adminmenu .menu-icon-tools:hover div.wp-menu-image,
#adminmenu .menu-icon-tools.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-tools.wp-has-current-submenu div.wp-menu-image,
#adminmenu .menu-icon-tools.current div.wp-menu-image { #adminmenu .menu-icon-tools.current div.wp-menu-image {
background-position: -209px -1px; background-position: -209px -2px;
} }
.icon16.icon-settings, .icon16.icon-settings,
#adminmenu .menu-icon-settings div.wp-menu-image { #adminmenu .menu-icon-settings div.wp-menu-image {
background-position: -239px -33px; background-position: -239px -34px;
} }
#adminmenu .menu-icon-settings:hover div.wp-menu-image, #adminmenu .menu-icon-settings:hover div.wp-menu-image,
#adminmenu .menu-icon-settings.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-settings.wp-has-current-submenu div.wp-menu-image,
#adminmenu .menu-icon-settings.current div.wp-menu-image { #adminmenu .menu-icon-settings.current div.wp-menu-image {
background-position: -239px -1px; background-position: -239px -2px;
} }
.icon16.icon-site, .icon16.icon-site,
#adminmenu .menu-icon-site div.wp-menu-image { #adminmenu .menu-icon-site div.wp-menu-image {
background-position: -359px -33px; background-position: -359px -34px;
} }
#adminmenu .menu-icon-site:hover div.wp-menu-image, #adminmenu .menu-icon-site:hover div.wp-menu-image,
#adminmenu .menu-icon-site.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-site.wp-has-current-submenu div.wp-menu-image,
#adminmenu .menu-icon-site.current div.wp-menu-image { #adminmenu .menu-icon-site.current div.wp-menu-image {
background-position: -359px -1px; background-position: -359px -2px;
} }
.icon16.icon-generic, .icon16.icon-generic,