]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/common.css.scss
Arrange and group map buttons
[rails.git] / app / assets / stylesheets / common.css.scss
index 915647735a7d4c6bbb2a728ea39dfb34baca2398..f9a6c8b9e15d2dd1cec38e635e5c0c167d0bb05c 100644 (file)
@@ -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;
 }
@@ -578,14 +596,16 @@ a.donate {
   }
 
   li {
+    border-radius: 4px;
+    overflow: hidden;
     margin-bottom: 10px;
   }
 
   label {
-    border-radius: 4px;
     display: block;
     padding: 5px;
     background-color: #868e85;
+    cursor: pointer;
   }
 
   li.active label {
@@ -593,12 +613,7 @@ a.donate {
   }
 
   .base-layers {
-    label {
-      border-radius: 0px 0px 4px 4px;
-    }
-
     .leaflet-container {
-      border-radius: 4px 4px 0px 0px;
       width: 100%;
       height: 50px;
       cursor: pointer;