first commit

This commit is contained in:
2022-04-13 13:51:55 +07:00
commit 47e209c023
3107 changed files with 238911 additions and 0 deletions

View File

@@ -0,0 +1,382 @@
.chatbox{
width:340px;
height:100vh;
position:fixed;
right:-500px;
top:0;
z-index:999;
background:#fff;
box-shadow: 0px 0px 30px 0px 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%;
right: 340px;
background: #000;
z-index: 1;
opacity: 0.1;
cursor:pointer;
}
.card-fotter {
padding: 0.75rem 1rem;
}
.card-body {
padding: 1rem;
}
&.active{
right:0;
.chatbox-close{
width: 100vw;
}
}
.type_msg {
padding-top: 10px;
}
.nav{
padding: 1rem 1rem 0 1rem;
background:$primary;
border: 0;
justify-content: space-between;
.nav-link{
color: #fff;
opacity: 0.7;
text-transform: uppercase;
&:hover,
&.active{
background:transparent;
color: #fff;
opacity: 1;
border-color: #fff;
}
}
}
.img_cont{
width: 40px;
border-radius: 40px;
margin-right: 10px;
position: relative;
height: 40px;
background: #eee;
display: flex;
align-items: center;
justify-content: center;
font-weight: 600;
font-size: 14px;
min-width: 40px;
min-height: 40px;
.icon{
color:#fff;
}
&.primary{
background:$primary-light;
color:$primary;
@at-root [data-theme-version="dark"] & {
background:$primary-opacity;
}
}
&.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: 12px;
height: 12px;
border-radius: 15px;
right: -1px;
bottom: 0px;
border: 2px solid #fff;
//box-shadow: 5px 5px 10px 0px rgba($success, 0.3);
&.offline{
background:$danger;
//box-shadow: 5px 5px 10px 0px rgba($danger, 0.3);
}
}
.online_icon{
}
}
.card{
box-shadow:none;
}
.search{
height:40px;
}
.user_info{
span{
font-size: 15px;
color: #000;
display: block;
font-weight: 500;
line-height: 1;
margin-bottom: 5px;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
display: block;
max-width: 170px;
@at-root [data-theme-version="dark"] & {
color: $white;
}
}
p{
font-size:13px;
margin-bottom:0;
line-height: 1;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
display: block;
max-width: 170px;
}
}
.contacts{
li{
padding: 7px 1rem;
border-bottom: 1px 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: 4px 1rem;
font-weight: 700;
color: #000;
position: sticky;
top: 0;
z-index: 1;
@at-root [data-theme-version="dark"] & {
color: $white;
background:$d-bg;
}
}
}
.msg_card_body{
height: calc(100vh - 195px);
}
.contacts_body{
height: calc(100vh - 120px);
}
.card-header{
background:#f4f7ff;
padding: 15px 20px;
justify-content: center;
h6{
font-size:15px;
}
p{
line-height:1.2;
font-size:12px;
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: 30px;
height: 30px;
background: $body-bg;
border-radius: 6px;
line-height: 30px;
display: block;
@at-root [data-theme-version="dark"] & {
background:$primary-opacity;
svg g [fill]{
fill:$white;
}
}
}
}
.img_cont_msg {
width: 30px;
height: 30px;
display: block;
max-width: 30px;
min-width: 30px;
img{
width:100%;
}
}
.msg_cotainer {
background: $primary;
margin-left: 10px;
border-radius: 0 $radius $radius $radius;
padding: 10px 15px;
color:#fff;
position:relative;
.msg_time{
display: block;
font-size: 11px;
color: #fff;
margin-top: 5px;
opacity: 0.5;
}
&:after{
content: "";
position: absolute;
left: -10px;
border-right: 10px solid $primary;
border-bottom: 10px solid transparent;
border-top: 0px solid;
top: 0;
}
}
.msg_cotainer_send {
background: $body-bg;
padding: 10px 15px;
border-radius: 6px 0px 6px 6px;
margin-right: 10px;
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: 11px;
text-align: right;
margin-top: 5px;
opacity: 0.6;
}
&:after{
content: "";
position: absolute;
right: -10px;
border-left: 10px solid $body-bg;
border-bottom: 10px solid transparent;
border-top: 0px solid;
top: 0;
@at-root [data-theme-version="dark"] & {
border-left: 10px solid $d-bg;
}
}
}
.type_msg{
.form-control{
padding: 10px 0;
height: 50px;
border: 0;
resize: none;
}
.btn{
font-size: 18px;
border-radius: 38px !important;
width: 38px;
height: 38px;
padding: 0;
margin-top: 6px;
}
}
.video_cam{
margin-left:15px;
span{
width: 35px;
height: 35px;
background: #10ca93;
text-align: center;
line-height: 35px;
border-radius: 35px;
color: #fff;
margin-right: 5px;
align-self: center;
font-size: 16px;
padding: 0 3px;
display: inline-block;
}
}
.note_card{
.contacts li{
padding: 12px 1rem;
}
}
}
@include custommq($max: 576px) {
.chatbox{
width: 280px;
.chatbox-close{
right: 280px
}
}
}

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"] {
.deznav {
.metismenu {
&>li {
&.mega-menu {
&> ul.collapse:not(.in) {
height: 252px !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: 200px;
width: 70vw;
ul a {
width: 101%;
}
}
}
}
&-lg {
&:hover {
&>a {
width: calc(55vw + 3rem);
}
&>ul {
max-height:200px;
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"] {
.deznav {
.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"] {
.deznav {
.metismenu {
&>li {
&.mega-menu {
&:not(:last-child) {
position: static;
}
ul {
left: 0;
right: 0;
li {
@at-root [data-theme-version="dark"]#{&} {
border-color: $d-border;
}
@at-root [data-sibebarbg="color_2"]#{&} {
border-color: darken($color_pallate_2, 20%);
}
@at-root [data-sibebarbg="color_3"]#{&} {
border-color: darken($color_pallate_3, 20%);
}
@at-root [data-sibebarbg="color_4"]#{&} {
border-color: darken($color_pallate_4, 20%);
}
@at-root [data-sibebarbg="color_5"]#{&} {
border-color: darken($color_pallate_5, 20%);
}
@at-root [data-sibebarbg="color_6"]#{&} {
border-color: darken($color_pallate_6, 20%);
}
@at-root [data-sibebarbg="color_7"]#{&} {
border-color: darken($color_pallate_7, 20%);
}
@at-root [data-sibebarbg="color_8"]#{&} {
border-color: darken($color_pallate_8, 20%);
}
@at-root [data-sibebarbg="color_9"]#{&} {
border-color: darken($color_pallate_9, 20%);
}
@at-root [data-sibebarbg="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: 1px;
position: absolute;
background-color: $white;
right: 2.8125rem;
top: 0;
@at-root [data-theme-version="dark"]#{&} {
background-color: lighten($color: $d-bg, $amount: 3.2%);
}
@at-root [data-sibebarbg="color_2"]#{&} {
background-color: darken($color_pallate_2, 10%);
}
@at-root [data-sibebarbg="color_3"]#{&} {
background-color: darken($color_pallate_3, 10%);
}
@at-root [data-sibebarbg="color_4"]#{&} {
background-color: darken($color_pallate_4, 10%);
}
@at-root [data-sibebarbg="color_5"]#{&} {
background-color: darken($color_pallate_5, 10%);
}
@at-root [data-sibebarbg="color_6"]#{&} {
background-color: darken($color_pallate_6, 10%);
}
@at-root [data-sibebarbg="color_7"]#{&} {
background-color: darken($color_pallate_7, 10%);
}
@at-root [data-sibebarbg="color_8"]#{&} {
background-color: darken($color_pallate_8, 10%);
}
@at-root [data-sibebarbg="color_9"]#{&} {
background-color: darken($color_pallate_9, 10%);
}
@at-root [data-sibebarbg="color_10"]#{&} {
background-color: darken($color_pallate_10, 10%);
}
}
ul a {
width: 101%;
}
}
}
&-xl {
&:hover {
&>ul {
max-height: 210px;
width: 70vw;
}
}
}
&-lg {
&:hover {
&>ul {
max-height: 210px;
width: 700px;
height: 210px !important;
@include custommq($min: 1200px, $max: 1500px) {
width: 700px;
}
}
}
}
&-md {
&:hover {
&>ul {
max-height: 20rem;
width: 54vw;
@include custommq($min: 1200px, $max: 1500px) {
width: 60vw;
}
}
}
}
&-sm {
&:hover {
&>ul {
max-height: 20rem;
width: 25vw;
@include custommq($min: 1200px, $max: 1500px) {
width: 35vw;
}
}
}
}
}
}
}
}
}
[data-layout="horizontal"][data-container="boxed"] {
.deznav {
.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,3 @@
[data-sibebarbg="image_3"] {
}

View File

@@ -0,0 +1,162 @@
////////////////
// Compact Nav
////////////////
@media (min-width:767px) {
[data-sidebar-style="compact"] {
.deznav {
.nav-user{
display: none;
}
.metismenu {
& > li{
& > a{
padding:1.5rem 1.625rem 1.5rem 1.5rem;
}
ul{
padding:1rem 0;
li > a{
padding:0.5rem 1rem;
&.has-arrow:after{
content: "";
}
}
}
}
li {
text-align: center;
a {
svg{
max-width: 21px;
max-height: 21px;
display: block;
margin-left: auto;
margin-right: auto;
}
i{
font-size:2.2rem;
}
&:after{
content:none;
}
&:before{
content: "";
height: 75px;
width: 0;
position: absolute;
left: 0;
top: 50%;
transform:translatey(-50%);
background: $primary;
border-radius:0 $radius $radius 0;
@include transitionMedium;
}
}
ul:after{
content:none;
}
&.mm-active,
&:hover{
& > a{
background: -moz-linear-gradient(left, rgba(224,224,228,1) 0%, rgba(125,185,232,0) 100%);
background: -webkit-linear-gradient(left, rgba(224,224,228,1) 0%,rgba(125,185,232,0) 100%);
background: linear-gradient(to right, rgba(224,224,228,1) 0%,rgba(125,185,232,0) 100%);
&:before{
width:10px;
}
}
}
}
}
}
.nav-text {
display: inline-block;
margin-top: 0.7125rem;
}
.nav-label {
&.first{
display: none;
}
}
.nav-badge {
display: none;
}
.footer {
padding-left: 9.375rem;
}
.content-body {
margin-left: 15rem;
}
}
}
[data-layout="horizontal"][data-sidebar-style="compact"] {
.footer {
padding-left: 0;
}
.content-body {
margin-left:0;
}
.deznav .metismenu{
padding: 0 30px;
}
}
[data-layout="vertical"][data-sidebar-style="compact"] {
.deznav {
width: 15rem;
.metismenu {
ul{
background: rgba(0,0,0,0.02);
@at-root [data-theme-version="dark"]#{&} {
background:(255, 255, 255, 0.05);
}
a{
&:before{
content:none;
}
}
ul a {
padding: 0.625rem 0.9375rem;
}
}
&>li {
&>a.has-arrow::after {
top: 1px;
display: inline-block;
right: auto;
margin-left: 5px;
position: relative;
width: 7px;
height: 7px;
border-width: 2px 0px 0px 2px;
@at-root [direction="rtl"]#{&} {
left: auto;
margin-left: 0;
margin-right: 5px;
}
}
}
}
}
}

