web-apps/apps/common/main/resources/less/dropdown-submenu.less
2021-02-16 10:21:22 +03:00

39 lines
815 B
Plaintext

.dropdown-submenu {
position:relative;
& > .dropdown-menu {
top: 0;
left: 100%;
margin-top: -6px;
margin-left: -1px;
border-radius:@border-radius-base;
&.pull-right {
right: 100%;
left: auto;
}
}
& > a:after {
display: block;
content: " ";
float: right;
width: 0;
height: 0;
border-color: transparent;
border-style: solid;
border-width: 3px 0 3px 3px;
border-left-color: @icon-normal-ie;
border-left-color: @icon-normal;
margin-top: 5px;
margin-right: -10px;
}
&.over:not(.disabled) > .dropdown-menu {
display: block;
}
&.over > a:after {
border-left-color: @dropdown-link-color;
}
}