diff options
| author | Ofer Lehr <ofer@oferlehr.com> | 2015-02-14 23:58:15 +0200 |
|---|---|---|
| committer | Ofer Lehr <ofer@oferlehr.com> | 2015-02-14 23:58:15 +0200 |
| commit | 0c9c8bd4772a8c552cd48496f93830de5c670564 (patch) | |
| tree | 417f5b1004f80b9b4ca2184dd8f728d4e0c04f23 | |
| parent | 27f16c17b377f19bd21609bb8f3b935ec19da739 (diff) | |
error msg in sign up is now readable - fixes #323
| -rw-r--r-- | res/client/css/partials/user-signup.scss | 20 | ||||
| -rw-r--r-- | res/client/css/style.css | 18 | ||||
| -rw-r--r-- | res/templates/user_signup.html | 8 |
3 files changed, 26 insertions, 20 deletions
diff --git a/res/client/css/partials/user-signup.scss b/res/client/css/partials/user-signup.scss index 5eeda044..d7f738ed 100644 --- a/res/client/css/partials/user-signup.scss +++ b/res/client/css/partials/user-signup.scss @@ -81,12 +81,14 @@ margin: 10px; } -#err_msg_row { - border-radius: 3px; - background-color: #413B38; - color: #fff; - display: none; - margin: 10px; - padding: 5px; - vertical-align: middle; -}
\ No newline at end of file +#err_msg_row p{ + margin-top: $one-baseline; + width: 92%; + padding: $one-baseline; + font-size: $h4-size; + line-hight: 18px; + text-align: center; + color: $dark-magenta; + background-color: lighten( $magenta, 40% ); + border: 1px solid $dark-magenta; +} diff --git a/res/client/css/style.css b/res/client/css/style.css index 52263b99..aef50fc7 100644 --- a/res/client/css/style.css +++ b/res/client/css/style.css @@ -960,14 +960,16 @@ p { margin-top: 30px; margin: 10px; } -#err_msg_row { - border-radius: 3px; - background-color: #413B38; - color: #fff; - display: none; - margin: 10px; - padding: 5px; - vertical-align: middle; } +#err_msg_row p { + margin-top: 12px; + width: 92%; + padding: 12px; + font-size: 14px; + line-hight: 18px; + text-align: center; + color: #d10a40; + background-color: #fef2f4; + border: 1px solid #d10a40; } .tool_bar_btn { border: 1px solid #919095; diff --git a/res/templates/user_signup.html b/res/templates/user_signup.html index a15cf046..639fdc06 100644 --- a/res/templates/user_signup.html +++ b/res/templates/user_signup.html @@ -37,9 +37,6 @@ body { </div> {% else %} <div class="login-view-section login-form"> - <div - class="signup_form__row" - id="err_msg_row"></div> <div class="signup_form__row"> <div class="signup_form__field signup_form__row_sharing_field"> <input @@ -89,6 +86,11 @@ body { class="login-input"> </div> </div> + <div + class="signup_form__row" + id="err_msg_row" + class="alert alert-error"> + </div> <div id="signup_form___submit_button_row"> <div id="signup_form___submit_button" class="login-form_button signup-button" |