View File

@@ -0,0 +1,269 @@
@import "../../abstracts/variable";
@import "../../abstracts/mixin";
[data-sidebar-style="full"][data-layout="vertical"] {
.deznav{
.metismenu{
& > li{
padding: 0 0 0 40px;
& > a{
font-size: 16px;
padding: 20px 20px;
border-top-left-radius: $radius;
border-bottom-left-radius: $radius;
@include transitionMedium;
position:relative;
@include respond('laptop') {
padding: 20px 20px;
font-size: 16px;
}
&:before{
height:100%;
position:absolute;
border-radius:4px;
width:6px;
background:$primary;
top:0;
right:0;
opacity: 0;
content:"";
@include transitionMedium;
}
}
&.mm-active{
& > a{
color:$primary;
background:rgba($primary,0.1);
i{
color: $primary;
}
&:before{
opacity: 1;
}
}
}
.has-arrow:after{
right: 2.5rem;
@include respond('laptop') {
right: 1.5rem;
}
}
@include respond ('laptop'){
padding: 0 0 0 20px;
}
}
}
}
.menu-toggle {
.nav-header {
width: 5rem;
z-index: 999;
.brand-logo {
padding-left: 0;
padding-right: 0;
justify-content: center;
}
.nav-control {
.hamburger {
.line {
background-color: $primary!important;
}
}
}
}
.copyright,
.add-menu-sidebar{
display:none;
}
.header {
padding-left: 6rem;
width: 100%;
@at-root [direction="rtl"]#{&} {
padding: 0 0.9375rem;
padding-right: 5rem;
}
}
.deznav {
width: 5rem;
overflow: visible;
position: absolute;
.nav-text {
display: none;
}
.slimScrollDiv,
.deznav-scroll {
overflow: visible !important;
}
.metismenu {
li {
position: relative;
a {
padding: 13px;
border-radius:$radius;
margin:2px 0;
svg{
max-width: 24px;
max-height: 24px;
margin-right: 0;
}
&:before{
content:none;
}
}
&>ul {
position: absolute;
left: 5rem;
top: 0;
width: 12rem;
z-index: 1001;
display: none;
padding-left: 1px;
height: auto !important;
box-shadow: 0px 0px 40px 0px rgba(82, 63, 105, 0.1);
border-radius: 6px;
margin-left: 0;
border:0;
background:$white;
&:after{
content: "";
position: absolute;
background: inherit;
width: 10px;
height: 10px;
transform: rotate(45deg);
-webkit-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-moz-transform: rotate(45deg);
left: -5px;
top: 20px;
}
@at-root [direction="rtl"]#{&} {
left: auto;
right: 3rem;
// box-shadow: -6px 6px 10px rgba(0, 0, 0, 0.15);
}
li:hover {
ul {
// display: block;
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 13px;
&>a {
text-align: center;
&.has-arrow {
&:after {
display: none;
}
}
i{
padding: 0;
width: auto;
height: auto;
background: transparent;
margin:0;
line-height: 1;
}
}
&.mm-active > a{
background:$primary;
border-radius:$radius;
color:$white;
i{
color: $white;
padding: 0;
}
}
&:hover{
&:nth-last-child(-n + 1) {
&>ul {
bottom: 0;
top: auto;
}
}
&>a {
border-radius: $radius;
background:$primary;
color:$white;
@at-root [data-theme-version="dark"]#{&} {
background:$dark-card;
}
i{
color: $white;
}
}
&>ul {
height: auto !important;
padding: 10px 0;
a {
padding: 6px 20px 6px 20px;
margin-left: -.1rem;
}
ul{
padding: 10px 0;
a {
padding: 6px 20px 6px 20px;
margin-left: -.1rem;
}
}
}
}
}
.nav-label,
.nav-badge {
display: none;
}
}
}
.content-body {
margin-left: 5rem;
@at-root [direction="rtl"]#{&} {
margin-right: 5rem;
margin-left: auto;
border: 0;
}
}
&+.footer {
padding-left: 5rem;
@at-root [direction="rtl"]#{&} {
padding-left: 0;
padding-right: 5rem;
}
}
}
}
[data-sidebar-style="full"][data-layout="horizontal"] {
.deznav .metismenu{
padding: 0 30px;
}
.header .header-content{
padding-left: 1.875rem;
}
}

