@import "var";
// lined menu
ul.menu {
> li {
list-style: none;
> a {
padding: .8em 1.2em;
&:hover {
background-color: @lineMenuHoverBgColor;
color: @lineMenuHoverFontColor;
}
&.current > a,
&.hover > a {
> li.head {
font-weight: bold;
> li.down:hover {
> ul.menu-down {
display: block;
> li.border-bottom {
border-bottom: 1px solid @menuBorderColor;
height: 0;
margin: .5em 0;
ul.menu-line {
> li,
> li > a {
display: inline-block;
> li.down {
position: relative;
> a:after {
content: "\25BE";
margin-left: .4em;
top: 2.1em;
width: 150%;
> li.hover {
position: absolute;
content: "\25B4";
left: 50%;
bottom: -1.1em;
margin-left: -4px;
ul.menu-vertical,
ul.menu-down {
> li > a,
padding: .4em 1.2em;
content: "\25B8";
right: .6em;
left: .5em;
ul.menu-border,
border: 1px solid @menuBorderColor;
ul {
&.menu-down {
display: none;
z-index: 99;
box-shadow: 0 0 2px @menuShadowColor;
background-color: @menuDownBgColor;
&.menu-down-show {
ul.menu-radius {
border-radius: .3em;
&:first-child {
border-top-left-radius: .3em;
border-top-right-radius: .3em;
border-top-left-radius: .2em;
border-top-right-radius: .2em;
&:last-child {
border-bottom-left-radius: .3em;
border-bottom-right-radius: .3em;
border-bottom-left-radius: .2em;
border-bottom-right-radius: .2em;
.drop {
> .drop-down {
top: 0;
left: 0;
width: 200%;
border: 1px solid @dropBorderColor;
box-shadow: 0 0 3px @menuShadowColor;
background-color: @dropDownBgColor;
.drop-bottom {
&:after {
.drop-top {