X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b9a19ab23a8dc63bc7c7f867e2ece6924319f0f2..50e52b888a1514b492bf2ff8b7ced736ef419cc2:/app/assets/stylesheets/common.css.scss?ds=sidebyside diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index ba25591d3..97db74b8c 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -554,6 +554,15 @@ a.donate { margin-bottom: 10px; } +.leaflet-control a.zoomin { + margin-bottom: 0px; + border-radius: 4px 4px 0px 0px; +} + +.leaflet-control a.zoomout { + border-radius: 0px 0px 4px 4px; +} + .leaflet-control a:hover { background-color: white; } @@ -562,20 +571,45 @@ a.donate { margin: 10px; } -.leaflet-map-ui-layers { - box-shadow: 0 1px 7px rgba(0, 0, 0, 0.4); - background: #f8f8f9; - -webkit-border-radius: 8px; - border-radius: 8px; - background-position: 50% 50%; - background-repeat: no-repeat; - display: block; - width: 36px; - height: 36px; +#map-ui { + position: absolute; + display: none; + right: 0; + width: 200px; + height: 100%; + background: white; } -.leaflet-control-layers-separator { - margin: 5px -10px !important; +.layers-ui { + section { + border-top: 1px solid #868e85; + padding: 15px; + } + + li { + border-radius: 4px; + overflow: hidden; + margin-bottom: 10px; + } + + label { + display: block; + padding: 5px; + background-color: #868e85; + cursor: pointer; + } + + li.active label { + background-color: #68c879; + } + + .base-layers { + .leaflet-container { + width: 100%; + height: 50px; + cursor: pointer; + } + } } .leaflet-control-attribution {