source: src/webapp/webclient/css/leaflet.css@ 27a5d0d

debian/bullseye debian/jessie
Last change on this file since 27a5d0d was e62038b, checked in by Joachim Langenbach <joachim.langenbach@…>, 10 years ago

Added construction plans and therefore restructered the folder structure

Signed-off-by: Joachim Langenbach <joachim.langenbach@…>

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