]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/common.css.scss
Correct sprite CSS for permalink (#352)
[rails.git] / app / assets / stylesheets / common.css.scss
index 77d4e8458e86bde70ffe9ba292342a9d235325d2..c0a8a457abe8e4abf10f5c0cebf54e9016146637 100644 (file)
@@ -540,6 +540,7 @@ a.donate {
   background-color: rgba(255,255,255,.8);
   border-radius: 4px;
   margin-bottom: 10px;
+  outline: none;
 }
 
 .leaflet-control .zoomin,
@@ -587,7 +588,7 @@ a.donate {
   border-left: 1px solid #CCC;
   overflow: auto;
 
-  section {
+  .section {
     border-bottom: 1px solid #DDD;
     padding: 15px;
   }
@@ -600,6 +601,12 @@ a.donate {
     color:#222;
     border:1px solid #ddd;
   }
+}
+
+.layers-ui {
+  ul, li:last-child {
+    margin-bottom: 0;
+  }
 
   li {
     border-radius: 4px;
@@ -609,7 +616,7 @@ a.donate {
 
   label {
     display: block;
-    padding: 5px;
+    padding: 5px 5px 5px 7px;
     background-color: #eee;
     cursor: pointer;
   }
@@ -618,10 +625,6 @@ a.donate {
     background-color: #ccc;
   }
 
-  input[type=text] {
-    width:220px;
-  }
-
   .base-layers {
     .leaflet-container {
       width: 100%;
@@ -708,9 +711,9 @@ a.donate {
   display: none;
   position: relative;
   float: left;
-  overflow: auto;
   border-right: 1px solid $keyline;
   width: 33.3333%;
+  height: 100%;
   ul {
     margin-bottom: 0;
     &:last-child {
@@ -748,6 +751,8 @@ a.donate {
 #sidebar_content {
   position: relative;
   margin-bottom: 20px;
+  overflow: auto;
+  height: 100%;
   width: 100%;
   h4 {
     padding: 0 $lineheight $lineheight/2 $lineheight;
@@ -837,7 +842,7 @@ ul.results-list li { border-bottom: 1px solid #ccc; }
 .export_area_inputs {
   margin-bottom: $lineheight/2;
   input[type="text"] {
-    width: 60px;
+    width: 80px;
     margin-bottom: 5px;
   }
 }
@@ -1032,7 +1037,7 @@ ul.results-list li { border-bottom: 1px solid #ccc; }
   h4, p {
     margin-bottom: $lineheight/4;
   }
-  p, ul, .bbox, .geo {
+  ul, .bbox, .geo {
     display: inline-block;
     vertical-align: top;
     max-width: 65%;
@@ -1042,6 +1047,7 @@ ul.results-list li { border-bottom: 1px solid #ccc; }
     margin-bottom: 0;
   }
   h4 {
+    float: left;
     width: 33.3333%;
     display: inline-block;
     vertical-align: top;
@@ -1969,7 +1975,6 @@ a.button {
     left: $lineheight/4;
     min-width: 15px;
     min-height: 15px;
-    background: image-url("sprite.png") 0 -45px no-repeat;
   }
 
   .permalink span {