Permalink
Browse files

De-funkifying .current hover states

  • Loading branch information...
potch committed Jan 28, 2011
1 parent 22329d3 commit b630db2de4dc06a9ef4d037fb51059198a7ee3e5
Showing with 6 additions and 5 deletions.
  1. +6 −5 headerfooter.css
View
@@ -175,8 +175,8 @@
-webkit-transition: none;
}
-.moz-header-slim #nav-main ul li.current a,
-.moz-header-slim #nav-main ul li.current a,
+.moz-header-slim #nav-main ul li.current > a,
+.moz-header-slim #nav-main ul li.current > a,
#nav-main ul li a:hover,
#nav-main ul li a:active {
color: #fff;
@@ -335,8 +335,8 @@
url(../global/wordmark-slim.png) 15px 4px no-repeat;
}
-.moz-header-slim #nav-main ul li.current a,
-.moz-header-slim #nav-main ul li.current span,
+.moz-header-slim #nav-main ul li.current > a,
+.moz-header-slim #nav-main ul li.current > span,
.moz-header-slim #nav-main ul li a,
.moz-header-slim #nav-main ul li span {
padding: 10px 15px 0 15px;
@@ -349,7 +349,8 @@
margin-top: 40px;
}
-.moz-header-slim #nav-main ul li.current {
+.moz-header-slim #nav-main ul li.current,
+.moz-header-slim #nav-main ul li.current > a:hover {
border-bottom: 0;
-moz-box-shadow: none;
}

0 comments on commit b630db2

Please sign in to comment.