]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/common.css.scss
Refactor signup form to remove tables
[rails.git] / app / assets / stylesheets / common.css.scss
index 42f3c0b704860c44c24efe8af32c39279ca76470..c05262b69e004c6aa33b7156a4b30bf45a76ca78 100644 (file)
@@ -1427,24 +1427,22 @@ p#contributorGuidance {
 
 /* Rules for forms */
 
-.submitButton {
-  text-align: center;
-}
+.standard-form fieldset {
+  margin-bottom: 20px;
 
-.fieldName {
-  vertical-align: top;
-  font-weight: bold;
-  font-size: 12px;
-  line-height: 1.6666;
-  text-align: right;
 }
 
-.submitButton {
-  text-align: right;
+.standard-form label {
+  display: block;
+  width: 200px;
+  margin-right: 10px;
+  font-size: 14px;
+  font-weight: bold;
+  line-height: 1.5;
 }
 
-.minorNote {
-  font-size: 12px;
+.standard-form .form-row {
+  margin-bottom: 10px;
 }
 
 input[type="text"],
@@ -1535,7 +1533,12 @@ ul.secondary-actions {
 
 /* Utility for general button styles */
 
+input[type="button"],
+input[type="submit"],
+input[type="reset"],
 a.button {
+  cursor: pointer;
+  border: 0;
   display: block;
   padding: 5px;
   min-width: 120px;
@@ -1607,6 +1610,16 @@ a.button.submit {
     padding: 2px 3px;
   }
 
+  pre {
+    font-size: 13px;
+    background: #e8e8e8;
+    padding: 2px 3px;
+
+    code {
+      padding: 0;
+    }
+  }
+
   img {
     padding: 20px;
     background-color: #f4f4ff;