X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/10c9ca81c788c5aa3cd7a66d9cdbaedc14def1bc..eebe1f1d3ed885e94725c07d24e0483f603f03da:/app/assets/stylesheets/common.css.scss diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index dd29b813d..f9a6c8b9e 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -554,6 +554,24 @@ a.donate { margin-bottom: 10px; } +.leaflet-control a.zoomin, +.control-layers a, +.control-note a { + margin-bottom: 0px; + border-radius: 4px 4px 0px 0px; +} + +.leaflet-control a.zoomout { + margin-bottom: 0px; + border-radius: 0px; +} + +.control-locate a, +.control-key a, +.control-share a { + border-radius: 0px 0px 4px 4px; +} + .leaflet-control a:hover { background-color: white; } @@ -569,10 +587,37 @@ a.donate { width: 200px; height: 100%; background: white; +} - .leaflet-container { - width: 100%; - height: 50px; +.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; + } } }