Penambahan FrontEnd All-New-Manufacture

This commit is contained in:
pand03
2026-01-31 14:23:04 +07:00
parent 1b2e320b2b
commit 4feb21dcbc
2891 changed files with 426849 additions and 135 deletions

BIN
public/scss/layout/.DS_Store vendored Normal file

Binary file not shown.

View File

@@ -0,0 +1,7 @@
@import './footer/footer';
@import './header/header';
@import './sidebar/sidebar';
@import './theme/theme';
@import './typography/typography';
@import './version-transparent/main';
@import './version-dark/main';

View File

@@ -0,0 +1,21 @@
.footer {
padding-#{$dlab-pos-left}: var(--dz-sidebar-width);
background-color: var(--card);
font-size: 0.875rem;
.copyright {
padding: 0.9375rem;
p {
text-align: center;
margin: 0;
color:var(--text-gray);
}
a{
color: var(--primary);
}
}
}

View File

@@ -0,0 +1,56 @@
/////////////////
// Header
/////////////////
.header {
height: var(--dz-header-height);
z-index: 1;
position: var(--dz-header-pos);
padding: 0rem;
background:var(--headerbg);
z-index: 3;
top: 0;
width: 100%;
padding-#{$dlab-pos-left}: var(--dz-sidebar-width);
transition: all .2s ease;
.header-content {
position: relative;
height: 100%;
padding-#{$dlab-pos-left}: 5rem;
padding-#{$dlab-pos-right}: 1.875rem;
align-items: center;
display: flex;
@include custommq($max: 47.9375rem) {
padding-#{$dlab-pos-left}: 3.75rem;
padding-#{$dlab-pos-right}: 0.938rem;
}
@include respond ('phone'){
padding-#{$dlab-pos-right}:0.538rem;
}
.nav-control{
#{$dlab-pos-right}: auto;
#{$dlab-pos-left}: 1rem;
}
}
.navbar {
padding: 0;
height: 100%;
width: 100%;
.navbar-collapse {
height: 100%;
width: 100%;
}
}
@include respond('phone-land'){
padding-#{$dlab-pos-left}: 5rem;
}
}
[data-header-position="fixed"] {
--dz-header-pos : fixed;
.content-body {
padding-top: var(--dz-header-height);
}
}

View File

@@ -0,0 +1,57 @@
.header-left {
height: 100%;
display: flex;
align-items: center;
.breadcrumb{
margin-bottom:0;
}
.dashboard_bar {
font-size: var(--dz-head-title-size);
font-weight: 600;
color:var(--text-dark);
@include respond('phone-land') {
display:none;
}
&.sub-bar{
font-size:1.875rem;
}
}
.search-area{
margin-#{$dlab-pos-left}: 7rem;
}
}
.search-area{
width:18.875rem;
border-radius: 2.375rem;
@include respond('tab-land') {
display:none;
}
.form-control{
border:0;
background:var(--body-bg);
height:3rem;
&:hover,&:focus{
background:var(--body-bg);
}
}
.input-group-text{
border-top-#{$dlab-pos-right}-radius: $radius !important;
border-bottom-#{$dlab-pos-right}-radius: $radius !important;
border-radius: 0;
padding: 0.4rem 0.75rem;
background:var(--body-bg);
.btn{
padding: 0;
border: 0;
i{
font-size:1.3rem;
}
&:active{
color: var(--text-dark);
}
}
}
}

View File

@@ -0,0 +1,289 @@
.header-right {
height: 100%;
.nav-item {
height: 100%;
display: flex;
align-items: center;
.nav-link {
color: var(--text-gray);
font-size: 1.125rem;
padding-#{$dlab-pos-right}: 0;
padding-#{$dlab-pos-left}: 0;
}
}
&>li {
&:not(:first-child) {
padding-#{$dlab-pos-left}:1rem;
@include respond('phone') {
padding-#{$dlab-pos-left}:0.4rem;
}
}
}
.notification_dropdown {
@include respond('phone-land') {
position: static;
}
.nav-link {
position: relative;
border-radius: $radius;
padding: 0.9375rem;
line-height: 1;
svg{
width:1.25rem;
height:1.25rem;
path{
fill : var(--text-gray);
}
}
@include respond('laptop') {
padding:0.625rem;
}
i {
font-size: 1.5rem;
@include respond('laptop') {
font-size: 1.125rem;
}
}
.badge {
position: absolute;
font-size: 0.625rem;
border-radius: 50%;
#{$dlab-pos-right}: 0rem;
top: 0rem;
font-weight: normal;
height: 1.3rem;
width: 1.3rem;
line-height: 1.7;
text-align: center;
padding: 0;
font-size: 0.7rem;
box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
min-width: 1.3rem;
min-height: 1.3rem;
@include respond('phone-land') {
height: 1.125rem;
width:1.125rem;
padding: 0;
line-height: 1.2rem;
}
}
}
.dropdown-item {
&:focus,
&:active {
a {
color: $white;
}
}
a {
color: $dark;
&:hover {
text-decoration: none;
}
}
}
}
.dropdown-menu {
border-width:0;
box-shadow: 0 0 2.3125rem rgba(8,21,66,0.05);
// @at-root [data-theme-version="dark"] & {
// box-shadow: none;
// }
}
}
.dlab-fullscreen{
#icon-minimize{
display:none;
}
&.active{
#icon-full{
display:none;
}
#icon-minimize{
display:inline-block;
}
}
}
.dlab-theme-mode{
#icon-light{
display:none;
}
&.active{
#icon-light{
display:inline-block;
}
#icon-dark{
display:none;
}
}
}
.moon{
path{
fill:var(--priamry);
}
}
.notification_dropdown {
.dropdown-menu-end {
min-width: 19.375rem;
padding: 0rem 0 1rem;
top: 100%;
text-align: #{$dlab-pos-left};
.notification_title {
background: var(--primary);
color: $white;
padding: 0.625rem 1.25rem;
h5 {
color: $white;
margin-bottom: 0.1875rem;
}
}
.media {
width: 2.8125rem ;
height: 2.8125rem ;
font-size: 1.125rem ;
&>span {
width: 2.1875rem;
height: 2.1875rem;
border-radius: 3.125rem;
display: inline-block;
padding: 0.4375rem 0.5625rem;
margin-#{$dlab-pos-right}: 0.625rem;
&.success {
background: $success-light;
color: $success;
}
&.primary {
background: var(--rgba-primary-1);
color: var(--primary);
}
&.danger {
background: $danger-light;
color: $danger;
}
}
.notify-time {
width: 100%;
margin-#{$dlab-pos-right}: 0;
color: $l-ctl;
}
p {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
max-width: 12.5rem;
margin-bottom: 0;
margin-top: 0.3125rem;
@include respond('phone') {
max-width: 6.25rem;
}
}
}
.all-notification {
display: block;
padding: 0.9375rem 1.875rem 0;
color:var(--primary);
text-align: center;
border-top: 0.0625rem solid $light;
i {
margin-#{$dlab-pos-left}: 0.625rem;
}
}
}
}
.header-profile {
&>a.nav-link {
padding:0;
display: flex;
align-items: center;
margin-#{$dlab-pos-left}: 0.9375rem;
i {
font-weight: 700;
}
.header-info{
padding-#{$dlab-pos-left}: 0rem;
text-align: left;
@include respond('laptop') {
padding-#{$dlab-pos-left}: 0.625rem;
}
@include respond('phone') {
display:none;
}
span{
font-size:1rem;
color:$black;
display: block;
font-weight: 600;
}
strong{
color:$dark;
}
small{
display:block;
font-size: 0.8125rem;
color:$muted;
font-weight:400;
line-height: 1.2;
}
}
@include respond ('laptop'){
margin-#{$dlab-pos-left}: 0rem;
padding-#{$dlab-pos-left}:0rem;
.header-info{
span{
font-size:1rem;
}
}
}
}
.dropdown-menu {
padding: 0.9375rem 0;
min-width: 12.5rem;
a {
&:hover,
&:focus,
&.active {
color: $primary;
}
}
}
img {
width: 3rem;
height: 3rem;
border-radius: $radius;
@include respond ('phone-land'){
width: 2.5rem;
height: 2.5rem;
}
}
.dropdown-toggle {
i {
font-size: 1.25rem;
}
span {
@include respond('phone') {
display: none;
}
}
}
.profile_title {
background: $primary;
color: $white;
padding: 0.625rem 1.25rem;
h5 {
color: $white;
margin-bottom: 0.1875rem;
}
}
.dropdown-item {
padding: 0.5rem 1.5rem;
}
}

View File

@@ -0,0 +1,7 @@
@import './nav-header/nav-header';
@import './header-global';
@import './header-left';
@import './header-right';

View File

@@ -0,0 +1,186 @@
.nav-header {
height: var(--dz-header-height);
width: var(--dz-sidebar-width);
display: inline-block;
text-align: #{$dlab-pos-left};
position: absolute;
top:0;
background-color:var(--nav-headbg);
transition: all .2s ease;
z-index: 7;
.logo-abbr {
max-width: 2.9375rem;
@include respond('laptop') {
max-width: 2.8125rem;
}
@include respond('phone') {
width:2.1875rem;
height:2.1875rem;
}
}
.logo-compact {
display: none;
}
.brand-logo {
display: flex;
height: 100%;
width: 100%;
justify-content: flex-start;
align-items: center;
font-size: 1.125rem;
color: $white;
text-decoration: none;
padding-left: 1.5rem;
padding-right: 1.5rem;
font-weight: 700;
@include respond('laptop') {
padding-left: 1.25rem;
padding-right:1.25rem;
}
@include respond('phone-land') {
padding-left: 0;
padding-right: 0;
justify-content: center;
}
}
.brand-title {
margin-#{$dlab-pos-left}: 0.9375rem;
max-width: 8.75rem;
@include respond('phone-land'){
display: none;
}
}
.rect-primary-rect{
fill:var(--primary);
}
@include respond('phone-land'){
width: 5rem;
background-color: transparent;
}
}
.nav-control {
cursor: pointer;
position: absolute;
#{$dlab-pos-right}: -4rem;
text-align: center;
top: 55%;
transform: translateY(-50%);
z-index: 9999;
font-size: 1.4rem;
padding: 0.125rem 0.5rem 0;
border-radius: 0.125rem;
@include respond('phone-land') {
#{$dlab-pos-right}: -3rem;
}
@include respond('phone') {
#{$dlab-pos-right}: -3rem;
}
}
////////////////////
// Humbuger Icon
////////////////////
.hamburger {
display: inline-block;
#{$dlab-pos-left}: 0rem;
position: relative;
top: 0rem;
-webkit-transition: all 0.3s ease-in-out 0s;
transition: all 0.3s ease-in-out 0s;
width: 1.625rem;
z-index: 999;
}
.hamburger .line {
background: var(--text-gray);
display: block;
height: 2px;
border-radius: 0.1875rem;
margin-top: 0.375rem;
margin-bottom: 0.375rem;
margin-#{$dlab-pos-right}: auto;
-webkit-transition: all 0.3s ease-in-out;
transition: all 0.3s ease-in-out;
}
.hamburger .line:nth-child(1) {
width: 1.625rem;
}
.hamburger .line:nth-child(2) {
width: 1.625rem;
}
.hamburger .line:nth-child(3) {
width: 0.9375rem;
}
.hamburger:hover {
cursor: pointer;
}
.hamburger:hover .line {
width: 1.625rem;
}
.hamburger.is-active .line:nth-child(1),
.hamburger.is-active .line:nth-child(3) {
width: 0.625rem;
height: 0.125rem;
}
.hamburger.is-active .line:nth-child(2) {
-webkit-transform: translateX(0px);
transform: translateX(0px);
width: 1.375rem;
height: 0.125rem;
}
.hamburger.is-active .line:nth-child(1) {
-webkit-transform: translateY(4px) translateX(12px) rotate(45deg);
transform: translateY(4px) translateX(12px) rotate(45deg);
}
.hamburger.is-active .line:nth-child(3) {
-webkit-transform: translateY(-4px) translateX(12px) rotate(-45deg);
transform: translateY(-4px) translateX(12px) rotate(-45deg);
}
[data-header-position="fixed"],
[data-sidebar-position="fixed"][data-layout="vertical"],
[data-sidebar-position="fixed"][data-header-position="fixed"]{
.nav-header{
position: fixed;
}
}
[data-sidebar-style="compact"][data-layout="vertical"] {
.nav-header {
.brand-title {
display: none;
}
.logo-compact {
max-width: 4.6875rem;
}
.brand-logo{
justify-content: center;
}
}
}
[data-sidebar-style="modern"][data-layout="vertical"] {
.nav-header {
.brand-title {
display: none;
}
.brand-logo{
justify-content: center;
}
.logo-compact {
display: none;
}
}
}

View File

@@ -0,0 +1 @@
@import './nav-control';

View File

View File

@@ -0,0 +1,10 @@
// html[dir="rtl"] {
//content body
[direction="rtl"] {
.bootstrap-select .dropdown-toggle .filter-option{
text-align: right
}
}

View File

View File

@@ -0,0 +1,20 @@
//nav header styles
[direction="rtl"] {
.nav-header{
.brand-title{
direction: ltr;
}
}
.hamburger.is-active .line:nth-child(1){
-webkit-transform: translateY(4px) translateX(-12px) rotate(-45deg);
transform: translateY(4px) translateX(-12px) rotate(-45deg);
}
.hamburger.is-active .line:nth-child(3) {
-webkit-transform: translateY(-4px) translateX(-12px) rotate(45deg);
transform: translateY(-4px) translateX(-12px) rotate(45deg);
}
}

View File

@@ -0,0 +1,10 @@
//global styles
[direction="rtl"] {
&[data-theme-version="dark"] {
.border, .border-left, .border-right {
border-color: $d-border !important;
}
}
}

View File

