]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/common.css.scss
Reuse styles for map-ui panel
[rails.git] / app / assets / stylesheets / common.css.scss
index 3b017138f6712b524a9d104e795f12fdd4951bb5..1e3bcc46873cf8d6c663ef900ff43a75ff1efb39 100644 (file)
@@ -584,17 +584,26 @@ a.donate {
   position: absolute;
   display: none;
   right: 0;
-  width: 200px;
+  width: 250px;
   height: 100%;
   background: white;
+  overflow: auto;
 }
 
-.layers-ui {
+#map-ui {
   section {
     border-top: 1px solid #868e85;
     padding: 15px;
   }
 
+  section:first-child {
+    border-top:0;
+  }
+
+  h2 {
+    margin:0;
+  }
+
   li {
     border-radius: 4px;
     overflow: hidden;
@@ -764,7 +773,6 @@ a.donate {
 /* Rules for the map key which appears in the popout sidebar */
 
 #mapkey {
-  padding: $lineheight $lineheight 0 $lineheight;
  .mapkey-table-key img {
     display: block;
     margin-left: auto;