2017-08-17 10:31:04 +03:00

216 lines
5.8 KiB
SCSS

@import "src/app/core/scss/fuse";
:host {
#login {
width: 100%;
overflow: hidden;
background: url('/assets/images/backgrounds/march.jpg') no-repeat;
background-size: cover;
#login-intro {
padding: 128px;
@include media-breakpoint('sm') {
padding: 128px 64px;
}
.logo {
width: 128px;
height: 128px;
line-height: 128px;
font-size: 86px;
font-weight: 500;
margin-bottom: 32px;
color: #FFFFFF;
border-radius: 2px;
text-align: center;
background: mat-color($accent);
}
.title {
font-size: 42px;
font-weight: 300;
line-height: 1;
}
.description {
padding-top: 8px;
font-size: 14px;
max-width: 600px;
}
}
#login-form-wrapper {
width: 400px;
min-width: 400px;
max-width: 400px;
height: 100%;
background: #FFFFFF;
@include mat-elevation(7);
@include media-breakpoint('sm') {
width: 360px;
min-width: 360px;
max-width: 360px;
}
@include media-breakpoint('xs') {
width: 100%;
min-width: 100%;
max-width: 100%;
}
#login-form {
padding: 128px 48px 48px 48px;
@include media-breakpoint('xs') {
text-align: center;
padding: 24px;
}
.logo {
width: 128px;
height: 128px;
line-height: 128px;
font-size: 86px;
font-weight: 500;
text-align: center;
margin: 32px auto;
color: #FFFFFF;
border-radius: 2px;
background: mat-color($accent);
}
.title {
font-size: 21px;
}
.description {
padding-top: 8px;
}
form {
width: 100%;
padding-top: 32px;
md-input-container {
width: 100%;
@include media-breakpoint('xs') {
width: 80%;
}
}
md-checkbox {
margin: 0;
}
.remember-forgot-password {
font-size: 13px;
margin-top: 8px;
.remember-me {
margin-bottom: 16px
}
.forgot-password {
font-size: 13px;
font-weight: 500;
margin-bottom: 16px
}
}
.submit-button {
width: 100%;
margin: 16px auto;
display: block;
@include media-breakpoint('xs') {
width: 80%;
}
}
}
.separator {
font-size: 15px;
font-weight: 600;
margin: 24px auto;
position: relative;
overflow: hidden;
width: 100px;
text-align: center;
color: rgba(0, 0, 0, 0.54);
.text {
display: inline-flex;
position: relative;
padding: 0 8px;
z-index: 9999;
&:before, &:after {
content: '';
display: block;
width: 30px;
position: absolute;
top: 10px;
border-top: 1px solid rgba(0, 0, 0, 0.12);
}
&:before {
right: 100%;
}
&:after {
left: 100%;
}
}
}
button {
&.google,
&.facebook {
width: 70%;
text-transform: none;
color: #FFFFFF;
font-size: 13px;
@include media-breakpoint('xs') {
width: 60%;
}
md-icon {
color: #FFFFFF;
margin: 0 8px 0 0;
}
}
&.google {
background-color: #D73D32;
margin-bottom: 8px;
}
&.facebook {
background-color: rgb(63, 92, 154);
}
}
.register {
margin: 32px auto 24px auto;
width: 250px;
font-weight: 500;
.text {
margin-right: 8px;
}
.link {
}
}
}
}
}
}