]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/common.css.scss
Inline validation errors on sign up page
[rails.git] / app / assets / stylesheets / common.css.scss
index adcb01d5295fe0ac66a273d7e068554a54957245..7eec371b4eb10b9a710d3304fc2bdf39fdf03b74 100644 (file)
@@ -1053,12 +1053,16 @@ ul.results-list li { border-bottom: 1px solid #ccc; }
     max-width: 740px;
   }
 }
-.user-new #content.pad2 {
-    padding: 0;
+
+.user-new,
+.user-create {
+  .content-heading {
+    height: 200px;
   }
 
-.user-new .content-heading {
-  height: 200px;  
+  #content.pad2 {
+    padding: 0;
+  }
 }
 
 .header-illustration { 
@@ -1708,7 +1712,17 @@ ul.results-list li { border-bottom: 1px solid #ccc; }
 .field_with_errors {
   padding: 2px;
   background-color: #ff7070;
-  display: table;
+  display: inline-block;
+}
+
+.formError {
+  display: inline-block;
+  padding: 5px 10px;
+  margin-top: 5px;
+  border-radius: 4px;
+  font-size: 12px;
+  color: #fff;
+  background-color: #ff7070;
 }
 
 /* Rules for rails validation error boxes */