-
Notifications
You must be signed in to change notification settings - Fork 61
Expand file tree
/
Copy pathAddressInputAutocomplete.module.css
More file actions
78 lines (66 loc) · 1.29 KB
/
AddressInputAutocomplete.module.css
File metadata and controls
78 lines (66 loc) · 1.29 KB
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
@media (prefers-color-scheme: dark) {
.autocompleteItem {
background-color: black;
color: white;
}
.highlightedItem,
.selectableItem:hover {
background-color: darkgray !important; /* to avoid !important create light color-scheme */
}
}
.autocompleteItem:not(:last-child) {
border-bottom: 1px lightgray solid;
}
.selectableItem {
display: block;
width: 100%;
border: none;
background: none;
color: inherit;
font: inherit;
padding: 0;
cursor: pointer;
outline: inherit;
overflow: hidden;
}
.highlightedItem,
.selectableItem:hover {
background-color: #ececec;
}
.selectableItem:active {
background-color: #c6c6c6;
}
.currentLocationEntry {
display: flex;
flex-direction: row;
align-items: center;
gap: 0.5rem;
margin: 0.5rem 0.5rem;
}
.currentLocationIcon {
width: 1.2rem;
}
.currentLocationIcon > svg {
height: 100%;
width: 100%;
}
.moreResultsEntry {
padding: 0.5em 0em;
}
.geocodingEntry {
display: flex;
flex-direction: column;
text-align: start;
margin: 0.4rem 0.5rem;
}
.mainText {
font-weight: bold;
}
.moreResultsText,
.secondaryText {
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
font-size: small;
color: #5b616a;
}