@@ -0,0 +1,75 @@
//sidebar styles
[direction="rtl"] {
--dz-side-sub_nav-padding: .4rem 4rem .4rem 1rem;
@media (min-width:47.9375rem) {
&[data-sidebar-style="compact"] {
--dz-side-sub_nav-padding : .5rem 0.5rem;
}
&[data-sidebar-style="modern"] {
--dz-side-sub_nav-padding : .5rem 1.2rem;
}
&[data-sidebar-style="icon-hover"][data-layout="vertical"]{
--dz-side-nav-padding : .85rem 1rem;
}
}
@media (min-width: 64rem) {
&[data-layout="horizontal"] {
--dz-side-sub_nav-padding : .5rem 1.2rem;
.dlabnav .metismenu > li > a::after {
transform: rotate(-135deg) translateY(-50%);
}
&[data-sidebar-style="full"],
&[data-sidebar-style="icon-hover"]{
.dlabnav{
.metismenu{
&>li{
&>a{
&.has-arrow{
--dz-side-nav-padding : .7rem .85rem .7rem 2.4rem;
}
}
}
}
}
}
}
}
.dlabnav{
.header-info2{
padding: 0.35rem 0.35rem 0.35rem 1rem;
}
.metismenu{
.has-arrow::after{
-webkit-transform: rotate(-45deg) translateY(-50%);
transform: rotate(-45deg) translateY(-50%);
}
.mm-active{
& > .has-arrow::after{
-webkit-transform: rotate(-135deg) translateY(-50%);
transform: rotate(-135deg) translateY(-50%);
}
}
}
}
&[data-sidebar-style="icon-hover"][data-layout="vertical"] .dlabnav .header-info2{
padding: 0.35rem 1rem 0.35rem .35rem;
}
@media only screen and (min-width: 48rem) {
&[data-sidebar-style="mini"] .dlabnav .header-info2,
&[data-sidebar-style="compact"] .dlabnav .header-info2,
&[data-sidebar-style="modern"] .dlabnav .header-info2 {
padding: .35rem;
}
}
&[data-sidebar-style="overlay"] {
&[data-layout="vertical"]{
--dz-side-sub_nav-padding : .5rem 3.5rem .5rem .5rem;
}
}
}

View File

@@ -0,0 +1,7 @@
@import './rtl-reset';
@import './rtl-nav-header';
@import './rtl-header';
@import './rtl-sidebar';
@import './rtl-global';
@import './rtl-sidebar-right';
@import './rtl-footer';

View File

@@ -0,0 +1,138 @@
.dlab-demo-panel {
#{$dlab-pos-right}: -100%;
position: fixed;
top: 0;
width: 100%;
height: 100vh;
transition: all .5s ease-in-out;
z-index: 9999;
.dlab-demo-trigger {
position: absolute;
z-index: 9;
top: 21.75rem;
#{$dlab-pos-right}: 100%;
background-color: $secondary;
color: $white;
display: inline-block;
height: 3rem;
width: 3rem;
text-align: center;
font-size: 1.75rem;
line-height: 3rem;
border-radius: 0;
border-top-#{$dlab-pos-left}-radius : $radius;
border-bottom-#{$dlab-pos-left}-radius : $radius;
box-shadow: -5px 3px 5px 0px rgba(119, 119, 119, 0.15);
@include custommq($max: 1023px) {
display:none;
}
@include respond ('phone'){
height:35px;
width:35px;
line-height:35px;
font-size: 22px;
}
}
.dlab-demo-close{
height:30px;
color:$black;
width:30px;
border-radius:$radius;
background:$white;
line-height:30px;
text-align:center;
}
&.show {
#{$dlab-pos-right}: 0;
box-shadow: 0px 0px 50px rgba(0 ,0 ,0 ,0.2);
z-index: 99999;
overflow:hidden;
.sidebar-right-trigger{
display:none;
}
.bg-close{
position:fixed;
z-index: -2;
cursor:pointer;
width:100%;
height:100%;
top:0;
#{$dlab-pos-left}:0;
background:rgba($black,0.6);
}
}
.dlab-demo-inner{
padding: 30px 30px;
background:#331e1e9e;
}
.dlab-demo-content{
height: calc(100vh - 200px);
padding: 0 15px;
margin: 0 -15px;
overflow-y: auto;
.text-black{
color:$black!important;
}
}
.dlab-demo-header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom: 20px;
h4{
margin-bottom:0;
color:$black!important;
}
}
.dlab-demo-bx{
height:300px;
overflow:hidden;
border:2px solid #efefef;
box-shadow:0px 5px 10px rgba(0,0,0,0.1);
margin-bottom: 10px;
border-radius: 5px;
&.demo-active{
border-color:$secondary;
.overlay-layer{
opacity: 1;
}
}
}
.overlay-bx{
position:relative;
.overlay-layer{
position: absolute;
top: 0;
bottom: 0;
#{$dlab-pos-left}: 0;
#{$dlab-pos-right}: 0;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
background-color: rgba(0,0,0,.1);
-webkit-transition: all .3s ease;
transition: all .3s ease;
opacity: 0;
}
&:hover{
.overlay-layer{
-webkit-transition: all .3s ease;
transition: all .3s ease;
opacity: 1;
}
}
}
@include respond ('phone'){
.dlab-demo-bx{
height:230px;
}
}
}

View File

@@ -0,0 +1,379 @@
.chatbox{
width:21.25rem;
height:100vh;
position:fixed;
#{$dlab-pos-right}:-31.25rem;
top:0;
z-index:999;
background:#fff;
box-shadow: 0rem 0rem 1.875rem 0rem rgba(82, 63, 105, 0.15) ;
@include transitionSlow;
@at-root [data-theme-version="dark"] & {
background:$dark-card;
}
.chatbox-close{
position: absolute;
@include transitionFast;
width: 0;
height: 100%;
#{$dlab-pos-right}: 21.25rem;
background: #000;
z-index: 1;
opacity: 0.1;
cursor:pointer;
}
.card-fotter {
padding: 0.75rem 1rem;
}
.card-body {
padding: 1rem;
}
&.active{
#{$dlab-pos-right}:0;
.chatbox-close{
width: 100vw;
}
}
.type_msg {
padding-top: 0.625rem;
}
.nav{
padding: 1rem 1rem 0 1rem;
background:var(--rgba-primary-1);
border: 0;
justify-content: space-between;
.nav-link{
color: var(--primary);
opacity: 0.7;
text-transform: uppercase;
&:hover,
&.active{
background:transparent;
color: var(--primary);
opacity: 1;
border-color: var(--primary);
}
}
}
.img_cont{
width: 2.5rem;
border-radius: 2.5rem;
margin-#{$dlab-pos-right}: 0.625rem;
position: relative;
height: 2.5rem;
background: #eee;
display: flex;
align-items: center;
justify-content: center;
font-weight: 600;
font-size: 0.875rem;
min-width: 2.5rem;
min-height: 2.5rem;
.icon{
color:#fff;
}
&.primary{
background:var(--rgba-primary-1);
color:var(--primary);
@at-root [data-theme-version="dark"] & {
background:var(--rgba-primary-1);
}
}
&.warning{
background:$warning-light;
color:$warning;
@at-root [data-theme-version="dark"] & {
background:$warning-opacity;
}
}
&.success{
background:$success-light;
color:$success;
@at-root [data-theme-version="dark"] & {
background:$success-opacity;
}
}
&.info{
background:$info-light;
color:$info;
@at-root [data-theme-version="dark"] & {
background:$info-opacity;
}
}
img{
width:100%;
}
.online_icon{
background: $success;
position: absolute;
width: 0.75rem;
height: 0.75rem;
border-radius: 0.9375rem;
#{$dlab-pos-right}: -0.0625rem;
bottom: 0rem;
border: 0.125rem solid #fff;
&.offline{
background:$danger;
}
}
}
.card{
box-shadow:none;
}
.search{
height:2.5rem;
}
.user_info{
span{
font-size: 0.9375rem;
color: #000;
display: block;
font-weight: 500;
line-height: 1;
margin-bottom: 0.3125rem;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
display: block;
max-width: 10.625rem;
@at-root [data-theme-version="dark"] & {
color: $white;
}
}
p{
font-size:0.8125rem;
margin-bottom:0;
line-height: 1;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
display: block;
max-width: 10.625rem;
}
}
.contacts{
li{
padding: 0.4375rem 1rem;
border-bottom: 0.0625rem solid #eee;
cursor: pointer;
@at-root [data-theme-version="dark"] & {
border-color: $d-border;
}
& > div{
display:flex;
align-items:center;
}
&:hover{
background:#f4f7ff;
@at-root [data-theme-version="dark"] & {
background-color: $d-bg;
}
}
}
.name-first-letter{
background: $body-bg;
padding: 0.25rem 1rem;
font-weight: 700;
color: #000;
position: sticky;
top: 0;
z-index: 1;
@at-root [data-theme-version="dark"] & {
color: $white;
background:$d-bg;
}
}
}
.contacts_body{
height: calc(100vh - 120px);
}
.card-header{
background:#f4f7ff;
padding: 0.9375rem 1.25rem;
justify-content: center;
h6{
font-size:0.9375rem;
}
p{
line-height:1.2;
font-size:0.75rem;
color: $body-color;
}
}
.chat-list-header{
justify-content: space-between;
background: #fff;
@at-root [data-theme-version="dark"] & {
background: $dark-card;
}
a{
text-align: center;
width: 1.875rem;
height: 1.875rem;
background: $body-bg;
border-radius: 0.375rem;
line-height: 1.875rem;
display: block;
@at-root [data-theme-version="dark"] & {
background:var(--rgba-primary-1);
svg g [fill]{
fill:$white;
}
}
}
}
.img_cont_msg {
width: 1.875rem;
height: 1.875rem;
display: block;
max-width: 1.875rem;
min-width: 1.875rem;
img{
width:100%;
}
}
.msg_cotainer {
background: var(--primary);
margin-#{$dlab-pos-left}: 0.625rem;
border-top-#{$dlab-pos-right}-radius: $radius;
border-bottom-#{$dlab-pos-right}-radius: $radius;
border-bottom-#{$dlab-pos-left}-radius: $radius;
padding: 0.625rem 0.9375rem;
color:#fff;
position:relative;
.msg_time{
display: block;
font-size: 0.6875rem;
color: #fff;
margin-top: 0.3125rem;
opacity: 0.5;
}
&:after{
content: "";
position: absolute;
#{$dlab-pos-left}: -0.625rem;
border-#{$dlab-pos-right}: 0.625rem solid var(--primary);
border-bottom: 0.625rem solid transparent;
border-top: 0rem solid;
top: 0;
}
}
.msg_cotainer_send {
background: $body-bg;
padding: 0.625rem 0.9375rem;
border-radius: 0.375rem 0rem 0.375rem 0.375rem;
margin-#{$dlab-pos-right}: 0.625rem;
color: #222;
position: relative;
text-align: right;
@at-root [data-theme-version="dark"] & {
background:$d-bg;
color:$white;
}
.msg_time_send {
display: block;
font-size: 0.6875rem;
text-align: right;
margin-top: 0.3125rem;
opacity: 0.6;
}
&:after{
content: "";
position: absolute;
#{$dlab-pos-right}: -0.625rem;
border-#{$dlab-pos-left}: 0.625rem solid $body-bg;
border-bottom: 0.625rem solid transparent;
border-top: 0rem solid;
top: 0;
@at-root [data-theme-version="dark"] & {
border-#{$dlab-pos-left}: 0.625rem solid $d-bg;
}
}
}
.type_msg{
.form-control{
padding: 0.625rem 0.5rem;
height: 3.125rem;
line-height:1.8rem;
border: 0;
resize: none;
@at-root [data-theme-version="dark"] & {
background: $dark-card;
}
&:focus{
z-index:0;
}
}
.btn{
font-size: 1.125rem;
border-radius: 2.375rem !important;
width: 2.375rem;
height: 2.375rem;
padding: 0;
margin-top: 0.375rem;
}
}
.video_cam{
margin-#{$dlab-pos-left}:0.9375rem;
span{
width: 2.1875rem;
height: 2.1875rem;
background: #10ca93;
text-align: center;
line-height: 2.1875rem;
border-radius: 2.1875rem;
color: #fff;
margin-#{$dlab-pos-right}: 0.3125rem;
align-self: center;
font-size: 1rem;
padding: 0 0.1875rem;
display: inline-block;
}
}
.note_card{
.contacts li{
padding: 0.75rem 1rem;
}
}
}
@include custommq($max: 36rem) {
.chatbox{
width: 17.5rem;
.chatbox-close{
#{$dlab-pos-right}: 17.5rem
}
}
}

View File

