demarches-normaliennes/app/assets/stylesheets/new_design/forms.scss

35 lines
486 B
SCSS
Raw Normal View History

2017-06-14 17:39:46 +02:00
@import "colors";
.form {
2017-06-20 10:09:19 +02:00
h1 {
text-align: center;
margin-bottom: 20px;
}
2017-06-14 17:39:46 +02:00
label,
input {
font-size: 14px;
}
label {
margin-bottom: 8px;
display: inline-block;
}
input[type=text],
2017-06-20 10:03:49 +02:00
input[type=email],
input[type=password],
textarea {
2017-06-14 17:39:46 +02:00
display: block;
width: 100%;
border-radius: 4px;
border: solid 1px $border-grey;
margin-bottom: 24px;
2017-06-14 17:39:46 +02:00
padding: 16px;
2017-06-20 10:03:49 +02:00
&:disabled {
background-color: $border-grey;
}
2017-06-14 17:39:46 +02:00
}
}