208 lines
3.5 KiB
SCSS
208 lines
3.5 KiB
SCSS
@import "variables";
|
|
@import "functions";
|
|
@import "mixins";
|
|
|
|
.knk-mvp-overlay {
|
|
z-index: 89;
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-image: url('/public/images/mvp-overlay.png');
|
|
background-repeat: no-repeat;
|
|
background-position: center center;
|
|
background-size: 101% 101%;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.knk-mvp-wrapper {
|
|
z-index: 90;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
|
|
&__outside {
|
|
margin: 80px 80px;
|
|
pointer-events: none;
|
|
}
|
|
|
|
&__inside {
|
|
overflow: hidden;
|
|
border-radius: 5px;
|
|
box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.5);
|
|
pointer-events: auto;
|
|
@include theming {
|
|
// background-color: #ffffff;
|
|
background-color: theme-get(color-surface);
|
|
}
|
|
}
|
|
}
|
|
|
|
.knk-mvp-card {
|
|
overflow: auto;
|
|
display: block;
|
|
max-width: calc(90vw - 40px);
|
|
max-height: calc(90vh - 40px);
|
|
min-width: 320px;
|
|
min-height: 240px;
|
|
width: auto;
|
|
@include theming {
|
|
// background-color: #ffffff;
|
|
background-color: theme-get(color-surface);
|
|
}
|
|
|
|
&__content {
|
|
display: flex;
|
|
flex: 1 0 auto;
|
|
place-content: stretch flex-start;
|
|
align-items: stretch;
|
|
width: 100%;
|
|
padding: 20px;
|
|
@include knk-font-default;
|
|
@include theming($if: default) {
|
|
color: #9b9b9b;
|
|
}
|
|
@include theming($if: night) {
|
|
color: theme-get(color-font);
|
|
}
|
|
}
|
|
|
|
&#{&}--login {
|
|
min-width: 380px;
|
|
}
|
|
|
|
&#{&}--login &__content {
|
|
padding: 30px 40px 30px 50px;
|
|
}
|
|
|
|
&#{&}--registration {
|
|
min-width: 710px;
|
|
}
|
|
|
|
&#{&}--registration &__content {
|
|
padding: 35px 40px 60px 30px;
|
|
}
|
|
}
|
|
|
|
.knk-mvp-title {
|
|
@include knk-font-default;
|
|
font-size: 22px;
|
|
@include theming($if: default) {
|
|
color: theme-get(color-charcoal-grey);
|
|
}
|
|
@include theming($if: night) {
|
|
color: theme-get(color-font);
|
|
}
|
|
}
|
|
|
|
.knk-mvp-error {
|
|
@include knk-font-default;
|
|
@include theming {
|
|
color: theme-get(color-coral);
|
|
}
|
|
}
|
|
|
|
.knk-mvp-spacer {
|
|
width: 1px;
|
|
margin: 20px 30px 0;
|
|
@include theming {
|
|
background-color: rgba(108, 102, 251, 0.25);
|
|
}
|
|
}
|
|
|
|
.knk-mvp-field {
|
|
margin-bottom: 30px;
|
|
|
|
&__model {
|
|
position: relative;
|
|
width: 100%;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
&__model &__ic {
|
|
position: absolute;
|
|
top: calc(50% - 5px);
|
|
right: 4px;
|
|
}
|
|
|
|
&__model &__hint {
|
|
position: absolute;
|
|
top: calc(50% - 9px);
|
|
left: calc(100% + 9px);
|
|
cursor: pointer;
|
|
font-size: 18px;
|
|
}
|
|
}
|
|
|
|
ul.knk-mvp-list {
|
|
margin: 0;
|
|
padding: 0;
|
|
|
|
li {
|
|
list-style-type: none;
|
|
@include knk-font-default;
|
|
font-size: 15px;
|
|
font-weight: 300;
|
|
line-height: 2;
|
|
@include theming {
|
|
color: theme-get(color-font);
|
|
}
|
|
|
|
&:before {
|
|
content: '';
|
|
display: inline-block;
|
|
width: 12px;
|
|
height: 12px;
|
|
margin-right: 8px;
|
|
border-radius: 50%;
|
|
@include theming {
|
|
background-color: #6c66fb;
|
|
}
|
|
vertical-align: baseline;
|
|
}
|
|
}
|
|
}
|
|
|
|
ng-svg-icon.knk-mvp-logo {
|
|
cursor: pointer;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
ng-svg-icon.knk-mvp-logo svg {
|
|
max-width: 69px;
|
|
max-height: 80px;
|
|
width: auto;
|
|
height: auto;
|
|
fill-rule: evenodd;
|
|
clip-rule: evenodd;
|
|
}
|
|
|
|
ng-svg-icon.knk-mvp-secure svg {
|
|
max-width: 48px;
|
|
max-height: 64px;
|
|
width: auto;
|
|
height: auto;
|
|
fill-rule: evenodd;
|
|
clip-rule: evenodd;
|
|
}
|
|
|
|
ng-svg-icon.knk-mvp-eye {
|
|
cursor: pointer;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
ng-svg-icon.knk-mvp-eye svg {
|
|
width: 16px;
|
|
height: 14px;
|
|
}
|