Improve display logic for admin menu arrows. see #18382.

git-svn-id: http://svn.automattic.com/wordpress/trunk@19199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
koopersmith 2011-11-07 04:18:50 +00:00
parent 91aaf6bdf5
commit dae0be0711
3 changed files with 4 additions and 6 deletions

File diff suppressed because one or more lines are too long

View File

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

View File

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