]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/common.css.scss
Tone down the anonymous edit warning for notes
[rails.git] / app / assets / stylesheets / common.css.scss
index 30905b96ca029a8fa1b8d6d1ae5d0a43dc46e662..bab4c95606e7695b7f051166102e054ec7164f02 100644 (file)
@@ -563,6 +563,11 @@ table {
   border-top: 0px !important;
 }
 
+.leaflet-popup-content-wrapper {
+  border-radius: 4px !important;
+  -webkit-border-radius: 4px !important;
+}
+
 /* Rules for edit menu */
 
 .menuicon {
@@ -935,9 +940,13 @@ ul.results-list li { border-bottom: 1px solid #ccc; }
   &:first-child {
     margin-top: 0;
   }
-  &.warning {
-    color: #ff7070;
-    font-weight: bold;
+  .warning {
+    background-color: #ffe0cc;
+    margin: 0px;
+    padding: 4px 6px;
+  }
+  div {
+    clear: left;
   }
   h4, p {
     margin-bottom: 5px;
@@ -1078,11 +1087,6 @@ ul.results-list li { border-bottom: 1px solid #ccc; }
   min-height: 62px;
 }
 
-.content_map .leaflet-popup-content-wrapper {
--webkit-border-radius: 4px;
-  border-radius: 4px;
-}
-
 /* Rules for user popups on maps */
 
 .user_popup {
@@ -1368,7 +1372,7 @@ p#contributorGuidance {
     background-color: #ff7070;
   }
   &#warning {
-    background-color: #fff6f0;
+    background-color: #ffe0cc;
   }
   &#notice {
     background-color: #CBEEA7;
@@ -1641,12 +1645,13 @@ a.button.submit {
   .richtext_content {
     display: inline-block;
     vertical-align: top;
+    white-space: normal;
 
     .richtext_preview {
       display: inline-block;
       padding: 20px;
       background-color: #f4f4ff;
-      white-space: normal;
+      overflow-x: scroll;
 
       &.loading {
         background-image: image-url("loading.gif");
@@ -1724,16 +1729,24 @@ a.button.submit {
     margin-bottom: 10px;
   }
 
+  div {
+    margin-top: 10px;
+  }
+
+  .permalink {
+    margin: -10px 0 10px -12px;
+  }
+
   .warning {
     display: block;
-    background-color: #ff7070;
+    background-color: #ffe0cc;
     padding: 4px 6px;
     margin-bottom: 10px;
   }
 
   .comment_body {
-    margin-top: 4px;
-    margin-bottom: 4px;
+    margin-top: 2px;
+    margin-bottom: 2px;
 
     p {
       margin-top: 0px;