forked from kmwhelan93/react-geocoder-autocomplete
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
50 lines (43 loc) · 829 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
47
48
49
50
.mapbox-autocomplete-container {
display: block;
position: relative;
z-index: 10;
}
.mapbox-autocomplete-container > input {
width: 100%;
}
.mapbox-autocomplete {
box-shadow: 0 1px 10px rgba(black, 0.2);
background: #fff;
max-height: 300px;
overflow-y: auto;
width: 100%;
z-index: 1;
position: absolute;
pointer-events: none;
opacity: 0;
transition: opacity 0.1s ease;
}
.mapbox-autocomplete.is-open {
pointer-events: auto;
opacity: 1;
}
.mapbox-autocomplete .item {
color: #666;
padding: 10px 15px;
display: flex;
align-items: center;
}
.mapbox-autocomplete img {
width: 1.2em;
margin-right: 0.5rem;
}
.mapbox-autocomplete .item.selected {
background: #eee;
font-weight: bold;
color: #333;
}
.mapbox-autocomplete .item:hover {
background: #f7f7f7;
cursor: pointer;
}