Permalink
Browse files

Clean up some of the primary menu hover and sub-nav-indicator code.

  • Loading branch information...
1 parent e52620e commit 2601d5825e14682714e612aefa6aa32f697490a6 @justintadlock committed Aug 26, 2012
Showing with 8 additions and 5 deletions.
  1. +8 −5 style.dev.css
View
@@ -519,16 +519,19 @@ blockquote {
text-indent: -9999em;
background: url(images/primary-menu-arrows.png) no-repeat 0 0;
}
-#menu-primary li.sfHover .sf-sub-indicator {
+#menu-primary li:hover .sf-sub-indicator {
background-position: 0 -9px;
}
-#menu-primary li ul li .sf-sub-indicator {
+#menu-primary li li .sf-sub-indicator,
+#menu-primary li:hover li .sf-sub-indicator,
+#menu-primary li li:hover li .sf-sub-indicator {
right: 20px;
height: 9px;
- background-position: 0 -18px !important;
+ background-position: 0 -18px;
}
-#menu-primary li ul li.sfHover .sf-sub-indicator {
- background-position: 0 -27px !important;
+#menu-primary li li:hover .sf-sub-indicator,
+#menu-primary li li li:hover .sf-sub-indicator {
+ background-position: 0 -27px;
}
/**

0 comments on commit 2601d58

Please sign in to comment.