-
Notifications
You must be signed in to change notification settings - Fork 988
/
dropdown.scss
79 lines (76 loc) · 1.83 KB
/
dropdown.scss
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
// Dropdowns
.dropdown-menu {
font-size : $dropdown-font-size;
background-color : $white;
border : 1.33px solid $g-900;
box-shadow : 4px 4px 0 $g-200;
border-radius : $border-radius;
padding : 8px 0;
line-height : 20px;
.divider {
background-color : $gray-06;
}
.larger-dropdown {
min-width : 240px;
}
i {
margin-right : 4px;
}
[class^="ri-"], [class*=" ri-"] {
vertical-align: -0.15em;
}
.dropdown-item {
padding : 8px 16px;
&.disabled {
color: $g-600;
i {
color: $g-600 !important; // important because icons usually have a helper class that sets !important
}
}
}
> {
li > a {
color : $g-800;
&:hover {
color : $g-800;
background-color : $g-200;
}
&:focus {
color : $white;
background-color : var(--bs-primary);
}
}
.active > a {
color : $white;
background-color : var(--bs-primary);
&:hover {
color : $white;
background-color : var(--bs-primary);
}
&:focus {
color : $white;
background-color : var(--bs-primary);
}
}
.disabled > a {
color : $g-600;
}
}
}
.dropdown-header {
color : $g-600;
font-weight : 600;
font-size : $dropdown-font-size;
}
.dropdown-divider {
margin : 8px 0;
}
// GridActionsWidget
.ls-action_dropdown {
> .btn {
line-height : 16px;
.ri-more-fill {
vertical-align : bottom;
}
}
}