]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/common.css.scss
Standardize form width
[rails.git] / app / assets / stylesheets / common.css.scss
index 3b78905f284367cb806a2ca53098e7261fb7343e..4c1345eaadb188d41085b5a7ba3cc53cb23b29c4 100644 (file)
@@ -1220,7 +1220,7 @@ ul.results-list li { border-bottom: 1px solid #ccc; }
 /* Rules for the login page */
 
 #login_openid_buttons {
-  height: 56px;
+  margin-bottom: 0;
 }
 
 #login_openid_buttons li {
@@ -1424,7 +1424,7 @@ ul.results-list li { border-bottom: 1px solid #ccc; }
 
 .standard-form {
   fieldset {
-    margin-bottom: $lineheight/2;
+    margin-bottom: $lineheight;
   }
   label {
     display: block;
@@ -1434,10 +1434,16 @@ ul.results-list li { border-bottom: 1px solid #ccc; }
     font-weight: bold;
     line-height: 1.5;
   }
+  .form-section {
+    margin-top: $lineheight;
+    padding-top: $lineheight;
+    border-top: 1px solid $keyline;
+  }
   .form-row {
     margin-bottom: $lineheight/2;
   }
-  input[name=remember_me] {
+  input[name=remember_me],
+  input[name=remember_me_openid] {
     float: left;
   }
 }
@@ -1453,6 +1459,8 @@ input[type="password"],
 textarea {
   border: 1px solid #ccc;
   padding: 2px 5px;
+  margin: 0;
+  width: 200px;
 }
 
 textarea {
@@ -1580,15 +1588,20 @@ a.button.submit {
     margin-bottom:0;
     width:50%;
     min-width: 0;
+    max-width: 150px;
+    margin-left: 2px;
+    margin-right: 2px;
   }
   input:first-child,
   .button:first-child {
     border-radius:2px 0 0 2px;
     border-right:1px solid white;
+    margin-left: 0px;
   }
   input:last-child,
-  .button:first-child {
+  .button:last-child {
     border-radius:0 2px 2px 0;
+    margin-right: 0px;
   }
 }