Skip to content

Instantly share code, notes, and snippets.

@pedrofaria
Created May 17, 2010 18:20
Show Gist options
  • Save pedrofaria/404055 to your computer and use it in GitHub Desktop.
Save pedrofaria/404055 to your computer and use it in GitHub Desktop.
/*** Nav bar styles ***/
div.block-menu div.mntop {
background-image: url(imgs/menu_top.gif);
background-repeat: no-repeat;
padding-top: 5px;
}
div.block-menu div.content {
background: url(imgs/menu_bottom.gif) no-repeat left bottom;
padding-bottom: 5px;
}
.block-menu ul {
margin: 0px;
padding: 0px;
background-image: url(imgs/menu_bg.gif);
z-index: 200;
}
.block-menu li.expanded {
background: url(imgs/arrow-right.png) no-repeat right center;
}
.block-menu ul li {
list-style:none;
padding: 8px 15px;
border-bottom: 1px solid #189BD7;
width:155px;
}
.block-menu ul li.last {
border-bottom: none;
}
.block-menu ul li:hover {
position:relative;
}
/*Sub Menu*/
.block-menu ul ul {
display:none;
position:absolute;
left:75px;
top:5px;
}
.block-menu li:hover > ul {
display:block;
}
.block-menu li:hover > ul > ul {
display:none;
}
.block-menu li a {
color: #fff;
display: block;
text-decoration: none;
}
.block-menu li a:hover {
color: #fff;
text-decoration: underline;
}
.block-menu li a.active {
font-weight: bold;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment