Summary Files Commits Branches @commit @diff @stats
path: root / src / dropdowns.less
blob: af6154162bb8c37715d7f647e29a9012d3c7aae9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Dropdown
.dropdown {
  position: relative;

  .menu {
    animation: slide-down .216s;
    display: none;
    left: 0;
    min-width: @control-min-width;
    position: absolute;
    top: 100%;
    transform: translateY(.5rem);
  }

  &.active .menu,
  .dropdown-toggle:focus + .menu,
  .menu:hover {
    display: block;
  }
}