@@ -0,0 +1,432 @@
//common mega-menu styles
[data-sidebar-style="full"][data-layout="vertical"] .menu-toggle,
[data-sidebar-style="mini"][data-layout="vertical"] {
.dlabnav {
.metismenu {
&>li {
&.mega-menu {
&> ul.collapse:not(.in) {
height: 15.75rem !important;
}
&:hover {
&>a {
width: calc(70vw + 3.75rem);
}
&>ul {
display: flex;
flex-wrap: wrap;
flex-direction: column;
max-height: 13.75rem;
width: 70vw;
ul a {
width: 101%;
}
}
}
&-xl {
&:hover {
&>a {
width: calc(70vw + 3rem);
}
&>ul {
max-height: 12.5rem;
width: 70vw;
ul a {
width: 101%;
}
}
}
}
&-lg {
&:hover {
&>a {
width: calc(55vw + 3rem);
}
&>ul {
max-height:12.5rem;
width: 55vw;
ul a {
width: 101%;
}
}
}
}
&-md {
&:hover {
&>a {
width: calc(45vw + 3);
}
&>ul {
max-height: 18.75rem;
width: 45vw;
ul a {
width: 101%;
}
}
}
}
&-sm {
&:hover {
&>a {
width: calc(30vw + 3);
}
&>ul {
max-height: 18.125rem;
width: 30vw;
ul a {
width: 101%;
}
}
}
}
}
}
}
}
}
[data-sidebar-style="mini"][data-layout="vertical"][data-container="boxed"] {
.dlabnav {
.metismenu {
&>li {
&.mega-menu {
&:hover {
&>a {
width: calc(60vw + 3.75rem);
}
&>ul {
display: flex;
flex-wrap: wrap;
flex-direction: column;
max-height: 25rem;
width: 60vw;
ul a {
width: 101%;
}
}
}
&-xl {
&:hover {
&>a {
width: calc(60vw + 3.75rem);
}
&>ul {
max-height: 25.625rem;
width: 60vw;
}
}
}
&-lg {
&:hover {
&>a {
width: calc(50vw + 3.75rem);
}
&>ul {
max-height: 16.25rem;
width: 50vw;
}
}
}
&-md {
&:hover {
&>a {
width: calc(40vw + 3.75rem);
}
&>ul {
max-height: 18.75rem;
width: 40vw;
}
}
}
&-sm {
&:hover {
&>a {
width: calc(22vw + 3.75rem);
}
&>ul {
max-height: 18.125rem;
width: 22vw;
}
}
}
}
}
}
}
}
//mega menu for horizontal layout
[data-layout="horizontal"] {
.dlabnav {
.metismenu {
&>li {
&.mega-menu {
&:not(:last-child) {
position: static;
}
ul {
#{$dlab-pos-left}: 0;
#{$dlab-pos-right}: 0;
li {
@at-root [data-theme-version="dark"]#{&} {
border-color: $d-border;
}
@at-root [data-sidebarbg="color_2"]#{&} {
border-color: darken($color_pallate_2, 20%);
}
@at-root [data-sidebarbg="color_3"]#{&} {
border-color: darken($color_pallate_3, 20%);
}
@at-root [data-sidebarbg="color_4"]#{&} {
border-color: darken($color_pallate_4, 20%);
}
@at-root [data-sidebarbg="color_5"]#{&} {
border-color: darken($color_pallate_5, 20%);
}
@at-root [data-sidebarbg="color_6"]#{&} {
border-color: darken($color_pallate_6, 20%);
}
@at-root [data-sidebarbg="color_7"]#{&} {
border-color: darken($color_pallate_7, 20%);
}
@at-root [data-sidebarbg="color_8"]#{&} {
border-color: darken($color_pallate_8, 20%);
}
@at-root [data-sidebarbg="color_9"]#{&} {
border-color: darken($color_pallate_9, 20%);
}
@at-root [data-sidebarbg="color_10"]#{&} {
border-color: darken($color_pallate_10, 20%);
}
a {
transition: all .4s ease-in-out;
&:hover {
border-radius: 0.25rem;
}
}
}
}
&:hover {
&>ul {
display: flex;
flex-wrap: wrap;
flex-direction: column;
max-height: 13.75rem;
width: 70vw;
z-index: 99;
&::after {
content: "";
height: 100%;
width: 0.0625rem;
position: absolute;
background-color: $white;
#{$dlab-pos-right}: 2.8125rem;
top: 0;
@at-root [data-theme-version="dark"]#{&} {
background-color: lighten($color: $d-bg, $amount: 3.2%);
}
@at-root [data-sidebarbg="color_2"]#{&} {
background-color: darken($color_pallate_2, 10%);
}
@at-root [data-sidebarbg="color_3"]#{&} {
background-color: darken($color_pallate_3, 10%);
}
@at-root [data-sidebarbg="color_4"]#{&} {
background-color: darken($color_pallate_4, 10%);
}
@at-root [data-sidebarbg="color_5"]#{&} {
background-color: darken($color_pallate_5, 10%);
}
@at-root [data-sidebarbg="color_6"]#{&} {
background-color: darken($color_pallate_6, 10%);
}
@at-root [data-sidebarbg="color_7"]#{&} {
background-color: darken($color_pallate_7, 10%);
}
@at-root [data-sidebarbg="color_8"]#{&} {
background-color: darken($color_pallate_8, 10%);
}
@at-root [data-sidebarbg="color_9"]#{&} {
background-color: darken($color_pallate_9, 10%);
}
@at-root [data-sidebarbg="color_10"]#{&} {
background-color: darken($color_pallate_10, 10%);
}
}
ul a {
width: 101%;
}
}
}
&-xl {
&:hover {
&>ul {
max-height: 13.125rem;
width: 70vw;
}
}
}
&-lg {
&:hover {
&>ul {
max-height: 13.125rem;
width: 43.75rem;
height: 13.125rem !important;
@include custommq($min: 75rem, $max: 93.75rem) {
width: 43.75rem;
}
}
}
}
&-md {
&:hover {
&>ul {
max-height: 20rem;
width: 54vw;
@include custommq($min: 75rem, $max: 93.75rem) {
width: 60vw;
}
}
}
}
&-sm {
&:hover {
&>ul {
max-height: 20rem;
width: 25vw;
@include custommq($min: 75rem, $max: 93.75rem) {
width: 35vw;
}
}
}
}
}
}
}
}
}
[data-layout="horizontal"][data-container="boxed"] {
.dlabnav {
.metismenu {
&>li {
&.mega-menu {
&:hover {
&>ul {
display: flex;
flex-wrap: wrap;
flex-direction: column;
}
}
&-xl {
&:hover {
&>ul {
max-height: 21.875rem;
width: 100%;
}
}
}
&-lg {
&:hover {
&>ul {
max-height: 21.875rem;
width: 55vw;
}
}
}
&-md {
&:hover {
&>ul {
max-height: 18.75rem;
width: 45vw;
}
}
}
&-sm {
&:hover {
&>ul {
max-height: 18.125rem;
width: 50vw;
}
}
}
}
}
}
}
}

View File

@@ -0,0 +1,174 @@
////////////////
// Compact Nav
////////////////
@media (min-width:47.9375rem) {
[data-sidebar-style="compact"] {
--dz-sidebar-width : 10rem;
--dz-side-nav-padding : 1rem 0.5rem;
--dz-side-nav-size : 0.9375rem;
--dz-side-info : none;
--dz-side-copyright : none;
--dz-side-sub_nav-padding : .5rem 0.5rem;
--dz-side-sub_nav-size : 0.85rem;
.nav-header {
.nav-control {
display: none;
}
}
.header{
.nav-control{
display: none;
}
.header-content{
padding-#{$dlab-pos-left}: 2rem;
}
}
.dlabnav {
.header-profile2{
&>a.nav-link{
text-align: center;
}
}
.metismenu {
li {
text-align: center;
a {
svg{
max-width: 1.3125rem;
max-height: 1.3125rem;
display: block;
margin-#{$dlab-pos-left}: auto;
margin-#{$dlab-pos-right}: auto;
}
i{
@include transitionMedium;
}
}
ul:after{
content:none;
}
& > a{
background: transparent;
}
}
}
.header-info2{
justify-content: center;
padding : .35rem;
display: inline-flex!important;
img{
margin-#{$dlab-pos-right}: 0;
}
}
.sidebar-info{
display:none!important;
}
.badge{
display: none;
}
}
.nav-text {
display: inline-block;
margin-top: 0.3125rem;
}
.nav-label {
&.first{
display: none;
}
}
.nav-badge{
display: none;
}
&[data-layout="vertical"]{
.dlabnav {
.metismenu {
& > li {
&:hover,
&.mm-active{
&>a i{
background:var(--rgba-primary-1);
color:var(--primary);
}
}
}
}
.dropdown-menu .dropdown-item{
font-size: .85rem;
padding: 0.5rem 1.2rem;
}
}
}
}
}
[data-layout="vertical"][data-sidebar-style="compact"] {
--dz-side-ico-height : 3.2rem;
--dz-side-ico-width : 3.2rem;
--dz-side-nav-size : 0.875rem;
.dlabnav {
.metismenu {
ul{
margin-#{$dlab-pos-left}:0;
border:0;
background: rgba(0,0,0,0.02);
padding: 0.625rem 0;
a{
&:before{
content:none;
}
}
}
&>li {
&>a{
.badge-xs{
&.style-1{
margin-#{$dlab-pos-left}:0px;
}
}
& > i{
margin-#{$dlab-pos-right}: auto;
margin-#{$dlab-pos-left}: auto;
display: flex;
align-items: center;
justify-content: center;
background: var(--body-bg);
border-radius: 0.5rem;
}
}
&>a.has-arrow::after {
top: 0.0625rem;
display: inline-block;
#{$dlab-pos-right}: auto;
margin-#{$dlab-pos-left}: 0.3125rem;
position: relative;
width: 0.4375rem;
height: 0.4375rem;
border-width: 0.125rem 0rem 0rem 0.125rem;
}
}
}
}
}

View File

@@ -0,0 +1,253 @@
[data-sidebar-style="full"][data-layout="vertical"] {
.dlabnav{
.metismenu{
& > li{
& > a{
@include transitionMedium;
&:before{
position:absolute;
content:"";
background:var(--primary);
width:0;
opacity: .8;
height:100%;
top:0;
#{$dlab-pos-right}:0rem;
@include transitionMedium;
border-radius:1.25rem;
}
}
&.mm-active{
& > a{
&:before{
width:0.3rem;
}
i{
color: var(--primary);
}
}
}
.has-arrow:after{
#{$dlab-pos-right}: 1.5rem;
}
}
ul{
a{
&:before{
content: "";
height: 0.125rem;
width: 0.375rem;
background: var(--rgba-primary-5);
position: absolute;
#{$dlab-pos-left}: 2.5rem;
top: 50%;
transform: translateY(-50%);
@include transitionMedium;
}
&:hover{
padding-#{$dlab-pos-left}:4.2rem;
&:before{
width:1rem;
}
}
}
}
}
}
.menu-toggle {
--dz-sidebar-pos : absolute;
--dz-sidebar-width : 6rem;
--dz-side-info : none;
--dz-side-copyright : none;
--dz-side-nav-padding : 1.125rem 1.125rem;
--dz-side-sub_nav-padding : 0.375rem 1.25rem 0.375rem 1.25rem;
.nav-header {
z-index: 999;
.brand-logo {
padding-#{$dlab-pos-left}: 0;
padding-#{$dlab-pos-right}: 0;
justify-content: center;
}
.nav-control {
#{$dlab-pos-right}: -4rem;
.hamburger {
.line {
background-color: var(--primary);
}
}
}
.brand-title{
display: none;
}
}
.header {
.header-content{
padding-#{$dlab-pos-left}:5rem;
}
}
.header-profile2 .dropdown-menu.show{
width: 11rem;
}
.dlabnav {
overflow: visible;
.nav-text,
.badge {
display: none;
}
.slimScrollDiv,
.dlabnav-scroll {
overflow: visible;
}
.header-info2{
padding:0;
justify-content: center;
img{
margin-#{$dlab-pos-right}: 0;
}
}
.sidebar-info{
display:none!important;
}
.header-profile2{
margin: 0 0.5rem;
}
.metismenu {
ul{
a{
&:hover{
padding: var(--dz-side-sub_nav-padding);
}
}
}
li {
position: relative;
a {
background:transparent;
margin: 0.125rem 0;
svg{
max-width: 1.5rem;
max-height: 1.5rem;
margin-#{$dlab-pos-right}: 0;
}
&:before{
content:none;
}
i{
margin: 0;
}
.badge-xs{
&.style-1{
margin-#{$dlab-pos-left}:-5px;
margin-top:5px;
}
}
}
&>ul {
position: absolute;
#{$dlab-pos-left}: var(--dz-sidebar-width);
top: 0;
width: 12rem;
z-index: 1001;
display: none;
padding-#{$dlab-pos-left}: 0.0625rem;
height: auto !important;
box-shadow: 0rem 0rem 2.5rem 0rem rgba(82, 63, 105, 0.1);
border-radius: 0.375rem;
margin-#{$dlab-pos-left}: 0;
border:0;
background:var(--card);
li:hover {
ul {
#{$dlab-pos-left}: 11.8125rem;
top: 0;
&:after{
content:none;
}
}
}
}
&:hover>ul {
display: block;
height: auto;
overflow: visible;
}
}
&>li {
transition: all 0.4s ease-in-out;
padding: 0 1.125rem;
&>a {
text-align:center;
border-radius:$radius;
&.has-arrow {
&:after {
display: none;
}
}
}
&.mm-active > a{
background:var(--rgba-primary-1);
i{
color:var(--primary);
padding:0;
}
}
&:hover{
&:nth-last-child(-n + 1) {
&>ul {
bottom: 0;
top: auto;
}
}
&>a {
background:var(--rgba-primary-1);
color:var(--primary);
i{
color: var(--primary);
}
}
&>ul {
height: auto !important;
padding: 0.625rem 0;
a {
margin-#{$dlab-pos-left}: -.1rem;
}
ul{
padding: 0.625rem 0;
a {
margin-#{$dlab-pos-left}: -.1rem;
}
}
}
}
}
.nav-label,
.nav-badge {
display: none;
}
}
}
}
}
[data-sidebar-style="full"][data-layout="horizontal"] {
.header .header-content{
padding-#{$dlab-pos-left}: 1.875rem;
}
}

View File

