jekyll-webmaps-simple-theme 0.1.9 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,932 @@
1
+ @import "bootstrap-min-css";
2
+ @import "font-awesome.min";
3
+
4
+ html, body, #map {
5
+ height: 100%;
6
+ width: 100%;
7
+ overflow: hidden;
8
+ }
9
+
10
+ #container {
11
+ position: relative;
12
+ border-collapse: collapse;
13
+ min-height: inherit;
14
+ height: 100%;
15
+ padding-top: .85rem;
16
+ padding-left: 2rem;
17
+ padding-right: 2rem;
18
+ padding-bottom: 6.8rem;
19
+ }
20
+
21
+ #map {
22
+ border-radius: .3rem;
23
+ border-collapse: collapse;
24
+ position: relative;
25
+ height: 100%;
26
+ width: 100%;
27
+ /* box-shadow: 2px 5px 8px rgba(0,0,0,0.4); */
28
+ }
29
+
30
+ .web-attributes p {
31
+ text-align: center;
32
+ font-size: 12px;
33
+ margin-top: 2px;
34
+ padding-top: 2px;
35
+ }
36
+
37
+ .legend {
38
+ background: rgba(255, 253, 250, 1);
39
+ outline: 0;
40
+ border-radius: 10px;
41
+ font-size: 10px;
42
+ margin-bottom: 100px;
43
+ box-shadow: 0 1px 5px rgba(0, 0, 0, 0.7);
44
+ padding: 1px 10px 1px 10px;
45
+ }
46
+
47
+ @media only screen and (max-width: 380px) {
48
+ .legend {
49
+ display: none;
50
+ }
51
+ }
52
+
53
+ @media only screen and (max-height: 300px) {
54
+ .legend {
55
+ display: none;
56
+ }
57
+ }
58
+
59
+ /* Navigation */
60
+
61
+ .navigation-clean {
62
+ background: #fff;
63
+ padding-top: .75rem;
64
+ padding-bottom: .75rem;
65
+ color: #333;
66
+ border-radius: 0;
67
+ box-shadow: none;
68
+ border: none;
69
+ margin-bottom: 0;
70
+ .navbar-brand {
71
+ font-weight: bold;
72
+ color: inherit;
73
+ &:hover {
74
+ color: #222;
75
+ }
76
+ }
77
+ .navbar-toggler {
78
+ border-color: #ddd;
79
+ &:hover, &:focus {
80
+ background: none;
81
+ }
82
+ color: #888;
83
+ }
84
+ .navbar-collapse, .form-inline {
85
+ border-top-color: #ddd;
86
+ }
87
+ &.navbar-light .navbar-nav .nav-link.active {
88
+ color: #8f8f8f;
89
+ box-shadow: none;
90
+ background: none;
91
+ pointer-events: none;
92
+ &:focus, &:hover {
93
+ color: #8f8f8f;
94
+ box-shadow: none;
95
+ background: none;
96
+ pointer-events: none;
97
+ }
98
+ }
99
+ &.navbar .navbar-nav .nav-link {
100
+ padding-left: 18px;
101
+ padding-right: 18px;
102
+ }
103
+ &.navbar-light .navbar-nav .nav-link {
104
+ color: #465765;
105
+ &:focus, &:hover {
106
+ color: #37434d !important;
107
+ background-color: transparent;
108
+ }
109
+ }
110
+ .navbar-nav > li > .dropdown-menu {
111
+ margin-top: -5px;
112
+ box-shadow: none;
113
+ background-color: #fff;
114
+ border-radius: 2px;
115
+ }
116
+ .dropdown-menu .dropdown-item {
117
+ &:focus {
118
+ line-height: 2;
119
+ color: #37434d;
120
+ background: #eee;
121
+ color: inherit;
122
+ }
123
+ line-height: 2;
124
+ color: #37434d;
125
+ &:hover {
126
+ background: #eee;
127
+ color: inherit;
128
+ }
129
+ }
130
+ }
131
+
132
+ @media (min-width: 768px) {
133
+ .navigation-clean {
134
+ /*padding-top: 1rem;*/
135
+ /*padding-bottom: 1rem;*/
136
+ }
137
+ }
138
+
139
+ .navbar-collapse.in {
140
+ overflow-y: hidden;
141
+ }
142
+
143
+ /* Leaflet */
144
+
145
+ /* required styles */
146
+
147
+ .leaflet-pane, .leaflet-tile, .leaflet-marker-icon, .leaflet-marker-shadow, .leaflet-tile-container {
148
+ position: absolute;
149
+ left: 0;
150
+ top: 0;
151
+ }
152
+
153
+ .leaflet-pane > {
154
+ svg, canvas {
155
+ position: absolute;
156
+ left: 0;
157
+ top: 0;
158
+ }
159
+ }
160
+
161
+ .leaflet-zoom-box, .leaflet-image-layer, .leaflet-layer {
162
+ position: absolute;
163
+ left: 0;
164
+ top: 0;
165
+ }
166
+
167
+ .leaflet-container {
168
+ overflow: hidden;
169
+ }
170
+
171
+ .leaflet-tile, .leaflet-marker-icon, .leaflet-marker-shadow {
172
+ -webkit-user-select: none;
173
+ -moz-user-select: none;
174
+ user-select: none;
175
+ -webkit-user-drag: none;
176
+ }
177
+
178
+ /* Prevents IE11 from highlighting tiles in blue */
179
+
180
+ .leaflet-tile::selection {
181
+ background: transparent;
182
+ }
183
+
184
+ /* Safari renders non-retina tile on retina better with this, but Chrome is worse */
185
+
186
+ .leaflet-safari {
187
+ .leaflet-tile {
188
+ image-rendering: -webkit-optimize-contrast;
189
+ }
190
+ .leaflet-tile-container {
191
+ width: 1600px;
192
+ height: 1600px;
193
+ -webkit-transform-origin: 0 0;
194
+ }
195
+ }
196
+
197
+ /* hack that prevents hw layers "stretching" when loading new tiles */
198
+
199
+ .leaflet-marker-icon, .leaflet-marker-shadow {
200
+ display: block;
201
+ }
202
+
203
+ /* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
204
+ /* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
205
+
206
+ .leaflet-container {
207
+ .leaflet-overlay-pane svg, .leaflet-marker-pane img, .leaflet-shadow-pane img, .leaflet-tile-pane img, img.leaflet-image-layer, .leaflet-tile {
208
+ max-width: none !important;
209
+ max-height: none !important;
210
+ }
211
+ &.leaflet-touch-zoom {
212
+ -ms-touch-action: pan-x pan-y;
213
+ touch-action: pan-x pan-y;
214
+ }
215
+ &.leaflet-touch-drag {
216
+ -ms-touch-action: pinch-zoom;
217
+ /* Fallback for FF which doesn't support pinch-zoom */
218
+ touch-action: none;
219
+ touch-action: pinch-zoom;
220
+ &.leaflet-touch-zoom {
221
+ -ms-touch-action: none;
222
+ touch-action: none;
223
+ }
224
+ }
225
+ -webkit-tap-highlight-color: transparent;
226
+ a {
227
+ -webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);
228
+ }
229
+ }
230
+
231
+ .leaflet-tile {
232
+ filter: inherit;
233
+ visibility: hidden;
234
+ }
235
+
236
+ .leaflet-tile-loaded {
237
+ visibility: inherit;
238
+ }
239
+
240
+ .leaflet-zoom-box {
241
+ width: 0;
242
+ height: 0;
243
+ -moz-box-sizing: border-box;
244
+ box-sizing: border-box;
245
+ z-index: 800;
246
+ }
247
+
248
+ /* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
249
+
250
+ .leaflet-overlay-pane svg {
251
+ -moz-user-select: none;
252
+ }
253
+
254
+ .leaflet-pane {
255
+ z-index: 400;
256
+ }
257
+
258
+ .leaflet-tile-pane {
259
+ z-index: 200;
260
+ }
261
+
262
+ .leaflet-overlay-pane {
263
+ z-index: 400;
264
+ }
265
+
266
+ .leaflet-shadow-pane {
267
+ z-index: 500;
268
+ }
269
+
270
+ .leaflet-marker-pane {
271
+ z-index: 600;
272
+ }
273
+
274
+ .leaflet-tooltip-pane {
275
+ z-index: 650;
276
+ }
277
+
278
+ .leaflet-popup-pane {
279
+ z-index: 700;
280
+ }
281
+
282
+ .leaflet-map-pane {
283
+ canvas {
284
+ z-index: 100;
285
+ }
286
+ svg {
287
+ z-index: 200;
288
+ }
289
+ }
290
+
291
+ .leaflet-vml-shape {
292
+ width: 1px;
293
+ height: 1px;
294
+ }
295
+
296
+ .lvml {
297
+ behavior: url(#default#VML);
298
+ display: inline-block;
299
+ position: absolute;
300
+ }
301
+
302
+ /* control positioning */
303
+
304
+ .leaflet-control {
305
+ position: relative;
306
+ z-index: 800;
307
+ pointer-events: visiblePainted;
308
+ /* IE 9-10 doesn't have auto */
309
+ pointer-events: auto;
310
+ }
311
+
312
+ .leaflet-top, .leaflet-bottom {
313
+ position: absolute;
314
+ z-index: 1000;
315
+ pointer-events: none;
316
+ }
317
+
318
+ .leaflet-top {
319
+ top: 0;
320
+ }
321
+
322
+ .leaflet-right {
323
+ right: 0;
324
+ }
325
+
326
+ .leaflet-bottom {
327
+ bottom: 0;
328
+ }
329
+
330
+ .leaflet-left {
331
+ left: 0;
332
+ }
333
+
334
+ .leaflet-control {
335
+ float: left;
336
+ clear: both;
337
+ }
338
+
339
+ .leaflet-right .leaflet-control {
340
+ float: right;
341
+ }
342
+
343
+ .leaflet-top .leaflet-control {
344
+ margin-top: 10px;
345
+ }
346
+
347
+ .leaflet-bottom .leaflet-control {
348
+ margin-bottom: 10px;
349
+ }
350
+
351
+ .leaflet-left .leaflet-control {
352
+ margin-left: 10px;
353
+ }
354
+
355
+ .leaflet-right .leaflet-control {
356
+ margin-right: 10px;
357
+ }
358
+
359
+ /* zoom and fade animations */
360
+
361
+ .leaflet-fade-anim {
362
+ .leaflet-tile {
363
+ will-change: opacity;
364
+ }
365
+ .leaflet-popup {
366
+ opacity: 0;
367
+ -webkit-transition: opacity 0.2s linear;
368
+ -moz-transition: opacity 0.2s linear;
369
+ transition: opacity 0.2s linear;
370
+ }
371
+ .leaflet-map-pane .leaflet-popup {
372
+ opacity: 1;
373
+ }
374
+ }
375
+
376
+ .leaflet-zoom-animated {
377
+ -webkit-transform-origin: 0 0;
378
+ -ms-transform-origin: 0 0;
379
+ transform-origin: 0 0;
380
+ }
381
+
382
+ .leaflet-zoom-anim {
383
+ .leaflet-zoom-animated {
384
+ will-change: transform;
385
+ -webkit-transition: -webkit-transform 0.25s cubic-bezier(0, 0, 0.25, 1);
386
+ -moz-transition: -moz-transform 0.25s cubic-bezier(0, 0, 0.25, 1);
387
+ transition: transform 0.25s cubic-bezier(0, 0, 0.25, 1);
388
+ }
389
+ .leaflet-tile {
390
+ -webkit-transition: none;
391
+ -moz-transition: none;
392
+ transition: none;
393
+ }
394
+ }
395
+
396
+ .leaflet-pan-anim .leaflet-tile {
397
+ -webkit-transition: none;
398
+ -moz-transition: none;
399
+ transition: none;
400
+ }
401
+
402
+ .leaflet-zoom-anim .leaflet-zoom-hide {
403
+ visibility: hidden;
404
+ }
405
+
406
+ /* cursors */
407
+
408
+ .leaflet-interactive {
409
+ cursor: pointer;
410
+ }
411
+
412
+ .leaflet-grab {
413
+ cursor: -webkit-grab;
414
+ cursor: -moz-grab;
415
+ cursor: grab;
416
+ }
417
+
418
+ .leaflet-crosshair {
419
+ cursor: crosshair;
420
+ .leaflet-interactive {
421
+ cursor: crosshair;
422
+ }
423
+ }
424
+
425
+ .leaflet-popup-pane, .leaflet-control {
426
+ cursor: auto;
427
+ }
428
+
429
+ .leaflet-dragging {
430
+ .leaflet-grab {
431
+ cursor: move;
432
+ cursor: -webkit-grabbing;
433
+ cursor: -moz-grabbing;
434
+ cursor: grabbing;
435
+ .leaflet-interactive {
436
+ cursor: move;
437
+ cursor: -webkit-grabbing;
438
+ cursor: -moz-grabbing;
439
+ cursor: grabbing;
440
+ }
441
+ }
442
+ .leaflet-marker-draggable {
443
+ cursor: move;
444
+ cursor: -webkit-grabbing;
445
+ cursor: -moz-grabbing;
446
+ cursor: grabbing;
447
+ }
448
+ }
449
+
450
+ /* marker & overlays interactivity */
451
+
452
+ .leaflet-marker-icon, .leaflet-marker-shadow, .leaflet-image-layer, .leaflet-pane > svg path, .leaflet-tile-container {
453
+ pointer-events: none;
454
+ }
455
+
456
+ .leaflet-marker-icon.leaflet-interactive, .leaflet-image-layer.leaflet-interactive, .leaflet-pane > svg path.leaflet-interactive, svg.leaflet-image-layer.leaflet-interactive path {
457
+ pointer-events: visiblePainted;
458
+ /* IE 9-10 doesn't have auto */
459
+ pointer-events: auto;
460
+ }
461
+
462
+ /* visual tweaks */
463
+
464
+ .leaflet-container {
465
+ background: #ddd;
466
+ outline: 0;
467
+ a {
468
+ color: #0078A8;
469
+ &.leaflet-active {
470
+ outline: 2px solid orange;
471
+ }
472
+ }
473
+ }
474
+
475
+ .leaflet-zoom-box {
476
+ border: 2px dotted #38f;
477
+ background: rgba(255, 255, 255, 0.5);
478
+ }
479
+
480
+ /* general typography */
481
+
482
+ .leaflet-container {
483
+ font: 12px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif;
484
+ }
485
+
486
+ /* general toolbar styles */
487
+
488
+ .leaflet-bar {
489
+ box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65);
490
+ border-radius: 4px;
491
+ a {
492
+ background-color: #fff;
493
+ border-bottom: 1px solid #ccc;
494
+ width: 26px;
495
+ height: 26px;
496
+ line-height: 26px;
497
+ display: block;
498
+ text-align: center;
499
+ text-decoration: none;
500
+ color: black;
501
+ &:hover {
502
+ background-color: #fff;
503
+ border-bottom: 1px solid #ccc;
504
+ width: 26px;
505
+ height: 26px;
506
+ line-height: 26px;
507
+ display: block;
508
+ text-align: center;
509
+ text-decoration: none;
510
+ color: black;
511
+ }
512
+ background-position: 50% 50%;
513
+ background-repeat: no-repeat;
514
+ display: block;
515
+ }
516
+ }
517
+
518
+ .leaflet-control-layers-toggle {
519
+ background-position: 50% 50%;
520
+ background-repeat: no-repeat;
521
+ display: block;
522
+ }
523
+
524
+ .leaflet-bar a {
525
+ &:hover {
526
+ background-color: #f4f4f4;
527
+ }
528
+ &:first-child {
529
+ border-top-left-radius: 4px;
530
+ border-top-right-radius: 4px;
531
+ }
532
+ &:last-child {
533
+ border-bottom-left-radius: 4px;
534
+ border-bottom-right-radius: 4px;
535
+ border-bottom: none;
536
+ }
537
+ &.leaflet-disabled {
538
+ cursor: default;
539
+ background-color: #f4f4f4;
540
+ color: #bbb;
541
+ }
542
+ }
543
+
544
+ .leaflet-touch .leaflet-bar a {
545
+ width: 30px;
546
+ height: 30px;
547
+ line-height: 30px;
548
+ &:first-child {
549
+ border-top-left-radius: 2px;
550
+ border-top-right-radius: 2px;
551
+ }
552
+ &:last-child {
553
+ border-bottom-left-radius: 2px;
554
+ border-bottom-right-radius: 2px;
555
+ }
556
+ }
557
+
558
+ /* zoom control */
559
+
560
+ .leaflet-control-zoom-in, .leaflet-control-zoom-out {
561
+ font: bold 18px 'Lucida Console', Monaco, monospace;
562
+ text-indent: 1px;
563
+ }
564
+
565
+ .leaflet-touch {
566
+ .leaflet-control-zoom-in, .leaflet-control-zoom-out {
567
+ font-size: 22px;
568
+ }
569
+ }
570
+
571
+ /* layers control */
572
+
573
+ .leaflet-control-layers {
574
+ box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
575
+ background: #fff;
576
+ border-radius: 5px;
577
+ }
578
+
579
+ .leaflet-control-layers-toggle {
580
+ background-image: url(images/layers.png);
581
+ width: 36px;
582
+ height: 36px;
583
+ }
584
+
585
+ .leaflet-retina .leaflet-control-layers-toggle {
586
+ background-image: url(images/layers-2x.png);
587
+ background-size: 26px 26px;
588
+ }
589
+
590
+ .leaflet-touch .leaflet-control-layers-toggle {
591
+ width: 44px;
592
+ height: 44px;
593
+ }
594
+
595
+ .leaflet-control-layers .leaflet-control-layers-list {
596
+ display: none;
597
+ }
598
+
599
+ .leaflet-control-layers-expanded {
600
+ .leaflet-control-layers-toggle {
601
+ display: none;
602
+ }
603
+ .leaflet-control-layers-list {
604
+ display: block;
605
+ position: relative;
606
+ }
607
+ padding: 6px 10px 6px 6px;
608
+ color: #333;
609
+ background: #fff;
610
+ }
611
+
612
+ .leaflet-control-layers-scrollbar {
613
+ overflow-y: scroll;
614
+ overflow-x: hidden;
615
+ padding-right: 5px;
616
+ }
617
+
618
+ .leaflet-control-layers-selector {
619
+ margin-top: 2px;
620
+ position: relative;
621
+ top: 1px;
622
+ }
623
+
624
+ .leaflet-control-layers label {
625
+ display: block;
626
+ }
627
+
628
+ .leaflet-control-layers-separator {
629
+ height: 0;
630
+ border-top: 1px solid #ddd;
631
+ margin: 5px -10px 5px -6px;
632
+ }
633
+
634
+ /* Default icon URLs */
635
+
636
+ .leaflet-default-icon-path {
637
+ background-image: url(images/marker-icon.png);
638
+ }
639
+
640
+ /* attribution and scale controls */
641
+
642
+ .leaflet-container .leaflet-control-attribution {
643
+ background: #fff;
644
+ background: rgba(255, 255, 255, 0.7);
645
+ margin: 0;
646
+ }
647
+
648
+ .leaflet-control-attribution, .leaflet-control-scale-line {
649
+ padding: 0 5px;
650
+ color: #333;
651
+ }
652
+
653
+ .leaflet-control-attribution a {
654
+ text-decoration: none;
655
+ &:hover {
656
+ text-decoration: underline;
657
+ }
658
+ }
659
+
660
+ .leaflet-container {
661
+ .leaflet-control-attribution, .leaflet-control-scale {
662
+ font-size: 11px;
663
+ }
664
+ }
665
+
666
+ .leaflet-left .leaflet-control-scale {
667
+ margin-left: 5px;
668
+ }
669
+
670
+ .leaflet-bottom .leaflet-control-scale {
671
+ margin-bottom: 5px;
672
+ }
673
+
674
+ .leaflet-control-scale-line {
675
+ border: 2px solid #777;
676
+ border-top: none;
677
+ line-height: 1.1;
678
+ padding: 2px 5px 1px;
679
+ font-size: 11px;
680
+ white-space: nowrap;
681
+ overflow: hidden;
682
+ -moz-box-sizing: border-box;
683
+ box-sizing: border-box;
684
+ background: #fff;
685
+ background: rgba(255, 255, 255, 0.5);
686
+ &:not(:first-child) {
687
+ border-top: 2px solid #777;
688
+ border-bottom: none;
689
+ margin-top: -2px;
690
+ &:not(:last-child) {
691
+ border-bottom: 2px solid #777;
692
+ }
693
+ }
694
+ }
695
+
696
+ .leaflet-touch {
697
+ .leaflet-control-attribution, .leaflet-control-layers, .leaflet-bar {
698
+ box-shadow: none;
699
+ }
700
+ .leaflet-control-layers, .leaflet-bar {
701
+ border: 2px solid rgba(0, 0, 0, 0.2);
702
+ background-clip: padding-box;
703
+ }
704
+ }
705
+
706
+ /* popup */
707
+
708
+ .leaflet-popup {
709
+ position: absolute;
710
+ text-align: center;
711
+ margin-bottom: 20px;
712
+ }
713
+
714
+ .leaflet-popup-content-wrapper {
715
+ padding: 1px;
716
+ text-align: left;
717
+ border-radius: 12px;
718
+ }
719
+
720
+ .leaflet-popup-content {
721
+ margin: 13px 19px;
722
+ line-height: 1.4;
723
+ p {
724
+ margin: 18px 0;
725
+ }
726
+ }
727
+
728
+ .leaflet-popup-tip-container {
729
+ width: 40px;
730
+ height: 20px;
731
+ position: absolute;
732
+ left: 50%;
733
+ margin-left: -20px;
734
+ overflow: hidden;
735
+ pointer-events: none;
736
+ }
737
+
738
+ .leaflet-popup-tip {
739
+ width: 17px;
740
+ height: 17px;
741
+ padding: 1px;
742
+ margin: -10px auto 0;
743
+ -webkit-transform: rotate(45deg);
744
+ -moz-transform: rotate(45deg);
745
+ -ms-transform: rotate(45deg);
746
+ transform: rotate(45deg);
747
+ }
748
+
749
+ .leaflet-popup-content-wrapper, .leaflet-popup-tip {
750
+ background: white;
751
+ color: #333;
752
+ box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4);
753
+ }
754
+
755
+ .leaflet-container a.leaflet-popup-close-button {
756
+ position: absolute;
757
+ top: 0;
758
+ right: 0;
759
+ padding: 4px 4px 0 0;
760
+ border: none;
761
+ text-align: center;
762
+ width: 18px;
763
+ height: 14px;
764
+ font: 16px/14px Tahoma, Verdana, sans-serif;
765
+ color: #c3c3c3;
766
+ text-decoration: none;
767
+ font-weight: bold;
768
+ background: transparent;
769
+ &:hover {
770
+ color: #999;
771
+ }
772
+ }
773
+
774
+ .leaflet-popup-scrolled {
775
+ overflow: auto;
776
+ border-bottom: 1px solid #ddd;
777
+ border-top: 1px solid #ddd;
778
+ }
779
+
780
+ .leaflet-oldie {
781
+ .leaflet-popup-content-wrapper {
782
+ zoom: 1;
783
+ }
784
+ .leaflet-popup-tip {
785
+ width: 24px;
786
+ margin: 0 auto;
787
+ -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
788
+ filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
789
+ }
790
+ .leaflet-popup-tip-container {
791
+ margin-top: -1px;
792
+ }
793
+ .leaflet-control-zoom, .leaflet-control-layers, .leaflet-popup-content-wrapper, .leaflet-popup-tip {
794
+ border: 1px solid #999;
795
+ }
796
+ }
797
+
798
+ /* div icon */
799
+
800
+ .leaflet-div-icon {
801
+ background: #fff;
802
+ border: 1px solid #666;
803
+ }
804
+
805
+ /* Tooltip */
806
+ /* Base styles for the element that has a tooltip */
807
+
808
+ .leaflet-tooltip {
809
+ position: absolute;
810
+ padding: 6px;
811
+ background-color: #fff;
812
+ border: 1px solid #fff;
813
+ border-radius: 3px;
814
+ color: #222;
815
+ white-space: nowrap;
816
+ -webkit-user-select: none;
817
+ -moz-user-select: none;
818
+ -ms-user-select: none;
819
+ user-select: none;
820
+ pointer-events: none;
821
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
822
+ &.leaflet-clickable {
823
+ cursor: pointer;
824
+ pointer-events: auto;
825
+ }
826
+ }
827
+
828
+ .leaflet-tooltip-top:before, .leaflet-tooltip-bottom:before, .leaflet-tooltip-left:before, .leaflet-tooltip-right:before {
829
+ position: absolute;
830
+ pointer-events: none;
831
+ border: 6px solid transparent;
832
+ background: transparent;
833
+ content: "";
834
+ }
835
+
836
+ /* Directions */
837
+
838
+ .leaflet-tooltip-bottom {
839
+ margin-top: 6px;
840
+ }
841
+
842
+ .leaflet-tooltip-top {
843
+ margin-top: -6px;
844
+ }
845
+
846
+ .leaflet-tooltip-bottom:before {
847
+ left: 50%;
848
+ margin-left: -6px;
849
+ }
850
+
851
+ .leaflet-tooltip-top:before {
852
+ left: 50%;
853
+ margin-left: -6px;
854
+ bottom: 0;
855
+ margin-bottom: -12px;
856
+ border-top-color: #fff;
857
+ }
858
+
859
+ .leaflet-tooltip-bottom:before {
860
+ top: 0;
861
+ margin-top: -12px;
862
+ margin-left: -6px;
863
+ border-bottom-color: #fff;
864
+ }
865
+
866
+ .leaflet-tooltip-left {
867
+ margin-left: -6px;
868
+ }
869
+
870
+ .leaflet-tooltip-right {
871
+ margin-left: 6px;
872
+ }
873
+
874
+ .leaflet-tooltip-left:before, .leaflet-tooltip-right:before {
875
+ top: 50%;
876
+ margin-top: -6px;
877
+ }
878
+
879
+ .leaflet-tooltip-left:before {
880
+ right: 0;
881
+ margin-right: -12px;
882
+ border-left-color: #fff;
883
+ }
884
+
885
+ .leaflet-tooltip-right:before {
886
+ left: 0;
887
+ margin-left: -12px;
888
+ border-right-color: #fff;
889
+ }
890
+
891
+ /* Leaflet fullscreen */
892
+
893
+ .leaflet-control-fullscreen a {
894
+ background: #fff url(images/fullscreen.png) no-repeat 0 0;
895
+ background-size: 26px 52px;
896
+ }
897
+
898
+ .leaflet-touch .leaflet-control-fullscreen a {
899
+ background-position: 2px 2px;
900
+ }
901
+
902
+ .leaflet-fullscreen-on .leaflet-control-fullscreen a {
903
+ background-position: 0 -26px;
904
+ }
905
+
906
+ .leaflet-touch.leaflet-fullscreen-on .leaflet-control-fullscreen a {
907
+ background-position: 2px -24px;
908
+ }
909
+
910
+ /* Do not combine these two rules; IE will break. */
911
+
912
+ .leaflet-container {
913
+ &:-webkit-full-screen, &.leaflet-fullscreen-on {
914
+ width: 100% !important;
915
+ height: 100% !important;
916
+ }
917
+ }
918
+
919
+ .leaflet-pseudo-fullscreen {
920
+ position: fixed !important;
921
+ width: 100% !important;
922
+ height: 100% !important;
923
+ top: 0 !important;
924
+ left: 0 !important;
925
+ z-index: 99999;
926
+ }
927
+
928
+ @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
929
+ .leaflet-control-fullscreen a {
930
+ background-image: url(images/fullscreen@2x.png);
931
+ }
932
+ }