1 /* required styles */
\r
5 .leaflet-marker-icon,
\r
6 .leaflet-marker-shadow,
\r
8 .leaflet-overlay-pane,
\r
9 .leaflet-shadow-pane,
\r
10 .leaflet-marker-pane,
\r
11 .leaflet-popup-pane,
\r
12 .leaflet-overlay-pane svg,
\r
14 .leaflet-image-layer,
\r
20 .leaflet-container {
\r
22 -ms-touch-action: none;
\r
25 .leaflet-marker-icon,
\r
26 .leaflet-marker-shadow {
\r
27 -webkit-user-select: none;
\r
28 -moz-user-select: none;
\r
31 .leaflet-marker-icon,
\r
32 .leaflet-marker-shadow {
\r
35 /* map is broken in FF if you have max-width: 100% on tiles */
\r
36 .leaflet-container img {
\r
37 max-width: none !important;
\r
39 /* stupid Android 2 doesn't understand "max-width: none" properly */
\r
40 .leaflet-container img.leaflet-image-layer {
\r
41 max-width: 15000px !important;
\r
47 .leaflet-tile-loaded {
\r
48 visibility: inherit;
\r
55 .leaflet-tile-pane { z-index: 2; }
\r
56 .leaflet-objects-pane { z-index: 3; }
\r
57 .leaflet-overlay-pane { z-index: 4; }
\r
58 .leaflet-shadow-pane { z-index: 5; }
\r
59 .leaflet-marker-pane { z-index: 6; }
\r
60 .leaflet-popup-pane { z-index: 7; }
\r
63 /* control positioning */
\r
68 pointer-events: auto;
\r
74 pointer-events: none;
\r
92 .leaflet-right .leaflet-control {
\r
95 .leaflet-top .leaflet-control {
\r
98 .leaflet-bottom .leaflet-control {
\r
99 margin-bottom: 10px;
\r
101 .leaflet-left .leaflet-control {
\r
104 .leaflet-right .leaflet-control {
\r
105 margin-right: 10px;
\r
109 /* zoom and fade animations */
\r
111 .leaflet-fade-anim .leaflet-tile,
\r
112 .leaflet-fade-anim .leaflet-popup {
\r
114 -webkit-transition: opacity 0.2s linear;
\r
115 -moz-transition: opacity 0.2s linear;
\r
116 -o-transition: opacity 0.2s linear;
\r
117 transition: opacity 0.2s linear;
\r
119 .leaflet-fade-anim .leaflet-tile-loaded,
\r
120 .leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
\r
124 .leaflet-zoom-anim .leaflet-zoom-animated {
\r
125 -webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);
\r
126 -moz-transition: -moz-transform 0.25s cubic-bezier(0,0,0.25,1);
\r
127 -o-transition: -o-transform 0.25s cubic-bezier(0,0,0.25,1);
\r
128 transition: transform 0.25s cubic-bezier(0,0,0.25,1);
\r
130 .leaflet-zoom-anim .leaflet-tile,
\r
131 .leaflet-pan-anim .leaflet-tile,
\r
132 .leaflet-touching .leaflet-zoom-animated {
\r
133 -webkit-transition: none;
\r
134 -moz-transition: none;
\r
135 -o-transition: none;
\r
139 .leaflet-zoom-anim .leaflet-zoom-hide {
\r
140 visibility: hidden;
\r
146 .leaflet-clickable {
\r
149 .leaflet-container {
\r
150 cursor: -webkit-grab;
\r
153 .leaflet-popup-pane,
\r
158 .leaflet-dragging .leaflet-clickable,
\r
159 .leaflet-dragging .leaflet-container {
\r
161 cursor: -webkit-grabbing;
\r
162 cursor: -moz-grabbing;
\r
166 /* visual tweaks */
\r
168 .leaflet-container {
\r
172 .leaflet-container a {
\r
175 .leaflet-container a.leaflet-active {
\r
176 outline: 2px solid orange;
\r
178 .leaflet-zoom-box {
\r
179 border: 2px dotted #05f;
\r
185 /* general typography */
\r
186 .leaflet-container {
\r
187 font: 12px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif;
\r
191 /* general toolbar styles */
\r
194 box-shadow: 0 0 8px rgba(0,0,0,0.4);
\r
195 border: 1px solid #888;
\r
196 -webkit-border-radius: 5px;
\r
197 border-radius: 5px;
\r
199 .leaflet-bar-part {
\r
200 background-color: rgba(255, 255, 255, 0.8);
\r
201 border-bottom: 1px solid #aaa;
\r
203 .leaflet-bar-part-top {
\r
204 -webkit-border-radius: 4px 4px 0 0;
\r
205 border-radius: 4px 4px 0 0;
\r
207 .leaflet-bar-part-bottom {
\r
208 -webkit-border-radius: 0 0 4px 4px;
\r
209 border-radius: 0 0 4px 4px;
\r
210 border-bottom: none;
\r
213 .leaflet-touch .leaflet-bar {
\r
214 -webkit-border-radius: 10px;
\r
215 border-radius: 10px;
\r
217 .leaflet-touch .leaflet-bar-part {
\r
218 border-bottom: 4px solid rgba(0,0,0,0.3);
\r
220 .leaflet-touch .leaflet-bar-part-top {
\r
221 -webkit-border-radius: 7px 7px 0 0;
\r
222 border-radius: 7px 7px 0 0;
\r
224 .leaflet-touch .leaflet-bar-part-bottom {
\r
225 -webkit-border-radius: 0 0 7px 7px;
\r
226 border-radius: 0 0 7px 7px;
\r
227 border-bottom: none;
\r
233 .leaflet-container .leaflet-control-zoom {
\r
237 .leaflet-control-zoom a {
\r
240 text-align: center;
\r
241 text-decoration: none;
\r
244 .leaflet-control-zoom a,
\r
245 .leaflet-control-layers-toggle {
\r
246 background-position: 50% 50%;
\r
247 background-repeat: no-repeat;
\r
250 .leaflet-control-zoom a:hover {
\r
251 background-color: #fff;
\r
254 .leaflet-control-zoom-in {
\r
255 font: bold 18px/24px Arial, Helvetica, sans-serif;
\r
257 .leaflet-control-zoom-out {
\r
258 font: bold 23px/20px Tahoma, Verdana, sans-serif;
\r
260 .leaflet-control-zoom a.leaflet-control-zoom-disabled {
\r
262 background-color: rgba(255, 255, 255, 0.8);
\r
266 .leaflet-touch .leaflet-control-zoom a {
\r
270 .leaflet-touch .leaflet-control-zoom-in {
\r
274 .leaflet-touch .leaflet-control-zoom-out {
\r
279 /* layers control */
\r
281 .leaflet-control-layers {
\r
282 box-shadow: 0 1px 7px rgba(0,0,0,0.4);
\r
283 background: #f8f8f9;
\r
284 -webkit-border-radius: 8px;
\r
285 border-radius: 8px;
\r
287 .leaflet-control-layers-toggle {
\r
288 background-image: url(images/layers.png);
\r
292 .leaflet-touch .leaflet-control-layers-toggle {
\r
296 .leaflet-control-layers .leaflet-control-layers-list,
\r
297 .leaflet-control-layers-expanded .leaflet-control-layers-toggle {
\r
300 .leaflet-control-layers-expanded .leaflet-control-layers-list {
\r
302 position: relative;
\r
304 .leaflet-control-layers-expanded {
\r
305 padding: 6px 10px 6px 6px;
\r
309 .leaflet-control-layers-selector {
\r
311 position: relative;
\r
314 .leaflet-control-layers label {
\r
317 .leaflet-control-layers-separator {
\r
319 border-top: 1px solid #ddd;
\r
320 margin: 5px -10px 5px -6px;
\r
324 /* attribution and scale controls */
\r
326 .leaflet-container .leaflet-control-attribution {
\r
327 background-color: rgba(255, 255, 255, 0.7);
\r
328 box-shadow: 0 0 5px #bbb;
\r
331 .leaflet-control-attribution,
\r
332 .leaflet-control-scale-line {
\r
336 .leaflet-container .leaflet-control-attribution,
\r
337 .leaflet-container .leaflet-control-scale {
\r
340 .leaflet-left .leaflet-control-scale {
\r
343 .leaflet-bottom .leaflet-control-scale {
\r
344 margin-bottom: 5px;
\r
346 .leaflet-control-scale-line {
\r
347 border: 2px solid #777;
\r
351 padding: 2px 5px 1px;
\r
353 text-shadow: 1px 1px 1px #fff;
\r
354 background-color: rgba(255, 255, 255, 0.5);
\r
355 box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.2);
\r
356 white-space: nowrap;
\r
359 .leaflet-control-scale-line:not(:first-child) {
\r
360 border-top: 2px solid #777;
\r
361 border-bottom: none;
\r
363 box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
\r
365 .leaflet-control-scale-line:not(:first-child):not(:last-child) {
\r
366 border-bottom: 2px solid #777;
\r
369 .leaflet-touch .leaflet-control-attribution,
\r
370 .leaflet-touch .leaflet-control-layers,
\r
371 .leaflet-touch .leaflet-control-zoom {
\r
374 .leaflet-touch .leaflet-control-layers,
\r
375 .leaflet-touch .leaflet-control-zoom {
\r
376 border: 4px solid rgba(0,0,0,0.3);
\r
383 position: absolute;
\r
384 text-align: center;
\r
386 .leaflet-popup-content-wrapper {
\r
389 -webkit-border-radius: 20px;
\r
390 border-radius: 20px;
\r
392 .leaflet-popup-content {
\r
396 .leaflet-popup-content p {
\r
399 .leaflet-popup-tip-container {
\r
403 position: relative;
\r
406 .leaflet-popup-tip {
\r
411 margin: -8px auto 0;
\r
413 -webkit-transform: rotate(45deg);
\r
414 -moz-transform: rotate(45deg);
\r
415 -ms-transform: rotate(45deg);
\r
416 -o-transform: rotate(45deg);
\r
417 transform: rotate(45deg);
\r
419 .leaflet-popup-content-wrapper, .leaflet-popup-tip {
\r
422 box-shadow: 0 3px 14px rgba(0,0,0,0.4);
\r
424 .leaflet-container a.leaflet-popup-close-button {
\r
425 position: absolute;
\r
428 padding: 4px 5px 0 0;
\r
429 text-align: center;
\r
432 font: 16px/14px Tahoma, Verdana, sans-serif;
\r
434 text-decoration: none;
\r
436 background: transparent;
\r
438 .leaflet-container a.leaflet-popup-close-button:hover {
\r
441 .leaflet-popup-scrolled {
\r
443 border-bottom: 1px solid #ddd;
\r
444 border-top: 1px solid #ddd;
\r
450 .leaflet-div-icon {
\r
452 border: 1px solid #666;
\r
454 .leaflet-editing-icon {
\r
455 -webkit-border-radius: 2px;
\r
456 border-radius: 2px;
\r