Y-SLD/assets/playkit/examples/scss/pages/login.scss

147 lines
2.2 KiB
SCSS

@import '../base';
html {
height: 100%;
}
body.page-login {
padding: 0;
min-height: 100%;
height: 100%;
width: 100%;
color: #fff;
}
.login-page-header {
position: fixed;
top: 0;
right: 0;
left: 0;
padding: 1.5rem;
.switch-btns .btn {
@include reset-input;
background: $brand-success;
border: 1px solid $brand-success;
color: #fff;
}
.switch-btns .btn[disabled] {
background: none;
border-color: #444;
color: gray;
}
}
.form-wrap {
display: none;
&.show {
display: block;
}
}
.login-page-wrap {
display: flex;
height: 100%;
.side {
width: 100%;
padding: 124px 1.5rem 1.5rem;
}
.side:first-child {
display: none;
background: $brand-success;
}
.side:last-child {
background: #202020;
}
.side-content {
padding-left: 1.5rem;
padding-right: 1.5rem;
}
@include media-breakpoint-up(md) {
.side {
width: 50%;
flex: 1 1 50%;
}
.side:first-child {
display: block;
}
}
@include media-breakpoint-up(lg) {
.side-content {
padding-left: 5rem;
padding-right: 5rem;
}
}
}
.form-wrap .form {
.form-control {
@include reset-input;
padding: .75rem 0px;
border-radius: 0;
background: none;
border-bottom: 1px solid #444;
transition: border-bottom-color .5s;
&:focus {
border-bottom-color: $brand-success;
color: #fff;
padding-top: .5rem;
padding-bottom: 1rem;
}
}
input::-webkit-input-placeholder {
color: #444 !important;
}
input:-moz-placeholder {
color: #444 !important;
}
input::-moz-placeholder {
color: #444 !important;
}
input:-ms-input-placeholder {
color: #444 !important;
}
}
#login-page-slider {
.item img {
max-width: 100%;
height: 200px;
}
.item p {
font-size: 1rem;
}
.owl-controls{
width: 54px;
margin: 0 auto;
margin-top: 2rem;
.owl-page{
display: inline-block;
margin-right: 6px;
width: 12px;
height: 12px;
border-radius: 50%;
background: none;
border: 1px solid #fff;
cursor: pointer;
&.active{
background: #fff;
}
}
}
}