Add inputs & labels to patron

This commit is contained in:
Mathieu Magnin 2017-06-14 17:39:46 +02:00
parent 765be88d6d
commit a82994f00f
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,27 @@
@import "colors";
.form {
label,
input {
font-size: 14px;
}
label,
input[type=submit] {
margin-top: 24px;
}
label {
margin-bottom: 8px;
display: inline-block;
}
input[type=text],
input[type=password] {
display: block;
width: 100%;
border-radius: 4px;
border: solid 1px $border-grey;
padding: 16px;
}
}

View file

@ -1,6 +1,17 @@
.patron .patron
%h1 Patron %h1 Patron
%h2 Formulaires
%form.form
%label Nom
%input{ type: "text" }
%label Prénom
%input{ type: "text", placeholder: "ex : Ivan" }
%label Mot de passe
%input{ type: "password", value: "12345678" }
%input{ type: "submit", value: "Envoyer" }
%h2 Boutons %h2 Boutons
%p %p