Newer
Older
@use 'styles/settings.scss'as s;
@use 'styles/mixins.scss'as mx;
.input-element {

Planoetscher Daniel (Student Com20)
committed
margin: 20px 0 30px 0;
.error {
margin: 10px 0 20px 0;
line-height: 1;

Planoetscher Daniel (Student Com20)
committed
}
.input-field {
position: relative;

Planoetscher Daniel (Student Com20)
committed
width: 100%;

Planoetscher Daniel (Student Com20)
committed
&.mandatory {
label {
&:after {
content: ' *';
color: s.$primary;
}
}
}

Planoetscher Daniel (Student Com20)
committed
label {
font-size: 16px;
position: absolute;
left: 20px;
font-weight: s.$weight-bold;
z-index: 20;
transform: translateY(-50%);
}
textarea {
resize: none;
height: 300px;
}
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.$body-color;
font-weight: s.$weight-regular;
font-family: s.$body-font;
background: rgba(0, 0, 0, 0.025);
}

Planoetscher Daniel (Student Com20)
committed
}