-
Bernard Roland (Student Com20) authoredBernard Roland (Student Com20) authored
form.scss 1.51 KiB
@use 'styles/settings.scss' as s;
@use 'styles/mixins.scss' as mx;
form {
.fields-row {
@include mx.breakpoint(large) {
display: flex;
flex-wrap: wrap;
margin: -15px;
}
.col {
@include mx.breakpoint(large) {
margin: -20px 0;
width: 50%;
padding: 15px;
}
.input-element,
.field {
margin: 20px 0;
}
}
}
.field {
position: relative;
}
.note {
margin-top: 5px;
font-size: 12px;
display: flex;
align-items: center;
span {
margin-right: 5px;
font-size: 12px;
}
}
.field-label {
font-size: 16px;
position: absolute;
left: 20px;
font-weight: s.$weight-bold;
z-index: 20;
transform: translateY(-50%);
}
select,
input,
textarea {
width: 100%;
font-size: 16px;
border: none;
padding: 20px;
outline: none;
border-radius: 15px;
position: relative;
display: block;
border-radius: 15px;
color: s.$text;
font-weight: s.$weight-regular;
font-family: s.$body-font;
background: s.$background-input;
}
h2 {
margin: 30px 0 20px 0;
@include mx.breakpoint(large) {
margin-top: 50px;
}
}
.button-container {
margin-top: 30px;
}
}