drupal-erable/web/themes/erabletheme/scss/partials/_forms.scss

79 lines
2.5 KiB
SCSS

main.main-login, main.main-user, main.main-register, main.main-contact, main.main-ask, main.main-add-offre {
min-height: 50vh;
.login, .user, .register, .contact, .ask, .add-offre {
padding-top: 5vh;
width: 100vw;
@include white_beige_gradient();
> h2 {
@include sous_titre_alt();
text-align: center;
}
h1 {
@include sous_titre_alt();
text-align: center;
margin-top: 3rem;
margin-bottom: 2rem;
}
div[role="contentinfo"] {
@include main_text_content();
}
> div {
height: 100%;
> div:not(.hidden) {
margin-top: 5vh !important;
display: flex;
align-items: center;
justify-content: center;
form {
width: 95%;
font-family: 'Marianne', sans-serif;
@media screen and (min-width: $breakpoint_desktop) {
padding: 0 20vw;
}
.form-item {
margin: 1.8rem 0;
.form-checkbox {
width: 1rem;
height: 1rem;
-webkit-appearance: auto;
}
.form-required {
font-weight: 800;
padding-right: 1rem;
}
.description {
margin-top: 0.3rem;
}
}
input, textarea {
margin-top: 0.5rem;
border: solid 1px $teal;
}
.button {
font-family: 'Marianne', sans-serif;
font-weight: 800;
border: solid 1px $teal;
background-color: white;
cursor: pointer;
}
.button:hover {
background-color: rgba(255, 255, 255, 0.6);
}
}
}
}
}
}
.user {
.contextual-region > div {
display: flex;
font-family: 'Marianne', sans-serif;
> h4 {
padding-right: 0.5rem;
}
}
}
#edit-field-description-0-format {
display: none;
}