diff --git a/app/assets/stylesheets/new_design/user_signup.scss b/app/assets/stylesheets/new_design/user_signup.scss index 4592e34b0..fe0b174db 100644 --- a/app/assets/stylesheets/new_design/user_signup.scss +++ b/app/assets/stylesheets/new_design/user_signup.scss @@ -3,8 +3,22 @@ .suspect-email { background-color: $orange-bg; - font-weight: bold; text-align: center; - padding: $default-padding; + margin-top: -$default-padding * 2; + margin-bottom: $default-padding * 2; + padding: ($default-padding - 2) $default-padding $default-padding $default-padding; + border-radius: 0 0 5px 5px; } +.email-suggestion-address { + font-weight: bold; +} + +.email-suggestion-title { + margin-bottom: $default-spacer; +} + +.email-suggestion-answer button { + margin: 0 $default-spacer / 2; + min-width: 66px; +} diff --git a/app/views/users/registrations/new.html.haml b/app/views/users/registrations/new.html.haml index 76d8ddf95..37bcc2387 100644 --- a/app/views/users/registrations/new.html.haml +++ b/app/views/users/registrations/new.html.haml @@ -8,15 +8,15 @@ = f.label :email, "Email" = f.text_field :email, autofocus: true, placeholder: "Votre adresse email" - .suspect-email.hidden + .suspect-email .email-suggestion-title - Vouliez-vous dire + Voulez-vous dire %span.email-suggestion-address blabla@gmail.com  ? .email-suggestion-answer - = button_tag type: 'button', class: 'button', onclick: "DS.acceptEmailSuggestion()" do + = button_tag type: 'button', class: 'button small', onclick: "DS.acceptEmailSuggestion()" do Oui - = button_tag type: 'button', class: 'button', onclick: "DS.discardEmailSuggestionBox()" do + = button_tag type: 'button', class: 'button small', onclick: "DS.discardEmailSuggestionBox()" do Non = f.label :password, "Mot de passe"