mapbox-rails 1.0.3.1 → 1.6.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of mapbox-rails might be problematic. Click here for more details.

@@ -0,0 +1,763 @@
1
+ /* general typography
2
+
3
+ .leaflet-container
4
+ background: #fff
5
+ font: 15px/25px 'Helvetica Neue', Arial, Helvetica, sans-serif
6
+ color: #404040
7
+ color: rgba(0, 0, 0, 0.75)
8
+ outline: 0
9
+ overflow: hidden
10
+ -ms-touch-action: none
11
+ *
12
+ -webkit-box-sizing: border-box
13
+ -moz-box-sizing: border-box
14
+ box-sizing: border-box
15
+ &:after, &:before
16
+ -webkit-box-sizing: border-box
17
+ -moz-box-sizing: border-box
18
+ box-sizing: border-box
19
+ h1, h2, h3, h4, h5, h6, p
20
+ font-size: 15px
21
+ line-height: 25px
22
+ margin: 0 0 10px
23
+
24
+ .mapbox-small, .leaflet-control-attribution, .leaflet-control-scale
25
+ font-size: 12px
26
+ line-height: 20px
27
+
28
+ .leaflet-container
29
+ input, textarea, label, small
30
+ font-size: 12px
31
+ line-height: 20px
32
+ a
33
+ color: #3887BE
34
+ font-weight: normal
35
+ text-decoration: none
36
+ &:hover
37
+ color: #63b6e5
38
+ &.dark
39
+ a
40
+ color: #63b6e5
41
+ &:hover
42
+ color: #8fcaec
43
+ .mapbox-button
44
+ background-color: #3887be
45
+ display: inline-block
46
+ height: 40px
47
+ line-height: 40px
48
+ text-decoration: none
49
+ color: #fff
50
+ font-size: 12px
51
+ white-space: nowrap
52
+ text-overflow: ellipsis
53
+ .mapbox-button
54
+ background-color: #3887be
55
+ display: inline-block
56
+ height: 40px
57
+ line-height: 40px
58
+ text-decoration: none
59
+ color: #fff
60
+ font-size: 12px
61
+ white-space: nowrap
62
+ text-overflow: ellipsis
63
+ &.dark .mapbox-button:hover, .mapbox-button:hover
64
+ color: #fff
65
+ background-color: #3bb2d0
66
+
67
+ /* Base Leaflet
68
+ *-------------------------------------------------------
69
+
70
+ .leaflet-map-pane, .leaflet-tile, .leaflet-marker-icon, .leaflet-marker-shadow, .leaflet-tile-pane, .leaflet-tile-container, .leaflet-overlay-pane, .leaflet-shadow-pane, .leaflet-marker-pane, .leaflet-popup-pane, .leaflet-overlay-pane svg, .leaflet-zoom-box, .leaflet-image-layer, .leaflet-layer
71
+ position: absolute
72
+ left: 0
73
+ top: 0
74
+
75
+ .leaflet-tile, .leaflet-marker-icon, .leaflet-marker-shadow
76
+ -webkit-user-drag: none
77
+ -webkit-user-select: none
78
+ -moz-user-select: none
79
+ user-select: none
80
+
81
+ .leaflet-marker-icon, .leaflet-marker-shadow
82
+ display: block
83
+
84
+ .leaflet-tile
85
+ filter: inherit
86
+ visibility: hidden
87
+
88
+ .leaflet-tile-loaded
89
+ visibility: inherit
90
+
91
+ .leaflet-zoom-box
92
+ width: 0
93
+ height: 0
94
+
95
+ .leaflet-tile-pane
96
+ z-index: 2
97
+
98
+ .leaflet-objects-pane
99
+ z-index: 3
100
+
101
+ .leaflet-overlay-pane
102
+ z-index: 4
103
+
104
+ .leaflet-shadow-pane
105
+ z-index: 5
106
+
107
+ .leaflet-marker-pane
108
+ z-index: 6
109
+
110
+ .leaflet-popup-pane
111
+ z-index: 7
112
+
113
+ .leaflet-control
114
+ position: relative
115
+ z-index: 7
116
+ pointer-events: auto
117
+ float: left
118
+ clear: both
119
+
120
+ .leaflet-right .leaflet-control
121
+ float: right
122
+
123
+ .leaflet-top .leaflet-control
124
+ margin-top: 10px
125
+
126
+ .leaflet-bottom .leaflet-control
127
+ margin-bottom: 10px
128
+
129
+ .leaflet-left .leaflet-control
130
+ margin-left: 10px
131
+
132
+ .leaflet-right .leaflet-control
133
+ margin-right: 10px
134
+
135
+ .leaflet-top, .leaflet-bottom
136
+ position: absolute
137
+ z-index: 1000
138
+ pointer-events: none
139
+
140
+ .leaflet-top
141
+ top: 0
142
+
143
+ .leaflet-right
144
+ right: 0
145
+
146
+ .leaflet-bottom
147
+ bottom: 0
148
+
149
+ .leaflet-left
150
+ left: 0
151
+
152
+ /* zoom and fade animations
153
+
154
+ .leaflet-fade-anim
155
+ .leaflet-tile, .leaflet-popup
156
+ opacity: 0
157
+ -webkit-transition: opacity 0.2s linear
158
+ -moz-transition: opacity 0.2s linear
159
+ -o-transition: opacity 0.2s linear
160
+ transition: opacity 0.2s linear
161
+ .leaflet-tile-loaded, .leaflet-map-pane .leaflet-popup
162
+ opacity: 1
163
+
164
+ .leaflet-zoom-anim
165
+ .leaflet-zoom-animated
166
+ -webkit-transition: -webkit-transform 0.25s cubic-bezier(0, 0, 0.25, 1)
167
+ -moz-transition: -moz-transform 0.25s cubic-bezier(0, 0, 0.25, 1)
168
+ -o-transition: -o-transform 0.25s cubic-bezier(0, 0, 0.25, 1)
169
+ transition: transform 0.25s cubic-bezier(0, 0, 0.25, 1)
170
+ .leaflet-tile
171
+ -webkit-transition: none
172
+ -moz-transition: none
173
+ -o-transition: none
174
+ transition: none
175
+
176
+ .leaflet-pan-anim .leaflet-tile, .leaflet-touching .leaflet-zoom-animated
177
+ -webkit-transition: none
178
+ -moz-transition: none
179
+ -o-transition: none
180
+ transition: none
181
+
182
+ .leaflet-zoom-anim .leaflet-zoom-hide
183
+ visibility: hidden
184
+
185
+ /* cursors
186
+
187
+ .map-clickable, .leaflet-clickable
188
+ cursor: pointer
189
+
190
+ .leaflet-popup-pane, .leaflet-control
191
+ cursor: auto
192
+
193
+ .leaflet-container
194
+ cursor: -webkit-grab
195
+ cursor: -moz-grab
196
+
197
+ .leaflet-dragging
198
+ cursor: move
199
+ cursor: -webkit-grabbing
200
+ cursor: -moz-grabbing
201
+ .map-clickable, .leaflet-clickable, .leaflet-container
202
+ cursor: move
203
+ cursor: -webkit-grabbing
204
+ cursor: -moz-grabbing
205
+
206
+ .leaflet-zoom-box
207
+ background: #fff
208
+ border: 2px dotted #202020
209
+ opacity: 0.5
210
+
211
+ /* general toolbar styles
212
+
213
+ .leaflet-control-layers
214
+ background-color: #fff
215
+ border: 1px solid #999
216
+ border-color: rgba(0, 0, 0, 0.4)
217
+ border-radius: 3px
218
+ box-shadow: none
219
+
220
+ .leaflet-bar
221
+ background-color: #fff
222
+ border: 1px solid #999
223
+ border-color: rgba(0, 0, 0, 0.4)
224
+ border-radius: 3px
225
+ box-shadow: none
226
+ a
227
+ color: #404040
228
+ color: rgba(0, 0, 0, 0.75)
229
+ border-bottom: 1px solid #ddd
230
+ border-bottom-color: rgba(0, 0, 0, 0.1)
231
+ &:hover
232
+ color: #404040
233
+ color: rgba(0, 0, 0, 0.75)
234
+ border-bottom: 1px solid #ddd
235
+ border-bottom-color: rgba(0, 0, 0, 0.1)
236
+ background-color: #f8f8f8
237
+ cursor: pointer
238
+ &:active
239
+ background-color: #f8f8f8
240
+ cursor: pointer
241
+ &:first-child
242
+ border-radius: 3px 3px 0 0
243
+ &:last-child
244
+ border-bottom: none
245
+ border-radius: 0 0 3px 3px
246
+ &:only-of-type
247
+ border-radius: 3px
248
+ .leaflet-disabled
249
+ cursor: default
250
+ opacity: 0.75
251
+
252
+ .leaflet-control-zoom-in, .leaflet-control-zoom-out
253
+ display: block
254
+ content: ''
255
+ text-indent: -999em
256
+
257
+ .leaflet-control-layers .leaflet-control-layers-list
258
+ display: none
259
+
260
+ .leaflet-control-layers-expanded
261
+ .leaflet-control-layers-toggle
262
+ display: none
263
+ .leaflet-control-layers-list
264
+ display: block
265
+ position: relative
266
+ background: #fff
267
+ padding: 6px 10px 6px 6px
268
+ color: #404040
269
+ color: rgba(0, 0, 0, 0.75)
270
+
271
+ .leaflet-control-layers-selector
272
+ margin-top: 2px
273
+ position: relative
274
+ top: 1px
275
+
276
+ .leaflet-control-layers label
277
+ display: block
278
+
279
+ .leaflet-control-layers-separator
280
+ height: 0
281
+ border-top: 1px solid #ddd
282
+ border-top-color: rgba(0, 0, 0, 0.1)
283
+ margin: 5px -10px 5px -6px
284
+
285
+ .leaflet-container .leaflet-control-attribution
286
+ background-color: rgba(255, 255, 255, 0.25)
287
+ margin: 0
288
+ box-shadow: none
289
+
290
+ .leaflet-control-attribution a:hover, .map-info-container a:hover
291
+ color: inherit
292
+ text-decoration: underline
293
+
294
+ .leaflet-control-attribution, .leaflet-control-scale-line
295
+ padding: 0 5px
296
+
297
+ .leaflet-left .leaflet-control-scale
298
+ margin-left: 5px
299
+
300
+ .leaflet-bottom .leaflet-control-scale
301
+ margin-bottom: 5px
302
+
303
+ .leaflet-control-scale-line
304
+ background-color: rgba(255, 255, 255, 0.5)
305
+ border: 1px solid #999
306
+ border-color: rgba(0, 0, 0, 0.4)
307
+ border-top: none
308
+ padding: 2px 5px 1px
309
+ white-space: nowrap
310
+ overflow: hidden
311
+ &:not(:first-child)
312
+ border-top: 2px solid #ddd
313
+ border-top-color: rgba(0, 0, 0, 0.1)
314
+ border-bottom: none
315
+ margin-top: -2px
316
+ &:not(:last-child)
317
+ border-bottom: 2px solid #777
318
+
319
+ /* popup
320
+
321
+ .leaflet-popup
322
+ position: absolute
323
+ text-align: center
324
+ pointer-events: none
325
+
326
+ .leaflet-popup-content-wrapper
327
+ padding: 1px
328
+ text-align: left
329
+ pointer-events: all
330
+
331
+ .leaflet-popup-content
332
+ padding: 10px 10px 15px
333
+ margin: 0
334
+ line-height: inherit
335
+
336
+ .leaflet-popup-tip-container
337
+ width: 20px
338
+ height: 20px
339
+ margin: 0 auto
340
+ position: relative
341
+
342
+ .leaflet-popup-tip
343
+ width: 0
344
+ height: 0
345
+ margin: 0
346
+ border-left: 10px solid transparent
347
+ border-right: 10px solid transparent
348
+ border-top: 10px solid #fff
349
+ box-shadow: none
350
+
351
+ .leaflet-popup-close-button
352
+ text-indent: -999em
353
+ position: absolute
354
+ top: 0
355
+ right: 0
356
+ pointer-events: all
357
+ &:hover
358
+ background-color: #f8f8f8
359
+
360
+ .leaflet-popup-scrolled
361
+ overflow: auto
362
+ border-bottom: 1px solid #ddd
363
+ border-top: 1px solid #ddd
364
+
365
+ /* div icon
366
+
367
+ .leaflet-div-icon
368
+ background: #fff
369
+ border: 1px solid #999
370
+ border-color: rgba(0, 0, 0, 0.4)
371
+
372
+ .leaflet-editing-icon
373
+ border-radius: 3px
374
+
375
+ /* Leaflet + Mapbox
376
+ *-------------------------------------------------------
377
+
378
+ .leaflet-bar a, .mapbox-icon, .map-tooltip.closable .close, .leaflet-control-layers-toggle, .leaflet-popup-close-button, .mapbox-button-icon:before
379
+ content: ''
380
+ display: inline-block
381
+ width: 26px
382
+ height: 26px
383
+ vertical-align: middle
384
+ background-repeat: no-repeat
385
+
386
+ .leaflet-bar a
387
+ display: block
388
+
389
+ .leaflet-control-zoom-in, .leaflet-control-zoom-out, .leaflet-popup-close-button, .leaflet-control-layers-toggle, .leaflet-container.dark .map-tooltip .close, .map-tooltip .close, .mapbox-icon
390
+ opacity: .75
391
+ background-image: image-url('assets/icons-000000.png')
392
+ background-repeat: no-repeat
393
+ background-size: 26px 260px
394
+
395
+ .mapbox-button-icon:before
396
+ opacity: 1
397
+ background-image: image-url('assets/icons-ffffff.png')
398
+ background-size: 26px 260px
399
+
400
+ .leaflet-container.dark
401
+ .leaflet-control-zoom-in, .leaflet-control-zoom-out, .leaflet-control-layers-toggle, .mapbox-icon
402
+ opacity: 1
403
+ background-image: image-url('assets/icons-ffffff.png')
404
+ background-size: 26px 260px
405
+
406
+ .leaflet-bar
407
+ .leaflet-control-zoom-in
408
+ background-position: 0 0
409
+ .leaflet-control-zoom-out
410
+ background-position: 0 -26px
411
+
412
+ .map-tooltip .close, .leaflet-popup-close-button
413
+ background-position: 0 -52px
414
+
415
+ .mapbox-icon-info
416
+ background-position: 0 -78px
417
+
418
+ .leaflet-control-layers-toggle
419
+ background-position: 0 -104px
420
+
421
+ .mapbox-icon-share
422
+ &:before
423
+ background-position: 0 -130px
424
+ background-position: 0 -130px
425
+
426
+ .mapbox-icon-geocoder
427
+ &:before
428
+ background-position: 0 -156px
429
+ background-position: 0 -156px
430
+
431
+ .mapbox-icon-facebook
432
+ &:before
433
+ background-position: 0 -182px
434
+ background-position: 0 -182px
435
+
436
+ .mapbox-icon-twitter
437
+ &:before
438
+ background-position: 0 -208px
439
+ background-position: 0 -208px
440
+
441
+ .mapbox-icon-pinterest
442
+ &:before
443
+ background-position: 0 -234px
444
+ background-position: 0 -234px
445
+
446
+ @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi)
447
+ .leaflet-control-zoom-in, .leaflet-control-zoom-out, .leaflet-popup-close-button, .leaflet-control-layers-toggle, .mapbox-icon
448
+ background-image: image-url('assets/icons-000000@2x.png')
449
+ .mapbox-button-icon:before
450
+ background-image: image-url('assets/icons-ffffff@2x.png')
451
+ .leaflet-container.dark
452
+ .leaflet-control-zoom-in, .leaflet-control-zoom-out, .leaflet-control-layers-toggle, .mapbox-icon
453
+ background-image: image-url('assets/icons-ffffff@2x.png')
454
+
455
+ .leaflet-popup-content-wrapper, .map-legends, .map-tooltip
456
+ background: #fff
457
+ border-radius: 3px
458
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1)
459
+
460
+ .map-legends, .map-tooltip
461
+ max-width: 300px
462
+
463
+ .map-legends .map-legend
464
+ padding: 10px
465
+
466
+ .map-tooltip
467
+ z-index: 999999
468
+ padding: 10px
469
+ min-width: 180px
470
+ max-height: 400px
471
+ overflow: auto
472
+ opacity: 1
473
+ -webkit-transition: opacity 150ms
474
+ -moz-transition: opacity 150ms
475
+ -o-transition: opacity 150ms
476
+ transition: opacity 150ms
477
+ .close
478
+ text-indent: -999em
479
+ overflow: hidden
480
+ display: none
481
+ &.closable .close
482
+ position: absolute
483
+ top: 0
484
+ right: 0
485
+ border-radius: 3px
486
+ &:active
487
+ background-color: #f8f8f8
488
+
489
+ .leaflet-control-interaction
490
+ position: absolute
491
+ top: 10px
492
+ right: 10px
493
+ width: 300px
494
+
495
+ .leaflet-popup-content .marker-title
496
+ font-weight: bold
497
+
498
+ .leaflet-control .mapbox-button
499
+ background-color: #fff
500
+ border: 1px solid #ddd
501
+ border-color: rgba(0, 0, 0, 0.1)
502
+ padding: 5px 10px
503
+ border-radius: 3px
504
+
505
+ /* Share modal
506
+ *-------------------------------------------------------
507
+
508
+ .mapbox-modal
509
+ > div
510
+ position: absolute
511
+ top: 0
512
+ left: 0
513
+ width: 100%
514
+ height: 100%
515
+ z-index: -1
516
+ overflow-y: auto
517
+ &.active > div
518
+ z-index: 99999
519
+ transition: all .2s, z-index 0 0
520
+ .mapbox-modal-mask
521
+ background: rgba(0, 0, 0, 0.5)
522
+ opacity: 0
523
+ &.active .mapbox-modal-mask
524
+ opacity: 1
525
+ .mapbox-modal-content
526
+ -webkit-transform: translateY(-100%)
527
+ -moz-transform: translateY(-100%)
528
+ -ms-transform: translateY(-100%)
529
+ transform: translateY(-100%)
530
+ &.active .mapbox-modal-content
531
+ -webkit-transform: translateY(0)
532
+ -moz-transform: translateY(0)
533
+ -ms-transform: translateY(0)
534
+ transform: translateY(0)
535
+
536
+ .mapbox-modal-body
537
+ position: relative
538
+ background: #fff
539
+ padding: 20px
540
+ z-index: 1000
541
+ width: 50%
542
+ margin: 20px 0 20px 25%
543
+
544
+ .mapbox-share-buttons
545
+ margin: 0 0 20px
546
+ a
547
+ width: 33.3333%
548
+ border-left: 1px solid #fff
549
+ text-align: center
550
+ border-radius: 0
551
+ &:last-child
552
+ border-radius: 0 3px 3px 0
553
+ &:first-child
554
+ border: none
555
+ border-radius: 3px 0 0 3px
556
+
557
+ .mapbox-modal input
558
+ width: 100%
559
+ height: 40px
560
+ padding: 10px
561
+ border: 1px solid #ddd
562
+ border-color: rgba(0, 0, 0, 0.1)
563
+ color: rgba(0, 0, 0, 0.5)
564
+
565
+ /* Info Control
566
+ *-------------------------------------------------------
567
+
568
+ .leaflet-control
569
+ &.mapbox-control-info
570
+ margin: 5px 30px 10px 10px
571
+ min-height: 26px
572
+ &.mapbox-control-info-right
573
+ margin: 5px 10px 10px 30px
574
+
575
+ .mapbox-info-toggle
576
+ background-color: #fff
577
+ background-color: rgba(255, 255, 255, 0.5)
578
+ border-radius: 50%
579
+ position: absolute
580
+ bottom: 0
581
+ left: 0
582
+ z-index: 1
583
+
584
+ .mapbox-control-info-right .mapbox-info-toggle
585
+ left: auto
586
+ right: 0
587
+
588
+ .mapbox-info-toggle:hover
589
+ background-color: #fff
590
+
591
+ .map-info-container
592
+ background: #fff
593
+ padding: 3px 5px 3px 27px
594
+ display: none
595
+ position: relative
596
+ bottom: 0
597
+ left: 0
598
+ border-radius: 13px 3px 3px 13px
599
+
600
+ .mapbox-control-info.active .map-info-container
601
+ display: inline-block
602
+
603
+ .mapbox-control-info-right .map-info-container
604
+ left: auto
605
+ right: 0
606
+ padding: 3px 27px 3px 5px
607
+ border-radius: 3px 13px 13px 3px
608
+
609
+ /* Geocoder
610
+ *-------------------------------------------------------
611
+
612
+ .leaflet-control-mapbox-geocoder
613
+ position: relative
614
+ &.searching
615
+ opacity: 0.75
616
+ .leaflet-control-mapbox-geocoder-wrap
617
+ background: #fff
618
+ position: absolute
619
+ border: 1px solid #999
620
+ border-color: rgba(0, 0, 0, 0.4)
621
+ border-bottom-width: 0
622
+ overflow: hidden
623
+ left: 26px
624
+ height: 27px
625
+ width: 0
626
+ top: -1px
627
+ border-radius: 0 3px 3px 0
628
+ opacity: 0
629
+ -webkit-transition: opacity 100ms
630
+ -moz-transition: opacity 100ms
631
+ -o-transition: opacity 100ms
632
+ transition: opacity 100ms
633
+ &.active .leaflet-control-mapbox-geocoder-wrap
634
+ width: 180px
635
+ opacity: 1
636
+
637
+ .leaflet-bar .leaflet-control-mapbox-geocoder-toggle
638
+ border-bottom: none
639
+ &:hover
640
+ border-bottom: none
641
+
642
+ .leaflet-control-mapbox-geocoder-toggle
643
+ border-radius: 3px
644
+
645
+ .leaflet-control-mapbox-geocoder
646
+ &.active
647
+ border-top-right-radius: 0
648
+ border-bottom-right-radius: 0
649
+ .leaflet-control-mapbox-geocoder-toggle
650
+ border-top-right-radius: 0
651
+ border-bottom-right-radius: 0
652
+ .leaflet-control-mapbox-geocoder-form input
653
+ background: transparent
654
+ border: 0
655
+ width: 180px
656
+ padding: 0 0 0 10px
657
+ height: 26px
658
+ outline: none
659
+
660
+ .leaflet-control-mapbox-geocoder-results
661
+ width: 180px
662
+ position: absolute
663
+ left: 26px
664
+ top: 25px
665
+ border-radius: 0 0 3px 3px
666
+
667
+ .leaflet-control-mapbox-geocoder.active .leaflet-control-mapbox-geocoder-results
668
+ background: #fff
669
+ border: 1px solid #999
670
+ border-color: rgba(0, 0, 0, 0.4)
671
+
672
+ .leaflet-control-mapbox-geocoder-results
673
+ a, span
674
+ padding: 0 10px
675
+ text-overflow: ellipsis
676
+ white-space: nowrap
677
+ display: block
678
+ width: 100%
679
+ font-size: 12px
680
+ line-height: 26px
681
+ text-align: left
682
+ overflow: hidden
683
+ a:first-child
684
+ border-top: 1px solid #999
685
+ border-top-color: rgba(0, 0, 0, 0.4)
686
+ border-radius: 0
687
+
688
+ .leaflet-container.dark .leaflet-control .leaflet-control-mapbox-geocoder-results a:hover, .leaflet-control-mapbox-geocoder-results a:hover
689
+ background: #f8f8f8
690
+ opacity: 1
691
+
692
+ /* Dark Theme
693
+ *-------------------------------------------------------
694
+
695
+ .leaflet-container
696
+ &.dark
697
+ .leaflet-bar
698
+ background-color: #404040
699
+ border-color: #202020
700
+ border-color: rgba(0, 0, 0, 0.75)
701
+ a
702
+ color: #404040
703
+ border-color: rgba(0, 0, 0, 0.5)
704
+ &:active, &:hover
705
+ background-color: #505050
706
+ .mapbox-info-toggle, .map-info-container, .leaflet-control-attribution
707
+ background-color: rgba(0, 0, 0, 0.25)
708
+ color: #f8f8f8
709
+ .leaflet-bar a.leaflet-disabled, .leaflet-control .mapbox-button.disabled
710
+ background-color: #252525
711
+ color: #404040
712
+ .leaflet-control-mapbox-geocoder > div
713
+ border-color: #202020
714
+ border-color: rgba(0, 0, 0, 0.75)
715
+ .leaflet-control .leaflet-control-mapbox-geocoder-results
716
+ a
717
+ border-color: #ddd #202020
718
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.75)
719
+ span
720
+ border-color: #202020
721
+ border-color: rgba(0, 0, 0, 0.75)
722
+ img
723
+ max-width: none !important
724
+ &.leaflet-image-layer
725
+ max-width: 15000px !important
726
+
727
+ /* Larger Screens
728
+ *-------------------------------------------------------
729
+ @media only screen and (max-width: 800px)
730
+ .mapbox-modal-body
731
+ width: 83.3333%
732
+ margin-left: 8.3333%
733
+
734
+ /* Smaller Screens
735
+ *-------------------------------------------------------
736
+ @media only screen and (max-width: 640px)
737
+ .mapbox-modal-body
738
+ width: 100%
739
+ height: 100%
740
+ margin: 0
741
+
742
+ /* Browser Fixes
743
+ *-------------------------------------------------------
744
+ /* Map is broken in FF if you have max-width: 100% on tiles
745
+
746
+ /* Stupid Android 2 doesn't understand "max-width: none" properly
747
+
748
+ /* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319
749
+
750
+ .leaflet-overlay-pane svg
751
+ -moz-user-select: none
752
+
753
+ /* Older IEs don't support the translateY property for display animation
754
+
755
+ .leaflet-oldie .mapbox-modal
756
+ .mapbox-modal-content
757
+ display: none
758
+ &.active .mapbox-modal-content
759
+ display: block
760
+
761
+ .map-tooltip
762
+ width: 280px\8
763
+ /* < IE9