@@ -0,0 +1,256 @@
///////////////////////////
// Nav Profile
///////////////////////////
.nav-label {
margin: 0.625rem 1.875rem 0;
padding: 1.5625rem 0 0.625rem;
text-transform: uppercase;
font-size: 0.75rem;
letter-spacing: 0.05rem;
border-top: 0.0625rem solid $l-border;
color:$dusty-gray;
&.first {
border: 0rem;
margin-top: 0rem;
}
}
.nav-badge {
position: absolute;
#{$dlab-pos-right}: 2.8125rem;
top: 0.625rem;
}
.content-body {
margin-#{$dlab-pos-left}: var(--dz-sidebar-width);
z-index: 0;
transition: all .2s ease;
}
.header-profile2{
.dropdown-menu.show{
width:calc(var(--dz-sidebar-width) - 30px);
min-width:calc(var(--dz-sidebar-width) - 30px);
#{$dlab-pos-left}: 15px!important;
}
}
///////////////
// Sidebar
//////////////
.dlabnav {
width: var(--dz-sidebar-width);
padding-bottom: 0;
height: calc(100% - var(--dz-header-height));
position: var(--dz-sidebar-pos);
top: var(--dz-header-height);
padding-top: 0;
z-index: 6;
background-color: var(--sidebar-bg);
transition: all .2s ease;
box-shadow: 0rem 0.9375rem 1.875rem 0rem rgba(0, 0, 0, 0.02);
.dlabnav-scroll {
position: relative;
height: 100%;
overflow-y:scroll;
scrollbar-width: none;
}
ul {
padding: 0;
margin: 0;
list-style: none;
}
.metismenu {
display: flex;
flex-direction: var(--dz-side-menu-direction);
padding-top: 0.9375rem;
&.fixed {
position: fixed;
top: 0;
width: 100%;
#{$dlab-pos-left}: 0;
}
&>li {
display: flex;
flex-direction: column;
a {
&>i {
font-size: var(--dz-side-ico-size);
display: inline-block;
vertical-align: middle;
position: relative;
top: 0;
height:var(--dz-side-ico-height);
width:var(--dz-side-ico-width);
text-align:center;
margin-#{$dlab-pos-right}: 1rem;
border-radius: 0.125rem;
line-height:1;
}
}
&>a {
font-weight: 500;
display: inline-block;
padding: var(--dz-side-nav-padding);
font-size: var(--dz-side-nav-size);
color: var(--text-gray);
i{
color: #96A0AF;
}
svg {
max-width: 1.5rem;
max-height: 1.5rem;
height: 100%;
margin-#{$dlab-pos-right}:0.3125rem;
margin-top: -0.1875rem;
color: var(--primary);
}
g [fill] {
fill: #8088a1;
}
}
&:hover,
&:focus {
&>a {
color: var(--primary);
g [fill] {
fill: var(--primary);
}
}
}
&.mm-active {
&>a {
color:var(--primary);
background:var(--rgba-primary-1);
box-shadow:none;
g [fill] {
fill: var(--primary);
}
&:after{
border-top: 0.3125rem solid var(--primary);
border-left: 0.3125rem solid var(--primary);
}
}
}
}
li {
position: relative;
}
//one step dropdown
ul {
transition: all .2s ease-in-out;
position:relative;
z-index: 1;
padding: 0.5rem 0;
a {
font-size: var(--dz-side-sub_nav-size);
padding: var(--dz-side-sub_nav-padding);
@include transitionMedium;
&:hover,
&:focus,
&.mm-active {
text-decoration: none;
color: var(--primary);
}
}
}
a {
position: relative;
display: block;
outline-width: 0;
color:var(--text-gray);
text-decoration: none;
@include respond('phone-land') {
padding: 0.625rem 1.25rem;
}
}
.has-arrow {
&:after {
border-top: 0.3125rem solid #C8C8C8;
border-left: 0.3125rem solid #C8C8C8;
border-bottom: 0.3125rem solid transparent;
border-right: 0.3125rem solid transparent;
#{$dlab-pos-right}: 1.875rem;
top: 48%;
-webkit-transform: rotate(-225deg) translateY(-50%);
transform: rotate(-225deg) translateY(-50%);
}
}
.has-arrow[aria-expanded=true]:after,
.mm-active>.has-arrow:after {
-webkit-transform: rotate(-135deg) translateY(-50%);
transform: rotate(-135deg) translateY(-50%);
}
}
.main-menu{
padding:0.625rem 1.875rem;
}
.header-profile2{
display: var(--dz-side-profile);
}
.copyright{
display: var(--dz-side-copyright);
margin-bottom: 2rem;
}
.plus-box{
display: var(--dz-side-info);
}
.header-info2{
padding: 0.35rem 1rem 0.35rem 0.35rem;
background-color: var(--body-bg);
border-radius: .5rem;
margin: 10px 15px 0;
img{
height: 2.8rem;
width: 2.8rem;
border-radius: $radius;
margin-#{$dlab-pos-right}: .8rem;
}
.sidebar-info{
flex:1;
}
span{
font-size:.9375rem;
font-weight:500;
color:var(--text-dark);
}
i{
margin-#{$dlab-pos-left}:auto;
font-size: .85rem;
}
}
}
.copyright{
padding:0 1rem;
color:#9fa4a6;
margin-top: 1.2rem;
p{
font-size: 0.875rem;
margin-bottom: 6px;
}
strong{
display:block;
font-size: 0.875rem;
color:var(--text-gray);
}
}
[data-sidebar-position="fixed"] {
--dz-sidebar-pos : fixed;
}

View File

@@ -0,0 +1,471 @@
////////////////////
// Horizontal Nav
////////////////////
@media (min-width: 64rem) {
[data-layout="horizontal"] {
--dz-side-menu-direction : row;
--dz-side-info : none;
--dz-side-copyright : none;
--dz-side-nav-padding : .7rem .85rem .7rem .85rem;
--dz-side-sub_nav-padding : .5rem 1.2rem;
--dz-sidebar-pos : relative;
&[data-sidebar-style="mini"]{
--dz-side-nav-padding : 1rem;
.dlabnav .metismenu > li {
padding: 0;
& > a{
i{
margin: 0;
padding: 0;
}
}
}
}
&[data-sidebar-style="modern"]{
--dz-sidebar-width : 17.5rem;
}
&[data-sidebar-style="full"],
&[data-sidebar-style="icon-hover"]{
.dlabnav{
.metismenu{
&>li{
&>a{
&.has-arrow{
--dz-side-nav-padding : .7rem 2.4rem .7rem .85rem;
}
}
}
}
}
}
.nav-header {
.nav-control {
display: none;
}
.brand-logo {
padding-#{$dlab-pos-left}: 2.5rem;
padding-#{$dlab-pos-right}: 2.5rem;
}
}
.header {
width: 100%;
padding-top:0;
.nav-control {
display: none;
}
}
.dlabnav {
width:100%;
height: auto;
padding-bottom: 0;
top: 0;
z-index: 2;
.slimScrollDiv {
overflow: visible!important;
.dlabnav-scroll {
overflow: visible!important;
}
}
.dlabnav-scroll {
overflow: visible!important;
}
.slimScrollBar {
display: none !important;
}
.header-profile2{
display:none;
}
.nav-user,
.nav-label {
display: none;
}
.metismenu {
padding:0.625rem 1.25rem;
margin-bottom: 0;
flex-wrap: wrap;
.collapse.in {
display: none;
}
ul{
border-#{$dlab-pos-left}:0;
@at-root [data-theme-version="dark"]#{&} {
box-shadow: 0rem 0rem 2.5rem 0rem rgba(82, 63, 105, 0.1);
}
}
li {
flex-direction: column;
position: relative;
&:hover {
&>ul {
display: block;
}
}
&>ul {
position: absolute;
height: auto !important;
top: 100%;
width: 100%;
min-width: 13.75rem;
z-index: 999;
#{$dlab-pos-left}: auto;
#{$dlab-pos-right}: auto;
padding: 0.5rem 0;
display: none;
box-shadow: 0rem 0rem 2.5rem 0rem rgba(82, 63, 105, 0.1);
margin:0;
background:$white;
border-radius: $radius;
@at-root [data-theme-version="dark"]#{&} {
box-shadow:0rem 0rem 2.5rem 0rem rgba(82, 63, 105, 0.1);
background:$dark-card;
}
li {
padding: 0;
a {
transition: all .4s ease-in-out;
margin-#{$dlab-pos-left}: -.1rem;
&:before{
content:none;
#{$dlab-pos-left}: 1.375rem;
}
}
}
ul {
#{$dlab-pos-left}: 100%;
top: 0;
box-shadow: 0rem 0rem 2.5rem 0rem rgba(82, 63, 105, 0.1);
}
}
}
&>li {
flex: 0 0 auto;
position: relative;
&>a {
border-radius: $radius;
i{
margin-#{$dlab-pos-right}:0.3125rem;
}
}
@at-root [data-theme-version="dark"]#{&} {
border-color: rgba(255,255,255,0.07);
&.mm-active{
border-color:transparent;
}
}
.badge{
margin-#{$dlab-pos-left}: 5px;
}
&:hover,
&.mm-active{
padding:0;
& > a{
background:var(--rgba-primary-1)!important;
color:var(--primary);
i{
color:var(--primary);
background:transparent;
box-shadow:none;
}
}
}
&>a {
margin: 0.125rem 0.125rem;
i{
line-height:1;
}
.nav-badge {
display: none;
}
&:after {
#{$dlab-pos-right}: 1.25rem;
transform: rotate(-135deg) translateY(-50%);
}
}
&:hover {
border-color:transparent;
& > ul {
display: flex !important;
flex-direction: column;
flex-wrap: wrap;
height: auto !important;
box-shadow: 0.3125rem 0.3125rem 1.875rem 0rem rgba(20, 0, 30, 0.1);
border-radius: $radius;
@at-root [data-theme-version="dark"]#{&} {
box-shadow: 0.3125rem 0.3125rem 1.875rem 0rem rgba(0, 0, 0, 0.1);
background:$dark-card;
}
}
}
&>ul {
&>li {
&:hover {
ul.collapse {
display: block!important;
position: absolute;
#{$dlab-pos-left}: auto!important;
#{$dlab-pos-right}: -100%!important;
top: 0!important;
}
}
}
}
&:nth-last-child(-n + 5) {
&>ul {
#{$dlab-pos-left}: auto;
#{$dlab-pos-right}: 0;
&>li {
&:hover {
ul.collapse {
#{$dlab-pos-right}: auto!important;
#{$dlab-pos-left}: -100%!important;
}
}
}
&.left{
#{$dlab-pos-left}:0;
&>li {
&:hover {
ul.collapse {
#{$dlab-pos-left}: 100%!important;
}
}
}
}
}
}
&:last-child {
&>ul {
ul {
#{$dlab-pos-left}:100%;
}
&.left{
ul{
#{$dlab-pos-left}: 100%;
}
}
}
}
}
}
}
.content-body {
margin-#{$dlab-pos-left}: 0;
.container-fluid{
padding-top:2.5rem;
}
.page-titles {
margin-#{$dlab-pos-left}: 0!important;
margin-#{$dlab-pos-right}: 0!important;
margin-bottom: 1.875rem;
}
}
.footer {
margin-#{$dlab-pos-left}: 0;
margin: 0 auto;
padding-#{$dlab-pos-left}: 0;
}
}
[data-header-position="fixed"][data-layout="horizontal"] {
.dlabnav {
top: var(--dz-header-height);
}
} //ok
[data-header-position="fixed"][data-sidebar-position="fixed"] {
--dz-sidebar-pos : fixed;
} //ok
[data-header-position="fixed"][data-layout="horizontal"][data-sidebar-position="fixed"] {
.content-body {
padding-top: 9.5rem;
}
} //ok
[data-header-position="fixed"][data-layout="horizontal"][data-sidebar-position="fixed"][data-sidebar-style="modern"] {
.content-body {
padding-top: 10.5rem;
}
} //ok
[data-layout="horizontal"][data-container="boxed"] {
.footer {
margin-#{$dlab-pos-left}: 0;
max-width: 74.9375rem;
margin: 0 auto;
}
}
[data-layout="horizontal"][data-container="wide"] {
.page-titles {
margin-#{$dlab-pos-left}: -1.875rem;
margin-#{$dlab-pos-right}: -1.875rem;
}
}
[data-layout="horizontal"][data-sidebar-style="modern"] {
.dlabnav {
.header-profile{
margin-bottom:0;
img{
height: 3.75rem;
width: 3.75rem;
margin-bottom:0!important;
}
&>a.nav-link{
border:0.0625rem solid $border-color;
padding: 0.25rem 0.25rem;
border-radius:3rem;
}
}
}
}
[data-layout="horizontal"][data-sidebar-style="compact"] {
--dz-sidebar-width : 17.5rem;
--dz-side-nav-padding: 1rem 1.2rem .75rem;
--dz-side-sub_nav-padding: .5rem 1.5rem;
.page-titles {
margin-top: 0;
}
.dlabnav {
.header-profile{
margin-bottom:0;
img{
height: 3.75rem;
width: 3.75rem;
margin-bottom:0!important;
}
&>a.nav-link{
border:0.0625rem solid $border-color;
}
}
.metismenu {
&>li {
&>ul {
top: 100%;
}
&>a {
.badge-xs{
&.style-1{
margin-#{$dlab-pos-left}:0px;
}
}
&::after {
display: none;
}
.nav-text{
margin-top: 0.3125rem;
}
&>i{
margin:0;
display: block;
line-height:1;
padding:0;
background:transparent;
margin-bottom: 0;
}
}
li {
text-align: #{$dlab-pos-left};
}
}
}
}
}
[data-sidebar-style="mini"][data-layout="horizontal"] {
.nav-header {
width: 7.75rem;
padding-#{$dlab-pos-left}: 2.5rem;
padding-#{$dlab-pos-right}: 2.5rem;
.brand-logo {
justify-content: start;
padding-#{$dlab-pos-left}: 0;
padding-#{$dlab-pos-right}: 0;
}
}
.header {
width: 100%;
padding-#{$dlab-pos-left}: 7.75rem;
}
.metismenu {
&>li {
a{
width: auto;
}
&:hover {
a {
.nav-text {
display: none;
}
}
}
}
}
}
[data-header-position="fixed"][data-layout="horizontal"][data-sidebar-position="fixed"][data-sidebar-style="full"],
[data-header-position="fixed"][data-layout="horizontal"][data-sidebar-position="fixed"][data-sidebar-style="compact"] {
.content-body {
padding-top: 10.5rem;
}
}
[data-header-position="fixed"][data-layout="horizontal"][data-sidebar-position="fixed"][data-sidebar-style="full"][data-container="boxed"]{
.content-body {
padding-top: 13.5rem;
}
}
[data-header-position="fixed"][data-layout="horizontal"][data-sidebar-position="fixed"][data-sidebar-style="full"]{
.content-body {
padding-top: 9rem;
@media screen and (max-width: 1367px) {
padding-top: 13.5rem;
}
}
}
[data-sidebar-position="fixed"][data-layout="horizontal"] {
.dlabnav.fixed {
position: fixed;
padding: 0 0.9375rem;
#{$dlab-pos-left}: 0;
top: 0;
border-radius:0;
width:100%;
}
}
}

View File

