videoflix/frontend/src/app/components/auth/auth.component.scss

55 lines
1,003 B
SCSS

@import "./../../../assets/style/colors.scss";
@import "./../../../assets/style/form.scss";
@import "./../../../assets/style/auth-layout.scss";
section {
background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
url(./../../../assets/img/backgrounds/home.png);
}
.headline {
p:nth-child(1) {
font-size: 48px;
font-weight: 700;
padding: 12px;
}
p:nth-child(2) {
font-size: 24px;
font-weight: 500;
padding: 12px;
}
p:nth-child(3) {
font-size: 18px;
font-weight: 400;
padding: 12px;
}
}
form {
flex-direction: row;
position: relative;
width: 500px;
padding: 24px;
input {
width: 65%;
padding: 12px 18px;
margin: 8px 0;
color: $white;
border: 2px solid $white;
border-radius: 24px;
font-size: 18px;
&::placeholder {
color: rgba($white, 0.6);
}
}
.error-border {
border: 2px solid $red;
}
}
.error-msg {
position: absolute;
bottom: 0;
padding: 6px;
width: 62%;
}