View File

@@ -0,0 +1,349 @@
///////////////////////////
// Nav Profile
///////////////////////////
.nav-label {
margin: 10px 30px 0;
padding: 1.5625rem 0 10px;
text-transform: uppercase;
font-size: 0.75rem;
letter-spacing: 0.05rem;
border-top: 1px solid $l-border;
color:$dusty-gray;
@at-root [data-theme-version="dark"] & {
border-color: $d-border;
}
&.first {
border: 0px;
margin-top: 0px;
}
}
.nav-badge {
position: absolute;
right: 2.8125rem;
top: 0.625rem;
}
.content-body {
margin-left: 21.563rem;
z-index: 0;
transition: all .2s ease;
@include custommq($min: 1200px, $max: 1400px) {
margin-left: 17rem;
}
}
// Bell //
.bell img{
-webkit-animation: ring 8s .7s ease-in-out infinite;
-webkit-transform-origin: 50% 4px;
-moz-animation: ring 8s .7s ease-in-out infinite;
-moz-transform-origin: 50% 4px;
animation: ring 8s .7s ease-in-out infinite;
}
// bell //
@-webkit-keyframes ring {
0% { -webkit-transform: rotateZ(0); }
1% { -webkit-transform: rotateZ(30deg); }
3% { -webkit-transform: rotateZ(-28deg); }
5% { -webkit-transform: rotateZ(34deg); }
7% { -webkit-transform: rotateZ(-32deg); }
9% { -webkit-transform: rotateZ(30deg); }
11% { -webkit-transform: rotateZ(-28deg); }
13% { -webkit-transform: rotateZ(26deg); }
15% { -webkit-transform: rotateZ(-24deg); }
17% { -webkit-transform: rotateZ(22deg); }
19% { -webkit-transform: rotateZ(-20deg); }
21% { -webkit-transform: rotateZ(18deg); }
23% { -webkit-transform: rotateZ(-16deg); }
25% { -webkit-transform: rotateZ(14deg); }
27% { -webkit-transform: rotateZ(-12deg); }
29% { -webkit-transform: rotateZ(10deg); }
31% { -webkit-transform: rotateZ(-8deg); }
33% { -webkit-transform: rotateZ(6deg); }
35% { -webkit-transform: rotateZ(-4deg); }
37% { -webkit-transform: rotateZ(2deg); }
39% { -webkit-transform: rotateZ(-1deg); }
41% { -webkit-transform: rotateZ(1deg); }
43% { -webkit-transform: rotateZ(0); }
100% { -webkit-transform: rotateZ(0); }
}
@-moz-keyframes ring {
0% { -moz-transform: rotate(0); }
1% { -moz-transform: rotate(30deg); }
3% { -moz-transform: rotate(-28deg); }
5% { -moz-transform: rotate(34deg); }
7% { -moz-transform: rotate(-32deg); }
9% { -moz-transform: rotate(30deg); }
11% { -moz-transform: rotate(-28deg); }
13% { -moz-transform: rotate(26deg); }
15% { -moz-transform: rotate(-24deg); }
17% { -moz-transform: rotate(22deg); }
19% { -moz-transform: rotate(-20deg); }
21% { -moz-transform: rotate(18deg); }
23% { -moz-transform: rotate(-16deg); }
25% { -moz-transform: rotate(14deg); }
27% { -moz-transform: rotate(-12deg); }
29% { -moz-transform: rotate(10deg); }
31% { -moz-transform: rotate(-8deg); }
33% { -moz-transform: rotate(6deg); }
35% { -moz-transform: rotate(-4deg); }
37% { -moz-transform: rotate(2deg); }
39% { -moz-transform: rotate(-1deg); }
41% { -moz-transform: rotate(1deg); }
43% { -moz-transform: rotate(0); }
100% { -moz-transform: rotate(0); }
}
@keyframes ring {
0% { transform: rotate(0); }
1% { transform: rotate(30deg); }
3% { transform: rotate(-28deg); }
5% { transform: rotate(34deg); }
7% { transform: rotate(-32deg); }
9% { transform: rotate(30deg); }
11% { transform: rotate(-28deg); }
13% { transform: rotate(26deg); }
15% { transform: rotate(-24deg); }
17% { transform: rotate(22deg); }
19% { transform: rotate(-20deg); }
21% { transform: rotate(18deg); }
23% { transform: rotate(-16deg); }
25% { transform: rotate(14deg); }
27% { transform: rotate(-12deg); }
29% { transform: rotate(10deg); }
31% { transform: rotate(-8deg); }
33% { transform: rotate(6deg); }
35% { transform: rotate(-4deg); }
37% { transform: rotate(2deg); }
39% { transform: rotate(-1deg); }
41% { transform: rotate(1deg); }
43% { transform: rotate(0); }
100% { transform: rotate(0); }
}
// 38px + 60px
///////////////
// Sidebar
//////////////
.deznav {
width: 21.563rem;
padding-bottom: 0;
height:100%;
position: absolute;
top: 0;
padding-top: 120px;
z-index: 4;
background-color: $white;
box-shadow: 0px 0px 10px rgba(120, 130, 140, 0.13);
transition: all .2s ease;
// border-top-left-radius: 5px;
// border-top-right-radius: 5px;
//box-shadow: 18px 0px 35px 0px rgba(0, 0, 0, 0.02);
@include respond('tab-land') {
padding-top:80px;
}
@include respond('phone-land') {
width: 18rem;
}
// @include respond('big-desktop') {
// left: 6rem;
// }
.deznav-scroll {
position: relative;
height: 100%;
// overflow: visible!important;
// border-top-left-radius: 5px;
// border-top-right-radius: 5px;
}
@include custommq($min: 1200px, $max: 1400px) {
width: 17rem;
}
ul {
padding: 0;
margin: 0;
list-style: none;
}
.metismenu {
display: flex;
flex-direction: column;
padding-top: 15px;
@include respond('phone-land') {
padding-top: 0;
}
&.fixed {
position: fixed;
top: 0;
width: 100%;
left: 0;
}
&>li {
display: flex;
flex-direction: column;
a {
&>i {
//icon will get color from parent "a"
font-size: 1.4rem;
display: inline-block;
vertical-align: middle;
//padding: 0 1.5rem 0 0;
position: relative;
top: 0;
height:auto;
width:auto;
border-radius:$radius;
line-height: 1;
text-align:center;
@include transitionMedium;
margin-right: 15px;
@at-root [data-sidebar-style="compact"] & {
display:block;
padding:0;
}
@include custommq($max:1300px){
height:auto;
width:auto;
margin-right:0;
line-height:1;
padding:0;
}
@include respond('phone-land') {
font-size: 1.25rem;
padding: 0 .75rem 0 0;
margin-right: 0px;
}
}
}
&>a {
font-weight: 500;
display: inline-block;
font-size: 15px;
svg {
max-width: 24px;
max-height: 24px;
height: 100%;
margin-right:5px;
margin-top: -3px;
color: $primary;
}
g [fill] {
fill: $primary;
}
}
&:hover,
&:focus {
&>a {
// background-color: lighten($color: $primary, $amount: 40%);
color: $primary;
g [fill] {
fill: $primary;
}
// &::after {
// border-color: blue;
// }
}
}
&.mm-active {
&>a {
color: $primary;
g [fill] {
fill: $primary;
}
}
}
}
li {
position: relative;
}
//one step dropdown
ul {
//background-color: darken($color: $white, $amount: 2%);
transition: all .2s ease-in-out;
position:relative;
z-index: 1;
padding: 5px 0;
a {
padding-top: .5rem;
padding-bottom: .5rem;
position: relative;
font-size: 16px;
padding-left: 3.9rem;
@include respond('laptop') {
padding-left: 3.9rem;
font-size: 14px;
}
@include respond('phone-land') {
padding-left: 3.5rem;
}
&:hover,
&:focus,
&.mm-active {
text-decoration: none;
color: $primary;
}
}
}
a {
position: relative;
display: block;
padding: 0.625rem 1.875rem;
outline-width: 0;
color: rgba($color: $body-color, $alpha: 1);
text-decoration: none;
@include respond('phone-land') {
padding: 0.625rem 1.25rem;
}
}
.has-arrow {
&:after {
width: .5rem;
height: .5rem;
right: 1.875rem;
top: 48%;
border-color: inherit;
-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%);
}
}
}
// .metismenu .mm-active>.has-arrow:after, .metismenu .has-arrow[aria-expanded=true]:after {
// transform: rotate(45deg) translateY(-50%);
// }
.nav-header {
@include respond('tab-land'){
width: 5rem;
}
}
@media (max-width:767px) {
.brand-title {
display: none;
}
.footer {
padding-left: 0;
}
.deznav {
left: 0;
top: 5rem;
padding-top: 1rem;
}
}