@@ -0,0 +1,358 @@
@media (min-width: 47.9375rem) {
[data-sidebar-style="icon-hover"][data-layout="horizontal"] {
.header .header-content {
padding-#{$dlab-pos-left}: 1.875rem;
}
}
[data-sidebar-style="icon-hover"][data-layout="vertical"]{
--dz-side-nav-padding : .85rem 1rem;
--dz-side-sub_nav-padding : .5rem 1.2rem;
--dz-side-nav-size : 0.9375rem;
--dz-side-sub_nav-size : 0.85rem;
--dz-side-info : none;
--dz-side-copyright : none;
--dz-sidebar-over : 5.5rem;
.dlabnav{
.metismenu{
li.mm-active{
&>ul{
display:none;
}
}
}
.header-info2{
justify-content:space-between;
padding: 0.35rem .35rem 0.35rem 1rem;
img{
order:1;
margin-#{$dlab-pos-right}:0
}
.sidebar-info{
padding-#{$dlab-pos-right}: 2rem;
}
}
.badge-xs.style-1 {
margin-#{$dlab-pos-left}: -30px;
align-self: center;
}
}
.iconhover-toggle{
.dlabnav{
.metismenu{
li.mm-active{
&>ul{
display:block;
}
}
}
}
}
.nav-header {
width: var(--dz-sidebar-over);
.brand-logo {
padding-#{$dlab-pos-left}: 1.5rem;
.logo-abbr {
display: block;
}
.brand-title {
display: none;
}
}
.nav-control {
display: none;
}
}
.header {
padding-#{$dlab-pos-left}: var(--dz-sidebar-over);
.nav-control{
display: none;
}
.header-content {
padding-#{$dlab-pos-left}: 2rem;
}
}
.dlabnav {
overflow: visible;
#{$dlab-pos-left}: calc(calc(var(--dz-sidebar-width) - var(--dz-sidebar-over)) * -1);
.nav-label {
display: none;
}
.metismenu {
&>li {
padding: 0 1rem;
&>a {
display: flex;
justify-content: space-between;
border-radius: .5rem;
&>svg,
&>i {
order: 1;
margin-#{$dlab-pos-right}:0;
margin-top:0;
line-height: 1;
}
}
&:hover > a,
&.mm-active > a{
background: var(--rgba-primary-1);
color:var(--primary);
i{
color:var(--primary);
}
}
}
ul {
border-#{$dlab-pos-left}: 0;
padding-#{$dlab-pos-left}:0;
padding-#{$dlab-pos-right}:0;
@at-root [data-theme-version="dark"]#{&} {
border-color:$d-border;
}
&:after{
#{$dlab-pos-left}:auto;
#{$dlab-pos-right}:1.75rem;
}
a {
position: relative;
&::before {
#{$dlab-pos-left}: 1.25rem;
#{$dlab-pos-right}: auto;
}
}
}
.has-arrow {
&::after {
#{$dlab-pos-right}: 5rem;
opacity:0;
}
}
}
&.mm-show{
display:none;
}
}
.iconhover-toggle{
.nav-header {
width: var(--dz-sidebar-width);
.brand-logo {
padding-#{$dlab-pos-left}: 1.6rem;
.brand-title {
display: block;
}
}
}
&.mm-show{
display:block;
}
.dlabnav {
#{$dlab-pos-left}: 0;
.metismenu .has-arrow:after{
opacity:1;
}
}
}
.content-body {
margin-#{$dlab-pos-left}: var(--dz-sidebar-over);
}
.footer {
padding-#{$dlab-pos-left}: var(--dz-sidebar-over);
}
}
[data-header-position="fixed"][data-layout="horizontal"][data-sidebar-position="fixed"][data-container="boxed"][data-sidebar-style="icon-hover"]{
.content-body {
padding-top: 13.5rem;
}
}
[data-header-position="fixed"][data-layout="horizontal"][data-sidebar-position="fixed"][data-container="wide-boxed"][data-sidebar-style="icon-hover"]{
.content-body {
padding-top: 13.5rem;
}
}
[data-sidebar-style="icon-hover"][data-layout="horizontal"][data-container="boxed"]{
.dlabnav .metismenu > li > ul.mm-collapse {
#{$dlab-pos-left}: auto;
#{$dlab-pos-right}: unset;
}
}
[data-sidebar-style="full"][data-layout="horizontal"][data-container="boxed"]{
.dlabnav .metismenu > li > ul.mm-collapse {
#{$dlab-pos-left}: auto;
#{$dlab-pos-right}: unset;
}
}
[data-sidebar-style="icon-hover"][data-layout="horizontal"][data-container="wide-boxed"]{
.dlabnav .metismenu > li > ul.mm-collapse {
#{$dlab-pos-left}: auto;
#{$dlab-pos-right}: unset;
}
}
[data-sidebar-style="full"][data-layout="horizontal"][data-container="wide-boxed"]{
.dlabnav .metismenu > li > ul.mm-collapse {
#{$dlab-pos-left}: auto;
#{$dlab-pos-right}: unset;
}
}
[data-container="boxed"][data-sidebar-position="fixed"][data-sidebar-style="icon-hover"][data-layout="vertical"]{
.iconhover-toggle{
.dlabnav{
z-index: 99999;
box-shadow: 20px 20px 20px 0 rgba(0,0,0,0.1);
width:var(--dz-sidebar-width);
.header-info2{
padding: 0.35rem .35rem 0.35rem 1rem;
display: flex!important;
}
.metismenu{
li{
a{
span{
opacity:1;
width: auto;
}
}
}
}
.sidebar-info{
display:flex !important;
}
}
}
.dlabnav{
#{$dlab-pos-left}: auto;
width:var(--dz-sidebar-over);
position:fixed;
.header-profile2{
&>.nav-link{
text-align: center;
}
}
.header-info2{
padding: 0.35rem .35rem 0.35rem 0.35rem;
margin: 10px 10px 0;
display: inline-block!important;
}
.metismenu{
& > li{
padding: 0 0.85rem;
}
li{
a{
i{
margin-top:2px;
}
span{
opacity:0;
width:0;
}
}
}
}
.sidebar-info{
display:none !important;
}
}
}
[data-container="wide-boxed"][data-sidebar-style="icon-hover"][data-layout="vertical"]{
.dlabnav{
position:absolute;
}
.menu-toggle .dlabnav{
position:absolute;
}
&[data-sidebar-position="fixed"]{
.iconhover-toggle{
.dlabnav{
z-index: 99999;
height: calc(100% - 20px);
box-shadow: 20px 20px 20px 0 rgba(0,0,0,0.1);
width: var(--dz-sidebar-width);
.header-info2{
padding: 0.35rem .35rem 0.35rem 1rem;
display: flex!important;
}
.metismenu{
li{
a{
span{
opacity:1;
width: unset;
}
}
}
}
.sidebar-info{
display:flex !important;
}
}
}
.dlabnav{
position:fixed;
#{$dlab-pos-left}: auto;
width:var(--dz-sidebar-over);
.header-profile2{
&>.nav-link{
text-align: center;
}
}
.header-info2{
padding: 0.35rem .35rem 0.35rem 0.35rem;
margin: 10px 10px 0;
display: inline-block!important;
}
.metismenu{
& > li{
padding: 0 0.85rem;
}
li{
a{
i{
margin-top:2px;
}
span{
opacity:0;
width:0;
}
}
}
}
.sidebar-info{
display:none !important;
}
}
}
}
}

View File

@@ -0,0 +1,252 @@
@include custommq($min: 48rem) {
[data-sidebar-style="mini"] {
--dz-sidebar-width : 6rem;
--dz-sidebar-pos : absolute;
--dz-side-nav-padding : 1.125rem 0.875rem;
--dz-side-info : none;
--dz-side-copyright : none;
.nav-header {
.nav-control {
display: none;
}
.brand-title {
display: none;
}
.brand-logo{
justify-content: center;
}
}
.header {
.nav-control{
display: none;
}
.header-content{
padding-#{$dlab-pos-left}: 1.875rem;
}
}
.dlabnav {
overflow: visible;
z-index:2;
.nav-text,
.badge{
display: none;
}
.slimScrollDiv,
.dlabnav-scroll {
overflow: visible !important;
}
.nav-user{
padding: 0.6875rem;
.media-body{
display: none;
}
}
.header-profile2{
.dropdown-menu.show{
width: 10rem;
min-width: 10rem;
}
}
.metismenu {
li {
a {
svg{
margin-#{$dlab-pos-right}:0;
}
i{
height:auto;
width:auto;
line-height:1;
margin:0;
}
}
&>ul {
position: absolute;
#{$dlab-pos-left}: 0;
top: 2.9375rem;
width: 11.875rem;
z-index: 1001;
display: none;
padding-#{$dlab-pos-left}: 0.0625rem;
box-shadow: 0rem 0rem 2.5rem 0rem rgba(82, 63, 105, 0.1);
height: auto !important;
border-radius: $radius;
background: var(--card);
}
}
&>li {
padding: 0.125rem 1.25rem;
&>a {
border-radius: $radius;
text-align: center;
line-height: 1;
transition: all 0.5s;
-moz-transition: all 0.5s;
-webkit-transition: all 0.5s;
-ms-transition: all 0.5s;
-o-transition: all 0.5s;
& > i{
padding:0;
font-size:1.375rem;
}
&.has-arrow {
&:after {
display: none;
}
}
.badge-xs{
&.style-1{
margin-#{$dlab-pos-left}:-5px;
margin-top:5px;
}
}
}
}
.nav-label,
.nav-badge {
display: none;
}
}
.header-info2{
justify-content: center;
margin: 10px 12px 0;
padding: .35rem;
img{
margin-#{$dlab-pos-right}: 0;
}
}
.sidebar-info{
display:none!important;
}
.header-profile2{
margin:0 0.5rem;
}
}
}
[data-sidebar-style="mini"][data-layout="vertical"] {
.dlabnav {
position: absolute ;
.metismenu {
li {
&:hover>ul {
display: block;
}
}
&>li {
&:nth-last-child(-n + 1) {
&>ul {
bottom:0;
top: auto !important;
&:after{
top:auto;
bottom:1.25rem;
}
}
}
@include respond('tab-land') {
&:nth-last-child(-n + 1) {
&>ul {
bottom: 0;
top: auto !important;
}
}
}
&>ul {
overflow: visible;
&:after{
content:none;
}
li:hover {
ul {
padding: 0.625rem 0;
width: 13rem;
#{$dlab-pos-left}: 13rem;
top: -0.625rem;
border: 0;
margin: 0;
&:after{
content:none;
}
}
}
}
&.mm-active {
&>a {
background: var(--rgba-primary-1);
color:$white;
i{
color:var(--primary);
}
}
}
&:hover {
&>a {
background: var(--rgba-primary-1);
color:var(--primary);
position: unset;
i{
color:var(--primary);
}
}
&>ul {
height: auto !important;
overflow: visible;
border:0;
margin-#{$dlab-pos-left}:0;
#{$dlab-pos-left}: var(--dz-sidebar-width);
width: 13rem;
border-radius:$radius;
border:0;
padding: 0.625rem 0;
top: 0;
@at-root [data-theme-version="dark"]#{&} {
box-shadow: 0rem 0rem 2.5rem 0rem rgba(82, 63, 105, 0.1);
}
a {
padding: 0.375rem 1.25rem 0.375rem 1.25rem;
&:before{
content:none;
}
&.has-arrow:after{
#{$dlab-pos-right}: 1.25rem
}
}
ul {
a {
padding: 0.375rem 1.25rem 0.375rem 1.25rem;
margin-#{$dlab-pos-left}: -0.1rem;
&:before{
content:none;
}
}
}
}
}
}
}
}
}
}

View File

@@ -0,0 +1,214 @@
@media (min-width:47.9375rem) {
[data-sidebar-style="modern"] {
--dz-sidebar-width: 8.5rem;
--dz-side-nav-size: 0.85rem;
--dz-side-info : none;
--dz-side-copyright : none;
--dz-side-nav-padding: 1.2rem 1rem .85rem;
--dz-side-sub_nav-padding : .5rem 1.2rem;
.dlabnav {
.header-profile2{
&>a.nav-link{
text-align: center;
}
}
.metismenu {
&>li {
text-align: center;
&>a {
margin: 0.125rem 0;
border-radius: .5rem;
@include transitionMedium;
&::after {
display: none;
}
&:hover,
&:focus,
&:active,
&.mm-active {
&>a {
background-color: var(--primary-dark);
}
}
}
&:hover,
&.mm-active{
padding:0;
&>a{
background: var(--rgba-primary-1);
color:var(--primary);
i{
color:var(--primary);
}
}
}
li {
text-align: #{$dlab-pos-left};
}
}
li {
ul:after{
content:none;
}
&>ul {
height: auto !important;
}
}
.badge{
display: none;
}
}
.nav-label {
display: none;
}
.nav-text {
display: block;
margin-top: 0.3125rem;
}
.sidebar-info{
display:none!important;
}
.header-info2{
display: inline-block !important;
justify-content: center;
padding: .35rem;
img{
margin-#{$dlab-pos-right}: 0;
}
}
}
&[data-layout="horizontal"]{
.dlabnav {
.metismenu {
li {
&>a i{
padding:0;
margin:0;
}
}
}
}
}
}
[data-sidebar-style="modern"][data-layout="vertical"] {
.dlabnav {
.dropdown-menu .dropdown-item{
font-size: .85rem;
padding: 0.5rem 1.2rem;
}
.slimScrollDiv,
.dlabnav-scroll {
overflow: visible !important;
}
.metismenu {
padding: 0.625rem 0.875rem;
&>li {
&>a{
i{
padding: 0;
margin:0;
line-height:1;
margin-bottom: 0.3125rem;
}
}
&>ul {
display: none;
padding: 1.875rem 0.9375rem;
}
}
li {
a {
&:before{
content:none;
}
}
ul {
position: absolute;
#{$dlab-pos-left}: 105%;
top: 0;
bottom: auto;
background-color: $white;
border: 0.0625rem solid $border;
width: 12.5rem;
@at-root [data-theme-version="dark"]#{&} {
background:$dark-card;
box-shadow: 0rem 0rem 0.8125rem 0rem rgba(0, 0, 0, 0.1);
}
}
&:hover {
&>ul {
display: block;
#{$dlab-pos-left}: 100%;
padding: 1rem 0;
margin-#{$dlab-pos-left}: 0;
border: 0;
box-shadow: 0.3125rem 0.3125rem 1.875rem 0rem rgba(20, 0, 30, 0.10);
border-radius: $radius;
@at-root [data-theme-version="dark"]#{&} {
box-shadow: 0.3125rem 0.3125rem 1.875rem 0rem rgba(20, 0, 30, 0.10);
}
}
}
}
}
.nav-label {
display: none;
}
.nav-text {
display: block;
margin-top: 0;
}
}
.nav-control{
display: none;
}
.header-profile2 .dropdown-menu.show{
width: calc(var(--dz-sidebar-width) - 12px);
#{$dlab-pos-left}: 6px!important;
}
.header .header-content{
padding-#{$dlab-pos-left}: 2rem;
}
}
[data-sidebar-style="modern"][data-layout="horizontal"] {
.dlabnav {
.metismenu {
&>li {
&>a {
margin: 0 0.125rem;
}
&>ul {
top: 4.8rem;
}
}
}
}
}
}

