]> git.openstreetmap.org Git - rails.git/blobdiff - vendor/assets/leaflet/leaflet.css
Merge remote-tracking branch 'upstream/pull/2151'
[rails.git] / vendor / assets / leaflet / leaflet.css
index 6e0789c6652244c97f18bde90c69e542aa5d2b20..70802f36874bffb5d8fee4b57a8c7d8f93a3aa1a 100644 (file)
@@ -5,8 +5,8 @@
 .leaflet-marker-icon,
 .leaflet-marker-shadow,
 .leaflet-tile-container,
 .leaflet-marker-icon,
 .leaflet-marker-shadow,
 .leaflet-tile-container,
-.leaflet-map-pane svg,
-.leaflet-map-pane canvas,
+.leaflet-pane > svg,
+.leaflet-pane > canvas,
 .leaflet-zoom-box,
 .leaflet-image-layer,
 .leaflet-layer {
 .leaflet-zoom-box,
 .leaflet-image-layer,
 .leaflet-layer {
 /* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
 .leaflet-container .leaflet-overlay-pane svg,
 .leaflet-container .leaflet-marker-pane img,
 /* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
 .leaflet-container .leaflet-overlay-pane svg,
 .leaflet-container .leaflet-marker-pane img,
+.leaflet-container .leaflet-shadow-pane img,
 .leaflet-container .leaflet-tile-pane img,
 .leaflet-container .leaflet-tile-pane img,
-.leaflet-container img.leaflet-image-layer {
+.leaflet-container img.leaflet-image-layer,
+.leaflet-container .leaflet-tile {
        max-width: none !important;
        max-width: none !important;
+       max-height: none !important;
        }
 
 .leaflet-container.leaflet-touch-zoom {
        }
 
 .leaflet-container.leaflet-touch-zoom {
        }
 .leaflet-container.leaflet-touch-drag {
        -ms-touch-action: pinch-zoom;
        }
 .leaflet-container.leaflet-touch-drag {
        -ms-touch-action: pinch-zoom;
-       }
-.leaflet-container.leaflet-touch-drag.leaflet-touch-drag {
+       /* Fallback for FF which doesn't support pinch-zoom */
+       touch-action: none;
+       touch-action: pinch-zoom;
+}
+.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
        -ms-touch-action: none;
        touch-action: none;
 }
        -ms-touch-action: none;
        touch-action: none;
 }
+.leaflet-container {
+       -webkit-tap-highlight-color: transparent;
+}
+.leaflet-container a {
+       -webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);
+}
 .leaflet-tile {
        filter: inherit;
        visibility: hidden;
 .leaflet-tile {
        filter: inherit;
        visibility: hidden;
        opacity: 0;
        -webkit-transition: opacity 0.2s linear;
           -moz-transition: opacity 0.2s linear;
        opacity: 0;
        -webkit-transition: opacity 0.2s linear;
           -moz-transition: opacity 0.2s linear;
-            -o-transition: opacity 0.2s linear;
                transition: opacity 0.2s linear;
        }
 .leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
                transition: opacity 0.2s linear;
        }
 .leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
 .leaflet-zoom-anim .leaflet-zoom-animated {
        -webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);
           -moz-transition:    -moz-transform 0.25s cubic-bezier(0,0,0.25,1);
 .leaflet-zoom-anim .leaflet-zoom-animated {
        -webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);
           -moz-transition:    -moz-transform 0.25s cubic-bezier(0,0,0.25,1);
-            -o-transition:      -o-transform 0.25s cubic-bezier(0,0,0.25,1);
                transition:         transform 0.25s cubic-bezier(0,0,0.25,1);
        }
 .leaflet-zoom-anim .leaflet-tile,
 .leaflet-pan-anim .leaflet-tile {
        -webkit-transition: none;
           -moz-transition: none;
                transition:         transform 0.25s cubic-bezier(0,0,0.25,1);
        }
 .leaflet-zoom-anim .leaflet-tile,
 .leaflet-pan-anim .leaflet-tile {
        -webkit-transition: none;
           -moz-transition: none;
-            -o-transition: none;
                transition: none;
        }
 
                transition: none;
        }
 
 .leaflet-grab {
        cursor: -webkit-grab;
        cursor:    -moz-grab;
 .leaflet-grab {
        cursor: -webkit-grab;
        cursor:    -moz-grab;
+       cursor:         grab;
        }
 .leaflet-crosshair,
 .leaflet-crosshair .leaflet-interactive {
        }
 .leaflet-crosshair,
 .leaflet-crosshair .leaflet-interactive {
        cursor: move;
        cursor: -webkit-grabbing;
        cursor:    -moz-grabbing;
        cursor: move;
        cursor: -webkit-grabbing;
        cursor:    -moz-grabbing;
+       cursor:         grabbing;
        }
 
 /* marker & overlays interactivity */
        }
 
 /* marker & overlays interactivity */
        height: 30px;
        line-height: 30px;
        }
        height: 30px;
        line-height: 30px;
        }
-
+.leaflet-touch .leaflet-bar a:first-child {
+       border-top-left-radius: 2px;
+       border-top-right-radius: 2px;
+       }
+.leaflet-touch .leaflet-bar a:last-child {
+       border-bottom-left-radius: 2px;
+       border-bottom-right-radius: 2px;
+       }
 
 /* zoom control */
 
 
 /* zoom control */
 
        font: bold 18px 'Lucida Console', Monaco, monospace;
        text-indent: 1px;
        }
        font: bold 18px 'Lucida Console', Monaco, monospace;
        text-indent: 1px;
        }
-.leaflet-control-zoom-out {
-       font-size: 20px;
-       }
 
 
-.leaflet-touch .leaflet-control-zoom-in {
+.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out  {
        font-size: 22px;
        }
        font-size: 22px;
        }
-.leaflet-touch .leaflet-control-zoom-out {
-       font-size: 24px;
-       }
 
 
 /* layers control */
 
 
 /* layers control */
        }
 .leaflet-control-layers-scrollbar {
        overflow-y: scroll;
        }
 .leaflet-control-layers-scrollbar {
        overflow-y: scroll;
+       overflow-x: hidden;
        padding-right: 5px;
        }
 .leaflet-control-layers-selector {
        padding-right: 5px;
        }
 .leaflet-control-layers-selector {
 
 /* Default icon URLs */
 .leaflet-default-icon-path {
 
 /* Default icon URLs */
 .leaflet-default-icon-path {
-       background-image: url(images/);
+       background-image: url(images/marker-icon.png);
        }
 
 
        }
 
 
        -webkit-transform: rotate(45deg);
           -moz-transform: rotate(45deg);
            -ms-transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
           -moz-transform: rotate(45deg);
            -ms-transform: rotate(45deg);
-            -o-transform: rotate(45deg);
                transform: rotate(45deg);
        }
 .leaflet-popup-content-wrapper,
                transform: rotate(45deg);
        }
 .leaflet-popup-content-wrapper,