X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5e7b7a420a042245f8adecb97679e46e5eddba05..eefc0b5a0d3ace4f75adb0fd9974fae8162b192a:/app/assets/stylesheets/common.css.scss diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index 6786dc77d..ee10f6098 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -415,7 +415,7 @@ body.site-export #tabnav a#exportanchor { top: 15px; } -/* Rules for OpenLayers maps */ +/* Rules for Leaflet maps */ #map { margin: 0px; @@ -423,13 +423,6 @@ body.site-export #tabnav a#exportanchor { padding: 0px; } -.olControlAttribution { - bottom: 15px !important; - left: 0px !important; - right: 0px !important; - text-align: center; -} - #permalink { z-index: 10000; position: absolute; @@ -445,11 +438,9 @@ body.site-export #tabnav a#exportanchor { padding: 5px; } -.site-index #map .SimpleLayerSwitcher, -.site-index #map .olControlSimplePanZoom, -.site-export #map .SimpleLayerSwitcher, -.site-export #map .olControlSimplePanZoom { - top: 40px !important; +.site-index .leaflet-top, +.site-export .leaflet-top { + margin-top: 40px !important; } /* Rules for edit menu */ @@ -654,7 +645,6 @@ body.site-export #tabnav a#exportanchor { .site-edit #content { top: 30px; - z-index: 100; } #slim_container { @@ -1015,14 +1005,6 @@ p#contributorGuidance { /* Rules for the user map */ -.user_map .olControlSimplePanZoom { - display: none; -} - -.user_map .olControlZoom { - display: block; -} - /* Rules for user popups on maps */ .user_popup p {