source: src/webapp/webclient/lib/css/leaflet/leaflet.css@ 193006a

0.5 debian/bullseye debian/jessie
Last change on this file since 193006a was f03591a, checked in by Joachim Langenbach <joachim.langenbach@…>, 9 years ago
  • Improved webclient file uploading
  • Improvded webservice
    • Map uploading
    • tileserver searches it's maps under maps now
  • Maps have spoken names now (set by the user during upload)
  • Moved to leaflet 1.1.0
  • Property mode set to 100644
File size: 13.7 KB
Line 
1/* required styles */
2
3.leaflet-pane,
4.leaflet-tile,
5.leaflet-marker-icon,
6.leaflet-marker-shadow,
7.leaflet-tile-container,
8.leaflet-pane > svg,
9.leaflet-pane > canvas,
10.leaflet-zoom-box,
11.leaflet-image-layer,
12.leaflet-layer {
13 position: absolute;
14 left: 0;
15 top: 0;
16 }
17.leaflet-container {
18 overflow: hidden;
19 }
20.leaflet-tile,
21.leaflet-marker-icon,
22.leaflet-marker-shadow {
23 -webkit-user-select: none;
24 -moz-user-select: none;
25 user-select: none;
26 -webkit-user-drag: none;
27 }
28/* Safari renders non-retina tile on retina better with this, but Chrome is worse */
29.leaflet-safari .leaflet-tile {
30 image-rendering: -webkit-optimize-contrast;
31 }
32/* hack that prevents hw layers "stretching" when loading new tiles */
33.leaflet-safari .leaflet-tile-container {
34 width: 1600px;
35 height: 1600px;
36 -webkit-transform-origin: 0 0;
37 }
38.leaflet-marker-icon,
39.leaflet-marker-shadow {
40 display: block;
41 }
42/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
43/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
44.leaflet-container .leaflet-overlay-pane svg,
45.leaflet-container .leaflet-marker-pane img,
46.leaflet-container .leaflet-shadow-pane img,
47.leaflet-container .leaflet-tile-pane img,
48.leaflet-container img.leaflet-image-layer {
49 max-width: none !important;
50 }
51
52.leaflet-container.leaflet-touch-zoom {
53 -ms-touch-action: pan-x pan-y;
54 touch-action: pan-x pan-y;
55 }
56.leaflet-container.leaflet-touch-drag {
57 -ms-touch-action: pinch-zoom;
58 }
59.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
60 -ms-touch-action: none;
61 touch-action: none;
62}
63.leaflet-container {
64 -webkit-tap-highlight-color: transparent;
65}
66.leaflet-container a {
67 -webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);
68}
69.leaflet-tile {
70 filter: inherit;
71 visibility: hidden;
72 }
73.leaflet-tile-loaded {
74 visibility: inherit;
75 }
76.leaflet-zoom-box {
77 width: 0;
78 height: 0;
79 -moz-box-sizing: border-box;
80 box-sizing: border-box;
81 z-index: 800;
82 }
83/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
84.leaflet-overlay-pane svg {
85 -moz-user-select: none;
86 }
87
88.leaflet-pane { z-index: 400; }
89
90.leaflet-tile-pane { z-index: 200; }
91.leaflet-overlay-pane { z-index: 400; }
92.leaflet-shadow-pane { z-index: 500; }
93.leaflet-marker-pane { z-index: 600; }
94.leaflet-tooltip-pane { z-index: 650; }
95.leaflet-popup-pane { z-index: 700; }
96
97.leaflet-map-pane canvas { z-index: 100; }
98.leaflet-map-pane svg { z-index: 200; }
99
100.leaflet-vml-shape {
101 width: 1px;
102 height: 1px;
103 }
104.lvml {
105 behavior: url(#default#VML);
106 display: inline-block;
107 position: absolute;
108 }
109
110
111/* control positioning */
112
113.leaflet-control {
114 position: relative;
115 z-index: 800;
116 pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
117 pointer-events: auto;
118 }
119.leaflet-top,
120.leaflet-bottom {
121 position: absolute;
122 z-index: 1000;
123 pointer-events: none;
124 }
125.leaflet-top {
126 top: 0;
127 }
128.leaflet-right {
129 right: 0;
130 }
131.leaflet-bottom {
132 bottom: 0;
133 }
134.leaflet-left {
135 left: 0;
136 }
137.leaflet-control {
138 float: left;
139 clear: both;
140 }
141.leaflet-right .leaflet-control {
142 float: right;
143 }
144.leaflet-top .leaflet-control {
145 margin-top: 10px;
146 }
147.leaflet-bottom .leaflet-control {
148 margin-bottom: 10px;
149 }
150.leaflet-left .leaflet-control {
151 margin-left: 10px;
152 }
153.leaflet-right .leaflet-control {
154 margin-right: 10px;
155 }
156
157
158/* zoom and fade animations */
159
160.leaflet-fade-anim .leaflet-tile {
161 will-change: opacity;
162 }
163.leaflet-fade-anim .leaflet-popup {
164 opacity: 0;
165 -webkit-transition: opacity 0.2s linear;
166 -moz-transition: opacity 0.2s linear;
167 -o-transition: opacity 0.2s linear;
168 transition: opacity 0.2s linear;
169 }
170.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
171 opacity: 1;
172 }
173.leaflet-zoom-animated {
174 -webkit-transform-origin: 0 0;
175 -ms-transform-origin: 0 0;
176 transform-origin: 0 0;
177 }
178.leaflet-zoom-anim .leaflet-zoom-animated {
179 will-change: transform;
180 }
181.leaflet-zoom-anim .leaflet-zoom-animated {
182 -webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);
183 -moz-transition: -moz-transform 0.25s cubic-bezier(0,0,0.25,1);
184 -o-transition: -o-transform 0.25s cubic-bezier(0,0,0.25,1);
185 transition: transform 0.25s cubic-bezier(0,0,0.25,1);
186 }
187.leaflet-zoom-anim .leaflet-tile,
188.leaflet-pan-anim .leaflet-tile {
189 -webkit-transition: none;
190 -moz-transition: none;
191 -o-transition: none;
192 transition: none;
193 }
194
195.leaflet-zoom-anim .leaflet-zoom-hide {
196 visibility: hidden;
197 }
198
199
200/* cursors */
201
202.leaflet-interactive {
203 cursor: pointer;
204 }
205.leaflet-grab {
206 cursor: -webkit-grab;
207 cursor: -moz-grab;
208 }
209.leaflet-crosshair,
210.leaflet-crosshair .leaflet-interactive {
211 cursor: crosshair;
212 }
213.leaflet-popup-pane,
214.leaflet-control {
215 cursor: auto;
216 }
217.leaflet-dragging .leaflet-grab,
218.leaflet-dragging .leaflet-grab .leaflet-interactive,
219.leaflet-dragging .leaflet-marker-draggable {
220 cursor: move;
221 cursor: -webkit-grabbing;
222 cursor: -moz-grabbing;
223 }
224
225/* marker & overlays interactivity */
226.leaflet-marker-icon,
227.leaflet-marker-shadow,
228.leaflet-image-layer,
229.leaflet-pane > svg path,
230.leaflet-tile-container {
231 pointer-events: none;
232 }
233
234.leaflet-marker-icon.leaflet-interactive,
235.leaflet-image-layer.leaflet-interactive,
236.leaflet-pane > svg path.leaflet-interactive {
237 pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
238 pointer-events: auto;
239 }
240
241/* visual tweaks */
242
243.leaflet-container {
244 background: #ddd;
245 outline: 0;
246 }
247.leaflet-container a {
248 color: #0078A8;
249 }
250.leaflet-container a.leaflet-active {
251 outline: 2px solid orange;
252 }
253.leaflet-zoom-box {
254 border: 2px dotted #38f;
255 background: rgba(255,255,255,0.5);
256 }
257
258
259/* general typography */
260.leaflet-container {
261 font: 12px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif;
262 }
263
264
265/* general toolbar styles */
266
267.leaflet-bar {
268 box-shadow: 0 1px 5px rgba(0,0,0,0.65);
269 border-radius: 4px;
270 }
271.leaflet-bar a,
272.leaflet-bar a:hover {
273 background-color: #fff;
274 border-bottom: 1px solid #ccc;
275 width: 26px;
276 height: 26px;
277 line-height: 26px;
278 display: block;
279 text-align: center;
280 text-decoration: none;
281 color: black;
282 }
283.leaflet-bar a,
284.leaflet-control-layers-toggle {
285 background-position: 50% 50%;
286 background-repeat: no-repeat;
287 display: block;
288 }
289.leaflet-bar a:hover {
290 background-color: #f4f4f4;
291 }
292.leaflet-bar a:first-child {
293 border-top-left-radius: 4px;
294 border-top-right-radius: 4px;
295 }
296.leaflet-bar a:last-child {
297 border-bottom-left-radius: 4px;
298 border-bottom-right-radius: 4px;
299 border-bottom: none;
300 }
301.leaflet-bar a.leaflet-disabled {
302 cursor: default;
303 background-color: #f4f4f4;
304 color: #bbb;
305 }
306
307.leaflet-touch .leaflet-bar a {
308 width: 30px;
309 height: 30px;
310 line-height: 30px;
311 }
312.leaflet-touch .leaflet-bar a:first-child {
313 border-top-left-radius: 2px;
314 border-top-right-radius: 2px;
315 }
316.leaflet-touch .leaflet-bar a:last-child {
317 border-bottom-left-radius: 2px;
318 border-bottom-right-radius: 2px;
319 }
320
321/* zoom control */
322
323.leaflet-control-zoom-in,
324.leaflet-control-zoom-out {
325 font: bold 18px 'Lucida Console', Monaco, monospace;
326 text-indent: 1px;
327 }
328
329.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out {
330 font-size: 22px;
331 }
332
333
334/* layers control */
335
336.leaflet-control-layers {
337 box-shadow: 0 1px 5px rgba(0,0,0,0.4);
338 background: #fff;
339 border-radius: 5px;
340 }
341.leaflet-control-layers-toggle {
342 background-image: url(images/layers.png);
343 width: 36px;
344 height: 36px;
345 }
346.leaflet-retina .leaflet-control-layers-toggle {
347 background-image: url(images/layers-2x.png);
348 background-size: 26px 26px;
349 }
350.leaflet-touch .leaflet-control-layers-toggle {
351 width: 44px;
352 height: 44px;
353 }
354.leaflet-control-layers .leaflet-control-layers-list,
355.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
356 display: none;
357 }
358.leaflet-control-layers-expanded .leaflet-control-layers-list {
359 display: block;
360 position: relative;
361 }
362.leaflet-control-layers-expanded {
363 padding: 6px 10px 6px 6px;
364 color: #333;
365 background: #fff;
366 }
367.leaflet-control-layers-scrollbar {
368 overflow-y: scroll;
369 padding-right: 5px;
370 }
371.leaflet-control-layers-selector {
372 margin-top: 2px;
373 position: relative;
374 top: 1px;
375 }
376.leaflet-control-layers label {
377 display: block;
378 }
379.leaflet-control-layers-separator {
380 height: 0;
381 border-top: 1px solid #ddd;
382 margin: 5px -10px 5px -6px;
383 }
384
385/* Default icon URLs */
386.leaflet-default-icon-path {
387 background-image: url(images/marker-icon.png);
388 }
389
390
391/* attribution and scale controls */
392
393.leaflet-container .leaflet-control-attribution {
394 background: #fff;
395 background: rgba(255, 255, 255, 0.7);
396 margin: 0;
397 }
398.leaflet-control-attribution,
399.leaflet-control-scale-line {
400 padding: 0 5px;
401 color: #333;
402 }
403.leaflet-control-attribution a {
404 text-decoration: none;
405 }
406.leaflet-control-attribution a:hover {
407 text-decoration: underline;
408 }
409.leaflet-container .leaflet-control-attribution,
410.leaflet-container .leaflet-control-scale {
411 font-size: 11px;
412 }
413.leaflet-left .leaflet-control-scale {
414 margin-left: 5px;
415 }
416.leaflet-bottom .leaflet-control-scale {
417 margin-bottom: 5px;
418 }
419.leaflet-control-scale-line {
420 border: 2px solid #777;
421 border-top: none;
422 line-height: 1.1;
423 padding: 2px 5px 1px;
424 font-size: 11px;
425 white-space: nowrap;
426 overflow: hidden;
427 -moz-box-sizing: border-box;
428 box-sizing: border-box;
429
430 background: #fff;
431 background: rgba(255, 255, 255, 0.5);
432 }
433.leaflet-control-scale-line:not(:first-child) {
434 border-top: 2px solid #777;
435 border-bottom: none;
436 margin-top: -2px;
437 }
438.leaflet-control-scale-line:not(:first-child):not(:last-child) {
439 border-bottom: 2px solid #777;
440 }
441
442.leaflet-touch .leaflet-control-attribution,
443.leaflet-touch .leaflet-control-layers,
444.leaflet-touch .leaflet-bar {
445 box-shadow: none;
446 }
447.leaflet-touch .leaflet-control-layers,
448.leaflet-touch .leaflet-bar {
449 border: 2px solid rgba(0,0,0,0.2);
450 background-clip: padding-box;
451 }
452
453
454/* popup */
455
456.leaflet-popup {
457 position: absolute;
458 text-align: center;
459 margin-bottom: 20px;
460 }
461.leaflet-popup-content-wrapper {
462 padding: 1px;
463 text-align: left;
464 border-radius: 12px;
465 }
466.leaflet-popup-content {
467 margin: 13px 19px;
468 line-height: 1.4;
469 }
470.leaflet-popup-content p {
471 margin: 18px 0;
472 }
473.leaflet-popup-tip-container {
474 width: 40px;
475 height: 20px;
476 position: absolute;
477 left: 50%;
478 margin-left: -20px;
479 overflow: hidden;
480 pointer-events: none;
481 }
482.leaflet-popup-tip {
483 width: 17px;
484 height: 17px;
485 padding: 1px;
486
487 margin: -10px auto 0;
488
489 -webkit-transform: rotate(45deg);
490 -moz-transform: rotate(45deg);
491 -ms-transform: rotate(45deg);
492 -o-transform: rotate(45deg);
493 transform: rotate(45deg);
494 }
495.leaflet-popup-content-wrapper,
496.leaflet-popup-tip {
497 background: white;
498 color: #333;
499 box-shadow: 0 3px 14px rgba(0,0,0,0.4);
500 }
501.leaflet-container a.leaflet-popup-close-button {
502 position: absolute;
503 top: 0;
504 right: 0;
505 padding: 4px 4px 0 0;
506 border: none;
507 text-align: center;
508 width: 18px;
509 height: 14px;
510 font: 16px/14px Tahoma, Verdana, sans-serif;
511 color: #c3c3c3;
512 text-decoration: none;
513 font-weight: bold;
514 background: transparent;
515 }
516.leaflet-container a.leaflet-popup-close-button:hover {
517 color: #999;
518 }
519.leaflet-popup-scrolled {
520 overflow: auto;
521 border-bottom: 1px solid #ddd;
522 border-top: 1px solid #ddd;
523 }
524
525.leaflet-oldie .leaflet-popup-content-wrapper {
526 zoom: 1;
527 }
528.leaflet-oldie .leaflet-popup-tip {
529 width: 24px;
530 margin: 0 auto;
531
532 -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
533 filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
534 }
535.leaflet-oldie .leaflet-popup-tip-container {
536 margin-top: -1px;
537 }
538
539.leaflet-oldie .leaflet-control-zoom,
540.leaflet-oldie .leaflet-control-layers,
541.leaflet-oldie .leaflet-popup-content-wrapper,
542.leaflet-oldie .leaflet-popup-tip {
543 border: 1px solid #999;
544 }
545
546
547/* div icon */
548
549.leaflet-div-icon {
550 background: #fff;
551 border: 1px solid #666;
552 }
553
554
555/* Tooltip */
556/* Base styles for the element that has a tooltip */
557.leaflet-tooltip {
558 position: absolute;
559 padding: 6px;
560 background-color: #fff;
561 border: 1px solid #fff;
562 border-radius: 3px;
563 color: #222;
564 white-space: nowrap;
565 -webkit-user-select: none;
566 -moz-user-select: none;
567 -ms-user-select: none;
568 user-select: none;
569 pointer-events: none;
570 box-shadow: 0 1px 3px rgba(0,0,0,0.4);
571 }
572.leaflet-tooltip.leaflet-clickable {
573 cursor: pointer;
574 pointer-events: auto;
575 }
576.leaflet-tooltip-top:before,
577.leaflet-tooltip-bottom:before,
578.leaflet-tooltip-left:before,
579.leaflet-tooltip-right:before {
580 position: absolute;
581 pointer-events: none;
582 border: 6px solid transparent;
583 background: transparent;
584 content: "";
585 }
586
587/* Directions */
588
589.leaflet-tooltip-bottom {
590 margin-top: 6px;
591}
592.leaflet-tooltip-top {
593 margin-top: -6px;
594}
595.leaflet-tooltip-bottom:before,
596.leaflet-tooltip-top:before {
597 left: 50%;
598 margin-left: -6px;
599 }
600.leaflet-tooltip-top:before {
601 bottom: 0;
602 margin-bottom: -12px;
603 border-top-color: #fff;
604 }
605.leaflet-tooltip-bottom:before {
606 top: 0;
607 margin-top: -12px;
608 margin-left: -6px;
609 border-bottom-color: #fff;
610 }
611.leaflet-tooltip-left {
612 margin-left: -6px;
613}
614.leaflet-tooltip-right {
615 margin-left: 6px;
616}
617.leaflet-tooltip-left:before,
618.leaflet-tooltip-right:before {
619 top: 50%;
620 margin-top: -6px;
621 }
622.leaflet-tooltip-left:before {
623 right: 0;
624 margin-right: -12px;
625 border-left-color: #fff;
626 }
627.leaflet-tooltip-right:before {
628 left: 0;
629 margin-left: -12px;
630 border-right-color: #fff;
631 }
Note: See TracBrowser for help on using the repository browser.