From 4946eace2a41fe3b6d74bce0e58530902bbd3921 Mon Sep 17 00:00:00 2001 From: Brian Talbot Date: Mon, 4 Feb 2013 00:43:24 -0500 Subject: [PATCH] studio - soft landing UI: sign in and basic styling/layout tweaks --- cms/static/sass/_account.scss | 28 +++++++++++- cms/static/sass/_header.scss | 4 +- cms/templates/login.html | 73 +++++++++++++++++++++---------- cms/templates/signup.html | 7 ++- cms/templates/widgets/header.html | 5 +++ 5 files changed, 88 insertions(+), 29 deletions(-) diff --git a/cms/static/sass/_account.scss b/cms/static/sass/_account.scss index b04f4fb13d..13c2107306 100644 --- a/cms/static/sass/_account.scss +++ b/cms/static/sass/_account.scss @@ -19,7 +19,7 @@ header { position: relative; - margin-bottom: ($baseline/2); + margin-bottom: $baseline; border-bottom: 1px solid $gray-l4; padding-bottom: ($baseline/2); @@ -129,6 +129,22 @@ &.short { width: 25%; } + + ::-webkit-input-placeholder { + color: $gray-l4; + } + + :-moz-placeholder { + color: $gray-l3; + } + + ::-moz-placeholder { + color: $gray-l3; + } + + :-ms-input-placeholder { + color: $gray-l3; + } } textarea.long { @@ -212,12 +228,20 @@ .signup { - } .signin { + #field-password { + position: relative; + .action-forgotpassword { + @include font-size(13); + position: absolute; + top: 0; + right: 0; + } + } } // @include transition(all 1s ease-in-out); \ No newline at end of file diff --git a/cms/static/sass/_header.scss b/cms/static/sass/_header.scss index b7a02d5256..5c60e60558 100644 --- a/cms/static/sass/_header.scss +++ b/cms/static/sass/_header.scss @@ -19,13 +19,13 @@ } } - .header { + header { @include clearfix(); max-width: $fg-max-width; min-width: $fg-min-width; width: flex-grid(12); margin: 0 auto; - color: $lightGrey; + color: $gray-l1; } } diff --git a/cms/templates/login.html b/cms/templates/login.html index 30bcfce3f0..bcbf84781f 100644 --- a/cms/templates/login.html +++ b/cms/templates/login.html @@ -1,33 +1,61 @@ <%inherit file="base.html" /> <%! from django.core.urlresolvers import reverse %> -<%block name="title">Log in +<%block name="title">Sign in <%block name="bodyclass">not-signedin signin <%block name="content"> -
- -
+
+
-

Log in to edX studio

+

Sign into edX Studio

+
- -
+
+
+
+
+ +
+ Required Information to Sign into edX Studio + +
    +
  1. + + +
  2. + +
  3. + Forgot password? + + +
  4. +
+
+ +
+ +
+ + + +
+
+ + + + + + +<%block name="jsextra"> - - + \ No newline at end of file diff --git a/cms/templates/signup.html b/cms/templates/signup.html index 1c542fb437..3ff6ca953e 100644 --- a/cms/templates/signup.html +++ b/cms/templates/signup.html @@ -10,13 +10,13 @@

Sign Up for edX Studio

- +

Ready to start creating online courses? Sign up below and start creating your first edX course today.

-
+
@@ -67,6 +67,9 @@
+ + +
diff --git a/cms/templates/widgets/header.html b/cms/templates/widgets/header.html index 9f0d5d1cff..62954b8211 100644 --- a/cms/templates/widgets/header.html +++ b/cms/templates/widgets/header.html @@ -2,6 +2,11 @@