blob: 9ab9796eed30862edbc29248b138d2826f694368 [file] [log] [blame]
@import "common.less";
/*////////////////
Menu
////////////////*/
// Images locations
@image_nav_bg: "@{images_gsoc_location}/nav-bg.gif";
/* New menu container */
#menu-container {
margin-right: 0;
}
/* New menu container */
#main-menu {
background:url(@image_nav_bg) 0 0 repeat;
margin-right: 0;
float: left;
width: 220px;
ul {
margin: 13px 0;
li {/*top level list item*/
font-size: 15px;
font-weight: bold;
margin: 0 0 3px 0;
padding: 0;
a {/*top level link*/
display: block;
color: #fff;
margin: 0;
padding: 4px 0 4px 20px;
text-decoration: none;
}
a:hover {
background: #e67a25;
}
ul {/*submenu*/
margin: 0;
padding: 0;
li {/*submenu list item*/
font-size: 12px;
margin: 0;
a {/*submenu link*/
display: block;
margin: 0;
padding-left: 40px;
}
a:hover {
background: #e67a25;
}
}
li.active {/*submenu active list item*/
background: #e67a25;
}
}
}
li.active {/*top level active list item*/
background: #e67a25;
ul {/*submenu under an active top level*/
background:url(@image_nav_bg) 0 0 repeat;
}
}
li.parent.active {/*top level active list item w/ submenu - for use when the top level is highlighted but the submenu is not*/
padding-bottom: 0px;
}
&#main-menu-list {
margin-top: 0;
padding-top: 13px;
padding-bottom: 13px;
}
}
}