-
Notifications
You must be signed in to change notification settings - Fork 37
/
Dropdown.css
61 lines (50 loc) · 868 Bytes
/
Dropdown.css
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
.show {
display: block;
}
.btnGroup {
position: relative;
display: inline-block;
vertical-align: middle;
}
.dropdown {
display: inline-block;
&.relative {
position: relative;
}
}
button + .dropdown,
.dropdown + .dropdown {
padding: 0 0.25rem;
}
.DropdownMenuTether {
z-index: 1000;
display: none;
float: left;
min-width: 90vw;
font-size: var(--font-size-medium);
text-align: left;
list-style: none;
background-color: #fff;
background-clip: padding-box;
border: 1px solid #ccc;
border-radius: var(--radius);
box-shadow: var(--shadow);
pointer-events: all;
&.hasPadding {
padding: var(--gutter-static);
}
& ul {
list-style: none;
padding: 0;
}
}
@media (--medium-up) {
.DropdownMenuTether {
min-width: 40vw;
}
}
@media (--large-up) {
.DropdownMenuTether {
min-width: 20vw;
}
}