Use generic css for avis_sign_up
This commit is contained in:
parent
2e795fb2a5
commit
f74462d826
3 changed files with 7 additions and 48 deletions
|
@ -41,51 +41,5 @@
|
||||||
form {
|
form {
|
||||||
max-width: 420px;
|
max-width: 420px;
|
||||||
}
|
}
|
||||||
|
|
||||||
label,
|
|
||||||
input {
|
|
||||||
display: block;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
label {
|
|
||||||
font-size: 14px;
|
|
||||||
line-height: 1.57;
|
|
||||||
margin: 24px 0 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
input {
|
|
||||||
border: solid 1px $border-grey;
|
|
||||||
border-radius: 4px;
|
|
||||||
height: 56px;
|
|
||||||
padding: 0 15px;
|
|
||||||
font-family: Muli;
|
|
||||||
font-size: 14px;
|
|
||||||
|
|
||||||
&:disabled {
|
|
||||||
background-color: $border-grey;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
button {
|
|
||||||
display: inline-block;
|
|
||||||
height: 60px;
|
|
||||||
line-height: 60px;
|
|
||||||
border: none;
|
|
||||||
border-radius: 60px;
|
|
||||||
background-color: $blue;
|
|
||||||
color: #FFFFFF;
|
|
||||||
font-size: 16px;
|
|
||||||
text-align: center;
|
|
||||||
width: 100%;
|
|
||||||
margin: 55px 0;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
color: #FFFFFF;
|
|
||||||
text-decoration: none;
|
|
||||||
background-color: $light-blue;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,11 +17,16 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type=text],
|
input[type=text],
|
||||||
|
input[type=email],
|
||||||
input[type=password] {
|
input[type=password] {
|
||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
border: solid 1px $border-grey;
|
border: solid 1px $border-grey;
|
||||||
padding: 16px;
|
padding: 16px;
|
||||||
|
|
||||||
|
&:disabled {
|
||||||
|
background-color: $border-grey;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
.right
|
.right
|
||||||
%h1 Créez-vous un compte
|
%h1 Créez-vous un compte
|
||||||
|
|
||||||
= form_for(Gestionnaire.new, url: { controller: "backoffice/avis", action: :create_gestionnaire }, method: :post) do |f|
|
= form_for(Gestionnaire.new, url: { controller: "backoffice/avis", action: :create_gestionnaire }, method: :post, html: { class: "form" }) do |f|
|
||||||
= f.label :email, "Email"
|
= f.label :email, "Email"
|
||||||
= f.email_field :email, value: @email, disabled: true
|
= f.email_field :email, value: @email, disabled: true
|
||||||
|
|
||||||
= f.label :password, "Mot de passe"
|
= f.label :password, "Mot de passe"
|
||||||
= f.password_field :password, autofocus: true, required: true, placeholder: "8 caractères minimum"
|
= f.password_field :password, autofocus: true, required: true, placeholder: "8 caractères minimum"
|
||||||
|
|
||||||
%button Créer un compte
|
= f.submit "Créer un compte", class: "button large primary expand"
|
||||||
|
|
Loading…
Reference in a new issue