Fix some hover/focus styling and specificity issues. see #18380.

git-svn-id: https://develop.svn.wordpress.org/trunk@27109 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Helen Hou-Sandi 2014-02-06 17:56:30 +00:00
parent 8dad11bfe2
commit 1b160c1c40
1 changed files with 9 additions and 3 deletions

View File

@ -2007,7 +2007,8 @@ form.upgrade .hint {
#adminmenu a:hover, #adminmenu a:hover,
#adminmenu li.menu-top > a:focus, #adminmenu li.menu-top > a:focus,
#adminmenu .wp-submenu a:hover { #adminmenu .wp-submenu a:hover,
#adminmenu .wp-submenu a:focus {
color: #2ea2cc; color: #2ea2cc;
} }
@ -2043,6 +2044,11 @@ form.upgrade .hint {
color: #bbb; color: #bbb;
} }
#adminmenu .wp-submenu a:hover,
#adminmenu .wp-submenu a:focus {
background: none;
}
.js #adminmenu .sub-open, .js #adminmenu .sub-open,
.js #adminmenu .opensub .wp-submenu, .js #adminmenu .opensub .wp-submenu,
#adminmenu a.menu-top:focus + .wp-submenu, #adminmenu a.menu-top:focus + .wp-submenu,
@ -2379,7 +2385,7 @@ ul#adminmenu > li.current > a.current:after {
display: none; display: none;
} }
#adminmenu #collapse-menu { #collapse-menu {
font-size: 13px; font-size: 13px;
line-height: 34px; line-height: 34px;
margin-top: 10px; margin-top: 10px;
@ -2389,7 +2395,7 @@ ul#adminmenu > li.current > a.current:after {
transition: all .1s ease-in-out; transition: all .1s ease-in-out;
} }
#adminmenu #collapse-menu:hover, #collapse-menu:hover,
#collapse-menu:hover #collapse-button div:after { #collapse-menu:hover #collapse-button div:after {
color: #2ea2cc; color: #2ea2cc;
} }