View File

@@ -0,0 +1,99 @@
[data-sidebar-style="overlay"] {
&[data-layout="vertical"]{
--dz-side-sub_nav-padding : .5rem .5rem .5rem 3.5rem;
--dz-side-nav-padding : .85rem 1.5rem;
}
.dlabnav {
#{$dlab-pos-left}: -100%;
@include transitionMedium;
box-shadow: 0 0 0.625rem rgba(0, 0, 0, 0.2);
.metismenu{
& > li {
padding: 0 0.5rem;
& > a {
color: #7f7184;
border-radius: $radius;
-webkit-transition: all 0.5s;
-ms-transition: all 0.5s;
transition: all 0.5s;
i{
line-height:1;
}
}
&:hover > a{
color:var(--primary);
i{
color:var(--primary);
}
}
&.mm-active > a {
color:var(--primary);
i{
color:var(--primary);
}
}
}
}
}
.content-body {
margin-#{$dlab-pos-left}: 0;
}
.nav-header {
position: absolute;
.hamburger.is-active {
#{$dlab-pos-left}: 0;
.line {
background-color: var(--primary);
}
}
}
.menu-toggle {
.nav-header {
position: absolute;
#{$dlab-pos-left}: auto;
}
.dlabnav {
#{$dlab-pos-left}: 0;
}
}
.footer {
padding-#{$dlab-pos-left}: 0;
}
}
[data-sidebar-style="overlay"][data-header-position="fixed"] {
.nav-header {
position: fixed;
}
}
[data-container="wide-boxed"][data-sidebar-position="fixed"][data-sidebar-style="overlay"][data-layout="vertical"],
[data-container="boxed"][data-sidebar-position="fixed"][data-sidebar-style="overlay"][data-layout="vertical"]{
.dlabnav {
position: fixed;
#{$dlab-pos-left}: auto;
width:0;
overflow: hidden;
transition: all 0.3s cubic-bezier(0.77, 0, 0.175, 1) 0s;
& > div{
width: var(--dz-sidebar-width);
min-width: var(--dz-sidebar-width);
#{$dlab-pos-right}: var(--dz-sidebar-width);
transition: all 0.3s cubic-bezier(0.77, 0, 0.175, 1) 0s;
}
}
.menu-toggle{
.dlabnav {
width:var(--dz-sidebar-width);
& > div{
#{$dlab-pos-right}: 0;
}
}
}
}

View File

@@ -0,0 +1,75 @@
///////////////////////////
// Sidebar profile
///////////////////////////
.nav-user {
// text-align: center;
background: var(--primary);
margin-bottom: 0.625rem;
padding: 1.25rem 1.5625rem 0.9375rem;
@include custommq($min: 48rem, $max: 74.9375rem) {
padding: 1.25rem 0.9375rem 0.9375rem;
}
img {
width: 2.1875rem;
height: 2.1875rem;
@include custommq($min: 48rem, $max: 74.9375rem) {
width: 2.1875rem;
height: 2.1875rem;
margin-bottom: 0.625rem;
}
}
h5 {
margin-#{$dlab-pos-left}: 0.625rem;
margin-bottom: 0.1875rem;
color: $white;
@include custommq($min: 48rem, $max: 74.9375rem) {
display: none;
}
@at-root [data-sidebarbg="color_2"] & {
color: $white;
}
}
p{
margin-#{$dlab-pos-left}: 0.625rem;
margin-bottom: 0.5rem;
color: #afcff7;
@include custommq($min: 48rem, $max: 74.9375rem) {
display: none;
}
}
@include custommq($min: 48rem, $max: 74.9375rem) {
i{
margin-top: 0.9375rem;
display: block
}
}
}
.menu-toggle{
.nav-user {
padding: 1.25rem 0.9375rem 0.9375rem;
img {
width: 2.1875rem;
height: 2.1875rem;
margin-bottom: 0.625rem;
}
h5,
p {
display: none;
}
i {
margin-top: 0.9375rem;
display: block
}
.dropdown-menu {
#{$dlab-pos-left}: 2.8125rem !important;
top: 1.375rem !important;
}
}
}

View File

@@ -0,0 +1,270 @@
.sidebar-right-trigger {
position: absolute;
z-index: 9;
top: 14.75rem;
#{$dlab-pos-right}: 100%;
background-color: $primary;
color: $white;
display: inline-block;
height: 3rem;
width: 3rem;
text-align: center;
font-size: 1.75rem;
line-height: 3rem;
border-radius: 0;
border-top-#{$dlab-pos-left}-radius : $radius;
border-bottom-#{$dlab-pos-left}-radius : $radius;
box-shadow: -0.3125rem 0.1875rem 0.3125rem 0rem rgba(119, 119, 119, 0.15);
@at-root [data-theme-version="dark"] #{&} {
color: $white;
}
@include custommq ($max:64rem){
display:none;
}
&:hover{
color:$white;
}
}
.sidebar-right {
#{$dlab-pos-right}: -50rem;
position: fixed;
top: 0;
width: 50rem;
background-color: $white;
margin-top: 3.5rem;
transition: all .5s ease-in-out;
border-radius: $radius;
z-index: 9999;
.bg-label-pattern{
background: transparent;
background-image: url('../images/pattern/pattern5.png');
background-size: 130%;
}
.bootstrap-select{
height:3rem;
border-radius: 0.375rem;
.btn{
padding:0.75rem 0.9375rem;
font-size:0.9375rem;
border-color:#d1d1d1;
border-radius: 0.375rem;
}
}
.note-text{
position: absolute;
bottom: 0;
#{$dlab-pos-left}: 0;
padding: 20px;
opacity: 0.5;
font-size: 12px;
}
.sidebar-close-trigger{
position:absolute;
z-index: 2;
font-size: 1.75rem;
top:0;
#{$dlab-pos-right}:-3rem;
height: 3rem;
width: 3rem;
line-height:3rem;
text-align:center;
background:rgba($black,1);
color:$white;
}
&.show {
#{$dlab-pos-right}: 5.25rem;
box-shadow: 0rem 0rem 3.125rem rgba(0 ,0 ,0 ,0.2);
z-index: 9999;
.bg-overlay{
position:fixed;
width:100%;
cursor:pointer;
height:100%;
top:0;
#{$dlab-pos-left}:0;
background:rgba($black,0.2);
}
}
.card-tabs{
.nav-tabs {
justify-content: space-between;
position: sticky;
top: 0;
width:100%;
background-color: $white;
z-index: 2;
border-bottom: 4px solid var(--rgba-primary-1);
.nav-item {
margin-bottom: 0;
flex: 1;
.nav-link {
border: 0;
font-size: 1.125rem;
position: relative;
text-align: center;
background-color: $white;
border-radius:0;
margin:0;
&.active {
@at-root [data-theme-version="dark"] #{&} {
border-#{$dlab-pos-right}: none;
border-#{$dlab-pos-left}: none;
border-top: none;
}
background: var(--rgba-primary-1);
color: #000;
}
}
}
}
}
.sidebar-right-inner > h4{
padding: 0.625rem 1.25rem;
display: flex;
justify-content: space-between;
align-items: center;
color: $black;
background: $white;
margin: 0rem 0rem 0rem 0rem;
}
.tab-content {
padding: 1.25rem 1.25rem 0;
min-height: 480px;
background:$white;
.tab-pane {
.admin-settings {
.row > div {
margin-bottom: 1.25rem;
}
p {
color: #353535;
font-weight: 500;
margin-bottom: 0.5rem;
font-size: 1rem;
}
//All color switcher scss goes here
input[type="radio"] {
display: none;
+ label {
display: inline-block;
width: 2.1875rem;
height: 2.1875rem;
cursor: pointer;
transition: all .1s ease;
border-radius: 0.25rem;
margin-#{$dlab-pos-right}: 0.3125rem;
margin-bottom: 0.1875rem;
}
&:checked {
+ label {
position: relative;
&::after {
height: 2.0625rem;
width: 2.0625rem;
#{$dlab-pos-left}: -0.25rem;
top: -0.25rem;
content: "";
position: absolute;
background-color: inherit;
border-radius: 0.375rem;
opacity: 0.4;
}
}
}
}
}
}
}
#nav_header,
#header,
#sidebar,
#primary{
@each $name, $color in $theme_backgrounds {
&_#{$name} {
+ label {
background-color: $color;
}
}
}
&_color_1 {
+ label {
border: 0.0625rem solid #c4c4c4;
}
}
}
&.style-1{
height:100vh;
width:15.625rem;
margin-top:0;
#{$dlab-pos-right}:-15.625rem;
.sidebar-right-inner{
background:$white;
}
.sidebar-right-trigger {
top:12.4rem;
}
&.show{
#{$dlab-pos-right}:0;
.sidebar-right-trigger{
display:block;
}
}
}
}
@keyframes bounce {
0% {
transform: translateX(-8%);;
-webkit-transform: translateX(-8%);;
}
50% {
transform: translateX(8%);;
-webkit-transform: translateX(8%);;
}
100% {
transform: translateX(-8%);;
-webkit-transform: translateX(-8%);;
}
}
@-webkit-keyframes bounce {
0% {
transform: translateX(-8%);;
-webkit-transform: translateX(-8%);;
}
50% {
transform: translateX(8%);;
-webkit-transform: translateX(8%);;
}
100% {
transform: translateY(-8%);;
-webkit-transform: translateY(-8%);;
}
}
.nice-select.wide{
@include respond ('laptop'){
line-height:2rem;
}
}

View File

@@ -0,0 +1,16 @@
//all sidebar css goes here
@import './sidebar-global';
@import './sidebar-bg';
@import './mega-menu';
@import './sidebar-full';
@import './sidebar-mini-nav';
@import './sidebar-horizontal';
@import './sidebar-compact-nav';
@import './sidebar-icon-hover';
@import './sidebar-modern';
@import './sidebar-overlay';
@import './sidebar-vertical-nav';
@import './sidebar-right';
@import './sidebar-profile';
@import './fixed-sidebar';
@import './dlab-demo-sidebar';

View File

