Remove text-shadow on hover from update and comments bubbles in the admin menu, props markjaquith, fixes #21449

git-svn-id: https://develop.svn.wordpress.org/trunk@21578 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2012-08-22 02:25:28 +00:00
parent e4759ac950
commit 200beacacf
2 changed files with 12 additions and 1 deletions

View File

@ -1291,13 +1291,18 @@ table.widefat .spam a:hover,
#adminmenu a.menu-top:hover, #adminmenu a.menu-top:hover,
#adminmenu li.opensub > a.menu-top, #adminmenu li.opensub > a.menu-top,
#adminmenu li.opensub > a.menu-top,
#adminmenu li > a.menu-top:focus { #adminmenu li > a.menu-top:focus {
background-color: #e0f1ff; background-color: #e0f1ff;
color: #d54e21; color: #d54e21;
text-shadow: 0 1px 0 rgba( 255, 255, 255, 0.4 ); text-shadow: 0 1px 0 rgba( 255, 255, 255, 0.4 );
} }
/* So it doesn't get applied to the number spans (comments, updates, etc) */
#adminmenu li.menu-top:hover > a span,
#adminmenu li.menu-top > a:focus span {
text-shadow: none;
}
#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,
#adminmenu li.current a.menu-top, #adminmenu li.current a.menu-top,
.folded #adminmenu li.wp-has-current-submenu, .folded #adminmenu li.wp-has-current-submenu,

View File

@ -1030,6 +1030,12 @@ table.widefat .spam a:hover,
text-shadow: 0 1px 0 rgba( 255, 255, 255, 0.4 ); text-shadow: 0 1px 0 rgba( 255, 255, 255, 0.4 );
} }
/* So it doesn't get applied to the number spans (comments, updates, etc) */
#adminmenu li.menu-top:hover > a span,
#adminmenu li.menu-top > a:focus span {
text-shadow: none;
}
#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,
#adminmenu li.current a.menu-top, #adminmenu li.current a.menu-top,
.folded #adminmenu li.wp-has-current-submenu, .folded #adminmenu li.wp-has-current-submenu,