-
Notifications
You must be signed in to change notification settings - Fork 1
/
multi-select.css
103 lines (85 loc) · 2.2 KB
/
multi-select.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
.multiselect__container {
box-shadow: 0 1px 3px 0 var(--accent), 0 0 0 1px var(--accent) !important;
background-color: var(--bg) !important;
}
.multiselect__container:after {
content: '';
min-height: inherit;
font-size: 0;
}
.multiselect__container>* {
background-color: var(--bg) !important;
font-size: 14px;
}
.multiselect__wrapper {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
height: 100%;
width: 100%;
}
.multiselect__clear-btn {
cursor: pointer;
align-items: center;
margin-bottom: 4px;
margin-left: 4px;
}
.multiselect__clear-btn svg {
height: 20px;
width: 20px;
}
.multiselect__options {
background-color: var(--bg) !important;
}
.multiselect__options.visible {
-webkit-box-shadow: 0 1px 3px 0 var(--accent), 0 0 0 1px var(--accent) !important;
box-shadow: 0 1px 3px 0 var(--accent), 0 0 0 1px var(--accent) !important;
background-color: var(--bg) !important;
}
.multiselect__options ul li {
cursor: pointer;
padding: 4px 8px;
}
.multiselect__options ul li * {
pointer-events: none;
}
.multiselect__options ul p.multiselect__options--no-results,
.multiselect__options ul p.multiselect__options--no-data {
margin: 0;
padding: 8px;
text-align: center;
}
.multiselect__options ul li.multiselect__options--selected {
background-color: var(--accent) !important;
color: var(--text) !important;
}
.multiselect__options ul li.multiselect__options--selected:hover {
background-color: var(--accent) !important;
color: var(--text) !important;
}
.multiselect__options ul li:hover {
background-color: var(--accent) !important;
color: var(--text) !important;
}
.multiselect__options ul li.arrow-selected {
border: 2px solid rgba(101, 101, 101, 0.5);
}
.multiselect__selected {
background-color: var(--accent) !important;
color: var(--text) !important;
}
.multiselect__selected .multiselect__remove-btn {
cursor: pointer;
display: flex;
margin-left: 6px;
}
.multiselect__selected .multiselect__remove-btn svg {
height: 16px;
width: 16px;
}
.multiselect__input {
height: auto !important;
color: var(--text);
}