@@ -0,0 +1,440 @@
:root{
--nav-headbg: #FFFFFF;
--sidebar-bg: #FFFFFF;
--headerbg: #FFFFFF;
}
//background for nav header
@each $name, $color in $theme_backgrounds {
[data-nav-headerbg="#{$name}"][data-theme-version="dark"],
[data-nav-headerbg="#{$name}"] {
@if $name != "color_1" {
--nav-headbg: #{$color};
.nav-header{
.logo-abbr{
path{
fill:$color;
stroke:$color;
}
}
}
}
}
}
[data-nav-headerbg="color_2"],[data-nav-headerbg="color_3"],[data-nav-headerbg="color_4"],[data-nav-headerbg="color_5"],[data-nav-headerbg="color_6"],[data-nav-headerbg="color_7"],
[data-nav-headerbg="color_9"],[data-nav-headerbg="color_10"],[data-nav-headerbg="color_11"],[data-nav-headerbg="color_12"],[data-nav-headerbg="color_13"],[data-nav-headerbg="color_14"],
[data-nav-headerbg="color_15"]{
.nav-header .rect-primary-rect {
fill: #ffffff;
}
.nav-header{
.brand-logo{
.brand-title{
path{
fill:$white;
}
tspan{
fill:$white;
}
}
}
}
}
//special work for color
[data-nav-headerbg="color_8"]{
.nav-header{
.brand-logo{
.brand-title{
path{
fill:$black;
}
tspan{
fill:$black;
}
}
}
}
}
//background for nav header
@each $name, $color in $theme_backgrounds {
[data-sidebarbg="#{$name}"][data-theme-version="dark"],
[data-sidebarbg="#{$name}"] {
@if $name != "color_1" {
--sidebar-bg: #{$color};
.menu-toggle .dlabnav .metismenu li > ul{
background:$color!important;
}
&[data-sidebar-style="mini"],
&[data-sidebar-style="modern"],
&[data-sidebar-style="compact"],
&[data-sidebar-style="icon-hover"][data-layout="horizontal"],
&[data-sidebar-style="full"][data-layout="horizontal"]
{
.dlabnav{
.metismenu li ul{
background-color: lighten($color: $color, $amount: 10%);
}
}
}
}
}
}
[data-sidebarbg="color_2"],[data-sidebarbg="color_3"],[data-sidebarbg="color_4"],[data-sidebarbg="color_5"],[data-sidebarbg="color_6"],[data-sidebarbg="color_7"],
[data-sidebarbg="color_9"],[data-sidebarbg="color_10"],[data-sidebarbg="color_11"],[data-sidebarbg="color_12"],[data-sidebarbg="color_13"],[data-sidebarbg="color_14"],
[data-sidebarbg="color_15"]{
.dlabnav {
.metismenu {
a{
color:rgba($white,0.75);
}
ul a:before{
background:rgba($white,0.5);
}
li{
ul{
a{
&:hover,
&:focus,
&.mm-active {
color:$white;
}
}
}
}
&>li{
&>a{
color:rgba($white,0.85);
i{
color:rgba($white,0.85);
}
}
&.mm-active{
&>a{
background:rgba($white,0.15);
color:$white;
i{
color:$white;
}
&:before{
background:$white;
}
}
}
}
.has-arrow:after{
border-color: rgba($white,0.85) transparent transparent rgba($white,0.85);
}
}
.header-info2{
background-color: rgba($black,0.15);
span{
color: $white;
}
}
.sidebar-info{
color: $white;
i{
color: $white!important;
}
}
}
.plus-box{
background-color: rgba($white,0.15);
}
.copyright{
color:$white;
strong{
color:$white;
}
}
&[data-sidebar-style="full"][data-layout="vertical"]{
.dlabnav {
.metismenu{
&>li{
&.mm-active{
&>a{
i{
color:$white;
}
}
}
}
ul a::before{
background: rgba($white,0.25);
}
}
}
.menu-toggle .dlabnav .metismenu {
& > li.mm-active,
& > li:hover {
& > a {
background: rgba($white,0.15);
i{
color: $white;
}
}
}
}
}
&[data-sidebar-style="mini"][data-layout="vertical"]{
.dlabnav .metismenu > li{
&.mm-active,
&:hover{
& > a i {
color: $white;
}
}
}
}
&[data-sidebar-style="modern"],
&[data-sidebar-style="overlay"],
&[data-sidebar-style="icon-hover"][data-layout="vertical"],
&[data-layout="horizontal"]{
.dlabnav .metismenu > li{
&:hover,
&.mm-active{
& > a{
color: $white;
i{
color: $white;
}
}
}
}
}
&[data-sidebar-style="icon-hover"][data-layout="vertical"]{
.dlabnav .metismenu > li{
&:hover,
&.mm-active{
& > a{
background-color: rgba($white,0.15);
}
}
}
}
&[data-sidebar-style="compact"][data-layout="vertical"]{
.dlabnav {
.metismenu {
&>li {
a{
&:hover{
color:$white;
}
}
&>a{
&>i{
background: rgba($white,0.15)!important;
color:rgba($white,0.7);
}
}
&.mm-active,&:hover{
&>a {
box-shadow:none;
background:transparent!important;
color:$white!important;
i{
background: rgba($white,0.15)!important;
color:$white!important;
}
}
}
}
}
}
}
&[data-sidebar-style="mini"],
&[data-sidebar-style="modern"],
&[data-sidebar-style="compact"],
&[data-sidebar-style="icon-hover"][data-layout="horizontal"],
&[data-sidebar-style="full"][data-layout="horizontal"]
{
.dlabnav .metismenu > li.mm-active > a,
.dlabnav .metismenu > li:hover > a{
background:rgba($white,0.15)!important;
}
}
}
//special work for color
[data-sidebarbg="color_8"]{
.dlabnav .metismenu ul a:before {
background:rgba($black,0.5);
}
.dlabnav {
.metismenu{
a{
color:rgba($black,0.6)!important;
&:hover,
&:focus,
&.mm-active {
color:$black!important;
}
}
.has-arrow:after{
border-color: rgba(0,0,0,0.5) transparent transparent rgba(0,0,0,0.5);
}
&>li{
&>a{
color:rgba($black,0.6)!important;
i{
color:rgba($black,0.6)!important;
}
}
&.mm-active{
&>a{
background:rgba($black,0.1)!important;
&:before{
background:rgba($black,0.6)!important;
}
}
}
}
}
.copyright p{
color:rgba($black,0.6);
}
.book-box{
background: rgba($black,0.4);
}
.header-info2 {
background-color: rgba($black,0.05);
span{
color: $text-dark;
}
}
.sidebar-info{
color: rgba($black,0.6);
i{
color: rgba($black,0.6)
}
}
}
.plus-box{
background-color:rgba($black,0.4);
}
}
//background for nav header
@each $name, $color in $theme_backgrounds {
[data-headerbg="#{$name}"][data-theme-version="dark"],
[data-headerbg="#{$name}"] {
@if $name != "color_1" {
--headerbg: #{$color};
.header-right{
.notification_dropdown .nav-link {
.badge{
color: $color!important;
}
}
}
}
}
}
[data-headerbg="color_2"],[data-headerbg="color_3"],[data-headerbg="color_4"],[data-headerbg="color_5"],[data-headerbg="color_6"],[data-headerbg="color_7"],
[data-headerbg="color_9"],[data-headerbg="color_10"],[data-headerbg="color_11"],[data-headerbg="color_12"],[data-headerbg="color_13"],[data-headerbg="color_14"],
[data-headerbg="color_15"]{
.search-area .input-group-text,
.search-area .form-control,.search-area .form-control::placeholder{
color:$white;
}
.search-area .input-group-append .input-group-text i{
color:$white;
}
.header-profile > a.nav-link .header-info small, .header-profile > a.nav-link .header-info span{
color:$white;
}
.hamburger .line{
background:$white!important;
}
.header-left{
.search-area .form-control,
.search-area .input-group-text{
background-color: rgba($white,0.15);
i{
color:$white;
}
}
.dashboard_bar{
color:$white;
}
.plus-icon a{
background-color: rgba($white,0.15);
color: $white;
}
}
.header-right{
svg{
path{
fill:$white;
}
}
#icon-dark{
color:$white;
}
.notification_dropdown .nav-link {
.badge{
background-color: $white!important;
}
svg path{
fill: $white;
}
}
.nav-item .nav-link{
color: $white;
}
}
}
//special work for color
[data-headerbg="color_8"]{
.search-area .input-group-text,
.search-area .form-control,.search-area .form-control::placeholder{
color:$black;
background:#F1F1F1;
}
.header-left{
.search-area .form-control,
.search-area .input-group-text{
i{
color:$black;
}
}
.dashboard_bar{
color:$black;
}
}
.hamburger .line{
background:$black;
}
.header-right{
svg{
path{
fill:rgba($black,0.4);
}
}
}
}

View File

@@ -0,0 +1,100 @@
@media (min-width: 62rem) {
[data-container="boxed"] {
#main-wrapper {
max-width: 74.9375rem;
margin: 0 auto;
box-shadow: 0 0 1.875rem 0 rgba(0,0,0,0.1);
@at-root [direction="rtl"]#{&} {
text-align: right;
}
}
.invoice-num {
font-size: 1.375rem;
}
.header-left .search-area{
display: none;
}
}
}
@include custommq($min: 84.375rem) {
[data-layout="vertical"][data-sidebar-style="overlay"][data-container="boxed"][data-header-position="fixed"] {
.header {
width: 74.9375rem;
}
}
}
@include custommq($min: 75rem, $max: 84.3125rem) {
[data-layout="vertical"][data-sidebar-style="overlay"][data-container="boxed"][data-header-position="fixed"] {
.header {
width: 74.9375rem;
}
}
}
[data-header-position="fixed"][data-layout="horizontal"][data-container="boxed"] {
.dlabnav {
max-width: 74.9375rem;
}
} //ok
[data-layout="vertical"][data-container="boxed"][data-header-position="fixed"],
[data-layout="horizontal"][data-container="boxed"][data-header-position="fixed"] {
.header {
width: 74.9375rem;
}
}
[data-layout="horizontal"][data-container="boxed"][data-header-position="fixed"][data-sidebar-style="mini"] {
.header {
width: 74.9375rem;
}
}
[data-container="boxed"] {
.metismenu.fixed {
left: auto;
max-width: 74.9375rem;
}
.page-titles {
margin-bottom: 3rem;
padding: 0.9375rem 0.9375rem;
}
.content-body .container-fluid {
padding: 2.5rem;
}
}
[data-container="boxed"][data-layout="vertical"] {
.page-titles {
margin-left: 0;
margin-right: 0;
}
}
[data-layout="vertical"][data-container="boxed"][data-sidebar-position="fixed"][data-header-position="static"][data-sidebar-style="overlay"] {
.nav-header {
position: absolute;
}
.menu-toggle {
.dlabnav {
position: absolute;
}
}
}
[data-container="boxed"][data-sidebar-position="fixed"][data-layout="horizontal"] {
.dlabnav.fixed {
left: auto;
max-width: 74.9375rem;
}
}

View File

@@ -0,0 +1,20 @@
//background for nav header
@each $name, $color in $theme_backgrounds {
[data-primary="#{$name}"] {
@if $name != "color_1" {
--primary: #{$color};
--secondary: #{$secondary};
--primary-hover: #{darken($color, 10)};
--primary-dark: #{darken($color, 30)};
--rgba-primary-1: #{rgba($color, 0.1)};
--rgba-primary-2: #{rgba($color, 0.2)};
--rgba-primary-3: #{rgba($color, 0.3)};
--rgba-primary-4: #{rgba($color, 0.4)};
--rgba-primary-5: #{rgba($color, 0.5)};
--rgba-primary-6: #{rgba($color, 0.6)};
--rgba-primary-7: #{rgba($color, 0.7)};
--rgba-primary-8: #{rgba($color, 0.8)};
--rgba-primary-9: #{rgba($color, 0.9)};
}
}
}

View File

@@ -0,0 +1,98 @@
@media (min-width: 62rem) {
[data-container="wide-boxed"] {
#main-wrapper {
max-width: 92.5rem;
margin: 0 auto;
box-shadow: 0 0 1.875rem 0 rgba(0,0,0,0.1);
@at-root [direction="rtl"]#{&} {
text-align: right;
}
}
}
}
@include custommq($min: 84.375rem) {
[data-layout="vertical"][data-sidebar-style="overlay"][data-container="wide-boxed"][data-header-position="fixed"] {
.header {
max-width: 92.5rem;
}
}
}
@include custommq($min: 75rem, $max: 100rem) {
[data-layout="vertical"][data-sidebar-style="overlay"][data-container="wide-boxed"][data-header-position="fixed"] {
.header {
max-width: 92.5rem;
}
}
}
[data-sidebar-style="compact"][data-header-position="fixed"][data-container="wide-boxed"][data-layout="vertical"] {
.header {
max-width: 92.5rem;
}
}
[data-header-position="fixed"][data-layout="horizontal"][data-container="wide-boxed"] {
.dlabnav {
max-width: 92.5rem;
}
} //ok
[data-layout="vertical"][data-container="wide-boxed"][data-header-position="fixed"],
[data-layout="horizontal"][data-container="wide-boxed"][data-header-position="fixed"] {
.header {
max-width: 92.5rem;
}
}
[data-layout="horizontal"][data-container="wide-boxed"][data-header-position="fixed"][data-sidebar-style="mini"] {
.header {
max-width: 92.5rem;
}
}
[data-container="wide-boxed"] {
.metismenu.fixed {
left: auto;
max-width: 92.5rem;
}
.page-titles {
margin-bottom: 3rem;
padding: 0.9375rem 0.9375rem;
}
.content-body .container-fluid {
padding: 2.5rem;
}
}
[data-container="wide-boxed"][data-layout="vertical"] {
.page-titles {
margin-left: 0;
margin-right: 0;
}
}
[data-layout="vertical"][data-container="wide-boxed"][data-sidebar-position="fixed"][data-header-position="static"][data-sidebar-style="overlay"] {
.nav-header {
position: absolute;
}
.menu-toggle {
.dlabnav {
position: absolute;
}
}
}
[data-container="wide-boxed"][data-sidebar-position="fixed"][data-layout="horizontal"] {
.dlabnav.fixed {
left: auto;
max-width: 92.5rem;
}
}

View File

@@ -0,0 +1,4 @@
@import './theme-bg';
@import './theme-boxed';
@import './theme-wide-boxed';
@import './theme-color';

View File

@@ -0,0 +1,6 @@
[data-typography="cairo"] {
font-family: 'Cairo', sans-serif;
}

View File

@@ -0,0 +1,7 @@
[data-typography="opensans"] {
font-family: 'Open Sans', sans-serif;
}

View File

@@ -0,0 +1,6 @@
[data-typography="poppins"] {
font-family: 'poppins', sans-serif;
}

View File

@@ -0,0 +1,7 @@
[data-typography="roboto"] {
font-family: 'Roboto', sans-serif;
}

View File

@@ -0,0 +1,7 @@
@import "./opensans";
@import "./poppins";
@import "./cairo";
@import "./roboto";

View File

