1 /* required styles */
\r
5 .leaflet-marker-icon,
\r
6 .leaflet-marker-shadow,
\r
8 .leaflet-tile-container,
\r
9 .leaflet-overlay-pane,
\r
10 .leaflet-shadow-pane,
\r
11 .leaflet-marker-pane,
\r
12 .leaflet-popup-pane,
\r
13 .leaflet-overlay-pane svg,
\r
15 .leaflet-image-layer,
\r
21 .leaflet-container {
\r
23 -ms-touch-action: none;
\r
26 .leaflet-marker-icon,
\r
27 .leaflet-marker-shadow {
\r
28 -webkit-user-select: none;
\r
29 -moz-user-select: none;
\r
31 -webkit-user-drag: none;
\r
33 .leaflet-marker-icon,
\r
34 .leaflet-marker-shadow {
\r
37 /* map is broken in FF if you have max-width: 100% on tiles */
\r
38 .leaflet-container img {
\r
39 max-width: none !important;
\r
41 /* stupid Android 2 doesn't understand "max-width: none" properly */
\r
42 .leaflet-container img.leaflet-image-layer {
\r
43 max-width: 15000px !important;
\r
49 .leaflet-tile-loaded {
\r
50 visibility: inherit;
\r
56 /* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
\r
57 .leaflet-overlay-pane svg {
\r
58 -moz-user-select: none;
\r
61 .leaflet-tile-pane { z-index: 2; }
\r
62 .leaflet-objects-pane { z-index: 3; }
\r
63 .leaflet-overlay-pane { z-index: 4; }
\r
64 .leaflet-shadow-pane { z-index: 5; }
\r
65 .leaflet-marker-pane { z-index: 6; }
\r
66 .leaflet-popup-pane { z-index: 7; }
\r
69 /* control positioning */
\r
74 pointer-events: auto;
\r
80 pointer-events: none;
\r
98 .leaflet-right .leaflet-control {
\r
101 .leaflet-top .leaflet-control {
\r
104 .leaflet-bottom .leaflet-control {
\r
105 margin-bottom: 10px;
\r
107 .leaflet-left .leaflet-control {
\r
110 .leaflet-right .leaflet-control {
\r
111 margin-right: 10px;
\r
115 /* zoom and fade animations */
\r
117 .leaflet-fade-anim .leaflet-tile,
\r
118 .leaflet-fade-anim .leaflet-popup {
\r
120 -webkit-transition: opacity 0.2s linear;
\r
121 -moz-transition: opacity 0.2s linear;
\r
122 -o-transition: opacity 0.2s linear;
\r
123 transition: opacity 0.2s linear;
\r
125 .leaflet-fade-anim .leaflet-tile-loaded,
\r
126 .leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
\r
130 .leaflet-zoom-anim .leaflet-zoom-animated {
\r
131 -webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);
\r
132 -moz-transition: -moz-transform 0.25s cubic-bezier(0,0,0.25,1);
\r
133 -o-transition: -o-transform 0.25s cubic-bezier(0,0,0.25,1);
\r
134 transition: transform 0.25s cubic-bezier(0,0,0.25,1);
\r
136 .leaflet-zoom-anim .leaflet-tile,
\r
137 .leaflet-pan-anim .leaflet-tile,
\r
138 .leaflet-touching .leaflet-zoom-animated {
\r
139 -webkit-transition: none;
\r
140 -moz-transition: none;
\r
141 -o-transition: none;
\r
145 .leaflet-zoom-anim .leaflet-zoom-hide {
\r
146 visibility: hidden;
\r
152 .leaflet-clickable {
\r
155 .leaflet-container {
\r
156 cursor: -webkit-grab;
\r
159 .leaflet-popup-pane,
\r
164 .leaflet-dragging .leaflet-clickable,
\r
165 .leaflet-dragging .leaflet-container {
\r
167 cursor: -webkit-grabbing;
\r
168 cursor: -moz-grabbing;
\r
172 /* visual tweaks */
\r
174 .leaflet-container {
\r
178 .leaflet-container a {
\r
181 .leaflet-container a.leaflet-active {
\r
182 outline: 2px solid orange;
\r
184 .leaflet-zoom-box {
\r
185 border: 2px dotted #05f;
\r
191 /* general typography */
\r
192 .leaflet-container {
\r
193 font: 12px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif;
\r
197 /* general toolbar styles */
\r
200 box-shadow: 0 1px 7px rgba(0,0,0,0.65);
\r
201 -webkit-border-radius: 4px;
\r
202 border-radius: 4px;
\r
204 .leaflet-bar a, .leaflet-bar a:hover {
\r
205 background-color: #fff;
\r
206 border-bottom: 1px solid #ccc;
\r
211 text-align: center;
\r
212 text-decoration: none;
\r
216 .leaflet-control-layers-toggle {
\r
217 background-position: 50% 50%;
\r
218 background-repeat: no-repeat;
\r
221 .leaflet-bar a:hover {
\r
222 background-color: #f4f4f4;
\r
224 .leaflet-bar a:first-child {
\r
225 -webkit-border-top-left-radius: 4px;
\r
226 border-top-left-radius: 4px;
\r
227 -webkit-border-top-right-radius: 4px;
\r
228 border-top-right-radius: 4px;
\r
230 .leaflet-bar a:last-child {
\r
231 -webkit-border-bottom-left-radius: 4px;
\r
232 border-bottom-left-radius: 4px;
\r
233 -webkit-border-bottom-right-radius: 4px;
\r
234 border-bottom-right-radius: 4px;
\r
235 border-bottom: none;
\r
237 .leaflet-bar a.leaflet-disabled {
\r
239 background-color: #f4f4f4;
\r
243 .leaflet-touch .leaflet-bar {
\r
244 -webkit-border-radius: 10px;
\r
245 border-radius: 10px;
\r
247 .leaflet-touch .leaflet-bar a {
\r
251 .leaflet-touch .leaflet-bar a:first-child {
\r
252 -webkit-border-top-left-radius: 7px;
\r
253 border-top-left-radius: 7px;
\r
254 -webkit-border-top-right-radius: 7px;
\r
255 border-top-right-radius: 7px;
\r
257 .leaflet-touch .leaflet-bar a:last-child {
\r
258 -webkit-border-bottom-left-radius: 7px;
\r
259 border-bottom-left-radius: 7px;
\r
260 -webkit-border-bottom-right-radius: 7px;
\r
261 border-bottom-right-radius: 7px;
\r
262 border-bottom: none;
\r
268 .leaflet-control-zoom-in {
\r
269 font: bold 18px 'Lucida Console', Monaco, monospace;
\r
271 .leaflet-control-zoom-out {
\r
272 font: bold 22px 'Lucida Console', Monaco, monospace;
\r
275 .leaflet-touch .leaflet-control-zoom-in {
\r
279 .leaflet-touch .leaflet-control-zoom-out {
\r
285 /* layers control */
\r
287 .leaflet-control-layers {
\r
288 box-shadow: 0 1px 7px rgba(0,0,0,0.4);
\r
289 background: #f8f8f9;
\r
290 -webkit-border-radius: 5px;
\r
291 border-radius: 5px;
\r
293 .leaflet-control-layers-toggle {
\r
294 background-image: url(images/layers.png);
\r
298 .leaflet-retina .leaflet-control-layers-toggle {
\r
299 background-image: url(images/layers-2x.png);
\r
300 background-size: 26px 26px;
\r
302 .leaflet-touch .leaflet-control-layers-toggle {
\r
306 .leaflet-control-layers .leaflet-control-layers-list,
\r
307 .leaflet-control-layers-expanded .leaflet-control-layers-toggle {
\r
310 .leaflet-control-layers-expanded .leaflet-control-layers-list {
\r
312 position: relative;
\r
314 .leaflet-control-layers-expanded {
\r
315 padding: 6px 10px 6px 6px;
\r
319 .leaflet-control-layers-selector {
\r
321 position: relative;
\r
324 .leaflet-control-layers label {
\r
327 .leaflet-control-layers-separator {
\r
329 border-top: 1px solid #ddd;
\r
330 margin: 5px -10px 5px -6px;
\r
334 /* attribution and scale controls */
\r
336 .leaflet-container .leaflet-control-attribution {
\r
337 background-color: rgba(255, 255, 255, 0.7);
\r
338 box-shadow: 0 0 5px #bbb;
\r
341 .leaflet-control-attribution,
\r
342 .leaflet-control-scale-line {
\r
346 .leaflet-container .leaflet-control-attribution,
\r
347 .leaflet-container .leaflet-control-scale {
\r
350 .leaflet-left .leaflet-control-scale {
\r
353 .leaflet-bottom .leaflet-control-scale {
\r
354 margin-bottom: 5px;
\r
356 .leaflet-control-scale-line {
\r
357 border: 2px solid #777;
\r
361 padding: 2px 5px 1px;
\r
363 text-shadow: 1px 1px 1px #fff;
\r
364 background-color: rgba(255, 255, 255, 0.5);
\r
365 box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.2);
\r
366 white-space: nowrap;
\r
368 -moz-box-sizing: content-box;
\r
369 box-sizing: content-box;
\r
371 .leaflet-control-scale-line:not(:first-child) {
\r
372 border-top: 2px solid #777;
\r
373 border-bottom: none;
\r
375 box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
\r
377 .leaflet-control-scale-line:not(:first-child):not(:last-child) {
\r
378 border-bottom: 2px solid #777;
\r
381 .leaflet-touch .leaflet-control-attribution,
\r
382 .leaflet-touch .leaflet-control-layers,
\r
383 .leaflet-touch .leaflet-bar {
\r
386 .leaflet-touch .leaflet-control-layers,
\r
387 .leaflet-touch .leaflet-bar {
\r
388 border: 4px solid rgba(0,0,0,0.3);
\r
395 position: absolute;
\r
396 text-align: center;
\r
398 .leaflet-popup-content-wrapper {
\r
401 -webkit-border-radius: 12px;
\r
402 border-radius: 12px;
\r
404 .leaflet-popup-content {
\r
408 .leaflet-popup-content p {
\r
411 .leaflet-popup-tip-container {
\r
415 position: relative;
\r
418 .leaflet-popup-tip {
\r
423 margin: -10px auto 0;
\r
425 -webkit-transform: rotate(45deg);
\r
426 -moz-transform: rotate(45deg);
\r
427 -ms-transform: rotate(45deg);
\r
428 -o-transform: rotate(45deg);
\r
429 transform: rotate(45deg);
\r
431 .leaflet-popup-content-wrapper, .leaflet-popup-tip {
\r
434 box-shadow: 0 3px 14px rgba(0,0,0,0.4);
\r
436 .leaflet-container a.leaflet-popup-close-button {
\r
437 position: absolute;
\r
440 padding: 4px 4px 0 0;
\r
441 text-align: center;
\r
444 font: 16px/14px Tahoma, Verdana, sans-serif;
\r
446 text-decoration: none;
\r
448 background: transparent;
\r
450 .leaflet-container a.leaflet-popup-close-button:hover {
\r
453 .leaflet-popup-scrolled {
\r
455 border-bottom: 1px solid #ddd;
\r
456 border-top: 1px solid #ddd;
\r
462 .leaflet-div-icon {
\r
464 border: 1px solid #666;
\r
466 .leaflet-editing-icon {
\r
467 -webkit-border-radius: 2px;
\r
468 border-radius: 2px;
\r