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

68 lines
1.4 KiB
SCSS
Raw Normal View History

2020-07-31 16:54:59 +02:00
.LP-Form{
.LP-Form__Fieldset{
border: none;
.LP-Form__Legend{
margin: 0;
2020-08-03 17:26:11 +02:00
padding: 0;
font-family: $-primary-sans-serif-font;
font-size: 21px;
2020-07-31 16:54:59 +02:00
}
.LP-Form__Composition{
display: flex;
flex-direction: row;
justify-content: space-between;
.LP-Form__Field{
flex: 3 1 100px;
2020-07-31 23:35:17 +02:00
padding: 6px 15px;
2020-07-31 16:54:59 +02:00
&--wider{
2020-08-03 17:26:11 +02:00
flex: 5 1;
2020-07-31 16:54:59 +02:00
}
&--wide{
2020-08-03 17:26:11 +02:00
flex: 4 1;
2020-07-31 16:54:59 +02:00
}
&--narrow{
2020-08-03 17:26:11 +02:00
flex: 2 0;
2020-07-31 16:54:59 +02:00
}
&--narrower{
2020-08-03 17:26:11 +02:00
flex: 1 0;
2020-07-31 16:54:59 +02:00
}
}
}
}
}
@media(max-width: $-viewport-small){
.LP-Form{
.LP-Form__Fieldset{
.LP-Form__Composition--breakable{
display: flex;
flex-direction: column;
justify-content: space-between;
}
}
}
}
@media(max-width: $-viewport-extra-small){
.LP-Form{
.LP-Form__Fieldset{
.LP-Form__Composition{
display: flex;
flex-direction: column;
justify-content: space-between;
.LP-Form__Field{
2020-07-31 23:35:17 +02:00
flex: 3 1 100px;
padding: 12px 15px;
2020-07-31 16:54:59 +02:00
}
}
}
}
}