-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
46 lines (41 loc) · 977 Bytes
/
style.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
/* Searchable select stuff */
.searchable-select input {
/* Width can be configured to anything, but it needs to match .searchable-select ul */
width: 200px;
font-size: 1.1rem;
font-weight: normal;
color: darkslategray;
border: 1px solid #ced4da;
}
.searchable-select .hidden {
display: none;
}
.searchable-select ul {
position: fixed;
width: 200px;
display: inline-block;
list-style-type: none;
border: 1px solid lightgray;
border-top: none;
max-height: 30vh;
min-height: 5vh;
margin: 0;
padding: 0;
overflow-y: auto;
}
.searchable-select ul li {
cursor: pointer;
font-weight: normal;
border: 1px solid lightgray;
border-top: none;
border-left: none;
color: darkslategray;
}
.searchable-select ul li.selected {
background-color: blue;
border: 1px solid lightgray;
color: white;
}
.searchable-select ul li:hover:not(.selected) {
background-color: lightgray;
}