X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/cec2253b82b3a3861e8e5875f256d6ec10835160..dc877c3d0346531f7f478bad0b7d8c69807cffb5:/vendor/assets/leaflet/leaflet.css diff --git a/vendor/assets/leaflet/leaflet.css b/vendor/assets/leaflet/leaflet.css index ddb7e6b8b..7dc11b127 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; @@ -374,11 +378,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); }