You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
666 B
46 lines
666 B
4 years ago
|
//the arrow connecting "LI" to ".SUBMENU"
|
||
|
//-li > .arrow
|
||
|
.nav-list li {
|
||
|
> .arrow {
|
||
|
display: none;
|
||
|
|
||
|
position: absolute;
|
||
|
top: 8px;
|
||
|
right: 1px;
|
||
|
|
||
|
z-index: @zindex-submenu + 1;
|
||
|
|
||
|
&:before, &:after {
|
||
|
border: 1px solid transparent;
|
||
|
display: block;
|
||
|
height: 0;
|
||
|
width: 0;
|
||
|
|
||
|
position: absolute;
|
||
|
left: -20px;
|
||
|
top: 0;
|
||
|
right: auto;
|
||
|
bottom: auto;
|
||
|
|
||
|
content: "";
|
||
|
|
||
|
border-width: 10px;
|
||
|
}
|
||
|
|
||
|
&:before {
|
||
|
z-index: 1;//above .submenu
|
||
|
left: -21px;
|
||
|
}
|
||
|
&:after {
|
||
|
z-index: 2;//above .arrow:before
|
||
|
}
|
||
|
}
|
||
|
|
||
|
//don't display when there's no submenu
|
||
|
&:hover > a + .arrow {
|
||
|
display: none;
|
||
|
}
|
||
|
&.hover:hover > a.dropdown-toggle + .arrow {
|
||
|
display: block;
|
||
|
}
|
||
|
}
|