blob: fe32f329008ccca23404326bd4154558c68f2765 (
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
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
|
.sdc-menu-list {
position: static;
@include box-sizing;
@include box-shadow(0 2px 4px 0 rgba($black, 0.3));
@include border-radius(2px);
border: 1px solid $light-gray;
border-top: solid 3px $blue;
background: $white;
min-width: 150px;
width: -webkit-max-content;
width: -moz-max-content;
width: max-content;
.sdc-menu-item:not(.separator) {
@include body-1;
height: 40px;
color: $dark-gray;
padding: 0 12px;
display: flex;
align-items: center;
svg {
margin-right: 16px;
g, path {
fill: $dark-gray;
}
}
&:hover {
&:not(.disabled) {
cursor: pointer;
&:not(.selected) {
background: $light-silver;
color: $text-black;
g, path {
fill: $dark-gray;
}
}
}
}
&.disabled {
color: $gray;
g, path {
fill: $light-gray;
}
}
&.selected {
background: $lighter-blue;
color: $light-blue;
g, path {
fill: $dark-gray;
}
}
}
&.relative {
position: relative;
}
.separator {
cursor: default;
border-top: 1px solid $silver;
margin: 0 0;
height: 0;
}
}
|