lostplaces-frontend/components/03_Organisms/form/_form.scss

94 lines
1.8 KiB
SCSS
Raw Permalink Normal View History

2020-09-01 18:19:51 +02:00
.LP-Form {
&--tagging {
margin-top: 25px;
div.LP-Form__Composition {
gap: 25px;
}
}
&--inline {
.LP-Form__Legend,
.LP-Input__Label {
display: none;
}
.LP-Form__Button {
2021-10-24 18:28:09 +02:00
@include RV-Flex__Item--fixedSize;
--fixed-size: max-content;
2020-09-01 18:19:51 +02:00
}
fieldset.LP-Form__Fieldset {
max-width: unset;
}
div.LP-Form__Composition {
padding: 0;
}
}
&:not(.LP-Form--inline) {
.LP-Form__Composition {
@media(max-width: $-viewport-extra-small) {
2021-10-24 18:28:09 +02:00
@include RV-Flex--wrap;
2020-09-01 18:19:51 +02:00
}
}
.LP-Form__Button {
2021-10-24 18:28:09 +02:00
@include RV-Flex__Item--fixedSize;
--fixedSize: 130px;
2020-09-01 18:19:51 +02:00
@media(max-width: $-viewport-extra-small) {
2021-10-24 18:28:09 +02:00
@include RV-Flex__Item--fixedSize;
--fixedSize: 100%;
2020-09-01 18:19:51 +02:00
}
}
}
.LP-Form__Fieldset {
2020-08-25 15:55:02 +02:00
max-width: 1200px;
2020-09-01 18:19:51 +02:00
min-width: $-viewport-medium;
2021-10-24 18:28:09 +02:00
border: none;
2020-09-01 18:19:51 +02:00
@media(max-width: $-viewport-medium) {
min-width: unset;
}
}
.LP-Form__Legend {
margin: 0;
padding: 0;
font-family: $-primary-sans-serif-font;
font-size: 21px;
}
.LP-Form__Composition {
2021-10-24 18:28:09 +02:00
@include RV-Flex;
gap: $-spacing-small;
2020-09-01 18:19:51 +02:00
&--breakable {
@media(max-width: $-viewport-small) {
2021-10-24 18:28:09 +02:00
@include RV-Flex--wrap;
2020-09-01 18:19:51 +02:00
}
}
&--buttons {
justify-content: flex-end;
2021-10-24 18:28:09 +02:00
gap: 20px;
2020-09-01 18:19:51 +02:00
}
}
.LP-Form__Field {
2021-10-24 18:28:09 +02:00
@include RV-Flex__Item;
2020-09-01 18:19:51 +02:00
}
.LP-Form__InfoText {
.LP-Paragraph {
font-family: $-primary-sans-serif-font;
color: $-grey;
}
}
2021-10-02 07:19:34 +02:00
}