@import "variables"; @import "functions"; @import "mixins"; .knk-stats-card { @include knk-card; max-width: 204px; margin-bottom: 20px; @include theming { background-color: theme-get('color-surface'); } &__headline { font-size: 12px; font-weight: bold; @include theming { border: solid 1px theme-get('color-spacer'); background-color: theme-get('color-secondary'); color: theme-get('color-primary'); } .material-icons { @include theming { color: theme-get('color-primary'); } } } &__content { @include theming { background-color: theme-get('color-surface'); } } &__label { opacity: 0.5; padding-bottom: 4px; @include knk-font-default; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; @include theming { color: theme-get('color-ongoing-label'); } white-space: nowrap; } &__note { @include knk-font-default; font-size: 24px; @include theming($not: night) { color: theme-get('color-charcoal-grey'); } @include theming($if: night) { color: theme-get('color-white'); } &#{&}--wrong { @include theming { color: theme-get('color-coral'); } } &#{&}--success { @include theming { color: theme-get('color-aqua-marine'); } } } &__icon { font-size: 0.7em; &#{&}--wrong { @include theming { color: theme-get('color-coral'); } } &#{&}--success { @include theming { color: theme-get('color-aqua-marine'); } } } } .knk-filter { max-width: 1300px; margin: 0 auto; margin-bottom: 25px; &__input { border: 0; } &__board { display: flex; flex-direction: column; max-width: 204px; border: 0; border-radius: 0; box-shadow: none; background: transparent none; @include theming { background-color: theme-get('color-filter-board'); } } &__board#{&}__board--root { position: relative; box-shadow: 0 2px 9px 0 rgba(0, 0, 0, 0.02); } &__board#{&}__board--lose-status { @include theming { color: theme-get('color-coral'); } font-size: 12.8px; margin-right: 2px; } &__tabs { margin-bottom: 1px; } .tabs &__tab { height: 41px; padding: 0 20px 0 25px; border: 0; border-top-left-radius: 4px; border-top-right-radius: 4px; font-size: 12px; @include theming { color: #000000; } font-weight: bold; letter-spacing: normal; } .tabs &__tab#{&}__tab-active { @include theming { background-color: $knk-color-primary; color: #ffffff; } font-weight: normal; letter-spacing: 1px; } &__board-expand { display: flex; align-items: center; justify-content: space-between; height: 40px; margin: 0; padding: 0 20px 0 25px; outline: 0; border: 0 none; background: transparent none; cursor: pointer; @include theming { border-top: solid 1px theme-get('color-list-item-spacer'); } @include knk-font-default; font-size: 13px; color: $knk-color-primary; } &__board-expand#{&}__board-expand--root { height: 54px; padding: 0 20px 0 25px; border: 0; border-radius: 4px; background-color: $knk-color-primary; cursor: default; @include theming { color: #ffffff; } } &__board-expand &__board-title { text-transform: capitalize; @include theming($if: default) { color: #979797; } @include theming($if: night) { color: theme-get(color-primary); } } &__board-expand &__board-title#{&}__board-title--root { @include theming { color: #ffffff; } } &__board-expand &__board-toggle { @include theming($if: default) { color: #979797; } @include theming($if: night) { color: theme-get(color-primary); } } &__board-expand &__board-toggle#{&}__board-toggle--root { @include theming { color: #ffffff; } } &__board-expand#{&}__board-expand--selected &__board-title, &__board-expand[aria-pressed="true"] &__board-title { @include theming { color: $knk-color-primary; } } &__board-expand#{&}__board-expand--selected &__board-title#{&}__board-title--root, &__board-expand[aria-pressed="true"] &__board-title#{&}__board-title--root { @include theming { color: #ffffff; } } &__board-expand#{&}__board-expand--selected &__board-toggle, &__board-expand[aria-pressed="true"] &__board-toggle { @include theming { color: $knk-color-primary; } } &__board-expand#{&}__board-expand--selected &__board-toggle#{&}__board-toggle--root, &__board-expand[aria-pressed="true"] &__board-toggle#{&}__board-toggle--root { @include theming { color: #ffffff; } } &__board-unit { display: flex; align-items: center; justify-content: flex-start; height: 40px; margin: 0; padding: 0 20px 0 25px; outline: 0; border: 0 none; background: transparent none; cursor: pointer; @include knk-font-default; font-size: 13px; @include theming { background-color: theme-get('color-secondary'); color: theme-get('color-filter-checkbox'); border-top: 1px solid theme-get('color-list-item-spacer'); } .material-icons { margin-right: 6px; font-size: 16px; } .knk-icon-analysis { margin-right: 6px; } } &__board-unit#{&}__board-unit--selected { @include theming { background-color: rgba(theme-get('color-primary'), 0.3); } .material-icons { /*@include theming { color: rgba(theme-get('color-primary'), 0.3); }*/ @include theming { color: theme-get(color-font); } } } &__board-unit &__board-title { text-transform: capitalize; @include theming($if: default) { color: #979797; } @include theming($if: night) { color: theme-get(color-primary); } } &__board-unit#{&}__board-unit--selected &__board-title { @include theming { color: theme-get('color-font'); } } &__board-icon { @include theming { color: $knk-color-primary; } } &__board-icon#{&}__board-icon--root { @include theming { color: #ffffff; } } &__board-content { display: flex; flex-direction: column; overflow: hidden; @include theming { background-color: theme-get('color-secondary'); border-top: solid 1px theme-get('color-list-item-spacer'); } } &__board-content#{&}__board-content--root { /*position: absolute; top: 100%; left: 0; right: 0; width: 100%; height: auto;*/ @include theming($if: default) { border: solid 1px #e4e8ea; } border-radius: 4px; } &__board-content#{&}__board-content--close { height: 0; border: 0; opacity: 0; } &__pane { margin-left: 35px; } &__pane-unit { display: inline-block; } &__pane-title { display: inline-block; margin-right: 4px; white-space: nowrap; font-family: Roboto; font-size: 13px; font-weight: normal; font-style: normal; font-stretch: normal; line-height: normal; letter-spacing: normal; @include theming { color: theme-get('color-font'); } } &__pane-reset { margin: 0; padding: 0; border: 0; outline: 0; background: transparent none; font-family: Roboto; font-size: 10px; font-weight: normal; font-style: normal; font-stretch: normal; line-height: normal; letter-spacing: normal; @include theming { color: #ffffff; } text-decoration: underline; &:hover { cursor: pointer; } } } .knk-filter-pane-item { &__dropdown.mdc-menu, &__dropdown { max-width: 100%; min-width: 100%; width: 105px; z-index: 44; @include theming($if: default) { border: 1px solid $knk-color-primary; } @include theming($if: night) { background-color: theme-get('color-surface'); border: 1px solid theme-get('color-spacer'); } .mdc-list > .mdc-list-item { height: 24px; padding: 0 8px; font-family: Roboto; font-size: 10px; font-weight: normal; font-style: normal; font-stretch: normal; @include theming($if: night) { color: theme-get('color-white'); } } .mdc-list:not(.mdc-list--non-interactive) > .mdc-list-item::before, .mdc-list:not(.mdc-list--non-interactive) > .mdc-list-item::after { background-color: $knk-color-primary; } } &__button { opacity: 0.5; display: flex; align-items: center; height: 29px; margin: 0; padding: 0 8px 0 8px; outline: 0; border-radius: 2px; @include theming { background-color: theme-get(color-secondary); border: solid 1px rgba(theme-get(color-charcoal-grey), 0.22); } font-family: Roboto; font-size: 13px; font-weight: normal; font-style: normal; font-stretch: normal; line-height: 1.6; letter-spacing: normal; text-transform: capitalize; @include theming($not: night) { color: theme-get('color-font'); } @include theming($if: night) { color: #ffffff; } span { white-space: nowrap; } .material-icons { @include theming($not: night) { color: theme-get('color-font'); } @include theming($if: night) { color: #ffffff; } } /*&.mdc-button--outlined { background-color: #ffffff; border: 1px solid rgba(164, 164, 164, 0.22); opacity: 0.5; @include theming($not: night) { color: theme-get('color-font'); } @include theming($if: night) { color: #000000; } .material-icons { @include theming($not: night) { color: theme-get('color-font'); } @include theming($if: night) { color: #000000; } } } &.mdc-button--raised { border: 1px solid transparent; background-color: $knk-color-primary; color: #ffffff; }*/ } &__button#{&}__button--select { width: 105px; justify-content: space-between; cursor: pointer; span { overflow: hidden; text-overflow: ellipsis; } /*.mdc-button__icon { margin-left: 8px; margin-right: -4px; }*/ } &__slider { display: flex; align-items: flex-end; justify-content: space-between; min-height: 80px; margin-bottom: 10px; padding: 2px 0; border-radius: 2px; @include theming { background-color: theme-get('color-secondary'); } nouislider { @include knk-nouislider; display: inline-flex; margin: 6px 0; .noUi-horizontal { width: 100%; margin: auto; } @at-root { html:not([dir=rtl]) & .noUi-horizontal .noUi-handle, & .noUi-horizontal .noUi-handle { right: -6px; } } } } &__slider-pip { display: inline-flex; padding: 0 8px; opacity: 0.5; font-family: Roboto; font-size: 11px; font-weight: normal; font-style: normal; font-stretch: normal; letter-spacing: normal; @include theming { color: theme-get('color-font'); } } &__sort { width: 225px; } &__sort &__button { width: 100%; } } .knk-filter-board-list { list-style-type: none; max-height: 130px; margin: 10px 0; padding: 0; &#{&}--lose-status { margin-top: -15px; } } .knk-filter-board-list-item { display: flex; align-items: center; justify-content: space-between; height: auto; padding: 0 20px 0 25px; cursor: pointer; &__graphic { opacity: 0; position: absolute; width: 0; height: 0; margin: 0; padding: 0; } &__text { margin: 0; cursor: inherit; font-family: Roboto; font-size: 12px; font-weight: normal; font-style: normal; font-stretch: normal; line-height: 1.8; letter-spacing: normal; @include theming { color: theme-get('color-font'); } } &__text#{&}__text--extra { font-weight: bold; color: #00baff; } &__meta { opacity: 0.5; font-family: Roboto; font-size: 10px; font-weight: normal; font-style: normal; font-stretch: normal; line-height: 1.8; letter-spacing: normal; text-align: right; @include theming { color: theme-get('color-font'); } } &__meta#{&}__meta--extra { font-weight: bold; color: #00baff; } & .mdc-checkbox { flex: 0 0 10px; width: 10px; height: 10px; padding: 5px; } & .mdc-checkbox__background { top: 5px; left: 5px; @include theming { border: solid 1px theme-get('color-filter-checkbox'); } } &#{&}--selected { background-color: rgba(108, 102, 251, 0.3); } &#{&}--selected &__text { font-weight: bold; } &#{&}--lose-status { padding-left: 45px; } &#{&}--lose-status .material-icons { margin-right: 2px; font-size: 12.8px; @include theming { color: theme-get('color-coral'); } } &:hover { background-color: rgba(108, 102, 251, 0.1); } } .filter-knok { padding: 10px 0 10px 0; &__tile { position: relative; height: 100%; margin: 0 50px 0 20px; padding: 20px 0 25px 0; &:after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 1px; height: 100%; margin-right: -50px; @include theming { border-right: solid 1px theme-get('color-filter-spacer'); } } } &__tile#{&}__tile--last:after, &__tile:last-child:after { border-right: 0; } &__label { margin-bottom: 15px; opacity: 0.5; font-family: Roboto; font-size: 11px; font-weight: normal; font-style: normal; font-stretch: normal; line-height: normal; letter-spacing: 1px; @include theming { color: theme-get('color-ongoing-label'); } text-transform: uppercase; } &__summary-value { font-family: Roboto; font-size: 32px; font-weight: normal; font-style: normal; font-stretch: normal; line-height: normal; letter-spacing: normal; @include theming { color: theme-get('color-ongoing-label'); } } &__summary-value#{&}__summary-value--positive { color: #56d694; } &__summary-value#{&}__summary-value--negative { color: #ff544d; } } .knk-filter-tristate { padding: 20px 10px; @include knk-font-default; font-size: 12px; @include theming($not: night) { color: theme-get('color-charcoal-grey'); } @include theming($if: night) { color: theme-get('color-white'); } tristate-switcher { margin: 0 4px; } } .knk-filter-search { // overflow: hidden; // position: absolute; // top: 0; // bottom: 0; // right: 0; //left: calc(100% - 80px); line-height: 36px; padding-left: 15px; @include theming { background-color: theme-get('color-secondary'); } &__title { padding: 20px 10px; @include knk-font-default; font-size: 12px; @include theming($not: night) { color: theme-get('color-charcoal-grey'); } @include theming($if: night) { color: theme-get('color-white'); } } &__control { width: 100%; height: 100%; margin: 0; padding: 0 0 0 10px; outline: 0; border: 0; background: transparent none; @include knk-font-default; @include knk-input-placeholder; @include theming($not: night) { color: theme-get('color-charcoal-grey'); } @include theming($if: night) { color: theme-get('color-white'); } font-size: 12px; } }