]> 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 ff16ad66b3a78371d922f3ecabb44871cd5b813a..cbc721b3fca4442e474a66107b990e5333dc78d2 100644 (file)
@@ -990,6 +990,11 @@ header .search_forms,
     margin: 0px 0px 5px 25px;
   }
 
+  input.routing_go {
+    min-width: 100px;
+    float: right;
+  }
+
   div.line {
     width: 100%;
     margin: 0px 0px 5px 0px;
@@ -1839,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 */
@@ -1968,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;