Center admin menu icons when menu is folded, see #17324
git-svn-id: https://develop.svn.wordpress.org/trunk@17935 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
03e09e6063
commit
39c79bac22
File diff suppressed because one or more lines are too long
|
@ -1382,114 +1382,114 @@ table.widefat .spam a:hover,
|
|||
|
||||
/* menu and screen icons */
|
||||
#adminmenu .menu-icon-dashboard div.wp-menu-image {
|
||||
background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -61px -33px;
|
||||
background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -60px -33px;
|
||||
}
|
||||
|
||||
#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: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -61px -1px;
|
||||
background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -60px -1px;
|
||||
}
|
||||
|
||||
#adminmenu .menu-icon-post div.wp-menu-image {
|
||||
background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -272px -33px;
|
||||
background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -271px -33px;
|
||||
}
|
||||
|
||||
#adminmenu .menu-icon-post:hover div.wp-menu-image,
|
||||
#adminmenu .menu-icon-post.wp-has-current-submenu div.wp-menu-image {
|
||||
background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -272px -1px;
|
||||
background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -271px -1px;
|
||||
}
|
||||
|
||||
#adminmenu .menu-icon-media div.wp-menu-image {
|
||||
background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -121px -33px;
|
||||
background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -120px -33px;
|
||||
}
|
||||
|
||||
#adminmenu .menu-icon-media:hover div.wp-menu-image,
|
||||
#adminmenu .menu-icon-media.wp-has-current-submenu div.wp-menu-image {
|
||||
background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -121px -1px;
|
||||
background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -120px -1px;
|
||||
}
|
||||
|
||||
#adminmenu .menu-icon-links div.wp-menu-image {
|
||||
background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -91px -33px;
|
||||
background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -90px -33px;
|
||||
}
|
||||
|
||||
#adminmenu .menu-icon-links:hover div.wp-menu-image,
|
||||
#adminmenu .menu-icon-links.wp-has-current-submenu div.wp-menu-image {
|
||||
background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -91px -1px;
|
||||
background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -90px -1px;
|
||||
}
|
||||
|
||||
#adminmenu .menu-icon-page div.wp-menu-image {
|
||||
background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -151px -33px;
|
||||
background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -150px -33px;
|
||||
}
|
||||
|
||||
#adminmenu .menu-icon-page:hover div.wp-menu-image,
|
||||
#adminmenu .menu-icon-page.wp-has-current-submenu div.wp-menu-image {
|
||||
background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -151px -1px;
|
||||
background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -150px -1px;
|
||||
}
|
||||
|
||||
#adminmenu .menu-icon-comments div.wp-menu-image {
|
||||
background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -31px -33px;
|
||||
background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -30px -33px;
|
||||
}
|
||||
|
||||
#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: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -31px -1px;
|
||||
background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -30px -1px;
|
||||
}
|
||||
|
||||
#adminmenu .menu-icon-appearance div.wp-menu-image {
|
||||
background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -1px -33px;
|
||||
background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll 0 -33px;
|
||||
}
|
||||
|
||||
#adminmenu .menu-icon-appearance:hover div.wp-menu-image,
|
||||
#adminmenu .menu-icon-appearance.wp-has-current-submenu div.wp-menu-image {
|
||||
background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -1px -1px;
|
||||
background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll 0 -1px;
|
||||
}
|
||||
|
||||
#adminmenu .menu-icon-plugins div.wp-menu-image {
|
||||
background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -181px -33px;
|
||||
background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -180px -33px;
|
||||
}
|
||||
|
||||
#adminmenu .menu-icon-plugins:hover div.wp-menu-image,
|
||||
#adminmenu .menu-icon-plugins.wp-has-current-submenu div.wp-menu-image {
|
||||
background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -181px -1px;
|
||||
background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -180px -1px;
|
||||
}
|
||||
|
||||
#adminmenu .menu-icon-users div.wp-menu-image {
|
||||
background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -301px -33px;
|
||||
background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -300px -33px;
|
||||
}
|
||||
|
||||
#adminmenu .menu-icon-users:hover div.wp-menu-image,
|
||||
#adminmenu .menu-icon-users.wp-has-current-submenu div.wp-menu-image {
|
||||
background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -301px -1px;
|
||||
background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -300px -1px;
|
||||
}
|
||||
|
||||
#adminmenu .menu-icon-tools div.wp-menu-image {
|
||||
background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -211px -33px;
|
||||
background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -210px -33px;
|
||||
}
|
||||
|
||||
#adminmenu .menu-icon-tools:hover div.wp-menu-image,
|
||||
#adminmenu .menu-icon-tools.wp-has-current-submenu div.wp-menu-image {
|
||||
background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -211px -1px;
|
||||
background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -210px -1px;
|
||||
}
|
||||
|
||||
#icon-options-general,
|
||||
#adminmenu .menu-icon-settings div.wp-menu-image {
|
||||
background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -241px -33px;
|
||||
background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -240px -33px;
|
||||
}
|
||||
|
||||
#adminmenu .menu-icon-settings:hover div.wp-menu-image,
|
||||
#adminmenu .menu-icon-settings.wp-has-current-submenu div.wp-menu-image {
|
||||
background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -241px -1px;
|
||||
background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -240px -1px;
|
||||
}
|
||||
|
||||
#adminmenu .menu-icon-site div.wp-menu-image {
|
||||
background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -361px -33px;
|
||||
background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -360px -33px;
|
||||
}
|
||||
|
||||
#adminmenu .menu-icon-site:hover div.wp-menu-image,
|
||||
#adminmenu .menu-icon-site.wp-has-current-submenu div.wp-menu-image {
|
||||
background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -361px -1px;
|
||||
background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -360px -1px;
|
||||
}
|
||||
/* end menu and screen icons */
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1382,114 +1382,114 @@ table.widefat .spam a:hover,
|
|||
|
||||
/* menu and screen icons */
|
||||
#adminmenu .menu-icon-dashboard div.wp-menu-image {
|
||||
background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -61px -33px;
|
||||
background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -60px -33px;
|
||||
}
|
||||
|
||||
#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: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -61px -1px;
|
||||
background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -60px -1px;
|
||||
}
|
||||
|
||||
#adminmenu .menu-icon-post div.wp-menu-image {
|
||||
background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -272px -33px;
|
||||
background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -271px -33px;
|
||||
}
|
||||
|
||||
#adminmenu .menu-icon-post:hover div.wp-menu-image,
|
||||
#adminmenu .menu-icon-post.wp-has-current-submenu div.wp-menu-image {
|
||||
background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -272px -1px;
|
||||
background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -271px -1px;
|
||||
}
|
||||
|
||||
#adminmenu .menu-icon-media div.wp-menu-image {
|
||||
background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -121px -33px;
|
||||
background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -120px -33px;
|
||||
}
|
||||
|
||||
#adminmenu .menu-icon-media:hover div.wp-menu-image,
|
||||
#adminmenu .menu-icon-media.wp-has-current-submenu div.wp-menu-image {
|
||||
background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -121px -1px;
|
||||
background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -120px -1px;
|
||||
}
|
||||
|
||||
#adminmenu .menu-icon-links div.wp-menu-image {
|
||||
background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -91px -33px;
|
||||
background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -90px -33px;
|
||||
}
|
||||
|
||||
#adminmenu .menu-icon-links:hover div.wp-menu-image,
|
||||
#adminmenu .menu-icon-links.wp-has-current-submenu div.wp-menu-image {
|
||||
background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -91px -1px;
|
||||
background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -90px -1px;
|
||||
}
|
||||
|
||||
#adminmenu .menu-icon-page div.wp-menu-image {
|
||||
background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -151px -33px;
|
||||
background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -150px -33px;
|
||||
}
|
||||
|
||||
#adminmenu .menu-icon-page:hover div.wp-menu-image,
|
||||
#adminmenu .menu-icon-page.wp-has-current-submenu div.wp-menu-image {
|
||||
background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -151px -1px;
|
||||
background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -150px -1px;
|
||||
}
|
||||
|
||||
#adminmenu .menu-icon-comments div.wp-menu-image {
|
||||
background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -31px -33px;
|
||||
background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -30px -33px;
|
||||
}
|
||||
|
||||
#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: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -31px -1px;
|
||||
background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -30px -1px;
|
||||
}
|
||||
|
||||
#adminmenu .menu-icon-appearance div.wp-menu-image {
|
||||
background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -1px -33px;
|
||||
background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll 0 -33px;
|
||||
}
|
||||
|
||||
#adminmenu .menu-icon-appearance:hover div.wp-menu-image,
|
||||
#adminmenu .menu-icon-appearance.wp-has-current-submenu div.wp-menu-image {
|
||||
background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -1px -1px;
|
||||
background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll 0 -1px;
|
||||
}
|
||||
|
||||
#adminmenu .menu-icon-plugins div.wp-menu-image {
|
||||
background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -181px -33px;
|
||||
background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -180px -33px;
|
||||
}
|
||||
|
||||
#adminmenu .menu-icon-plugins:hover div.wp-menu-image,
|
||||
#adminmenu .menu-icon-plugins.wp-has-current-submenu div.wp-menu-image {
|
||||
background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -181px -1px;
|
||||
background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -180px -1px;
|
||||
}
|
||||
|
||||
#adminmenu .menu-icon-users div.wp-menu-image {
|
||||
background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -301px -33px;
|
||||
background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -300px -33px;
|
||||
}
|
||||
|
||||
#adminmenu .menu-icon-users:hover div.wp-menu-image,
|
||||
#adminmenu .menu-icon-users.wp-has-current-submenu div.wp-menu-image {
|
||||
background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -301px -1px;
|
||||
background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -300px -1px;
|
||||
}
|
||||
|
||||
#adminmenu .menu-icon-tools div.wp-menu-image {
|
||||
background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -211px -33px;
|
||||
background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -210px -33px;
|
||||
}
|
||||
|
||||
#adminmenu .menu-icon-tools:hover div.wp-menu-image,
|
||||
#adminmenu .menu-icon-tools.wp-has-current-submenu div.wp-menu-image {
|
||||
background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -211px -1px;
|
||||
background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -210px -1px;
|
||||
}
|
||||
|
||||
#icon-options-general,
|
||||
#adminmenu .menu-icon-settings div.wp-menu-image {
|
||||
background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -241px -33px;
|
||||
background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -240px -33px;
|
||||
}
|
||||
|
||||
#adminmenu .menu-icon-settings:hover div.wp-menu-image,
|
||||
#adminmenu .menu-icon-settings.wp-has-current-submenu div.wp-menu-image {
|
||||
background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -241px -1px;
|
||||
background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -240px -1px;
|
||||
}
|
||||
|
||||
#adminmenu .menu-icon-site div.wp-menu-image {
|
||||
background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -361px -33px;
|
||||
background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -360px -33px;
|
||||
}
|
||||
|
||||
#adminmenu .menu-icon-site:hover div.wp-menu-image,
|
||||
#adminmenu .menu-icon-site.wp-has-current-submenu div.wp-menu-image {
|
||||
background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -361px -1px;
|
||||
background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -360px -1px;
|
||||
}
|
||||
/* end menu and screen icons */
|
||||
|
||||
|
@ -2110,4 +2110,4 @@ div.widgets-sortables,
|
|||
#upload-form label {
|
||||
color: #777;
|
||||
}
|
||||
/* custom header & background pages */
|
||||
/* custom header & background pages */
|
||||
|
|
|
@ -492,7 +492,7 @@ function wp_default_styles( &$styles ) {
|
|||
$styles->add_data( 'ie', 'conditional', 'lte IE 7' );
|
||||
|
||||
// all colors stylesheets need to have the same query strings (cache manifest compat)
|
||||
$colors_version = '20110514b';
|
||||
$colors_version = '20110515';
|
||||
|
||||
// Register "meta" stylesheet for admin colors. All colors-* style sheets should have the same version string.
|
||||
$styles->add( 'colors', true, array(), $colors_version );
|
||||
|
|
Loading…
Reference in New Issue