In expanded admin menus, block the shadow when hovering over a childless item. see #18382.

git-svn-id: http://svn.automattic.com/wordpress/trunk@19439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
koopersmith 2011-11-23 23:19:12 +00:00
parent 094ebdb120
commit e73fcd8c4a
3 changed files with 6 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@ -1743,13 +1743,14 @@ body.no-js #adminmenu .wp-menu-toggle,
} }
#adminmenu li.wp-has-current-submenu .wp-menu-arrow, #adminmenu li.wp-has-current-submenu .wp-menu-arrow,
#adminmenu li.wp-has-submenu:hover .wp-menu-arrow, #adminmenu li.menu-top:hover .wp-menu-arrow,
#adminmenu li.current .wp-menu-arrow, #adminmenu li.current .wp-menu-arrow,
#adminmenu li.focused .wp-menu-arrow { #adminmenu li.focused .wp-menu-arrow,
#adminmenu li.menu-top.wp-has-submenu:hover .wp-menu-arrow div {
display: block; display: block;
} }
.folded #adminmenu li.wp-not-current-submenu .wp-menu-arrow { #adminmenu li.wp-not-current-submenu:hover .wp-menu-arrow div {
display: none; display: none;
} }

View File

@ -433,7 +433,7 @@ function wp_default_styles( &$styles ) {
// Any rtl stylesheets that don't have a .dev version for ltr // Any rtl stylesheets that don't have a .dev version for ltr
$no_suffix = array( 'farbtastic' ); $no_suffix = array( 'farbtastic' );
$styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20111123b' ); $styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20111123c' );
$styles->add( 'ie', "/wp-admin/css/ie$suffix.css", array(), '20111119' ); $styles->add( 'ie', "/wp-admin/css/ie$suffix.css", array(), '20111119' );
$styles->add_data( 'ie', 'conditional', 'lte IE 7' ); $styles->add_data( 'ie', 'conditional', 'lte IE 7' );