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

85 lines
2.5 KiB
SCSS
Raw Normal View History

2024-04-08 13:55:14 +02:00
main.main-login, main.main-user, main.main-register, main.main-contact, main.main-ask, main.main-add-offre {
2024-03-29 21:29:59 +01:00
min-height: 50vh;
2024-04-08 13:55:14 +02:00
.login, .user, .register, .contact, .ask, .add-offre {
margin-top: 12vh;
padding: 5vh 0;
2024-03-29 21:29:59 +01:00
width: 100vw;
background-color: white;
2024-03-29 21:29:59 +01:00
> h2 {
@include sous_titre_alt();
text-align: center;
}
h1 {
@include sous_titre_alt();
text-align: center;
margin-top: 3rem;
margin-bottom: 2rem;
}
2024-04-19 15:26:56 +02:00
div[role="contentinfo"] {
@include main_text_content();
}
2024-03-29 21:29:59 +01:00
> div {
height: 100%;
> div:not(.hidden) {
margin-top: 5vh !important;
display: flex;
align-items: center;
justify-content: center;
form {
width: 95%;
2024-10-31 01:32:57 +01:00
font-family: 'Marianne', sans-serif;
2024-03-29 21:29:59 +01:00
@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;
}
}
2024-04-10 12:48:33 +02:00
}
#edit-field-description-0-format {
display: none;
2024-10-31 01:32:57 +01:00
}
.form-item {
padding-left: 3rem;
@include main_text_content();
}