auth layout outsourced
This commit is contained in:
parent
800b3ced9f
commit
94717e053c
4 changed files with 37 additions and 76 deletions
|
|
@ -1,24 +1,10 @@
|
||||||
@import "./../../../assets/style/colors.scss";
|
@import "./../../../assets/style/colors.scss";
|
||||||
@import "./../../../assets/style/form.scss";
|
@import "./../../../assets/style/form.scss";
|
||||||
|
@import "./../../../assets/style/auth-layout.scss";
|
||||||
|
|
||||||
section {
|
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)),
|
background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
|
||||||
url(./../../../assets/img/backgrounds/home.png);
|
url(./../../../assets/img/backgrounds/home.png);
|
||||||
background-size: cover;
|
|
||||||
background-position: center;
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.headline {
|
.headline {
|
||||||
|
|
|
||||||
|
|
@ -1,42 +1,14 @@
|
||||||
@import "./../../../../assets/style/colors.scss";
|
@import "./../../../../assets/style/colors.scss";
|
||||||
@import "./../../../../assets/style/form.scss";
|
@import "./../../../../assets/style/form.scss";
|
||||||
|
@import "./../../../../assets/style/auth-layout.scss";
|
||||||
|
|
||||||
section {
|
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)),
|
background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
|
||||||
url(./../../../../assets/img/backgrounds/login.png);
|
url(./../../../../assets/img/backgrounds/login.png);
|
||||||
background-size: cover;
|
|
||||||
background-position: center;
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
width: 520px;
|
|
||||||
height: 492px;
|
|
||||||
padding: 43px 56px;
|
|
||||||
border-radius: 48px;
|
|
||||||
background-color: $white;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
.headline {
|
|
||||||
font-size: 48px;
|
|
||||||
font-weight: 700;
|
|
||||||
color: $blue;
|
|
||||||
margin-bottom: 24px;
|
|
||||||
}
|
|
||||||
app-btn-large {
|
|
||||||
margin-top: 36px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.checkbox {
|
.checkbox {
|
||||||
|
|
|
||||||
|
|
@ -1,41 +1,10 @@
|
||||||
@import "./../../../../assets/style/colors.scss";
|
@import "./../../../../assets/style/colors.scss";
|
||||||
@import "./../../../../assets/style/form.scss";
|
@import "./../../../../assets/style/form.scss";
|
||||||
|
@import "./../../../../assets/style/auth-layout.scss";
|
||||||
|
|
||||||
section {
|
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)),
|
background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
|
||||||
url(./../../../../assets/img/backgrounds/register.png);
|
url(./../../../../assets/img/backgrounds/register.png);
|
||||||
background-size: cover;
|
|
||||||
background-position: center;
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
}
|
|
||||||
|
|
||||||
.content {
|
|
||||||
width: 520px;
|
|
||||||
height: 492px;
|
|
||||||
padding: 43px 56px;
|
|
||||||
border-radius: 48px;
|
|
||||||
background-color: $white;
|
|
||||||
.headline {
|
|
||||||
font-size: 48px;
|
|
||||||
font-weight: 700;
|
|
||||||
color: $blue;
|
|
||||||
margin-bottom: 24px;
|
|
||||||
}
|
|
||||||
app-btn-large {
|
|
||||||
margin-top: 36px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.reg-success {
|
.reg-success {
|
||||||
|
|
|
||||||
34
frontend/src/assets/style/auth-layout.scss
Normal file
34
frontend/src/assets/style/auth-layout.scss
Normal file
|
|
@ -0,0 +1,34 @@
|
||||||
|
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-size: cover;
|
||||||
|
background-position: center;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content {
|
||||||
|
width: 520px;
|
||||||
|
height: 492px;
|
||||||
|
padding: 43px 56px;
|
||||||
|
border-radius: 48px;
|
||||||
|
background-color: $white;
|
||||||
|
.headline {
|
||||||
|
font-size: 48px;
|
||||||
|
font-weight: 700;
|
||||||
|
color: $blue;
|
||||||
|
margin-bottom: 24px;
|
||||||
|
}
|
||||||
|
app-btn-large {
|
||||||
|
margin-top: 36px;
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue