2018-03-21 14:09:23 -04:00
|
|
|
.dropdown,
|
|
|
|
.dropup {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-toggle--icon {
|
|
|
|
width: 2rem;
|
|
|
|
height: 2rem;
|
|
|
|
border-radius: 50%;
|
|
|
|
line-height: 100%;
|
|
|
|
background-color: transparent;
|
|
|
|
|
|
|
|
& > .zmdi {
|
|
|
|
font-size: 1.25rem;
|
|
|
|
line-height: 1.1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: @white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-01-23 21:07:22 -05:00
|
|
|
.dropdown-menu {
|
2018-03-21 14:09:23 -04:00
|
|
|
position: absolute;
|
2017-01-23 21:07:22 -05:00
|
|
|
top: 0;
|
2018-03-21 14:09:23 -04:00
|
|
|
left: 0;
|
|
|
|
z-index: @zindex-dropdown;
|
|
|
|
border: 1px solid @dropdown-border-color;
|
|
|
|
display: none;
|
|
|
|
padding: 0.75rem 0;
|
|
|
|
margin: 0;
|
|
|
|
list-style: none;
|
|
|
|
font-size: @font-size-base;
|
|
|
|
background-color: @dropdown-bg;
|
|
|
|
border-radius: @border-radius-large;
|
|
|
|
box-shadow: @dropdown-shadow;
|
|
|
|
min-width: 5rem;
|
2017-01-23 21:07:22 -05:00
|
|
|
|
2018-03-21 14:09:23 -04:00
|
|
|
> li > a {
|
|
|
|
display: block;
|
|
|
|
color: @dropdown-link-color;
|
|
|
|
padding: 0.5rem 1.25rem;
|
|
|
|
font-size: @font-size-base - 1;
|
|
|
|
white-space: nowrap;
|
|
|
|
.transition(all);
|
|
|
|
.transition-duration(300ms);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: @dropdown-link-hover-color;
|
|
|
|
background-color: @dropdown-link-hover-bg;
|
|
|
|
}
|
|
|
|
|
|
|
|
& > i {
|
|
|
|
text-align: center;
|
|
|
|
width: 1.1rem;
|
|
|
|
margin-left: 0.75rem;
|
|
|
|
font-size: 1.15rem;
|
|
|
|
vertical-align: top;
|
|
|
|
position: relative;
|
|
|
|
top: 0.05rem;
|
|
|
|
line-height: 100%;
|
2017-01-23 21:07:22 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-03-21 14:09:23 -04:00
|
|
|
.open {
|
|
|
|
& > .dropdown-menu {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-01-23 21:07:22 -05:00
|
|
|
.dropdown-menu-right {
|
2018-03-21 14:09:23 -04:00
|
|
|
right: -0.1rem;
|
|
|
|
left: auto;
|
|
|
|
|
2017-01-23 21:07:22 -05:00
|
|
|
& > li {
|
|
|
|
& > a {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|