From 024c503870b851a2978c80a86465725937b962ef Mon Sep 17 00:00:00 2001 From: Jeff Atwood <jatwood@codinghorror.com> Date: Mon, 25 Aug 2014 12:38:20 -0700 Subject: [PATCH] mobile login tweaks --- app/assets/stylesheets/mobile/login.scss | 14 ++++++++++++-- config/locales/client.en.yml | 6 +++--- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/app/assets/stylesheets/mobile/login.scss b/app/assets/stylesheets/mobile/login.scss index f0f59ec11..91fa40309 100644 --- a/app/assets/stylesheets/mobile/login.scss +++ b/app/assets/stylesheets/mobile/login.scss @@ -19,8 +19,8 @@ color: $primary; cursor: pointer; } - label {float: left; display: block;} - textarea, input, select {font-size: 16px; clear: left; margin-top: 0;} + label { float: left; display: block; } + textarea, input, select {font-size: 16px; clear: left; margin-top: 0; } td { padding: 4px; } } @@ -39,7 +39,17 @@ a#forgot-password-link {clear: left; float: left; } .create-account .modal-body { input[type=text], input[type=email], input[type=password] { display: inline-block; + margin-bottom: 5px; + margin-top: 10px; } + + tr.instructions { + label { + color: scale-color($primary, $lightness: 50%); + } + } + + tr.in tr.input { td.label { padding-top: 10px; diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index 9d2c3f51f..75b72dda7 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -376,7 +376,7 @@ en: email: title: "Email" - instructions: "Your email will never be shown to the public." + instructions: "Will never be shown to the public." ok: "Looks good. We will email you to confirm." invalid: "Please enter a valid email address." authenticated: "Your email has been authenticated by {{provider}}." @@ -384,12 +384,12 @@ en: name: title: "Name" - instructions: "The long version of your name." + instructions: "Longer version of your name." too_short: "Your name is too short." ok: "Your name looks good." username: title: "Username" - instructions: "Your @username must be unique, no spaces, short." + instructions: "Must be unique, no spaces, short." short_instructions: "People can mention you as @{{username}}." available: "Your username is available." global_match: "Email matches the registered username."