71 lines
1.4 KiB
SCSS
71 lines
1.4 KiB
SCSS
.LP-Form{
|
|
max-width: 900px;
|
|
.LP-Form__Fieldset{
|
|
border: none;
|
|
|
|
.LP-Form__Legend{
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.LP-Form__Composition{
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
|
|
.LP-Form__Field{
|
|
flex: 3 1 100px;
|
|
padding: 6px 15px;
|
|
|
|
&--wider{
|
|
flex: 5 1 200px;
|
|
}
|
|
|
|
&--wide{
|
|
flex: 4 1 150px;
|
|
}
|
|
|
|
&--narrow{
|
|
flex: 2 0 50px;
|
|
}
|
|
|
|
&--narrower{
|
|
flex: 1 0 25px;
|
|
}
|
|
|
|
input{
|
|
width: 100%;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@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{
|
|
flex: 3 1 100px;
|
|
padding: 12px 15px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |