jekyll-webmaps-simple-theme 0.1.4 → 0.1.5

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