diff --git a/app/assets/stylesheets/debates.scss b/app/assets/stylesheets/debates.scss index d25beb53f..6e251d6dd 100644 --- a/app/assets/stylesheets/debates.scss +++ b/app/assets/stylesheets/debates.scss @@ -9,6 +9,9 @@ // 05.2. Debates Show // 06. Comments // 07. Tags +// 08. Login and Sign Up +// 08.1. Login +// 08.2. Sign Up // // 01. Variables @@ -17,7 +20,7 @@ $font-family-sans-serif: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif; $line-height: rem-calc(24); -$background: #F9F9F9; +$background: #E9E9E9; $border: #DEE0E3; $brand: #0077B9; @@ -81,6 +84,16 @@ body { display: inline-block; } +::selection { + background: $brand; + color: white; +} + +::-moz-selection { + background: $brand; + color: white; +} + // 03. Header // - - - - - - - - - - - - - - - - - - - - - - - - - @@ -493,10 +506,66 @@ header { background: #e5f1f8; border: 1px solid $brand; } +} +// 08. Login and Sign Up +// - - - - - - - - - - - - - - - - - - - - - - - - - + +// 08.1. Login +// - - - - - - - - - - - - + +.auth { + background: $background; + box-shadow: 0px -4px 5px $background; + min-height: $line-height*20; + + .panel { + background: white; + margin-top: $line-height*2; + + h1 { + font-size: rem-calc(30); + font-weight: bolder; + } + } } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/views/debates/_form.html.erb b/app/views/debates/_form.html.erb index 7735c4c28..180ada9e6 100644 --- a/app/views/debates/_form.html.erb +++ b/app/views/debates/_form.html.erb @@ -1,19 +1,18 @@ <%= form_for(@debate) do |f| %> - <% if @debate.errors.any? %> -
<%= pluralize(@debate.errors.count, t("debates.form.one_error"), t("debates.form.multiple_errors")) %> <%= t("debates.form.not_saved") %>:
+<%= t("debates.form.debate_title") %>
-<%= t("debates.form.title_instructions") %>
- <%= f.text_field :title %> +<%= t("debates.form.debate_title") %>
+<%= t("debates.form.title_instructions") %>
+ <%= f.text_field :title %><%= t("debates.form.debate_text") %>
diff --git a/app/views/devise/passwords/new.html.erb b/app/views/devise/passwords/new.html.erb index 1e3baccc8..8a70d0362 100644 --- a/app/views/devise/passwords/new.html.erb +++ b/app/views/devise/passwords/new.html.erb @@ -1,16 +1,28 @@ -