]> git.openstreetmap.org Git - nominatim.git/blobdiff - website/css/leaflet.css
Merge remote-tracking branch 'upstream/master'
[nominatim.git] / website / css / leaflet.css
index 230e5bad14f3494ce152dc69634b24c232f76462..983d60592b03fde5c798b4933e9419f9f1f885ba 100644 (file)
                user-select: none;\r
          -webkit-user-drag: none;\r
        }\r
+/* Prevents IE11 from highlighting tiles in blue */\r
+.leaflet-tile::selection {\r
+       background: transparent;\r
+}\r
 /* Safari renders non-retina tile on retina better with this, but Chrome is worse */\r
 .leaflet-safari .leaflet-tile {\r
        image-rendering: -webkit-optimize-contrast;\r
@@ -45,7 +49,8 @@
 .leaflet-container .leaflet-marker-pane img,\r
 .leaflet-container .leaflet-shadow-pane img,\r
 .leaflet-container .leaflet-tile-pane img,\r
-.leaflet-container img.leaflet-image-layer {\r
+.leaflet-container img.leaflet-image-layer,\r
+.leaflet-container .leaflet-tile {\r
        max-width: none !important;\r
        max-height: none !important;\r
        }\r
        opacity: 0;\r
        -webkit-transition: opacity 0.2s linear;\r
           -moz-transition: opacity 0.2s linear;\r
-            -o-transition: opacity 0.2s linear;\r
                transition: opacity 0.2s linear;\r
        }\r
 .leaflet-fade-anim .leaflet-map-pane .leaflet-popup {\r
 .leaflet-zoom-anim .leaflet-zoom-animated {\r
        -webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);\r
           -moz-transition:    -moz-transform 0.25s cubic-bezier(0,0,0.25,1);\r
-            -o-transition:      -o-transform 0.25s cubic-bezier(0,0,0.25,1);\r
                transition:         transform 0.25s cubic-bezier(0,0,0.25,1);\r
        }\r
 .leaflet-zoom-anim .leaflet-tile,\r
 .leaflet-pan-anim .leaflet-tile {\r
        -webkit-transition: none;\r
           -moz-transition: none;\r
-            -o-transition: none;\r
                transition: none;\r
        }\r
 \r
 .leaflet-grab {\r
        cursor: -webkit-grab;\r
        cursor:    -moz-grab;\r
+       cursor:         grab;\r
        }\r
 .leaflet-crosshair,\r
 .leaflet-crosshair .leaflet-interactive {\r
        cursor: move;\r
        cursor: -webkit-grabbing;\r
        cursor:    -moz-grabbing;\r
+       cursor:         grabbing;\r
        }\r
 \r
 /* marker & overlays interactivity */\r
 \r
 .leaflet-marker-icon.leaflet-interactive,\r
 .leaflet-image-layer.leaflet-interactive,\r
-.leaflet-pane > svg path.leaflet-interactive {\r
+.leaflet-pane > svg path.leaflet-interactive,\r
+svg.leaflet-image-layer.leaflet-interactive path {\r
        pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */\r
        pointer-events: auto;\r
        }\r
        -webkit-transform: rotate(45deg);\r
           -moz-transform: rotate(45deg);\r
            -ms-transform: rotate(45deg);\r
-            -o-transform: rotate(45deg);\r
                transform: rotate(45deg);\r
        }\r
 .leaflet-popup-content-wrapper,\r