///// Shadow Variable ////////// $softy_shadow: 0 1px 4px rgba($dark, 0.15); $shady_shadow: 0 0 25px -12px rgba($dark, .15); //// BODY STYLE OVERRIDE //////////////////////////////// .nk-body{ &.ui-clean{ background:$white !important; } &.ui-softy, &.ui-shady, &.ui-softy .nk-header-fixed, &.ui-shady .nk-header-fixed{ background: $lighter !important; } } // SOFTY & SHADY STYLE .ui-softy, .ui-shady{ .card, .code-block, .invoice-wrap, .accordion:not(.accordion-s2):not(.accordion-s3){ border: none; } .table .table-light th { background: rgba($lighter, .5); box-shadow: 0 -1px 5px -5px rgba($dark, 0.7); } .tb-tnx-head{ background: rgba($lighter, .5); } .card .card-inner + .table .tb-tnx-head { border-top: 1px solid $border-color; } .kanban-board-header { border-left: 0; border-right: 0; border-bottom: 0; } .kanban-item { border: 0; } } .ui-softy { .card, .code-block, .invoice-wrap, .accordion:not(.accordion-s2):not(.accordion-s3), &.npc-apps-messages .nk-reply-form, &.npc-apps-inbox .nk-reply-form, .nk-files-view-grid .nk-file, .nk-files-view-group .nk-file, .nk-files-view-list .nk-files-list, .chat-msg, .kanban-board-header, .kanban-item, .kanban-add-task { box-shadow: $softy_shadow; } .card .accordion:not(.accordion-s2):not(.accordion-s3) { box-shadow: none; border: 1px solid $border-color; } } .ui-shady{ .card, .code-block, .invoice-wrap, .accordion:not(.accordion-s2):not(.accordion-s3), &.npc-apps-messages .nk-reply-form, &.npc-apps-inbox .nk-reply-form, .nk-files-view-grid .nk-file, .nk-files-view-group .nk-file, .nk-files-view-list .nk-files-list, .chat-msg, .kanban-board-header, .kanban-item, .kanban-add-task { box-shadow: $shady_shadow; } .card .accordion:not(.accordion-s2):not(.accordion-s3) { box-shadow: none; border: 1px solid $border-color; } } // Apps .ui-softy { .nk-ibx-aside,.nk-ibx-body, .nk-fmg-aside,.nk-fmg-body, .nk-msg-aside,.nk-msg-body, .nk-chat-aside,.nk-chat-body{ box-shadow: $softy_shadow; } } .ui-shady { .nk-ibx-aside,.nk-ibx-body, .nk-fmg-aside,.nk-fmg-body, .nk-msg-aside,.nk-msg-body, .nk-chat-aside,.nk-chat-body{ box-shadow: $shady_shadow; } } .ui-shady, .ui-softy{ .nk-msg-aside, .nk-msg-nav{ background: $white; } .nk-msg-item.active, .nk-msg-item.current { background: rgba($lighter, .5); position: relative; &:after { position: absolute; content: ""; left: 0; top: 0; height: 100%; width: 2px; background: $accent-color; } } &.npc-apps-messages { .nk-msg-item.active, .nk-msg-item.current { background: $lighter; &:after { width: 3px; } } .nk-msg-reply { box-shadow: inset 0 0 8px -5px rgba($darker, .3); } } &.npc-apps-inbox { .nk-ibx-reply, .nk-ibx-nav { box-shadow: inset 0 0 8px -5px rgba($darker, .3); } .nk-ibx-item { box-shadow: 0 0 7px -1px rgba($darker, .1); } } &.npc-apps-chat { .nk-chat-panel { box-shadow: inset 0 0 8px -5px rgba($darker, .3); } } } .ui-clean.npc-apps-messages { .nk-msg-aside, .nk-msg-nav{ background: $white; } .nk-msg-item.active, .nk-msg-item.current { background: $lighter; } } .ui-clean.npc-apps-chat { .nk-chat-panel { background: $white; } .chat.is-you .chat-msg { background-color: $light; color: $base-color; } } .ui-rounder{ .card,.ratio,.accordion,.invoice,.code-block,.swal2-popup,.prettyprint, .invoice-wrap, .nk-ibx,.nk-ibx-body, .nk-fmg-body, .nk-msg-aside,.nk-msg-body, .nk-chat-aside,.note-editor.note-frame,.tox-tinymce{ border-radius: $border-radius-xxl; } .card > .list-group:first-child, .card-header:first-child, .card-img, .card-img-top,.ql-toolbar ,.note-toolbar{ border-top-left-radius: ($border-radius-xxl - 1); border-top-right-radius: ($border-radius-xxl - 1); } .card > .list-group:last-child,.card-footer:last-child,.ql-container { border-bottom-right-radius: ($border-radius-xxl - 1); border-bottom-left-radius: ($border-radius-xxl - 1); } .card .table tr:first-child th:first-child { border-top-left-radius: ($border-radius-xxl - 1); } .card .table tr:first-child th:last-child { border-top-right-radius: ($border-radius-xxl - 1); } } @media (min-width: 860px){ .nk-chat-body{ border-radius: $border-radius-xxl; } } @include media-breakpoint-up(lg){ .nk-ibx-aside,.nk-fmg-aside{ border-radius: $border-radius-xxl; } }