]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/common.css.scss
Merge branch 'master' into notes
[rails.git] / app / assets / stylesheets / common.css.scss
index 255b846cf8159a0634700ef46b7143d6cead09c0..062c782a7c13c34328ccc59f10885fe5f03f0b94 100644 (file)
@@ -537,6 +537,12 @@ table {
   background:#fff;
 }
 
+.leaflet-control-attribution a.disabled {
+  color: #99c9dc;
+  cursor: default;
+  text-decoration: none;
+}
+
 .site-index .leaflet-top,
 .site-export .leaflet-top {
   top: 10px !important;
@@ -550,6 +556,12 @@ table {
   left: 10px !important;
 }
 
+.leaflet-popup-scrolled {
+  padding-right: 20px;
+  border-bottom: 0px !important;
+  border-top: 0px !important;
+}
+
 /* Rules for edit menu */
 
 .menuicon {
@@ -946,6 +958,28 @@ ul.results-list li { border-bottom: 1px solid #ccc; }
   margin-bottom: 10px;
 }
 
+td.browse_comments {
+  padding: 0px;
+
+  table {
+    border-collapse: collapse;
+
+    td {
+      padding-bottom: 10px;
+
+      p {
+        margin-top: 0px;
+        margin-bottom: 0px;
+      }
+
+      span.by {
+        font-size: small;
+        color: #999999;
+      }
+    }
+  }
+}
+
 /* Rules for the trace list shown by the traces tab etc */
 
 #trace_list {
@@ -1606,3 +1640,22 @@ a.button.submit {
     }
   }
 }
+
+/* Rules for the notes interface */
+
+.note {
+  .comment_body {
+    margin-top: 4px;
+    margin-bottom: 4px;
+
+    p {
+      margin-top: 0px;
+      margin-bottom: 0px;
+    }
+  }
+
+  .buttons {
+    margin-top: 5px;
+    text-align: right;
+  }
+}