View File

@@ -0,0 +1,383 @@
@import "../../abstracts/variable";
////////////////////
// Horizontal Nav
////////////////////
@media (min-width: 1199px) {
[data-layout="horizontal"] {
.nav-header {
width: 16rem;
.nav-control {
display: none;
}
.brand-logo {
/* padding-left: 0;
justify-content: center; */
}
}
.header {
width: 100%;
padding-left: 16rem;
}
.deznav {
width: 100%;
position: relative;
height: auto;
padding-bottom: 0;
top: 0;
z-index: 2;
.slimScrollDiv {
overflow: visible!important;
.deznav-scroll {
overflow: visible!important;
}
}
.deznav-scroll {
overflow: visible!important;
}
.slimScrollBar {
display: none !important;
}
.nav-user,
.nav-label {
display: none;
}
.metismenu {
flex-direction: row;
.collapse.in {
display: none;
}
ul{
border-left:0;
@at-root [data-theme-version="dark"]#{&} {
box-shadow: 0px 10px 13px 0px rgba(0, 0, 0, 0.1);
}
}
li {
flex-direction: column;
position: relative;
&:hover {
&>ul {
display: block;
}
}
&>ul {
position: absolute;
height: auto !important;
top: 3.25rem;
width: 100%;
min-width: 13.75rem;
z-index: 999;
left: auto;
right: auto;
padding: 0.5rem 0;
display: none;
box-shadow: 0px 0px 40px 0px rgba(82, 63, 105, 0.1);
margin:0;
background:$white;
@at-root [data-theme-version="dark"]#{&} {
box-shadow: 0px 10px 13px 0px rgba(0, 0, 0, 0.1);
}
li {
padding: 0;
a {
transition: all .4s ease-in-out;
padding: 8px 20px 8px 45px;
margin-left: -.1rem;
@at-root [direction="rtl"]#{&} {
padding: 8px 45px 8px 20px;
text-align: right;
}
&:hover {
border-radius: .4rem;
}
&:before{
left: 22px;
@at-root [direction="rtl"]#{&} {
left: auto;
right: 21px;
}
}
}
}
ul {
left: 100%;
top: 0;
box-shadow: 0px 10px 13px 0px rgba(82, 63, 105, 0.05);
@at-root [direction="rtl"]#{&} {
left: auto;
right: 100%;
}
}
}
}
&>li {
flex: 0 0 auto;
position: relative;
@at-root [data-theme-version="dark"]#{&} {
border-color: rgba(255,255,255,0.07);
&.mm-active{
border-color:transparent;
}
}
&.mm-active{
padding:0;
& > a{
background: #fff;
box-shadow: 0px 0px 13px 0px rgba(82, 63, 105, 0.05);
}
}
@at-root [direction="rtl"]#{&} {
//&:not(:first-child) {
// border-right: lighten($color: $color-pallate-2, $amount: 10%);
//}
&:first-child {
border-right: 0;
}
@at-root [data-theme-version="dark"]#{&} {
border-color: $d-border;
}
}
&>a {
padding: 15px 40px 15px 15px;
@at-root [direction="rtl"]#{&} {
padding: 15px 15px 15px 40px;
}
i{
padding: 0 0.4375rem 0 0;
@at-root [direction="rtl"]#{&} {
padding: 0 0 0 0.4375rem;
}
}
.nav-badge {
display: none;
}
&:after {
right: 20px;
transform: rotate(-135deg) translateY(-50%);
}
}
&:hover {
border-color:transparent;
&>ul {
display: flex !important;
flex-direction: column;
flex-wrap: wrap;
height: auto !important;
box-shadow: 0px 10px 13px 0px rgba(82, 63, 105, 0.05);
@at-root [data-theme-version="dark"]#{&} {
box-shadow: 0px 0 13px 0px rgba(0, 0, 0, 0.1);
}
}
}
&>ul {
&>li {
&:hover {
ul.collapse {
display: block!important;
position: absolute;
left: auto!important;
right: -100%!important;
top: 0!important;
}
}
}
}
&:nth-last-child(-n + 5) {
&>ul {
left: auto;
right: 0;
&>li {
&:hover {
ul.collapse {
right: auto!important;
left: -100%!important;
}
}
}
}
}
&:last-child {
&>ul {
ul {
left: -100%;
}
}
}
@at-root [direction="rtl"]#{&} {
&:nth-last-child(-n + 3) {
&>ul {
left: 0;
right: auto;
&>li {
&:hover {
ul.collapse {
right: -100% !important;
left: auto !important;
}
}
}
}
}
}
}
}
}
.content-body {
margin-left: 0;
.page-titles {
margin-left: 0;
margin-right: 0;
margin-bottom: 1.875rem;
}
}
.footer {
margin-left: 0;
margin: 0 auto;
padding-left: 0;
}
.sidebar-right {
z-index: 1;
}
}
[data-header-position="fixed"][data-layout="horizontal"] {
.deznav {
top: 5rem;
}
} //ok
[data-header-position="fixed"][data-sidebar-position="fixed"] {
.deznav {
position: fixed;
}
} //ok
[data-header-position="fixed"][data-layout="horizontal"][data-sidebar-position="fixed"] {
.content-body {
padding-top: 8.3rem;
}
} //ok
[data-layout="horizontal"][data-container="boxed"] {
.footer {
margin-left: 0;
max-width: 1199px;
margin: 0 auto;
}
}
[data-layout="horizontal"][data-container="wide"] {
.page-titles {
margin-left: -30px;
margin-right: -30px;
}
}
[data-layout="horizontal"][data-sidebar-style="compact"] {
.page-titles {
margin-top: 0;
}
.deznav {
.metismenu {
&>li {
&>ul {
top: 4.315rem;
}
&>a {
padding: 0.8125rem 2.1rem;
&::after {
display: none;
}
}
li {
text-align: left;
}
}
}
}
}
[data-sidebar-style="mini"][data-layout="horizontal"] {
.nav-header {
width: 6rem;
padding-left: 30px;
padding-right: 30px;
.brand-logo {
justify-content: start;
}
}
.header {
width: 100%;
padding-left: 6rem;
}
.metismenu {
&>li {
&:hover {
a {
width: auto;
.nav-text {
display: none;
}
}
}
}
}
}
[data-header-position="fixed"][data-layout="horizontal"][data-sidebar-position="fixed"][data-sidebar-style="compact"] {
.content-body {
padding-top: 8.75rem;
}
}
[data-sidebar-position="fixed"][data-layout="horizontal"] {
.deznav.fixed {
position: fixed;
left: 0;
top: 0;
}
}
}

