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
15 .leaflet-layer { /* TODO optimize classes */
\r
18 .leaflet-container {
\r
23 .leaflet-marker-icon,
\r
24 .leaflet-marker-shadow {
\r
25 -moz-user-select: none;
\r
26 -webkit-user-select: none;
\r
29 .leaflet-marker-icon,
\r
30 .leaflet-marker-shadow {
\r
33 .leaflet-clickable {
\r
36 .leaflet-dragging, .leaflet-dragging .leaflet-clickable {
\r
39 .leaflet-container img {
\r
40 /* map is broken in FF if you have max-width: 100% on tiles */
\r
41 max-width: none !important;
\r
43 .leaflet-container img.leaflet-image-layer {
\r
44 /* stupid Android 2 doesn't understand "max-width: none" properly */
\r
45 max-width: 15000px !important;
\r
48 .leaflet-tile-pane { z-index: 2; }
\r
49 .leaflet-objects-pane { z-index: 3; }
\r
50 .leaflet-overlay-pane { z-index: 4; }
\r
51 .leaflet-shadow-pane { z-index: 5; }
\r
52 .leaflet-marker-pane { z-index: 6; }
\r
53 .leaflet-popup-pane { z-index: 7; }
\r
59 .leaflet-tile-loaded {
\r
60 visibility: inherit;
\r
68 /* Leaflet controls */
\r
73 pointer-events: auto;
\r
79 pointer-events: none;
\r
97 .leaflet-right .leaflet-control {
\r
100 .leaflet-top .leaflet-control {
\r
103 .leaflet-bottom .leaflet-control {
\r
104 margin-bottom: 10px;
\r
106 .leaflet-left .leaflet-control {
\r
109 .leaflet-right .leaflet-control {
\r
110 margin-right: 10px;
\r
113 .leaflet-control-zoom {
\r
114 -moz-border-radius: 7px;
\r
115 -webkit-border-radius: 7px;
\r
116 border-radius: 7px;
\r
118 .leaflet-control-zoom {
\r
120 background: rgba(0, 0, 0, 0.25);
\r
122 .leaflet-control-zoom a {
\r
123 background-color: rgba(255, 255, 255, 0.75);
\r
125 .leaflet-control-zoom a, .leaflet-control-layers-toggle {
\r
126 background-position: 50% 50%;
\r
127 background-repeat: no-repeat;
\r
130 .leaflet-control-zoom a {
\r
131 -moz-border-radius: 4px;
\r
132 -webkit-border-radius: 4px;
\r
133 border-radius: 4px;
\r
137 .leaflet-control-zoom a:hover {
\r
138 background-color: #fff;
\r
140 .leaflet-touch .leaflet-control-zoom a {
\r
144 .leaflet-control-zoom-in {
\r
145 background-image: url(images/zoom-in.png);
\r
146 margin-bottom: 5px;
\r
148 .leaflet-control-zoom-out {
\r
149 background-image: url(images/zoom-out.png);
\r
152 .leaflet-control-layers {
\r
153 box-shadow: 0 1px 7px #999;
\r
154 background: #f8f8f9;
\r
155 -moz-border-radius: 8px;
\r
156 -webkit-border-radius: 8px;
\r
157 border-radius: 8px;
\r
159 .leaflet-control-layers-toggle {
\r
160 background-image: url(images/layers.png);
\r
164 .leaflet-touch .leaflet-control-layers-toggle {
\r
168 .leaflet-control-layers .leaflet-control-layers-list,
\r
169 .leaflet-control-layers-expanded .leaflet-control-layers-toggle {
\r
172 .leaflet-control-layers-expanded .leaflet-control-layers-list {
\r
174 position: relative;
\r
176 .leaflet-control-layers-expanded {
\r
177 padding: 6px 10px 6px 6px;
\r
178 font: 12px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif;
\r
182 .leaflet-control-layers-selector {
\r
184 position: relative;
\r
187 .leaflet-control-layers label {
\r
190 .leaflet-control-layers-separator {
\r
192 border-top: 1px solid #ddd;
\r
193 margin: 5px -10px 5px -6px;
\r
196 .leaflet-container .leaflet-control-attribution {
\r
197 background-color: rgba(255, 255, 255, 0.7);
\r
198 box-shadow: 0 0 5px #bbb;
\r
202 .leaflet-control-attribution,
\r
203 .leaflet-control-scale-line {
\r
208 .leaflet-container .leaflet-control-attribution,
\r
209 .leaflet-container .leaflet-control-scale {
\r
210 font: 11px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif;
\r
213 .leaflet-left .leaflet-control-scale {
\r
216 .leaflet-bottom .leaflet-control-scale {
\r
217 margin-bottom: 5px;
\r
220 .leaflet-control-scale-line {
\r
221 border: 2px solid #777;
\r
226 padding-bottom: 2px;
\r
227 text-shadow: 1px 1px 1px #fff;
\r
228 background-color: rgba(255, 255, 255, 0.5);
\r
230 .leaflet-control-scale-line:not(:first-child) {
\r
231 border-top: 2px solid #777;
\r
233 border-bottom: none;
\r
236 .leaflet-control-scale-line:not(:first-child):not(:last-child) {
\r
237 border-bottom: 2px solid #777;
\r
240 .leaflet-touch .leaflet-control-attribution, .leaflet-touch .leaflet-control-layers {
\r
243 .leaflet-touch .leaflet-control-layers {
\r
244 border: 5px solid #bbb;
\r
248 /* Zoom and fade animations */
\r
250 .leaflet-fade-anim .leaflet-tile, .leaflet-fade-anim .leaflet-popup {
\r
253 -webkit-transition: opacity 0.2s linear;
\r
254 -moz-transition: opacity 0.2s linear;
\r
255 -o-transition: opacity 0.2s linear;
\r
256 transition: opacity 0.2s linear;
\r
258 .leaflet-fade-anim .leaflet-tile-loaded, .leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
\r
262 .leaflet-zoom-anim .leaflet-zoom-animated {
\r
263 -webkit-transition: -webkit-transform 0.25s cubic-bezier(0.25,0.1,0.25,0.75);
\r
264 -moz-transition: -moz-transform 0.25s cubic-bezier(0.25,0.1,0.25,0.75);
\r
265 -o-transition: -o-transform 0.25s cubic-bezier(0.25,0.1,0.25,0.75);
\r
266 transition: transform 0.25s cubic-bezier(0.25,0.1,0.25,0.75);
\r
269 .leaflet-zoom-anim .leaflet-tile,
\r
270 .leaflet-pan-anim .leaflet-tile,
\r
271 .leaflet-touching .leaflet-zoom-animated {
\r
272 -webkit-transition: none;
\r
273 -moz-transition: none;
\r
274 -o-transition: none;
\r
278 .leaflet-zoom-anim .leaflet-zoom-hide {
\r
279 visibility: hidden;
\r
286 position: absolute;
\r
287 text-align: center;
\r
289 .leaflet-popup-content-wrapper {
\r
293 .leaflet-popup-content {
\r
296 .leaflet-popup-tip-container {
\r
300 position: relative;
\r
303 .leaflet-popup-tip {
\r
308 margin: -8px auto 0;
\r
310 -moz-transform: rotate(45deg);
\r
311 -webkit-transform: rotate(45deg);
\r
312 -ms-transform: rotate(45deg);
\r
313 -o-transform: rotate(45deg);
\r
314 transform: rotate(45deg);
\r
316 .leaflet-container a.leaflet-popup-close-button {
\r
317 position: absolute;
\r
320 padding: 4px 5px 0 0;
\r
321 text-align: center;
\r
324 font: 16px/14px Tahoma, Verdana, sans-serif;
\r
326 text-decoration: none;
\r
329 .leaflet-container a.leaflet-popup-close-button:hover {
\r
332 .leaflet-popup-content p {
\r
335 .leaflet-popup-scrolled {
\r
337 border-bottom: 1px solid #ddd;
\r
338 border-top: 1px solid #ddd;
\r
342 /* Visual appearance */
\r
344 .leaflet-container {
\r
347 .leaflet-container a {
\r
350 .leaflet-container a.leaflet-active {
\r
351 outline: 2px solid orange;
\r
353 .leaflet-zoom-box {
\r
354 border: 2px dotted #05f;
\r
358 .leaflet-div-icon {
\r
360 border: 1px solid #666;
\r
362 .leaflet-editing-icon {
\r
363 border-radius: 2px;
\r
365 .leaflet-popup-content-wrapper, .leaflet-popup-tip {
\r
368 box-shadow: 0 3px 14px rgba(0,0,0,0.35);
\r
369 -webkit-box-shadow: 0 3px 18px rgba(0,0,0,0.33);
\r
371 .leaflet-popup-content-wrapper {
\r
372 -moz-border-radius: 20px;
\r
373 -webkit-border-radius: 20px;
\r
374 border-radius: 20px;
\r
376 .leaflet-popup-content {
\r
377 font: 12px/1.4 "Helvetica Neue", Arial, Helvetica, sans-serif;
\r