From f1752a556836b813d8db6e34c39f8b698d4c2b6f Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Wed, 21 Nov 2012 15:37:43 +0000 Subject: [PATCH] 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 --- wp-admin/css/colors-classic.css | 48 ++++++++++++++++----------------- wp-admin/css/colors-fresh.css | 48 ++++++++++++++++----------------- 2 files changed, 48 insertions(+), 48 deletions(-) diff --git a/wp-admin/css/colors-classic.css b/wp-admin/css/colors-classic.css index 99b3b6fb8c..0865191496 100644 --- a/wp-admin/css/colors-classic.css +++ b/wp-admin/css/colors-classic.css @@ -1204,134 +1204,134 @@ div.wp-menu-image { .icon16.icon-dashboard, #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.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-dashboard.current div.wp-menu-image { - background-position: -59px -1px; + background-position: -59px -2px; } .icon16.icon-post, #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.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-post.current div.wp-menu-image { - background-position: -269px -1px; + background-position: -269px -2px; } .icon16.icon-media, #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.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-media.current div.wp-menu-image { - background-position: -119px -1px; + background-position: -119px -2px; } .icon16.icon-links, #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.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-links.current div.wp-menu-image { - background-position: -89px -1px; + background-position: -89px -2px; } .icon16.icon-page, #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.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-page.current div.wp-menu-image { - background-position: -149px -1px; + background-position: -149px -2px; } .icon16.icon-comments, #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.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-comments.current div.wp-menu-image { - background-position: -29px -1px; + background-position: -29px -2px; } .icon16.icon-appearance, #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.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-appearance.current div.wp-menu-image { - background-position: 1px -1px; + background-position: 1px -2px; } .icon16.icon-plugins, #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.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-plugins.current div.wp-menu-image { - background-position: -179px -1px; + background-position: -179px -2px; } .icon16.icon-users, #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.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-users.current div.wp-menu-image { - background-position: -300px -1px; + background-position: -300px -2px; } .icon16.icon-tools, #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.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-tools.current div.wp-menu-image { - background-position: -209px -1px; + background-position: -209px -2px; } .icon16.icon-settings, #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.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-settings.current div.wp-menu-image { - background-position: -239px -1px; + background-position: -239px -2px; } .icon16.icon-site, #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.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-site.current div.wp-menu-image { - background-position: -359px -1px; + background-position: -359px -2px; } .icon16.icon-generic, diff --git a/wp-admin/css/colors-fresh.css b/wp-admin/css/colors-fresh.css index 215f5e1221..d5a826741d 100644 --- a/wp-admin/css/colors-fresh.css +++ b/wp-admin/css/colors-fresh.css @@ -1097,134 +1097,134 @@ div.wp-menu-image { .icon16.icon-dashboard, #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.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-dashboard.current div.wp-menu-image { - background-position: -59px -1px; + background-position: -59px -2px; } .icon16.icon-post, #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.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-post.current div.wp-menu-image { - background-position: -269px -1px; + background-position: -269px -2px; } .icon16.icon-media, #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.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-media.current div.wp-menu-image { - background-position: -119px -1px; + background-position: -119px -2px; } .icon16.icon-links, #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.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-links.current div.wp-menu-image { - background-position: -89px -1px; + background-position: -89px -2px; } .icon16.icon-page, #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.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-page.current div.wp-menu-image { - background-position: -149px -1px; + background-position: -149px -2px; } .icon16.icon-comments, #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.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-comments.current div.wp-menu-image { - background-position: -29px -1px; + background-position: -29px -2px; } .icon16.icon-appearance, #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.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-appearance.current div.wp-menu-image { - background-position: 1px -1px; + background-position: 1px -2px; } .icon16.icon-plugins, #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.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-plugins.current div.wp-menu-image { - background-position: -179px -1px; + background-position: -179px -2px; } .icon16.icon-users, #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.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-users.current div.wp-menu-image { - background-position: -300px -1px; + background-position: -300px -2px; } .icon16.icon-tools, #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.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-tools.current div.wp-menu-image { - background-position: -209px -1px; + background-position: -209px -2px; } .icon16.icon-settings, #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.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-settings.current div.wp-menu-image { - background-position: -239px -1px; + background-position: -239px -2px; } .icon16.icon-site, #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.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-site.current div.wp-menu-image { - background-position: -359px -1px; + background-position: -359px -2px; } .icon16.icon-generic,