View File

@@ -0,0 +1,189 @@
@media (min-width: 767px) {
[data-sidebar-style="icon-hover"][data-layout="horizontal"] {
.metismenu {
padding: 0 30px;
}
.header .header-content {
padding-left: 1.875rem;
}
}
[data-sidebar-style="icon-hover"][data-layout="vertical"] {
.nav-header {
width: 5.063rem;
.brand-logo {
padding-left: 20px;
@at-root [direction="rtl"]#{&} {
padding-left:1.25rem;
padding-right:1.25rem;
}
.logo-abbr {
display: block;
}
.brand-title {
display: none;
}
}
.nav-control {
display: none;
}
}
.header {
padding-left: 5.063rem;
@at-root [direction="rtl"]#{&} {
padding-right: 4.38rem;
padding-left: 0.9375rem;
}
.header-content {
padding-left: 1.375rem;
@at-root [direction="rtl"]#{&} {
padding-right: 1.375rem;
padding-left: 0;
}
}
}
.deznav {
overflow: visible;
position: absolute;
left: -12.125rem;
// z-index: 1;
@include custommq($min: 1200px, $max: 1350px) {
left: -10rem;
}
@at-root [direction="rtl"]#{&} {
left: auto;
right: -12.125rem;
}
.nav-label {
display: none;
}
.metismenu {
&>li {
&>a {
display: flex;
justify-content: space-between;
&>svg,
&>i {
order: 1;
margin-right:0;
margin-top:0;
}
}
}
ul {
border-left: 0;
padding-left:0;
padding-right:28px;
@at-root [direction="rtl"]#{&} {
padding-right:0;
padding-left:28px;
}
@at-root [data-theme-version="dark"]#{&} {
border-color:$d-border;
}
&:after{
left:auto;
right:28px;
@at-root [direction="rtl"]#{&} {
left:28px;
right:auto;
}
}
a {
position: relative;
&::before {
left: auto;
right: -5px;
@at-root [direction="rtl"]#{&} {
right: auto;
left:-5px;
}
}
}
}
.has-arrow {
&::after {
right: 5rem;
@at-root [direction="rtl"]#{&} {
right: auto;
left: 5rem;
}
}
}
}
}
.icon-hover-toggle {
.nav-header {
width: 17.1875rem;
.brand-logo {
padding-left: 1.6rem;
.brand-title {
display: block;
}
}
}
.header {
padding-left: 4.38rem;
@at-root [direction="rtl"]#{&} {
padding-right: 4.38rem;
padding-left: 0.9375rem;
}
}
.deznav {
left: 0;
@at-root [direction="rtl"]#{&} {
left: auto;
right: 0;
}
}
}
.content-body {
margin-left: 5rem;
@at-root [direction="rtl"]#{&} {
margin-left: 0;
margin-right: 5rem;
}
}
.footer {
padding-left: 4.375rem;
@at-root [direction="rtl"]#{&} {
margin-left: 0;
margin-right: 4.375rem;
}
}
}
}

