Menu tweaks. Bold top level items, less padding on submenu items. Props iammattthomas. see #17324.

git-svn-id: http://svn.automattic.com/wordpress/trunk@17866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
koopersmith 2011-05-11 21:26:27 +00:00
parent 29ca82dba7
commit 7667a1ca2f
3 changed files with 4 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -1243,6 +1243,7 @@ body.no-js #adminmenu li.wp-has-current-submenu .wp-submenu {
} }
#adminmenu a.menu-top { #adminmenu a.menu-top {
font-weight: bold;
line-height: 18px; line-height: 18px;
min-width: 10em; min-width: 10em;
padding: 5px 5px; padding: 5px 5px;
@ -1257,7 +1258,7 @@ body.no-js #adminmenu li.wp-has-current-submenu .wp-submenu {
#adminmenu .wp-submenu a { #adminmenu .wp-submenu a {
margin: 0; margin: 0;
padding-left: 28px; padding-left: 12px;
} }
.wp-menu-arrow { .wp-menu-arrow {

View File

@ -487,7 +487,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(), '20110511g' ); $styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20110511h' );
$styles->add( 'ie', "/wp-admin/css/ie$suffix.css", array(), '20101102' ); $styles->add( 'ie', "/wp-admin/css/ie$suffix.css", array(), '20101102' );
$styles->add_data( 'ie', 'conditional', 'lte IE 7' ); $styles->add_data( 'ie', 'conditional', 'lte IE 7' );