New 'on' state for admin menus. props JohnONolan, see #13486.

git-svn-id: http://svn.automattic.com/wordpress/trunk@14870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-05-25 02:47:43 +00:00
parent 52f05426e0
commit 5c5a6d4d73
7 changed files with 36 additions and 30 deletions

File diff suppressed because one or more lines are too long

View File

@ -518,16 +518,14 @@ body.press-this .tabs a:hover {
}
#adminmenu li.current a #awaiting-mod,
#adminmenu li.current a .update-plugins,
#adminmenu li.wp-has-current-submenu a .update-plugins,
#adminmenu li.wp-has-current-submenu a .update-plugins {
background-color: #ddd;
#adminmenu li a.wp-has-current-submenu .update-plugins{
background-color: #fff;
color: #000;
text-shadow: none;
-moz-box-shadow: rgba(0,0,0,0.2) 0 -1px 0;
-khtml-box-shadow: rgba(0,0,0,0.2) 0 -1px 0;
-webkit-box-shadow: rgba(0,0,0,0.2) 0 -1px 0;
box-shadow: rgba(0,0,0,0.2) 0 -1px 0;
-moz-box-shadow: rgba(0,0,0,0.4) 0 -1px 0;
-khtml-box-shadow: rgba(0,0,0,0.4) 0 -1px 0;
-webkit-box-shadow: rgba(0,0,0,0.4) 0 -1px 0;
box-shadow: rgba(0,0,0,0.4) 0 -1px 0;
}
#adminmenu li.current a:hover #awaiting-mod,
@ -536,6 +534,10 @@ body.press-this .tabs a:hover {
#adminmenu li.wp-has-current-submenu a:hover .update-plugins {
background-color: #264761;
color: #fff;
-moz-box-shadow: none;
-khtml-box-shadow: none;
-webkit-box-shadow: none;
box-shadow: none;
}
div#media-upload-header,
@ -1075,17 +1077,26 @@ table.widefat .spam a:hover,
background: url(../images/menu-dark.gif) top left no-repeat !important;
}
.wp-has-current-submenu .wp-submenu {
border-top: none !important;
}
#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu {
border-bottom: #aaa 1px solid;
}
#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,
#adminmenu .menu-top .current {
background: #6d6d6d url(../images/menu-bits.gif) top left repeat-x;
border-color: #6d6d6d;
color: #fff;
text-shadow: rgba(0,0,0,0.4) 0 -1px 0;
background: #aaa url(../images/menu-bits.gif) top left repeat-x;
border-color: #aaa;
color: #000;
text-shadow: #fff 0px 1px 0px;
}
#adminmenu li.wp-has-current-submenu .wp-submenu,
#adminmenu li.wp-has-current-submenu ul li a {
border-color: #aaa !important;
border-right-color: #aaa !important;
border-left-color: #aaa !important;
}
#adminmenu li.wp-has-current-submenu ul li a {
@ -1096,10 +1107,6 @@ table.widefat .spam a:hover,
border-bottom-color: #aaa;
}
#adminmenu li.menu-top .current:hover {
border-color: #B5B5B5;
}
#adminmenu .wp-submenu .current a.current {
background: transparent url(../images/menu-bits.gif) no-repeat scroll 0 -289px;
}

File diff suppressed because one or more lines are too long

View File

@ -1175,14 +1175,15 @@ div.comment-item:hover .row-actions {
#sidemenu li a span.update-plugins {
position: absolute;
font-family: Helvetica, Arial, sans-serif;
font-size: 7pt;
font-size: 9px;
line-height: 17px;
font-weight: bold;
margin-top: 2px;
margin-left: 2px;
-moz-border-radius: 7px;
-khtml-border-radius: 7px;
-webkit-border-radius: 7px;
border-radius: 7px;
margin-top: 1px;
margin-left: 7px;
-moz-border-radius: 10px;
-khtml-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px;
}
#adminmenu li #awaiting-mod span,
@ -1190,8 +1191,6 @@ div.comment-item:hover .row-actions {
#sidemenu li a span.update-plugins span {
float: left;
display: block;
height: 1.6em;
line-height: 1.6em;
padding: 0 6px;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -435,13 +435,13 @@ 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(), '20100523b' );
$styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20100524' );
$styles->add( 'ie', "/wp-admin/css/ie$suffix.css", array(), '20100219' );
$styles->add_data( 'ie', 'conditional', 'lte IE 7' );
// all colors stylesheets need to have the same query strings (cache manifest compat)
$colors_version = '20100521';
$colors_version = '20100524';
// Register "meta" stylesheet for admin colors. All colors-* style sheets should have the same version string.
$styles->add( 'colors', true, array(), $colors_version );