View File

@@ -0,0 +1,311 @@
@import "../../abstracts/_mixin";
@import "../../abstracts/_variable";
@include custommq($min: 768px) {
[data-sidebar-style="mini"] {
.nav-header {
width: 5rem;
.nav-control {
z-index: -1;
.hamburger{
left: 5rem!important;
.line{
background-color: $dark!important;
}
}
}
.brand-title {
display: none;
}
.hamburger {
display: none;
}
}
.header .header-content{
padding-left: 1.875rem;
@at-root [direction="rtl"]#{&}{
padding-right: 1.875rem;
}
}
.deznav {
width: 5rem;
overflow: visible;
position: absolute!important;
.copyright,
.add-menu-sidebar{
display:none;
}
.nav-text {
display: none;
}
.slimScrollDiv,
.deznav-scroll {
overflow: visible !important;
}
.nav-user{
padding: 11px;
.media-body{
display: none;
}
}
.metismenu {
li {
a {
padding: 0.813rem 0.875rem;
svg{
margin-right:0;
}
}
&>ul {
position: absolute;
left: 5rem;
top: 2.9375rem;
width: 11.875rem;
z-index: 1001;
display: none;
padding-left: 1px;
box-shadow: 0px 0px 40px 0px rgba(82, 63, 105, 0.1);
height: auto !important;
border-radius: 6px;
background: #fff;
@at-root [direction="rtl"]:not([data-layout="horizontal"])#{&} {
left: auto;
right: 5rem;
box-shadow: -6px 6px 10px rgba(0, 0, 0, 0.15);
}
}
}
&>li {
padding: 2px 15px;
&>a {
&.has-arrow {
&:after {
display: none;
}
}
}
}
.nav-label,
.nav-badge {
display: none;
}
}
}
.content-body {
margin-left: 5rem;
}
.footer {
padding-left: 5rem;
}
}
[data-sidebar-style="mini"][data-layout="vertical"] {
.deznav {
.metismenu {
li {
&:hover>ul {
display: block;
}
}
&>li {
&:nth-last-child(-n + 1) {
&>ul {
bottom:0;
top: auto !important;
&:after{
top:auto;
bottom:20px;
}
}
}
@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: 10px 0;
width: 13rem;
left: 13rem;
top: -10px;
border: 0;
margin: 0;
&:after{
content:none;
}
@at-root [direction="rtl"]#{&}{
left: auto;
right: 13rem;
}
}
}
}
&.mm-active {
&>a {
background: $primary;
color:$white;
border-radius: $radius;
@at-root [data-theme-version="dark"]#{&} {
background: $dark-card;
}
}
}
&:hover {
&>a {
background: $primary;
color:$white;
border-radius: $radius;
position: unset;
@at-root [data-theme-version="dark"]#{&} {
background: $dark-card;
}
.nav-text {
@at-root [direction="rtl"]#{&} {
padding-left: auto;
padding-right: 1.6875rem;
}
}
}
&>ul {
height: auto !important;
overflow: visible;
border:0;
margin-left:0;
left: 5rem;
width: 13rem;
border-radius:12px;
border:0;
padding: 10px 0;
top: 0;
&:after{
content: "";
position: absolute;
background: inherit;
width: 10px;
height: 10px;
transform: rotate(45deg);
-webkit-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-moz-transform: rotate(45deg);
left: -5px;
top: 20px;
}
@at-root [data-theme-version="dark"]#{&} {
box-shadow: 0px 9px 10px 0px rgba(0, 0, 0, 0.1);;
}
@at-root [direction="rtl"]#{&} {
left: auto;
right: 5rem;
}
a {
padding: 6px 20px 6px 20px;
&:before{
content:none;
}
&.has-arrow:after{
right: 1.25rem
}
}
ul {
a {
padding: 6px 20px 6px 20px;
margin-left: -1.6px;
&:before{
content:none;
}
}
}
}
}
}
}
}
}
[data-sidebar-style="mini"][data-header-position="fixed"][data-container="boxed"][data-layout="vertical"] {
.header {
width: 1199px;
}
}
[data-sidebar-style="mini"][data-layout="horizontal"] {
.deznav .metismenu {
padding: 0 30px;
}
.deznav .metismenu > li > a {
padding: 15px 20px;
@at-root [direction="rtl"]#{&} {
padding: 15px 20px;
svg {
margin-left: 0;
}
}
svg{
margin-right: 0;
margin-top: 0;
}
}
}
}
@include respond('tab-land') {
[data-sidebar-style="mini"] {
.deznav {
li {
&.mm-active {
ul {
height: auto !important;
}
}
a.has-arrow {
&::after {
transform: rotate(-45deg) translateY(-50%);
}
}
}
}
}
}

