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

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';