forked from perliedman/leaflet-control-geocoder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathControl.Geocoder.css
125 lines (104 loc) · 2.4 KB
/
Control.Geocoder.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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
.leaflet-control-geocoder {
background: white;
box-shadow: 0 1px 7px rgba(0,0,0,0.65);
-webkit-border-radius: 4px;
border-radius: 4px;
}
.leaflet-touch .leaflet-control-geocoder {
box-shadow: none;
border: 2px solid rgba(0,0,0,0.2);
background-clip: padding-box;
line-height: 30px;
}
.leaflet-control-geocoder-form {
display: inline;
}
.leaflet-control-geocoder-form input, .leaflet-control-geocoder-form ul, .leaflet-control-geocoder-error {
border: 0;
color: transparent;
background: white;
}
.leaflet-control-geocoder-form input {
font-size: 16px;
width: 0;
transition: width 0.125s ease-in;
}
.leaflet-touch .leaflet-control-geocoder-form input {
font-size: 22px;
}
.leaflet-control-geocoder-icon {
width: 26px;
height: 26px;
background-image: url(images/geocoder.png);
background-repeat: no-repeat;
background-position: center;
float: right;
cursor: pointer;
}
.leaflet-touch .leaflet-control-geocoder-icon {
margin-top: 2px;
width: 30px;
}
.leaflet-control-geocoder-throbber .leaflet-control-geocoder-icon {
background-image: url(images/throbber.gif);
}
.leaflet-control-geocoder-expanded input, .leaflet-control-geocoder-error {
width: 226px;
margin-left: 4px;
padding-left: 4px;
padding-right: 0px;
color: #000;
}
.leaflet-control-geocoder-form input:focus {
outline: none;
}
.leaflet-control-geocoder-form button {
display: none;
}
.leaflet-control-geocoder-form-no-error {
display: none;
}
.leaflet-control-geocoder-error {
margin-top: 8px;
display: block;
color: #444;
}
ul.leaflet-control-geocoder-alternatives {
width: 260px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
list-style: none;
padding: 0;
transition: height 0.125s ease-in;
}
.leaflet-control-geocoder-alternatives-minimized {
width: 0 !important;
height: 0;
overflow: hidden;
margin: 0;
padding: 0;
}
.leaflet-control-geocoder-alternatives li {
width: 100%;
overflow: hidden;
text-overflow: ellipsis;
border-bottom: 1px solid #eee;
padding: 0;
}
.leaflet-control-geocoder-alternatives li:last-child {
border-bottom: none;
}
.leaflet-control-geocoder-alternatives a {
display: block;
text-decoration: none;
color: black;
padding: 6px 8px 16px 6px;
font-size: 14px;
}
.leaflet-touch .leaflet-control-geocoder-alternatives a {
font-size: 18px;
}
.leaflet-control-geocoder-alternatives a:hover, .leaflet-control-geocoder-selected {
background-color: #ddd;
}