View File

@@ -0,0 +1,234 @@
@media (min-width:767px) {
[data-sidebar-style="modern"] {
.nav-header {
width: 9.375rem;
.brand-logo{
justify-content: center;
}
}
.deznav {
.metismenu {
&>li {
text-align: center;
&>a {
padding: 20px 15px 20px 15px!important;
// font-weight: 500;
&::after {
display: none;
}
&:hover,
&:focus,
&:active,
&.mm-active {
&>a {
background-color: lighten($color: $primary, $amount: 50%);
}
}
}
&.mm-active{
padding:0;
}
li {
text-align: left;
@at-root [direction="rtl"]#{&} {
text-align: right;
}
}
}
li {
a {
padding: 0.625rem 0.9375rem 0.625rem 0.9375rem;
}
ul:after{
content:none;
}
&>ul {
height: auto !important;
}
}
.nav-label{
display: none;
}
}
.nav-label {
display: none;
}
.nav-text {
display: block;
margin-top: 0.3125rem;
}
}
.footer {
padding-left: 9.375rem;
}
.content-body {
margin-left: 9.375rem;
}
}
[data-sidebar-style="modern"][data-layout="vertical"] {
.deznav {
width: 9.375rem;
left: 0;
@at-root [direction="rtl"]#{&} {
left: auto;
right: 0;
}
.slimScrollDiv,
.deznav-scroll {
overflow: visible !important;
}
.metismenu {
&>li {
&>a{
i{
font-size: 20px;
// height: 35px;
}
}
&>ul {
display: none;
padding: 1.875rem 0.9375rem;
}
}
li {
position: relative;
a {
padding:0.625rem 1.5rem;
&:before{
content:none;
}
}
ul {
position: absolute;
left: 105%;
top: 0;
bottom: auto;
background-color: $white;
border: 1px solid $border;
width: 200px;
// box-shadow: 2px 3px 10px 0px rgba(119, 119, 119, 0.1);
@at-root [data-theme-version="dark"]#{&} {
background:$dark-card;
box-shadow: 0px 0px 13px 0px rgba(0, 0, 0, 0.1);
}
@at-root [direction="rtl"]#{&} {
left: auto;
right: 105%;
}
}
&:hover {
&>ul {
display: block;
left: 100%;
padding: 1rem 0;
margin-left: -10px;
border: 0;
box-shadow: 5px 0px 13px 0px rgba(82, 63, 105, 0.05);
@at-root [data-theme-version="dark"]#{&} {
box-shadow: 0px 0px 13px 0px rgba(0, 0, 0, 0.1);
}
@at-root [direction="rtl"]#{&} {
left: auto;
right: 100%;
box-shadow: -5px 0px 13px 0px rgba(82, 63, 105, 0.05);
}
}
}
}
}
.nav-label {
display: none;
}
.nav-text {
display: block;
margin-top: 0;
}
}
.menu-toggle {
.deznav {
left: -9.375rem;
@at-root [direction="rtl"]#{&} {
left: auto;
right: -9.375rem;
}
}
.content-body {
margin-left: 0;
@at-root [direction="rtl"]#{&} {
margin-right: 0;
}
}
}
}
[data-sidebar-style="modern"][data-layout="horizontal"] {
.footer,
.content-body {
margin-left:0;
}
.deznav {
.metismenu {
padding: 0 30px;
&>li {
&>a {
padding: 0.8125rem 2.25rem;
}
&>ul {
top: 4.5625rem;
}
}
}
}
&[data-container="boxed"] {
.deznav {
.metismenu {
&>li {
&>a {
padding: 0.8125rem 1.25rem;
}
}
}
}
}
}
}

