Skip to content

Commit c17a135

Browse files
author
Per Liedman
committed
v1.5.3
1 parent 4e38d97 commit c17a135

File tree

4 files changed

+1393
-0
lines changed

4 files changed

+1393
-0
lines changed

dist/Control.Geocoder.css

Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
.leaflet-control-geocoder {
2+
border-radius: 4px;
3+
background: white;
4+
min-width: 26px;
5+
min-height: 26px;
6+
}
7+
8+
.leaflet-touch .leaflet-control-geocoder {
9+
min-width: 30px;
10+
min-height: 30px;
11+
}
12+
13+
.leaflet-control-geocoder a, .leaflet-control-geocoder .leaflet-control-geocoder-icon {
14+
border-bottom: none;
15+
display: inline-block;
16+
}
17+
18+
.leaflet-control-geocoder .leaflet-control-geocoder-alternatives a {
19+
width: inherit;
20+
height: inherit;
21+
line-height: inherit;
22+
}
23+
24+
.leaflet-control-geocoder a:hover, .leaflet-control-geocoder .leaflet-control-geocoder-icon:hover {
25+
border-bottom: none;
26+
display: inline-block;
27+
}
28+
29+
.leaflet-control-geocoder-form {
30+
display: none;
31+
vertical-align: middle;
32+
}
33+
.leaflet-control-geocoder-expanded .leaflet-control-geocoder-form {
34+
display: inline-block;
35+
}
36+
.leaflet-control-geocoder-form input {
37+
font-size: 120%;
38+
border: 0;
39+
background-color: transparent;
40+
width: 246px;
41+
}
42+
43+
.leaflet-control-geocoder-icon {
44+
border-radius: 4px;
45+
width: 26px;
46+
height: 26px;
47+
border: none;
48+
background-color: white;
49+
background-image: url(images/geocoder.png);
50+
background-repeat: no-repeat;
51+
background-position: center;
52+
}
53+
54+
.leaflet-touch .leaflet-control-geocoder-icon {
55+
width: 30px;
56+
height: 30px;
57+
}
58+
59+
.leaflet-control-geocoder-throbber .leaflet-control-geocoder-icon {
60+
background-image: url(images/throbber.gif);
61+
}
62+
63+
.leaflet-control-geocoder-form-no-error {
64+
display: none;
65+
}
66+
67+
.leaflet-control-geocoder-form input:focus {
68+
outline: none;
69+
}
70+
71+
.leaflet-control-geocoder-form button {
72+
display: none;
73+
}
74+
.leaflet-control-geocoder-error {
75+
margin-top: 8px;
76+
margin-left: 8px;
77+
display: block;
78+
color: #444;
79+
}
80+
.leaflet-control-geocoder-alternatives {
81+
display: block;
82+
width: 272px;
83+
list-style: none;
84+
padding: 0;
85+
margin: 0;
86+
}
87+
88+
.leaflet-control-geocoder-alternatives-minimized {
89+
display: none;
90+
height: 0;
91+
}
92+
.leaflet-control-geocoder-alternatives li {
93+
white-space: nowrap;
94+
display: block;
95+
overflow: hidden;
96+
padding: 5px 8px;
97+
text-overflow: ellipsis;
98+
border-bottom: 1px solid #ccc;
99+
cursor: pointer;
100+
}
101+
102+
.leaflet-control-geocoder-alternatives li a, .leaflet-control-geocoder-alternatives li a:hover {
103+
width: inherit;
104+
height: inherit;
105+
line-height: inherit;
106+
background: inherit;
107+
border-radius: inherit;
108+
text-align: left;
109+
}
110+
111+
.leaflet-control-geocoder-alternatives li:last-child {
112+
border-bottom: none;
113+
}
114+
.leaflet-control-geocoder-alternatives li:hover, .leaflet-control-geocoder-selected {
115+
background-color: #f5f5f5;
116+
}
117+
.leaflet-control-geocoder-address-detail {
118+
119+
}
120+
.leaflet-control-geocoder-address-context {
121+
color: #666;
122+
}

0 commit comments

Comments
 (0)