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

31 lines
501 B
SCSS
Raw Normal View History

2017-07-20 10:25:32 +02:00
@import "constants";
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 {
2017-07-20 10:25:32 +02:00
margin-bottom: $default-spacer;
2017-06-14 17:39:46 +02:00
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;
2017-07-20 10:25:32 +02:00
margin-bottom: 4 * $default-spacer;
padding: $default-padding;
2017-06-20 10:03:49 +02:00
&:disabled {
background-color: $border-grey;
}
2017-06-14 17:39:46 +02:00
}
}