]> git.openstreetmap.org Git - rails.git/blobdiff - public/stylesheets/common.css
Rework the login page to explain better what to do if you're new
[rails.git] / public / stylesheets / common.css
index 88ad07925d5b51898a473ace1203fdbf775f8102..c830f406b2b12e1798520745068bb9cf3a15a9ac 100644 (file)
@@ -67,14 +67,15 @@ hr {
 
 #intro {
   width: 170px;
-  margin: 10px;
+  padding: 5px;
+  margin: 5px;
   border: 1px solid #ccc;
   font-size: 11px;
   border-radius: 5px;
   -moz-border-radius: 5px;
 }
 
-#intro p { margin: 10px; }
+#intro p { margin: 5px; }
 
 /*
  * Rules for alert boxes shown in the left sidebar when important
@@ -145,8 +146,9 @@ hr {
 }
 
 .left_menu ul {
-  padding-left: 10px;
+  padding-left: 0px;
   margin: 0px;
+  list-style-type: none;
 }
 
 .left_menu li {
@@ -223,6 +225,8 @@ hr {
 
 #search_field input[type="submit"] {
   width: 26px;
+  padding-left: 0px;
+  padding-right: 0px;
 }
 
 .search_help {
@@ -622,6 +626,36 @@ hr {
   margin-top: 10px;
 }
 
+/* Rules for the login page */
+
+#login_wrapper {
+  float: left; /* ensures the child divs are the same size, and only as wide as they need to be */
+}
+
+#login_wrapper div {
+  margin: 5px;
+  padding: 15px;
+  border-radius: 15px;
+  -moz-border-radius: 15px;
+}
+
+#login_wrapper input[type=submit] {
+  float: right;
+}
+
+#login_login {
+  background-color: #f0f0f0;
+}
+
+#login_login h1 {
+  margin-top: 5px;
+}
+
+#login_signup form.button-to div {
+  margin: 0px;
+  padding: 0px;
+}
+
 /* Rules for the account confirmation page */
 
 div#contributorTerms {
@@ -723,6 +757,8 @@ form#termsForm input#agree {
   padding: 7px;
   background-color: #fff0f0;
   margin-bottom: 20px;
+  border-radius: 5px;
+  -moz-border-radius: 5px;
 }
 
 #warning {
@@ -730,6 +766,8 @@ form#termsForm input#agree {
   padding: 7px;
   background-color: #fff6f0;
   margin-bottom: 20px;
+  border-radius: 5px;
+  -moz-border-radius: 5px;
 }
 
 #notice {
@@ -737,6 +775,8 @@ form#termsForm input#agree {
   padding: 7px;
   background-color: #f0fff0;
   margin-bottom: 20px;
+  border-radius: 5px;
+  -moz-border-radius: 5px;
 }
 
 /* Rules for highlighting fields with rails validation errors */