-
Notifications
You must be signed in to change notification settings - Fork 0
/
autocomplete.css
62 lines (55 loc) · 1.43 KB
/
autocomplete.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
div.autocomplete-suggestions.dark > div.autocomplete-suggestion {
background-color: #222;
color: #808080;
}
div.autocomplete-suggestions.dark > div.autocomplete-suggestion.active {
background-color: #40414f;
}
/********************************************************************/
.autocomplete-suggestions {
z-index: 2147483647;
position: absolute;
border: 1px solid #ccc;
display: flex;
flex-direction: column;
}
.autocomplete-suggestions > .autocomplete-suggestion {
padding: 10px 4px 10px 4px;
background-color: white;
color: black;
font-size: small;
font-family: Söhne, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
Ubuntu, Cantarell, Noto Sans, sans-serif, Helvetica Neue, Arial,
Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
display: flex;
justify-content: space-between;
align-items: center;
}
.autocomplete-suggestions > .active {
background-color: #eee;
}
.autocomplete-suggestion {
cursor: pointer;
}
.autocomplete-suggestion > .delete-button {
background-color: transparent;
color: #ccc;
padding: 0;
text-align: center;
border: none;
border-radius: 50%;
height: 20px;
width: 20px;
font-size: 16px;
cursor: pointer;
margin-left: 20px;
line-height: 0;
font-family: inherit;
min-height: unset;
min-width: unset;
}
.autocomplete-suggestion > .delete-button:hover {
background-color: #f44336;
color: white;
visibility: visible;
}