91 lines
1.7 KiB
SCSS
91 lines
1.7 KiB
SCSS
@import "./../../../assets/style/colors.scss";
|
|
|
|
section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
position: fixed;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
text-align: center;
|
|
background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
|
|
url(./../../../assets/img/backgrounds/home.png);
|
|
background-size: cover;
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
}
|
|
|
|
.register-form {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
position: relative;
|
|
width: 500px;
|
|
padding: 24px;
|
|
input {
|
|
width: 70%;
|
|
padding: 12px 18px;
|
|
margin: 8px 0;
|
|
box-sizing: border-box;
|
|
background: transparent;
|
|
border: 2px solid $white;
|
|
border-radius: 24px;
|
|
font-size: 18px;
|
|
font-weight: 400;
|
|
transition: background-color 250ms ease-in-out, color 250ms ease-in-out,
|
|
border-color 250ms ease-in-out;
|
|
&::placeholder {
|
|
color: rgba($white, 0.6);
|
|
}
|
|
&:focus {
|
|
outline: none;
|
|
background-color: rgba($white, 0.1);
|
|
}
|
|
}
|
|
.error-border {
|
|
border: 2px solid $red;
|
|
color: $red;
|
|
&::placeholder {
|
|
color: $red;
|
|
}
|
|
}
|
|
}
|
|
|
|
.error-msg {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: absolute;
|
|
bottom: 0;
|
|
height: 24px;
|
|
padding: 6px;
|
|
width: 62%;
|
|
p {
|
|
color: $red;
|
|
font-size: 12px !important;
|
|
font-weight: 400 !important;
|
|
}
|
|
}
|