Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dropdowns.less « src - github.com/picturepan2/spectre.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 413e88b56d08a3051a25575a2872b40069f93709 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Dropdown
.dropdown {
  display: inline-block;
  position: relative;

  .menu {
    animation: slide-down .2s ease-in 1;
    display: none;
    left: 0;
    position: absolute;
    top: 100%;
  }

  &.dropdown-right {
    .menu {
      left: auto;
      right: 0;
    }
  }

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