demarches-normaliennes/app/assets/stylesheets/new_design/forms.scss
Simon Lehericey 9753da8fdd NewDesign Form: move margin from label to input
provide beautiful layouts with or without label between inputs
2017-09-06 11:11:19 +02:00

33 lines
474 B
SCSS

@import "colors";
.form {
h1 {
text-align: center;
margin-bottom: 20px;
}
label,
input {
font-size: 14px;
}
label {
margin-bottom: 8px;
display: inline-block;
}
input[type=text],
input[type=email],
input[type=password] {
display: block;
width: 100%;
border-radius: 4px;
border: solid 1px $border-grey;
margin-bottom: 24px;
padding: 16px;
&:disabled {
background-color: $border-grey;
}
}
}