]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/common.scss
Restore templating to embed.js
[rails.git] / app / assets / stylesheets / common.scss
index b7ba464c0cdea8296ebcc0c6c1b1d58f399cda7a..cbc721b3fca4442e474a66107b990e5333dc78d2 100644 (file)
@@ -1844,19 +1844,26 @@ tr.turn:hover {
 
 /* Rules for "flash" notice boxes shown at the top of the content area */
 
-.error {
+.flash {
   padding: $lineheight;
-  background-color: #ff7070;
-}
 
-.warning {
-  padding: $lineheight;
-  background-color: #ffe0cc;
-}
+  &.error {
+    background-color: #ff7070;
+  }
 
-.notice {
-  padding: $lineheight;
-  background-color: #CBEEA7;
+  &.warning {
+    background-color: #ffe0cc;
+  }
+
+  &.notice {
+    background-color: #CBEEA7;
+  }
+
+  div.message {
+    display: inline-block;
+    margin-left: $lineheight / 2;
+    vertical-align: middle;
+  }
 }
 
 /* Rules for highlighting fields with rails validation errors */
@@ -1973,6 +1980,7 @@ input[type="email"],
 input[type="url"],
 input[type="password"],
 textarea {
+  color: #222;
   background-color: #fff;
   border: 1px solid #ccc;
   padding: 2px 5px;