Skip to content

Instantly share code, notes, and snippets.

Created November 17, 2013 22:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/7518893 to your computer and use it in GitHub Desktop.
Save anonymous/7518893 to your computer and use it in GitHub Desktop.
#header ul ul {
border: medium none;
}
#header li {
float: left;
list-style: none outside none;
}
#header li a {
color: #666666;
display: block;
margin: 0;
padding: 7px 10px 6px;
position: relative;
text-decoration: none;
}
#header li a:active, #header li a:hover,
#header .current_page_item a,
#header .current-cat a,
#header .current-menu-item {
background: none repeat scroll 0 0 #444444;
color: #FFFFFF;
}
#header li a .sf-sub-indicator {
display: block;
height: 10px;
overflow: hidden;
position: absolute;
right: 5px;
text-indent: -9999px;
top: 11px;
width: 10px;
}
#header li li a,
#header li li a:link,
#header li li a:visited {
background: none repeat scroll 0 0 #444444;
border-right: 1px solid #FFFFFF;
border-top: 1px solid #FFFFFF;
color: #FFFFFF;
margin: 0;
padding: 7px 10px 6px;
position: relative;
text-transform: none;
width: 148px;
}
#header li li a:active,
#header li li a:hover {
background: none repeat scroll 0 0 #444444;
color: #FFFFFF;
}
#header li li a .sf-sub-indicator {
top: 10px;
}
#header li ul {
height: auto;
left: -999em;
padding: 0;
position: absolute;
width: 170px;
z-index: 9999;
}
#header li ul a {
width: 140px;
}
#header li ul ul {
margin: -34px 0 0 169px;
}
#header li:hover ul ul,
#header li:hover ul ul ul,
#header li.sfHover ul ul,
#header li.sfHover ul ul ul {
left: -999em;
}
#header li:hover ul,
#header li li:hover ul,
#header li li li:hover ul,
#header li.sfHover ul,
#header li li.sfHover ul,
#header li li li.sfHover ul {
left: auto;
}
#header li:hover,
#header li.sfHover {
position: static;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment