X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/cec2253b82b3a3861e8e5875f256d6ec10835160..1769971cde94eb07854f3b9c1a830c885ca858a3:/vendor/assets/leaflet/leaflet.css diff --git a/vendor/assets/leaflet/leaflet.css b/vendor/assets/leaflet/leaflet.css index ddb7e6b8b..e6fb4908e 100644 --- a/vendor/assets/leaflet/leaflet.css +++ b/vendor/assets/leaflet/leaflet.css @@ -53,6 +53,10 @@ width: 0; height: 0; } +/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */ +.leaflet-overlay-pane svg { + -moz-user-select: none; + } .leaflet-tile-pane { z-index: 2; } .leaflet-objects-pane { z-index: 3; } @@ -197,7 +201,7 @@ -webkit-border-radius: 4px; border-radius: 4px; } -.leaflet-bar a { +.leaflet-bar a, .leaflet-bar a:hover { background-color: #fff; border-bottom: 1px solid #ccc; width: 26px; @@ -361,6 +365,8 @@ box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.2); white-space: nowrap; overflow: hidden; + -moz-box-sizing: content-box; + box-sizing: content-box; } .leaflet-control-scale-line:not(:first-child) { border-top: 2px solid #777; @@ -374,11 +380,11 @@ .leaflet-touch .leaflet-control-attribution, .leaflet-touch .leaflet-control-layers, -.leaflet-touch .leaflet-control-zoom { +.leaflet-touch .leaflet-bar { box-shadow: none; } .leaflet-touch .leaflet-control-layers, -.leaflet-touch .leaflet-control-zoom { +.leaflet-touch .leaflet-bar { border: 4px solid rgba(0,0,0,0.3); }