From fed5a12b92f37cd6da8baf1a0df91fcb519a86ce Mon Sep 17 00:00:00 2001 From: Tom Giannattasio Date: Wed, 17 Oct 2012 12:45:45 -0400 Subject: [PATCH 1/3] reworked log in page to emphasize sign up --- cms/static/sass/_login.scss | 39 ++++++++++++++++++++++++++++++++----- cms/templates/login.html | 10 ++++------ 2 files changed, 38 insertions(+), 11 deletions(-) diff --git a/cms/static/sass/_login.scss b/cms/static/sass/_login.scss index 1ff7c6d40d..6abae6f8ce 100644 --- a/cms/static/sass/_login.scss +++ b/cms/static/sass/_login.scss @@ -40,6 +40,7 @@ label { display: block; + margin-bottom: 5px; font-size: 13px; font-weight: 700; } @@ -67,17 +68,45 @@ } .form-actions { - margin-bottom: 0; + @include clearfix; + margin-top: 32px; + margin-bottom: 5px; + text-align: center; } - input[type="submit"] { + .log-in-button { @include blue-button; - margin-right: 10px; - padding: 8px 20px 10px; + padding: 8px 0 10px; + font-family: $sans-serif; + } + + .sign-up-button { + @include white-button; + padding: 7px 0 9px; + } + + .log-in-button, + .sign-up-button { + @include box-sizing(border-box); + float: left; + width: 45%; + } + + .or { + float: left; + display: inline-block; + width: 10%; + font-size: 15px; + line-height: 36px; + color: $darkGrey; + text-align: center; } .forgot-button { - font-size: 13px; + float: right; + font-size: 11px; + font-weight: 400; + line-height: 21px; } .log-in-extra { diff --git a/cms/templates/login.html b/cms/templates/login.html index 3c834bb299..8372971e08 100644 --- a/cms/templates/login.html +++ b/cms/templates/login.html @@ -17,17 +17,15 @@
- +
- Forgot password? -
+ or + Sign up + -
-

Not enrolled? Sign up.

-