]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/common.css.scss
Fix CSS for /user/new on validation error
[rails.git] / app / assets / stylesheets / common.css.scss
index 13a4d1986545eba37fefe5eccfb711688efcf218..b9306a4f1d99646597e1bb84ad518e2139d09d42 100644 (file)
@@ -1046,27 +1046,32 @@ ul.results-list li { border-bottom: 1px solid #ccc; }
 }
 
 /* Overrides for pages that use new layout conventions */
+.site-verifysignup,
 .site-copyright,
 .site-welcome {
   #content {
     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;
+  }
 }
 
-.new-user-illustration { 
+.header-illustration { 
   background-position: 0 0;
   background-repeat: no-repeat;
   position: absolute;
 }
 
-.new-user-illustration.new-user-main {
+.header-illustration.new-user-main {
   height: 200px;
   width: 100%;
   left: 0;
@@ -1074,10 +1079,10 @@ ul.results-list li { border-bottom: 1px solid #ccc; }
   background-image: image-url("sign-up-illustration.png");
 }
 
-.new-user-illustration.new-user-arm {
+.header-illustration.new-user-arm {
   height: 110px;
   width: 130px;
-  left: 230px;
+  left: 260px;
   top: 160px;
   background-image: image-url("sign-up-illustration-arm.png");
 }
@@ -2267,6 +2272,25 @@ a.button {
   background: #fff;
 }
 
+/* Rules for the "Verify signup" page */
+.site-verifysignup .content-heading { 
+  height: 200px;  
+}
+
+.header-illustration.verify-main { 
+  background-position: 0 0;
+  background-repeat: no-repeat;
+  position: absolute;
+}
+
+.header-illustration.verify-main {
+  height: 200px;
+  width: 100%;
+  left: 0;
+  bottom: 0;
+  background-image: image-url("verify-illustration.png");
+}
+
 /* Rules for the "Welcome" page */
 .site-welcome {
   .center {
@@ -2288,14 +2312,15 @@ a.button {
     float: left;
   }
 
-  .icon-list div { 
+  .icon-list { 
+    padding-bottom: 20px;
+  div { 
     margin-bottom: 10px;
+      p {
+        padding-top: 10px;
+      }
+    }
   }
-  
-  .icon-list div p { 
-    padding-top: 10px;
-  }
-  
   .sprite.small {
     width: 50px;
     height: 50px;
@@ -2318,7 +2343,7 @@ a.button {
     background-position: -150px 0;
   }
 
-  .sprite.changeset {
+  .sprite.tag {
     background-position: -200px 0;
   }