Fix admin menu arrow positioning when menu is collapsed plus minor positioning tweaks. see #18382.

git-svn-id: http://svn.automattic.com/wordpress/trunk@18944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
koopersmith 2011-10-11 21:38:12 +00:00
parent 7bf1ec1a01
commit 97201b0a7d
3 changed files with 17 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -1808,6 +1808,9 @@ body.no-js #adminmenu .wp-menu-toggle,
#adminmenu li.wp-not-current-submenu:hover .wp-menu-arrow {
display: block;
}
.folded #adminmenu li.wp-not-current-submenu:hover .wp-menu-arrow {
display: none;
}
#adminmenu li.menu-top:hover .wp-menu-arrow {
z-index: 1001;
@ -1828,16 +1831,27 @@ body.no-js #adminmenu .wp-menu-toggle,
}
#adminmenu li.wp-not-current-submenu .wp-menu-arrow {
-moz-transform: translate( 145px );
-webkit-transform: translate( 145px );
-o-transform: translate( 145px );
-ms-transform: translate( 145px );
transform: translate( 145px );
height: 28px;
border-width: 1px 0;
border-style: solid;
}
.folded .wp-menu-arrow {
-moz-transform: translate( 33px );
-webkit-transform: translate( 33px );
-o-transform: translate( 33px );
-ms-transform: translate( 33px );
transform: translate( 33px );
}
#adminmenu .wp-not-current-submenu .wp-menu-arrow div {
width: 15px;
top: 6px;
left: -2px;
border-width: 0 0 1px 1px;
border-style: solid;
}

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(), '20111011' );
$styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20111011a' );
$styles->add( 'ie', "/wp-admin/css/ie$suffix.css", array(), '20111010' );
$styles->add_data( 'ie', 'conditional', 'lte IE 7' );