]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/common.css.scss
Render flash in sidebar
[rails.git] / app / assets / stylesheets / common.css.scss
index 43d59cfb5b10fe6e502017aa7f8b00d1161413e7..bef95550943235a3a3e77c877d455b8edd70c0c7 100644 (file)
@@ -561,10 +561,6 @@ nav.secondary {
     width: $sidebarWidth;
     border-right: $keyline;
 
     width: $sidebarWidth;
     border-right: $keyline;
 
-    .alert {
-      background: #e00;
-    }
-
     h2, h3, h4 {
       padding: $lineheight;
       border-bottom: $keyline;
     h2, h3, h4 {
       padding: $lineheight;
       border-bottom: $keyline;
@@ -1541,17 +1537,19 @@ a.donate {
 
 /* Rules for "flash" notice boxes shown at the top of the content area */
 
 
 /* Rules for "flash" notice boxes shown at the top of the content area */
 
-.flash {
-    padding: $lineheight;
-  &#error {
-    background-color: #ff7070;
-  }
-  &#warning {
-    background-color: #ffe0cc;
-  }
-  &#notice {
-    background-color: #CBEEA7;
-  }
+.error {
+  padding: $lineheight;
+  background-color: #ff7070;
+}
+
+.warning {
+  padding: $lineheight;
+  background-color: #ffe0cc;
+}
+
+.notice {
+  padding: $lineheight;
+  background-color: #CBEEA7;
 }
 
 /* Rules for highlighting fields with rails validation errors */
 }
 
 /* Rules for highlighting fields with rails validation errors */