View File

@@ -0,0 +1,49 @@
[data-sidebar-style="overlay"] {
.deznav {
left: -100%;
@at-root [direction="rtl"]#{&} {
left: auto;
right: -100%;
}
}
.content-body {
margin-left: 0;
}
.nav-header {
position: absolute;
.hamburger.is-active {
left: 0;
.line {
background-color: $primary;
}
}
}
.menu-toggle {
.nav-header {
position: absolute;
left: auto;
}
.deznav {
left: 0;
@at-root [direction="rtl"]#{&} {
left: auto;
right: 0;
}
}
}
.footer {
padding-left: 0;
}
}
[data-sidebar-style="overlay"][data-header-position="fixed"] {
.nav-header {
position: fixed;
}
}
[data-sidebar-position="fixed"][data-header-position="fixed"] {
.nav-header {
position: fixed;
}
}

View File

@@ -0,0 +1,75 @@
///////////////////////////
// Sidebar profile
///////////////////////////
.nav-user {
// text-align: center;
background: $primary;
margin-bottom: 10px;
padding: 20px 25px 15px;
@include custommq($min: 768px, $max: 1199px) {
padding: 20px 15px 15px;
}
img {
width: 35px;
height: 35px;
@include custommq($min: 768px, $max: 1199px) {
width: 35px;
height: 35px;
margin-bottom: 10px;
}
}
h5 {
margin-left: 10px;
margin-bottom: 3px;
color: $white;
@include custommq($min: 768px, $max: 1199px) {
display: none;
}
@at-root [data-sibebarbg="color_2"] & {
color: $white;
}
}
p{
margin-left: 10px;
margin-bottom: 8px;
color: #afcff7;
@include custommq($min: 768px, $max: 1199px) {
display: none;
}
}
@include custommq($min: 768px, $max: 1199px) {
i{
margin-top: 15px;
display: block
}
}
}
.menu-toggle{
.nav-user {
padding: 20px 15px 15px;
img {
width: 35px;
height: 35px;
margin-bottom: 10px;
}
h5,
p {
display: none;
}
i {
margin-top: 15px;
display: block
}
.dropdown-menu {
left: 45px !important;
top: 22px !important;
}
}
}

View File

@@ -0,0 +1,204 @@
// @import "../../abstracts/variable";
.sidebar-right {
// display: none;
right: -15.625rem;
position: fixed;
top: 0;
width: 15.625rem;
background-color: $white;
height: calc(100% - 7.0625rem);
margin-top: 5rem;
transition: all .5s ease-in-out;
padding-bottom: 1.875rem;
box-shadow: -2px 3px 10px 0px rgba(119, 119, 119, 0.1);
.slimScrollDiv {
@at-root [direction="rtl"] #{&} {
overflow: visible !important;
}
}
.sidebar-right-trigger {
position: absolute;
z-index: 9;
top: 4.75rem;
right: 100%;
background-color: $white;
color: $primary;
display: inline-block;
height: 3rem;
width: 3rem;
text-align: center;
font-size: 1.75rem;
line-height: 3rem;
border-radius: 5px 0 0 5px;
box-shadow: -5px 3px 5px 0px rgba(119, 119, 119, 0.15);
@at-root [data-theme-version="dark"] #{&} {
background-color: #31343b;
color: $white;
}
&:hover {
color: $primary;
}
}
&.show {
right: 0;
z-index: 999;
}
.nav-tabs {
justify-content: space-between;
position: sticky;
top: 0;
background-color: $white;
z-index: 2;
@at-root [data-theme-version="dark"] #{&} {
background-color: $d-bg;
}
.nav-item {
margin-bottom: 0;
flex: 1;
.nav-link {
border: 0;
font-size: 1.125rem;
position: relative;
text-align: center;
background-color: $white;
&::after {
position: absolute;
left: 0;
bottom: 0;
width: 100%;
height: 2px;
content: "";
background: transparent;
}
@at-root [data-theme-version="dark"] #{&} {
background-color: $d-bg;
}
&.active {
@at-root [data-theme-version="dark"] #{&} {
border-right: none;
border-left: none;
border-top: none;
}
}
}
}
}
.tab-content {
padding: 1.25rem;
.tab-pane {
.admin-settings {
& > div {
margin-bottom: 10px;
}
p {
margin-bottom: 0.125rem;
}
//All color switcher scss goes here
input[type="radio"] {
display: none;
+ label {
display: inline-block;
width: 25px;
height: 25px;
cursor: pointer;
transition: all .1s ease;
border-radius: 4px;
margin-right: 5px;
margin-bottom: 3px;
}
&:checked {
+ label {
position: relative;
&::after {
height: 33px;
width: 33px;
left: -4px;
top: -4px;
content: "";
position: absolute;
background-color: inherit;
border-radius: 6px;
opacity: 0.4;
}
}
}
}
}
}
}
#nav_header,
#header,
#sidebar,
#primary{
@each $name, $color in $theme_backgrounds {
&_#{$name} {
+ label {
background-color: $color;
}
}
}
&_color_1 {
+ label {
border: 1px solid $muted;
}
}
}
}
@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%);;
}
}

View File

@@ -0,0 +1,30 @@
[data-sidebar-position="fixed"][data-layout="vertical"] {
.nav-header {
position: fixed;
// left: auto;
border-top-left-radius: 0px;
border-top-right-radius: 0px;
}
.deznav {
position: fixed;
// z-index: 0;
.deznav-scroll {
border-top-left-radius: 0px;
border-top-right-radius: 0px;
}
}
.menu-toggle {
.deznav {
position: fixed;
}
}
}
[data-header-position="fixed"][data-sidebar-position="fixed"][data-sidebar-style="overlay"][data-layout="vertical"][data-container="boxed"] {
.deznav {
position: absolute;
}
}

View File

@@ -0,0 +1,15 @@
//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';