@@ -0,0 +1,557 @@
[data-theme-version="dark"]{
.btn-link g [fill]{
fill: #fff;
}
.btn-light:active,
.btn-light:focus,
.btn-light:hover{
color:#000;
}
.modal-content{
background:$dark-card;
}
.modal-footer,
.modal-header{
border-color: $d-border;
}
.dashboard-select-2,
.menu-tabs{
border-color:$d-border!important;
}
.close{
font-weight: 400;
color: $white;
text-shadow: none;
&:hover{
color: $white;
}
}
.star-rating .product-review,
.new-arrival-content .item{
color: $white;
}
.custom-dropdown .dropdown-menu{
border-color: $d-border;
}
.widget-stat .media > span{
background: $d-border;
border-color: $d-border;
color:$white;
}
.plus-minus-input .custom-btn{
background: $d-bg;
border-color: $d-border;
}
.dropdown-divider,
.size-filter ul li{
border-color: $d-border;
}
.custom-select{
border-color: $d-border;
color: $d-ctl;
background:$d-bg;
}
.mail-list .list-group-item.active i {
color: $white;
}
hr{
border-color: $d-border;
}
.grid-col{
background:$d-bg;
}
.noUi-target{
border-color:$d-border;
border-radius: 0.5rem;
box-shadow: none;
.noUi-connects{
background:$d-border;
}
}
.noUi-marker-large,
.noUi-marker{
background:$d-border;
}
.note-editor.note-frame{
border-color:$d-border;
.btn{
color:$white;
}
.note-editing-area .note-editable{
color:$white;
}
}
.widget-media .timeline .timeline-panel{
border-color:$d-border;
}
.notification_dropdown .dropdown-menu-right .all-notification{
border-color:$d-border;
}
.list-group-item-action{
color:$border;
}
.list-group-item-action:focus,
.list-group-item-action:hover,
.list-group-item-action:focus{
background-color:$d-bg;
border-color:$d-bg;
}
.list-group-item.active{
color:$white;
border-color:var(--primary);
&:focus,
&:hover,
&:focus{
background-color:var(--primary);
border-color:var(--primary);
color:$white;
}
}
.form-head .btn-outline-primary{
border-color:$d-border;
}
.form-head .btn-outline-primary:hover{
border-color:var(--primary);
}
.review-tab.nav-pills li a.nav-link.active{
background:transparent;
}
.text-black{
color:$white!important;
}
.abilities-chart .ct-chart .ct-label{
fill:$white;
}
.morris_chart_height text tspan{
fill:$white;
}
.btn-link{
color:$white;
}
.order-bg{
background:$d-bg;
}
.detault-daterange{
background:$d-bg;
color:$white;
.input-group-text{
background:$dark-card;
border:0;
}
}
.dataTablesCard{
background-color:$dark-card;
}
.compose-content .dropzone{
background:$d-bg!important;
border-color:$d-border;
.dlab-message .dlab-button{
color:$white;
}
}
.daterangepicker{
.calendar-table{
.table-condensed{
td{
&:hover{
background-color:var(--primary);
color:$white;
}
}
}
}
&:after{
border-bottom: 0.375rem solid $d-bg;
}
}
.app-fullcalendar{
.fc-button{
background-color:$d-bg;
border-color:var(--primary);
color:$white;
text-shadow:none;
&:hover,&.fc-stat-hover{
background-color:var(--primary);
}
}
}
.dd-handle{
border-color:$d-border;
}
.menu-toggle .dlabnav .metismenu li > ul{
background:$dark-card;
}
.header-right .notification_dropdown .nav-link{
border-color:$d-border;
}
.clockpicker-popover .popover-content{
background-color:$dark-card;
}
.clockpicker-plate{
background-color:$d-bg;
}
.clockpicker-popover .popover-title{
background-color:$d-bg;
color:$white;
}
.form-wizard .nav-wizard li .nav-link span{
background-color:$d-bg;
}
.form-wizard .nav-wizard li .nav-link:after{
background:$d-bg;
}
.form-wizard .nav-wizard li .nav-link.active:after,.form-wizard .nav-wizard li .nav-link.done:after{
background:var(--primary);
}
.form-wizard .nav-wizard li .nav-link.active span
,.form-wizard .nav-wizard li .nav-link.done span{
background:var(--primary);
}
.check-switch .custom-control-label:after
, .check-switch .custom-control-label:before{
border-color:var(--primary);
}
.fc-unthemed .fc-today{
background:$d-bg;
}
.fc-unthemed .fc-divider, .fc-unthemed .fc-list-heading td, .fc-unthemed .fc-popover .fc-header{
background: $d-border;
}
.picker__box{
background:$d-bg;
.picker__button--clear
, .picker__button--close
, .picker__button--today{
background:$dark-card;
color:$white;
&:hover{
&:before{
color:$white;
}
}
}
}
.picker{
color:#999;
}
.dtp table.dtp-picker-days tr > td > a{
color: #68686a;
&.selected{
color:$white;
}
}
.order-request tbody tr{
border-color:$d-border;
}
.card-list li{
color:$white;
}
.card-bx .change-btn:hover{
color:var(--primary);
}
.invoice-card{
&.bg-warning{
background-color:#5b3c1f!important;
}
&.bg-success{
background-color:#2a6729!important;
}
&.bg-info{
background-color:#4c276a!important;
}
&.bg-secondary{
background-color:#1c3e52!important;
}
}
.user-list li{
border-color:$dark-card;
}
.toggle-switch{
color:$white;
}
.bar-chart{
.apexcharts-text tspan{
fill:#969ba0;
}
line{
stroke:$d-border;
}
}
.coin-card{
background: #0f6a62;
background: -moz-linear-gradient(left, #0f6a62 0%, #084355 100%);
background: -webkit-linear-gradient(left, #0f6a62 0%,#084355 100%);
background: linear-gradient(to right, #0f6a62 0%,#084355 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0f6a62', endColorstr='#084355',GradientType=1 );
.coin-icon{
background:rgba($black,0.2);
}
}
.accordion.style-1 .accordion-item,.invoice-list{
border-color:$d-border;
}
.accordion.style-1 .accordion-header.collapsed {
.user-info a,.user-info,&>span{
color:$white;
}
}
.ic-card {
&>a{
background:#25479f;
&:first-child{
border-color:#25479f;
}
}
span{
color:$white;
}
}
table.dataTable thead th, table.dataTable thead td{
border-color:$d-border!important;
}
.form-check-input{
&:checked{
background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
}
}
.dataTables_info{
color:$white;
}
.dataTables_wrapper .dataTables_paginate span .paginate_button.current,
.dataTables_wrapper .dataTables_paginate span .paginate_button:hover{
background:var(--primary);
color:$white!important;
}
.transaction-details{
border-color:$d-border;
}
.description{
color:$white;
}
.transaction-details .amount-bx{
background:#3f250d;
i{
background:#8d3b0c;
}
}
.nice-select .option{
background:$dark-card;
}
.nice-select .option:hover, .nice-select .option.focus, .nice-select .option.selected.focus{
background:$dark-card;
}
.card-tabs.style-1{
border-color:$d-border;
}
.nice-select .list{
background:$d-bg;
}
.table-search .input-group .input-group-text{
background:$dark-card;
}
.bar-chart{
.apexcharts-legend-text{
color:$white!important;
}
}
.Sales{
tspan{
fill:$white;
}
}
.timeline-chart{
rect{
fill:$d-bg;
}
}
.header-info{
span{
color:$white!important;
}
}
.smallipop-instance.blue{
color:#fff;
}
.property-map .smallipop.smallimap-mapicon .circle-marker{
border-color:$d-border;
}
.property-features li{
color:$white;
}
.review-tabs-1{
background:$dark-card;
}
.shapreter-row > div{
border-color:$d-border;
}
.chartBar{
line{
stroke:$d-border;
}
}
.search-job .search-dropdown:after{
background:$d-border;
}
.chartjs{
line{
stroke:$d-border;
}
}
.form-label{
color:$white;
}
.datepicker-switch{
color:$white;
}
.datepicker.datepicker-dropdown td.day, .datepicker.datepicker-dropdown th.next, .datepicker.datepicker-dropdown th.prev{
color:$white;
}
.datepicker.datepicker-dropdown th.dow{
color:$white;
}
.datepicker.datepicker-dropdown th.datepicker-switch, .datepicker.datepicker-dropdown th.next, .datepicker.datepicker-dropdown th.prev{
color:$white;
}
.btn-close{
color:$white!important;
}
.bgl-secondary{
color:$white;
}
.application tr td .btn{
color:$white;
}
.alert.alert-outline-secondary,
.alert.alert-outline-dark{
color:$white;
}
.form-control-plaintext{
color:$white;
}
.timeline-panel{
.media-body{
small{
color:$white;
}
}
}
.search-job .job-title-search .search-area .input-group-text{
background-color:$d-bg;
}
.default-select.style-1{
background-color:transparent;
}
.activity{
svg{
path{
fill:$d-bg;
}
}
}
.custom-label,
.custom-label-2,
.exp-del i, .exp-del strong{
color:$white;
}
.attachment{
a{
color:var(--primary);
&:hover{
color:$white;
}
}
}
.table-bordered > :not(caption) > *{
border-color:$d-border;
}
.read-content-attachment .attachment > div:not(:last-child){
border-color:$d-border;
}
.bg-img-fix{
.bg-white{
background-color:$d-bg!important;
}
}
.datepicker.datepicker-dropdown.dropdown-menu.datepicker-orient-left.datepicker-orient-bottom{
border-color:$d-border;
}
.text-youtube,
.text-linkedin,
.text-facebook,
.text-dribble{
&:after{
background-color: $d-border;
}
}
.cm-content-box .cm-content-body{
background-color:$dark-card;
}
.tab-my{
.nav-link{
background-color: transparent;
border: 1px solid rgba(255, 255, 255, 0.1);
color: #fff;
&.active{
background-color: var(--primary) !important;
}
}
}
.dd .accordion-body,
.dz-terms{
border-color:$d-border;
}
.new-scroll{
background-color:$d-bg;
}
.cm-content-box{
background-color:$dark-card;
}
.cm-content-box .cm-content-body{
border-color:$d-border;
}
.cm-content-box.box-primary.style-1 .content-title{
border-color:$d-border;
}
.admin-settings{
.bootstrap-select .btn{
border-color:$border-color !important;
background: $white !important;
}
.dropdown-menu{
background-color:$white!important;
box-shadow:0rem 0rem 2.5rem 0rem rgba(82, 63, 105, 0.1);
.dropdown-item{
background-color:$white!important;
color:#514e5f!important;
&:hover{
background-color:#e9ecef!important;
}
&.active{
background-color:var(--rgba-primary-1)!important;
color:var(--primary)!important
}
}
}
}
}

View File

@@ -0,0 +1,10 @@
[data-theme-version="dark"] {
.nav-header{
.brand-title{
path{
fill:var(--text-dark);
}
}
}
}

View File

@@ -0,0 +1,19 @@
[data-theme-version="dark"] {
--nav-headbg : #{$dark-card};
--sidebar-bg : #{$dark-card};
--headerbg : #{$dark-card};
--card : #{$dark-card};
--text-dark : #{$d-text-dark};
--text-gray : #{$d-text-gray};
--text : #{$d-text};
--body-bg : #{$d-bg};
--light : #{$d-bg};
--border : #{$d-border};
}

View File

@@ -0,0 +1,33 @@
[data-theme-version="dark"] {
.sidebar-right {
.card-tabs{
.nav-tabs{
border-color: var(--rgba-primary-1)!important;
.nav-item{
.nav-link{
color:$black!important;
}
}
}
}
.form-control{
background:$white;
color:$black;
border-color:$border-color;
}
.default-select .list{
background:$white;
.option{
&.selected,&.focus,&:hover{
background:rgba($black,0.05)!important;
}
}
}
.sidebar-right-inner>h4{
color:$black!important;
}
.nice-select .option {
background: #fff;
}
}
}

View File

@@ -0,0 +1,8 @@
@import "./dark-reset";
@import "./dark-global";
@import "./dark-header";
@import "./dark-nav-header";
@import "./dark-nav-header";
@import "./dark-left-sidebar";
@import "./dark-right-sidebar";
@import "./dark-footer";

View File

@@ -0,0 +1,8 @@
@import "./_transparent-reset";
@import "./_transparent-global";
@import "./_transparent-header";
@import "./_transparent-nav-header";
@import "./_transparent-nav-header";
@import "./_transparent-left-sidebar";
@import "./_transparent-right-sidebar";
@import "./_transparent-footer";

View File

@@ -0,0 +1,13 @@
// [data-theme-version="dark"] {
// .footer {
// background-color: lighten($d-bg, 3.2%);
// .copyright {
// background-color: lighten($d-bg, 3.2%);
// p {
// color: $white;
// }
// }
// }
// }

View File

@@ -0,0 +1,24 @@
[data-theme-version="transparent"] {
.dropdown-menu {
background-color: $dark-card;
}
.dropdown-item {
&:hover, &:focus {
background-color: $d-bg;
color: $white;
}
}
.form-control {
background-color: $d-bg;
border-color: $d-border;
color: $white;
}
.card {
background-color: rgba(0,0,0,0.15);
}
}

View File

@@ -0,0 +1,43 @@
[data-theme-version="transparent"] {
.header {
background-color: rgba(0,0,0,0.15);
}
.header-left {
input {
border-color: $d-border;
color: $white;
&:focus {
box-shadow: none;
border-color: $primary;
}
&::placeholder {
color: $white;
}
}
}
.header-right {
.dropdown {
.nav-link {
&:hover {
color: $white;
}
}
}
.notification_dropdown {
.dropdown-item {
a {
color: $white;
}
}
}
}
}

View File

@@ -0,0 +1,70 @@
[data-theme-version="transparent"] {
.dlabnav {
background-color: rgba(0,0,0,0.15)!important;
.metismenu {
&>li {
&>a {
color: rgba(0,0,0,0.15);
}
&:hover,
&:focus,
&.mm-active {
&>a {
background-color: rgba(0,0,0,0.15)!important;
color: $white;
&::after {
border-color: transparent transparent $white transparent;
}
}
}
&.mm-active {
ul {
ul {
background-color: transparent;
}
}
}
}
//one step dropdown
ul {
background-color: rgba(0,0,0,0.15);
a {
&:hover,
&:focus,
&.mm-active {
color: $white;
}
}
}
a {
color: rgba(0,0,0,0.15);
}
ul {
background-color: rgba(0,0,0,0.15)!important;
}
.has-arrow {
&:after {
border-color: transparent transparent rgba(0,0,0,0.15) transparent;
}
}
}
}
}

View File

@@ -0,0 +1,18 @@
[data-theme-version="transparent"] {
.nav-header,
.nav-control {
background-color: rgba(0,0,0,0.15)!important;
}
.nav-control {
color: $white;
}
.brand-logo {
color: $white;
&:hover {
color: $white;
}
}
}

View File

@@ -0,0 +1,17 @@
// [data-theme-version="dark"] {
// #preloader {
// background: $d-bg;
// }
// .loader {
// &__bar {
// background: $primary;
// box-shadow: 1px 1px 0 $d-border;
// }
// &__ball {
// background: $primary;
// }
// }
// }

View File

@@ -0,0 +1,56 @@
[data-theme-version="transparent"] {
background: url('../images/body/12.jpg');
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
background-position: center;
position: relative;
// background: $d-bg;s
color: $white;
h1,
h2,
h3,
h4,
h5,
h6 {
color: $white !important;
}
a.link {
color: $d-ctd;
}
a.link:focus,
a.link:hover {
color: $info;
}
a {
color: $white;
&:hover {
color: $d-ctl;
}
}
//Generating border classess
@each $value in $borders {
@if $value == "" {
.border {
border: 1px solid $d-border !important;
}
} @else {
.border-#{$value} {
border-#{$value}: 1px solid $d-border !important;
}
}
}
}

View File

@@ -0,0 +1,16 @@
// [data-theme-version="dark"] {
// .sidebar-right {
// background-color: lighten($d-bg, 3.2%);
// .nav-tabs {
// background-color: lighten($d-bg, 3.2%);
// border-bottom: 1px solid $d-bg;
// .nav-link {
// &.active {
// background-color: $d-bg;
// }
// }
// }
// }
// }