mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
Commit realizando cambios en los roles de los usuarios
This commit is contained in:
434
httpdocs/themes/focus2/scss/layout/sidebar/_mega-menu.scss
Normal file
434
httpdocs/themes/focus2/scss/layout/sidebar/_mega-menu.scss
Normal file
@ -0,0 +1,434 @@
|
||||
//common mega-menu styles
|
||||
[data-sidebar-style="full"][data-layout="vertical"] .menu-toggle,
|
||||
[data-sidebar-style="mini"][data-layout="vertical"] {
|
||||
|
||||
.quixnav {
|
||||
.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 + 3.75rem);
|
||||
}
|
||||
|
||||
&>ul {
|
||||
max-height: 21.875rem;
|
||||
width: 70vw;
|
||||
|
||||
ul a {
|
||||
width: 101%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&-lg {
|
||||
|
||||
&:hover {
|
||||
&>a {
|
||||
width: calc(55vw + 3.75rem);
|
||||
}
|
||||
|
||||
&>ul {
|
||||
max-height:18.125rem;
|
||||
width: 55vw;
|
||||
|
||||
ul a {
|
||||
width: 101%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&-md {
|
||||
&:hover {
|
||||
&>a {
|
||||
width: calc(45vw + 3.75rem);
|
||||
}
|
||||
&>ul {
|
||||
max-height: 18.75rem;
|
||||
width: 45vw;
|
||||
|
||||
ul a {
|
||||
width: 101%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&-sm {
|
||||
&:hover {
|
||||
&>a {
|
||||
width: calc(30vw + 3.75rem);
|
||||
}
|
||||
&>ul {
|
||||
max-height: 18.125rem;
|
||||
width: 30vw;
|
||||
|
||||
ul a {
|
||||
width: 101%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[data-sidebar-style="mini"][data-layout="vertical"][data-container="boxed"] {
|
||||
.quixnav {
|
||||
.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"] {
|
||||
|
||||
.quixnav {
|
||||
|
||||
.metismenu {
|
||||
|
||||
&>li {
|
||||
|
||||
&.mega-menu {
|
||||
&:not(:last-child) {
|
||||
position: static;
|
||||
}
|
||||
|
||||
ul {
|
||||
left: 0;
|
||||
right: 0;
|
||||
padding: 1.25rem 2.8125rem;
|
||||
|
||||
li {
|
||||
border-right: 1px solid $border;
|
||||
padding: 0.1rem 1.25rem;
|
||||
|
||||
@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: 25rem;
|
||||
width: 70vw;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&-lg {
|
||||
|
||||
&:hover {
|
||||
|
||||
&>ul {
|
||||
max-height: 25rem;
|
||||
width: 60vw;
|
||||
height: 25rem !important;
|
||||
|
||||
@include custommq($min: 1200px, $max: 1500px) {
|
||||
width: 80vw;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&-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"] {
|
||||
.quixnav {
|
||||
.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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,3 @@
|
||||
[data-sibebarbg="image_3"] {
|
||||
|
||||
}
|
||||
@ -0,0 +1,66 @@
|
||||
////////////////
|
||||
// Compact Nav
|
||||
////////////////
|
||||
|
||||
@media (min-width:767px) {
|
||||
[data-sidebar-style="compact"] {
|
||||
|
||||
.quixnav {
|
||||
|
||||
.nav-user{
|
||||
display: none;
|
||||
}
|
||||
|
||||
.metismenu {
|
||||
li {
|
||||
text-align: center;
|
||||
a {
|
||||
padding: 0.625rem 0.9375rem 0.625rem 0.9375rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.nav-text {
|
||||
display: block;
|
||||
margin-top: 0.3125rem;
|
||||
}
|
||||
|
||||
.nav-label {
|
||||
&.first{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.nav-badge {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.footer {
|
||||
padding-left: 9.375rem;
|
||||
}
|
||||
|
||||
.content-body {
|
||||
margin-left: 9.375rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[data-layout="vertical"][data-sidebar-style="compact"] {
|
||||
.quixnav {
|
||||
width: 9.375rem;
|
||||
|
||||
.metismenu {
|
||||
ul ul a {
|
||||
padding: 0.625rem 0.9375rem;
|
||||
}
|
||||
|
||||
&>li {
|
||||
&>a.has-arrow::after {
|
||||
top: 35%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
141
httpdocs/themes/focus2/scss/layout/sidebar/_sidebar-full.scss
Normal file
141
httpdocs/themes/focus2/scss/layout/sidebar/_sidebar-full.scss
Normal file
@ -0,0 +1,141 @@
|
||||
@import "../../abstracts/variable";
|
||||
@import "../../abstracts/mixin";
|
||||
[data-sidebar-style="full"][data-layout="vertical"] {
|
||||
.menu-toggle {
|
||||
.nav-header {
|
||||
width: 3.75rem;
|
||||
z-index: 999;
|
||||
.brand-logo {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
justify-content: center;
|
||||
}
|
||||
.nav-control {
|
||||
.hamburger {
|
||||
.line {
|
||||
background-color: $primary!important;
|
||||
;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.header {
|
||||
padding-left: 3.75rem;
|
||||
width: 100%;
|
||||
@at-root [direction="rtl"]#{&} {
|
||||
padding: 0 0.9375rem;
|
||||
padding-right: 3.75rem;
|
||||
}
|
||||
}
|
||||
.quixnav {
|
||||
width: 3.75rem;
|
||||
overflow: visible;
|
||||
position: absolute;
|
||||
.nav-text {
|
||||
display: none;
|
||||
}
|
||||
.slimScrollDiv,
|
||||
.quixnav-scroll {
|
||||
overflow: visible !important;
|
||||
}
|
||||
.metismenu {
|
||||
li {
|
||||
position: relative;
|
||||
a {
|
||||
padding: 0.8125rem 0.9375rem;
|
||||
}
|
||||
&>ul {
|
||||
position: absolute;
|
||||
left: 3.75rem;
|
||||
top: 2.9375rem;
|
||||
width: 11.875rem;
|
||||
z-index: 1001;
|
||||
display: none;
|
||||
padding-left: 1px;
|
||||
// box-shadow: 6px 6px 10px rgba(0, 0, 0, 0.15);
|
||||
height: auto !important;
|
||||
@at-root [direction="rtl"]#{&} {
|
||||
left: auto;
|
||||
right: 3.75rem;
|
||||
// box-shadow: -6px 6px 10px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
li:hover {
|
||||
ul {
|
||||
// display: block;
|
||||
left: 11.8125rem;
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
&:hover>ul {
|
||||
display: block;
|
||||
height: auto;
|
||||
overflow: visible;
|
||||
}
|
||||
}
|
||||
&>li {
|
||||
transition: all 0.4s ease-in-out;
|
||||
&>a {
|
||||
&.has-arrow {
|
||||
&:after {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
&:hover {
|
||||
&:nth-last-child(-n + 1) {
|
||||
&>ul {
|
||||
bottom: 2.9375rem;
|
||||
top: auto;
|
||||
box-shadow: 6px -6px 10px rgba(0, 0, 0, 0.15);
|
||||
@at-root [direction="rtl"]#{&} {
|
||||
box-shadow: -6px -6px 10px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
}
|
||||
}
|
||||
&>a {
|
||||
width: 15.625rem;
|
||||
.nav-text {
|
||||
display: inline-block;
|
||||
padding-left: 1.6875rem;
|
||||
@at-root [direction="rtl"]#{&} {
|
||||
padding-left: auto;
|
||||
padding-right: 1.6875rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
&>ul {
|
||||
height: auto !important;
|
||||
a {
|
||||
padding: 0.625rem 0.9375rem 0.625rem 0.9375rem;
|
||||
margin-left: -.1rem;
|
||||
}
|
||||
ul a {
|
||||
padding: 0.625rem 0.9375rem 0.625rem 3rem;
|
||||
margin-left: -.1rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.nav-label,
|
||||
.nav-badge {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
.content-body {
|
||||
margin-left: 3.75rem;
|
||||
@at-root [direction="rtl"]#{&} {
|
||||
margin-right: 3.75rem;
|
||||
margin-left: auto;
|
||||
}
|
||||
}
|
||||
&+.footer {
|
||||
padding-left: 3.75rem;
|
||||
@at-root [direction="rtl"]#{&} {
|
||||
padding-left: 0;
|
||||
padding-right: 3.75rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
203
httpdocs/themes/focus2/scss/layout/sidebar/_sidebar-global.scss
Normal file
203
httpdocs/themes/focus2/scss/layout/sidebar/_sidebar-global.scss
Normal file
@ -0,0 +1,203 @@
|
||||
///////////////////////////
|
||||
// Nav Profile
|
||||
///////////////////////////
|
||||
.nav-label {
|
||||
margin: 0px 25px 0;
|
||||
padding: 1.5625rem 0 10px;
|
||||
text-transform: uppercase;
|
||||
font-size: 0.75rem;
|
||||
letter-spacing: 0.05rem;
|
||||
// border-top: 1px solid $l-border;
|
||||
// @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: 17.1875rem;
|
||||
z-index: 0;
|
||||
transition: all .2s ease;
|
||||
@include custommq($min: 1200px, $max: 1350px) {
|
||||
margin-left: 14.375rem;
|
||||
}
|
||||
}
|
||||
|
||||
// 38px + 60px
|
||||
///////////////
|
||||
// Sidebar
|
||||
//////////////
|
||||
.quixnav {
|
||||
width: 17.1875rem;
|
||||
padding-bottom: 112px;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
top: 5rem;
|
||||
padding-top: 0;
|
||||
z-index: 2;
|
||||
background-color: #343957;
|
||||
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
|
||||
transition: all .2s ease;
|
||||
// border-top-left-radius: 5px;
|
||||
// border-top-right-radius: 5px;
|
||||
// @include respond('phone-land') {
|
||||
// background-color: $white;
|
||||
// box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
|
||||
// }
|
||||
// @include respond('big-desktop') {
|
||||
// left: 6rem;
|
||||
// }
|
||||
.quixnav-scroll {
|
||||
position: relative;
|
||||
height: 100%;
|
||||
// overflow: visible!important;
|
||||
// border-top-left-radius: 5px;
|
||||
// border-top-right-radius: 5px;
|
||||
}
|
||||
@include custommq($min: 1200px, $max: 1350px) {
|
||||
width: 14.375rem;
|
||||
}
|
||||
ul {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
list-style: none;
|
||||
}
|
||||
.metismenu {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
&.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.125rem;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
padding: 0 0.4375rem;
|
||||
font-weight: 700;
|
||||
position: relative;
|
||||
top: -2px;
|
||||
}
|
||||
}
|
||||
&>a {
|
||||
color: rgba($color: $body-color, $alpha: 1);
|
||||
}
|
||||
&:hover,
|
||||
&:focus,
|
||||
&.mm-active {
|
||||
&>a {
|
||||
background-color: lighten($color: $primary, $amount: 5%);
|
||||
color: $white;
|
||||
// @include respond('desktop') {
|
||||
// background-color: $body-bg;
|
||||
// }
|
||||
// &::after {
|
||||
// border-color: blue;
|
||||
// }
|
||||
}
|
||||
}
|
||||
&.mm-active {
|
||||
ul {
|
||||
background-color: $body-bg;
|
||||
ul {
|
||||
background-color: $body-bg;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
li {
|
||||
position: relative;
|
||||
}
|
||||
//one step dropdown
|
||||
ul {
|
||||
background-color: darken($color: $primary, $amount: 35%);
|
||||
transition: all .2s ease-in-out;
|
||||
// @include respond('desktop') {
|
||||
// background-color: $body-bg;
|
||||
// }
|
||||
a {
|
||||
padding-left: 54px;
|
||||
font-weight: 300;
|
||||
&:hover,
|
||||
&:focus,
|
||||
&.mm-active {
|
||||
text-decoration: none;
|
||||
color: $white;
|
||||
}
|
||||
@at-root [direction="rtl"] & {
|
||||
padding-right: 54px;
|
||||
}
|
||||
}
|
||||
//two step dropdown
|
||||
ul {
|
||||
a {
|
||||
padding-left: 74px;
|
||||
}
|
||||
//three step dropdown
|
||||
ul {
|
||||
a {
|
||||
padding-left: 94px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
a {
|
||||
position: relative;
|
||||
display: block;
|
||||
padding: 0.8125rem 1.25rem;
|
||||
outline-width: 0;
|
||||
color: rgba($color: $body-color, $alpha: 1);
|
||||
text-decoration: none;
|
||||
}
|
||||
.has-arrow {
|
||||
&:after {
|
||||
width: .35rem;
|
||||
height: .35rem;
|
||||
right: 1.5625rem;
|
||||
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%);
|
||||
// }
|
||||
@media (max-width:767px) {
|
||||
.nav-header {
|
||||
width: 3.75rem;
|
||||
.brand-title {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.footer {
|
||||
padding-left: 0;
|
||||
}
|
||||
.quixnav {
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,346 @@
|
||||
@import "../../abstracts/variable";
|
||||
|
||||
////////////////////
|
||||
// Horizontal Nav
|
||||
////////////////////
|
||||
@media (min-width: 1199px) {
|
||||
[data-layout="horizontal"] {
|
||||
|
||||
.nav-header {
|
||||
width: 9.0625rem;
|
||||
|
||||
.nav-control {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.brand-logo {
|
||||
padding-left: 0;
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
|
||||
.header {
|
||||
width: 100%;
|
||||
padding-left: 9.0625rem;
|
||||
}
|
||||
|
||||
.quixnav {
|
||||
width: 100%;
|
||||
position: relative;
|
||||
height: auto;
|
||||
padding-bottom: 0;
|
||||
top: 0;
|
||||
z-index: 8;
|
||||
|
||||
.slimScrollDiv {
|
||||
overflow: visible!important;
|
||||
|
||||
.quixnav-scroll {
|
||||
overflow: visible!important;
|
||||
}
|
||||
}
|
||||
|
||||
.slimScrollBar {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.nav-user,
|
||||
.nav-label {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.metismenu {
|
||||
flex-direction: row;
|
||||
|
||||
.collapse.in {
|
||||
display: none;
|
||||
}
|
||||
|
||||
li {
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
|
||||
&:hover {
|
||||
&>ul {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
&>ul {
|
||||
position: absolute;
|
||||
height: auto !important;
|
||||
top: 2.9375rem;
|
||||
width: 100%;
|
||||
min-width: 13.75rem;
|
||||
z-index: 999;
|
||||
left: auto;
|
||||
right: auto;
|
||||
padding: 1rem 0;
|
||||
display: none;
|
||||
box-shadow: 0 1px 10px rgba(0, 0, 0, 0.15);
|
||||
|
||||
@at-root [data-theme-version="dark"]#{&} {
|
||||
box-shadow: 1px 1px 1px rgba(0, 0, 0, 1);
|
||||
}
|
||||
|
||||
li {
|
||||
padding: 0.1rem 1.25rem;
|
||||
|
||||
a {
|
||||
transition: all .4s ease-in-out;
|
||||
padding: 0.625rem 0.9375rem 0.625rem 0.9375rem;
|
||||
margin-left: -.1rem;
|
||||
|
||||
&:hover {
|
||||
border-radius: .4rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ul {
|
||||
left: 100%;
|
||||
top: 0;
|
||||
|
||||
a {
|
||||
padding: 0.625rem 0.9375rem 0.625rem 1.875rem;
|
||||
margin-left: -.1rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&>li {
|
||||
flex: 0 0 auto;
|
||||
position: relative;
|
||||
|
||||
&:not(:last-child) {
|
||||
border-right: 1px solid $border;
|
||||
|
||||
@at-root [data-theme-version="dark"]#{&} {
|
||||
border-color: $d-border;
|
||||
}
|
||||
}
|
||||
|
||||
@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: 0.8125rem 1.75rem;
|
||||
|
||||
i{
|
||||
padding: 0 0.4375rem 0 0;
|
||||
|
||||
@at-root [direction="rtl"]#{&} {
|
||||
padding: 0 0 0 0.4375rem;
|
||||
}
|
||||
}
|
||||
.nav-badge {
|
||||
display: none;
|
||||
}
|
||||
&:after {
|
||||
right: 8%;
|
||||
transform: rotate(-135deg) translateY(-50%);
|
||||
}
|
||||
}
|
||||
&:hover {
|
||||
&>ul {
|
||||
display: flex !important;
|
||||
flex-direction: column;
|
||||
flex-wrap: wrap;
|
||||
height: auto !important;
|
||||
}
|
||||
}
|
||||
|
||||
&>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"] {
|
||||
.quixnav {
|
||||
top: 5rem;
|
||||
}
|
||||
} //ok
|
||||
|
||||
[data-header-position="fixed"][data-sidebar-position="fixed"] {
|
||||
.quixnav {
|
||||
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;
|
||||
}
|
||||
|
||||
.quixnav {
|
||||
.metismenu {
|
||||
|
||||
&>li {
|
||||
&>ul {
|
||||
top: 4.5625rem;
|
||||
}
|
||||
&>a {
|
||||
padding: 0.8125rem 2.1rem;
|
||||
|
||||
&::after {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
li {
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[data-sidebar-style="mini"][data-layout="horizontal"] {
|
||||
.nav-header {
|
||||
width: 3.75rem;
|
||||
}
|
||||
|
||||
.header {
|
||||
width: 100%;
|
||||
padding-left: 3.75rem;
|
||||
}
|
||||
|
||||
.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"] {
|
||||
.quixnav.fixed {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@ -0,0 +1,163 @@
|
||||
@media (min-width: 767px) {
|
||||
|
||||
[data-sidebar-style="icon-hover"][data-layout="vertical"] {
|
||||
.nav-header {
|
||||
width: 4.38rem;
|
||||
|
||||
.brand-logo {
|
||||
padding-left: 1.6rem;
|
||||
|
||||
.logo-abbr {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.brand-title {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.nav-control {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.header {
|
||||
padding-left: 4.38rem;
|
||||
|
||||
@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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.quixnav {
|
||||
overflow: visible;
|
||||
position: absolute;
|
||||
left: -12.8125rem;
|
||||
// z-index: 1;
|
||||
|
||||
@include custommq($min: 1200px, $max: 1350px) {
|
||||
left: -10rem;
|
||||
}
|
||||
|
||||
@at-root [direction="rtl"]#{&} {
|
||||
left: auto;
|
||||
right: -12.8125rem;
|
||||
}
|
||||
|
||||
.nav-label {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.metismenu {
|
||||
&>li {
|
||||
&>a {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
||||
&>i {
|
||||
order: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ul {
|
||||
a {
|
||||
position: relative;
|
||||
|
||||
&::before {
|
||||
position: absolute;
|
||||
content: "\f764";
|
||||
right: 1.75rem;
|
||||
font-family:"Material Design Icons";
|
||||
font-size: 13px;
|
||||
|
||||
@at-root [direction="rtl"]#{&} {
|
||||
right: auto;
|
||||
left: 1.75rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.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;
|
||||
|
||||
.logo-abbr {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.brand-title {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.header {
|
||||
padding-left: 4.38rem;
|
||||
|
||||
@at-root [direction="rtl"]#{&} {
|
||||
padding-right: 4.38rem;
|
||||
padding-left: 0.9375rem;
|
||||
}
|
||||
}
|
||||
|
||||
.quixnav {
|
||||
left: 0;
|
||||
|
||||
@at-root [direction="rtl"]#{&} {
|
||||
left: auto;
|
||||
right: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.content-body {
|
||||
margin-left: 4.375rem;
|
||||
|
||||
@at-root [direction="rtl"]#{&} {
|
||||
margin-left: 0;
|
||||
margin-right: 4.375rem;
|
||||
}
|
||||
}
|
||||
|
||||
.footer {
|
||||
padding-left: 4.375rem;
|
||||
|
||||
@at-root [direction="rtl"]#{&} {
|
||||
margin-left: 0;
|
||||
margin-right: 4.375rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,210 @@
|
||||
@import "../../abstracts/_mixin";
|
||||
@import "../../abstracts/_variable";
|
||||
|
||||
@include custommq($min: 768px) {
|
||||
|
||||
[data-sidebar-style="mini"] {
|
||||
|
||||
.nav-header {
|
||||
width: 3.75rem;
|
||||
|
||||
.nav-control {
|
||||
z-index: -1;
|
||||
.hamburger{
|
||||
left: 3.75rem!important;
|
||||
.line{
|
||||
background-color: $dark!important;;
|
||||
}
|
||||
}
|
||||
}
|
||||
.brand-title {
|
||||
display: none;
|
||||
}
|
||||
.hamburger {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
.quixnav {
|
||||
width: 3.75rem;
|
||||
overflow: visible;
|
||||
position: absolute;
|
||||
|
||||
.nav-text {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.slimScrollDiv,
|
||||
.quixnav-scroll {
|
||||
overflow: visible !important;
|
||||
}
|
||||
.nav-user{
|
||||
padding: 11px;
|
||||
.media-body{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.metismenu {
|
||||
li {
|
||||
|
||||
a {
|
||||
padding: 0.8125rem 0.9375rem;
|
||||
}
|
||||
|
||||
&>ul {
|
||||
position: absolute;
|
||||
left: 3.75rem;
|
||||
top: 2.9375rem;
|
||||
width: 11.875rem;
|
||||
z-index: 1001;
|
||||
display: none;
|
||||
padding-left: 1px;
|
||||
box-shadow: 6px 6px 10px rgba(0, 0, 0, 0.15);
|
||||
height: auto !important;
|
||||
|
||||
@at-root [direction="rtl"]:not([data-layout="horizontal"])#{&} {
|
||||
left: auto;
|
||||
right: 3.75rem;
|
||||
box-shadow: -6px 6px 10px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
}
|
||||
}
|
||||
&>li {
|
||||
|
||||
&>a {
|
||||
|
||||
&.has-arrow {
|
||||
&:after {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.nav-label,
|
||||
.nav-badge {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.content-body {
|
||||
margin-left: 3.75rem;
|
||||
}
|
||||
|
||||
.footer {
|
||||
padding-left: 3.75rem;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
[data-sidebar-style="mini"][data-layout="vertical"] {
|
||||
.quixnav {
|
||||
.metismenu {
|
||||
|
||||
li {
|
||||
&:hover>ul {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
&>li {
|
||||
|
||||
&:nth-last-child(-n + 1) {
|
||||
&>ul {
|
||||
bottom: 2.93rem;
|
||||
top: auto;
|
||||
box-shadow: 6px -6px 10px rgba(0, 0, 0, 0.15);
|
||||
|
||||
@at-root [direction="rtl"]#{&} {
|
||||
box-shadow: -6px -6px 10px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include respond('tab-land') {
|
||||
&:nth-last-child(-n + 1) {
|
||||
&>ul {
|
||||
bottom: 2.93rem;
|
||||
top: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&>ul {
|
||||
overflow: visible;
|
||||
|
||||
li:hover {
|
||||
ul {
|
||||
left: 11.8125rem;
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
|
||||
|
||||
&>a {
|
||||
width: 15.625rem;
|
||||
// background: #343a40;
|
||||
.nav-text {
|
||||
display: inline-block;
|
||||
padding-left: 1.6875rem;
|
||||
|
||||
@at-root [direction="rtl"]#{&} {
|
||||
padding-left: auto;
|
||||
padding-right: 1.6875rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
&>ul {
|
||||
height: auto !important;
|
||||
overflow: visible;
|
||||
a {
|
||||
padding: 0.625rem 0.9375rem 0.625rem 0.9375rem;
|
||||
margin-left: -1.6px;
|
||||
}
|
||||
ul a {
|
||||
padding: 0.625rem 0.9375rem 0.625rem 3rem;
|
||||
margin-left: -1.6px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[data-sidebar-style="mini"][data-header-position="fixed"][data-container="boxed"][data-layout="vertical"] {
|
||||
.header {
|
||||
width: 1199px;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@include respond('tab-land') {
|
||||
[data-sidebar-style="mini"] {
|
||||
.quixnav {
|
||||
|
||||
li {
|
||||
&.mm-active {
|
||||
ul {
|
||||
height: auto !important;
|
||||
}
|
||||
}
|
||||
|
||||
a.has-arrow {
|
||||
&::after {
|
||||
transform: rotate(-45deg) translateY(-50%);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
199
httpdocs/themes/focus2/scss/layout/sidebar/_sidebar-modern.scss
Normal file
199
httpdocs/themes/focus2/scss/layout/sidebar/_sidebar-modern.scss
Normal file
@ -0,0 +1,199 @@
|
||||
@media (min-width:767px) {
|
||||
[data-sidebar-style="modern"] {
|
||||
|
||||
.nav-header {
|
||||
width: 9.375rem;
|
||||
}
|
||||
|
||||
.quixnav {
|
||||
|
||||
.metismenu {
|
||||
&>li {
|
||||
text-align: center;
|
||||
border-bottom: 1px solid $border;
|
||||
|
||||
&>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%);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
li {
|
||||
text-align: left;
|
||||
|
||||
@at-root [direction="rtl"]#{&} {
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
li {
|
||||
|
||||
a {
|
||||
padding: 0.625rem 0.9375rem 0.625rem 0.9375rem;
|
||||
}
|
||||
|
||||
&>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"] {
|
||||
|
||||
.quixnav {
|
||||
width: 9.375rem;
|
||||
left: 0;
|
||||
|
||||
.slimScrollDiv,
|
||||
.quixnav-scroll {
|
||||
overflow: visible !important;
|
||||
}
|
||||
|
||||
.metismenu {
|
||||
&>li {
|
||||
&>a{
|
||||
i{
|
||||
font-size: 20px;
|
||||
// height: 35px;
|
||||
}
|
||||
}
|
||||
|
||||
&>ul {
|
||||
display: none;
|
||||
padding: 1.875rem 0.9375rem;
|
||||
}
|
||||
}
|
||||
|
||||
li {
|
||||
position: static;
|
||||
|
||||
a {
|
||||
padding: 0.625rem 0.9375rem 0.625rem 0.9375rem;
|
||||
}
|
||||
|
||||
ul {
|
||||
position: absolute;
|
||||
left: 105%;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
background-color: $white;
|
||||
border: 1px solid $border;
|
||||
width: 200px;
|
||||
// box-shadow: 2px 3px 10px 0px rgba(119, 119, 119, 0.1);
|
||||
|
||||
@at-root [direction="rtl"]#{&} {
|
||||
left: auto;
|
||||
right: 105%;
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
&>ul {
|
||||
display: block;
|
||||
left: 100%;
|
||||
padding: 1.875rem 0;
|
||||
|
||||
@at-root [direction="rtl"]#{&} {
|
||||
left: auto;
|
||||
right: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.nav-label {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.nav-text {
|
||||
display: block;
|
||||
margin-top: 0;
|
||||
margin-bottom: 0.3125rem;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.menu-toggle {
|
||||
.quixnav {
|
||||
left: -9.375rem;
|
||||
|
||||
@at-root [direction="rtl"]#{&} {
|
||||
left: auto;
|
||||
right: -9.375rem;
|
||||
}
|
||||
}
|
||||
|
||||
.content-body {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[data-sidebar-style="modern"][data-layout="horizontal"] {
|
||||
|
||||
.quixnav {
|
||||
.metismenu {
|
||||
|
||||
&>li {
|
||||
&>a {
|
||||
padding: 0.8125rem 2.25rem;
|
||||
}
|
||||
|
||||
&>ul {
|
||||
top: 4.5625rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&[data-container="boxed"] {
|
||||
.quixnav {
|
||||
.metismenu {
|
||||
|
||||
&>li {
|
||||
&>a {
|
||||
padding: 0.8125rem 1.25rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,49 @@
|
||||
[data-sidebar-style="overlay"] {
|
||||
.quixnav {
|
||||
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;
|
||||
}
|
||||
.quixnav {
|
||||
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;
|
||||
}
|
||||
}
|
||||
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
191
httpdocs/themes/focus2/scss/layout/sidebar/_sidebar-right.scss
Normal file
191
httpdocs/themes/focus2/scss/layout/sidebar/_sidebar-right.scss
Normal file
@ -0,0 +1,191 @@
|
||||
// @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: $primary;
|
||||
color: $white;
|
||||
display: inline-block;
|
||||
height: 2.125rem;
|
||||
width: 2.125rem;
|
||||
text-align: center;
|
||||
font-size: 1.3125rem;
|
||||
line-height: 2.2rem;
|
||||
|
||||
&:hover {
|
||||
color: $white;
|
||||
}
|
||||
}
|
||||
|
||||
&.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 {
|
||||
p {
|
||||
margin-bottom: 0.3125rem;
|
||||
}
|
||||
|
||||
//All color switcher scss goes here
|
||||
input[type="radio"] {
|
||||
display: none;
|
||||
|
||||
+ label {
|
||||
display: inline-block;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
cursor: pointer;
|
||||
margin: 3px 8px;
|
||||
transition: all .1s ease;
|
||||
}
|
||||
|
||||
&:checked {
|
||||
+ label {
|
||||
position: relative;
|
||||
|
||||
&::after {
|
||||
height: 12px;
|
||||
width: 12px;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
content: "";
|
||||
position: absolute;
|
||||
background-color: $white;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#nav_header,
|
||||
#header,
|
||||
#sidebar {
|
||||
|
||||
|
||||
@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%);;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,31 @@
|
||||
[data-sidebar-position="fixed"][data-layout="vertical"] {
|
||||
.nav-header {
|
||||
position: fixed;
|
||||
// left: auto;
|
||||
border-top-left-radius: 0px;
|
||||
border-top-right-radius: 0px;
|
||||
}
|
||||
|
||||
.quixnav {
|
||||
position: fixed;
|
||||
// z-index: 0;
|
||||
.quixnav-scroll {
|
||||
border-top-left-radius: 0px;
|
||||
border-top-right-radius: 0px;
|
||||
}
|
||||
}
|
||||
|
||||
.menu-toggle {
|
||||
.quixnav {
|
||||
position: absolute;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[data-header-position="fixed"][data-sidebar-position="fixed"][data-sidebar-style="overlay"][data-layout="vertical"][data-container="boxed"] {
|
||||
.quixnav {
|
||||
position: absolute;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
14
httpdocs/themes/focus2/scss/layout/sidebar/_sidebar.scss
Normal file
14
httpdocs/themes/focus2/scss/layout/sidebar/_sidebar.scss
Normal file
@ -0,0 +1,14 @@
|
||||
//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';
|
||||
Reference in New Issue
Block a user