Amélioration de la mise en page
This commit is contained in:
parent
841b00bafe
commit
5928a16b37
2 changed files with 20 additions and 6 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue