at the end of the day, it was inevitable
This commit is contained in:
@@ -0,0 +1,82 @@
|
||||
// Sidebar Base
|
||||
|
||||
.app-sidebar {
|
||||
width: $app-sidebar-width;
|
||||
display: flex;
|
||||
z-index: 11;
|
||||
overflow: hidden;
|
||||
min-width: $app-sidebar-width;
|
||||
position: relative;
|
||||
flex: 0 0 $app-sidebar-width;
|
||||
margin-top: -$app-header-height;
|
||||
padding-top: $app-header-height;
|
||||
transition: all .2s;
|
||||
|
||||
.app-sidebar__inner {
|
||||
padding: 2px ($layout-spacer-x) $layout-spacer-x;
|
||||
}
|
||||
|
||||
.scrollbar-container {
|
||||
z-index: 15;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.app-sidebar-bg {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
opacity: 0.05;
|
||||
background-size: cover;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.app-header__logo {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
display: none;
|
||||
z-index: 11;
|
||||
}
|
||||
|
||||
&.sidebar-shadow {
|
||||
box-shadow: 7px 0 60px rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
}
|
||||
|
||||
.app-sidebar__heading {
|
||||
text-transform: uppercase;
|
||||
font-size: $font-size-xs;
|
||||
margin: ($layout-spacer-x / 2) 0;
|
||||
font-weight: bold;
|
||||
color: $primary;
|
||||
white-space: nowrap;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.sidebar-mobile-overlay {
|
||||
display: none;
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: #333;
|
||||
opacity: .6;
|
||||
left: 0;
|
||||
top: 0;
|
||||
z-index: 12;
|
||||
}
|
||||
|
||||
// Sidebar Components
|
||||
|
||||
@import "modifiers/navmenu-vertical";
|
||||
|
||||
// Sidebar Modifiers
|
||||
|
||||
@import "themes/sidebar-light";
|
||||
@import "themes/sidebar-dark";
|
||||
//@import "themes/sidebar-inverted";
|
||||
|
||||
|
||||
@import "modifiers/fixed-sidebar";
|
||||
@import "modifiers/closed-sidebar";
|
||||
@@ -0,0 +1,417 @@
|
||||
// Closed Sidebar
|
||||
|
||||
// Sidebar Menu Hover
|
||||
|
||||
.closed-sidebar {
|
||||
.app-sidebar {
|
||||
transition: all .3s ease;
|
||||
width: $app-sidebar-width-collapsed;
|
||||
min-width: $app-sidebar-width-collapsed;
|
||||
flex: 0 0 $app-sidebar-width-collapsed;
|
||||
z-index: 13;
|
||||
|
||||
.app-sidebar__inner {
|
||||
|
||||
.app-sidebar__heading {
|
||||
text-indent: -999em;
|
||||
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 1px;
|
||||
background: $dropdown-link-hover-bg;
|
||||
text-indent: 1px;
|
||||
}
|
||||
}
|
||||
|
||||
.metismenu-link {
|
||||
text-indent: -99rem;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.metismenu-icon {
|
||||
text-indent: 0;
|
||||
left: 50%;
|
||||
margin-inline-start: -17px;
|
||||
}
|
||||
|
||||
.metismenu-state-icon {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.metismenu-container {
|
||||
&.visible {
|
||||
padding: 0;
|
||||
|
||||
& > .metismenu-item > .metismenu-link {
|
||||
height: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
flex: 0 0 $app-sidebar-width !important;
|
||||
width: $app-sidebar-width !important;
|
||||
|
||||
.app-sidebar__inner {
|
||||
|
||||
.app-sidebar__heading {
|
||||
text-indent: initial;
|
||||
&::before {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.metismenu-link {
|
||||
text-indent: initial;
|
||||
padding: 0 $layout-spacer-x 0 45px;
|
||||
}
|
||||
|
||||
.metismenu-icon {
|
||||
text-indent: initial;
|
||||
left: 5px;
|
||||
margin-inline-start: 0;
|
||||
}
|
||||
|
||||
.metismenu-state-icon {
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
.metismenu-container {
|
||||
&.visible {
|
||||
padding: .5em 0 0 2rem;
|
||||
|
||||
& > .metismenu-item > .metismenu-link {
|
||||
height: 2.3em;
|
||||
}
|
||||
}
|
||||
|
||||
.metismenu-container {
|
||||
.metismenu-link {
|
||||
padding-inline-start: 1em;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:not(.sidebar-mobile-open) {
|
||||
|
||||
.app-sidebar {
|
||||
.scrollbar-container {
|
||||
position: static;
|
||||
height: auto;
|
||||
overflow: initial !important;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
.scrollbar-container {
|
||||
position: absolute;
|
||||
height: 100%;
|
||||
overflow: hidden !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:not(.closed-sidebar-mobile) {
|
||||
.app-header {
|
||||
.app-header__logo {
|
||||
width: 160px;
|
||||
|
||||
.logo-src {
|
||||
background: url(../images/logo/logo-square-small.png)
|
||||
no-repeat;
|
||||
background-size: contain;
|
||||
}
|
||||
|
||||
.header__pane {
|
||||
margin-inline-end: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
&.fixed-sidebar {
|
||||
.app-main__outer {
|
||||
padding-inline-start: $app-sidebar-width-collapsed;
|
||||
}
|
||||
}
|
||||
|
||||
&.fixed-header:not(.fixed-sidebar) {
|
||||
.app-sidebar {
|
||||
.app-header__logo {
|
||||
visibility: hidden;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.closed-sidebar-mobile {
|
||||
.app-sidebar,
|
||||
.app-header {
|
||||
.app-header__logo {
|
||||
width: auto;
|
||||
display: flex;
|
||||
|
||||
.header__pane {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.app-sidebar {
|
||||
.app-header__logo {
|
||||
display: flex;
|
||||
width: $app-sidebar-width-collapsed;
|
||||
padding: 0 $layout-spacer-x !important;
|
||||
|
||||
.logo-src {
|
||||
display: block !important;
|
||||
margin: 0 auto;
|
||||
width: $logo-width - 76;
|
||||
}
|
||||
|
||||
.header__pane {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
.app-header__logo {
|
||||
width: $app-sidebar-width;
|
||||
|
||||
.logo-src {
|
||||
width: $logo-width;
|
||||
margin: 0;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.app-header {
|
||||
margin-inline-start: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
&.fixed-footer {
|
||||
.app-footer__inner {
|
||||
margin-inline-start: 0 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Right to Left language
|
||||
|
||||
[dir="rtl"] .closed-sidebar {
|
||||
.app-sidebar {
|
||||
transition: all .3s ease;
|
||||
width: $app-sidebar-width-collapsed;
|
||||
min-width: $app-sidebar-width-collapsed;
|
||||
flex: 0 0 $app-sidebar-width-collapsed;
|
||||
z-index: 13;
|
||||
|
||||
.app-sidebar__inner {
|
||||
|
||||
.app-sidebar__heading {
|
||||
text-indent: -999em;
|
||||
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 0;
|
||||
width: 100%;
|
||||
height: 1px;
|
||||
background: $dropdown-link-hover-bg;
|
||||
text-indent: 1px;
|
||||
}
|
||||
}
|
||||
|
||||
.metismenu-link {
|
||||
text-indent: -99rem;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.metismenu-icon {
|
||||
text-indent: 0;
|
||||
right: 50%;
|
||||
margin-right: -17px;
|
||||
}
|
||||
|
||||
.metismenu-state-icon {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.metismenu-container {
|
||||
&.visible {
|
||||
padding: 0;
|
||||
|
||||
& > .metismenu-item > .metismenu-link {
|
||||
height: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
flex: 0 0 $app-sidebar-width !important;
|
||||
width: $app-sidebar-width !important;
|
||||
|
||||
.app-sidebar__inner {
|
||||
|
||||
.app-sidebar__heading {
|
||||
text-indent: initial;
|
||||
&::before {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.metismenu-link {
|
||||
text-indent: initial;
|
||||
padding: 0 45px 0 $layout-spacer-x;
|
||||
}
|
||||
|
||||
.metismenu-icon {
|
||||
text-indent: initial;
|
||||
right: 5px;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.metismenu-state-icon {
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
.metismenu-container {
|
||||
&.visible {
|
||||
padding: .5em 2rem 0 0;
|
||||
|
||||
& > .metismenu-item > .metismenu-link {
|
||||
height: 2.3em;
|
||||
}
|
||||
}
|
||||
|
||||
.metismenu-container {
|
||||
.metismenu-link {
|
||||
padding-right: 1em;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:not(.sidebar-mobile-open) {
|
||||
|
||||
.app-sidebar {
|
||||
.scrollbar-container {
|
||||
position: static;
|
||||
height: auto;
|
||||
overflow: initial !important;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
.scrollbar-container {
|
||||
position: absolute;
|
||||
height: 100%;
|
||||
overflow: hidden !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:not(.closed-sidebar-mobile) {
|
||||
.app-header {
|
||||
.app-header__logo {
|
||||
width: 160px;
|
||||
|
||||
.logo-src {
|
||||
background: url(../images/logo/logo-square-small.png)
|
||||
no-repeat;
|
||||
background-size: contain;
|
||||
}
|
||||
|
||||
.header__pane {
|
||||
margin-left: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
&.fixed-sidebar {
|
||||
.app-main__outer {
|
||||
padding-right: $app-sidebar-width-collapsed;
|
||||
}
|
||||
}
|
||||
|
||||
&.fixed-header:not(.fixed-sidebar) {
|
||||
.app-sidebar {
|
||||
.app-header__logo {
|
||||
visibility: hidden;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.closed-sidebar-mobile {
|
||||
.app-sidebar,
|
||||
.app-header {
|
||||
.app-header__logo {
|
||||
width: auto;
|
||||
display: flex;
|
||||
|
||||
.header__pane {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.app-sidebar {
|
||||
.app-header__logo {
|
||||
display: flex;
|
||||
width: $app-sidebar-width-collapsed;
|
||||
padding: 0 $layout-spacer-x !important;
|
||||
|
||||
.logo-src {
|
||||
display: block !important;
|
||||
margin: 0 auto;
|
||||
width: $logo-width - 76;
|
||||
}
|
||||
|
||||
.header__pane {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
.app-header__logo {
|
||||
width: $app-sidebar-width;
|
||||
|
||||
.logo-src {
|
||||
width: $logo-width;
|
||||
margin: 0;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.app-header {
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
&.fixed-footer {
|
||||
.app-footer__inner {
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,133 @@
|
||||
// Fixed Sidebar
|
||||
|
||||
.fixed-sidebar {
|
||||
.app-sidebar {
|
||||
position: fixed;
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
.app-main {
|
||||
.app-main__outer {
|
||||
z-index: 9;
|
||||
padding-inline-start: $app-sidebar-width;
|
||||
}
|
||||
}
|
||||
|
||||
&.fixed-header {
|
||||
.app-sidebar {
|
||||
.app-header__logo {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:not(.fixed-header) {
|
||||
.app-sidebar {
|
||||
.app-header__logo {
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
|
||||
.app-header {
|
||||
margin-inline-start: $app-sidebar-width;
|
||||
|
||||
.app-header__logo {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.app-main {
|
||||
//z-index: 12;
|
||||
}
|
||||
}
|
||||
|
||||
&.closed-sidebar {
|
||||
&:not(.fixed-header) {
|
||||
.app-header {
|
||||
margin-inline-start: $app-sidebar-width-collapsed;
|
||||
}
|
||||
|
||||
.app-sidebar {
|
||||
.app-header__logo {
|
||||
width: $app-sidebar-width-collapsed;
|
||||
padding: 0;
|
||||
|
||||
.logo-src {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.header__pane {
|
||||
margin-inline-end: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Right to Left language
|
||||
|
||||
[dir='rtl'] .fixed-sidebar {
|
||||
.app-sidebar {
|
||||
position: fixed;
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
.app-main {
|
||||
.app-main__outer {
|
||||
z-index: 9;
|
||||
padding-right: $app-sidebar-width;
|
||||
}
|
||||
}
|
||||
|
||||
&.fixed-header {
|
||||
.app-sidebar {
|
||||
.app-header__logo {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:not(.fixed-header) {
|
||||
.app-sidebar {
|
||||
.app-header__logo {
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
|
||||
.app-header {
|
||||
margin-right: $app-sidebar-width;
|
||||
|
||||
.app-header__logo {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.app-main {
|
||||
//z-index: 12;
|
||||
}
|
||||
}
|
||||
|
||||
&.closed-sidebar {
|
||||
&:not(.fixed-header) {
|
||||
.app-header {
|
||||
margin-right: $app-sidebar-width-collapsed;
|
||||
}
|
||||
|
||||
.app-sidebar {
|
||||
.app-header__logo {
|
||||
width: $app-sidebar-width-collapsed;
|
||||
padding: 0;
|
||||
|
||||
.logo-src {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.header__pane {
|
||||
margin-left: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,292 @@
|
||||
// Navigation Menu Vertical
|
||||
|
||||
.vertical-nav-menu {
|
||||
position: relative;
|
||||
|
||||
&::after {
|
||||
content: " ";
|
||||
pointer-events: none;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.metismenu-container,
|
||||
.metismenu-item {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
position: relative;
|
||||
}
|
||||
.metismenu-container {
|
||||
list-style: none;
|
||||
|
||||
&:before {
|
||||
opacity: 0;
|
||||
transition: opacity 300ms;
|
||||
}
|
||||
|
||||
.metismenu-link {
|
||||
transition: transform .2s, height 300ms, color 300ms, background-color 300ms;
|
||||
display: block;
|
||||
line-height: 2.5rem;
|
||||
height: 2.5rem;
|
||||
padding: 0 $layout-spacer-x 0 45px;
|
||||
position: relative;
|
||||
@include border-radius($border-radius);
|
||||
color: $gray-800;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
|
||||
&:hover {
|
||||
background: $dropdown-link-hover-bg;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
//transform: scale(1.02);
|
||||
|
||||
i.metismenu-icon {
|
||||
opacity: .6;
|
||||
}
|
||||
|
||||
i.metismenu-state-icon {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
&.active {
|
||||
color: $primary;
|
||||
background: $dropdown-link-hover-bg;
|
||||
}
|
||||
|
||||
&.has-active-child,
|
||||
&.active {
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
|
||||
i.metismenu-state-icon,
|
||||
i.metismenu-icon {
|
||||
text-align: center;
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
line-height: 34px;
|
||||
position: absolute;
|
||||
left: 5px;
|
||||
top: 50%;
|
||||
margin-top: -17px;
|
||||
font-size: 1.5rem;
|
||||
opacity: .3;
|
||||
transition: color 300ms;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
i.metismenu-state-icon {
|
||||
transition: transform 300ms;
|
||||
left: auto;
|
||||
right: 0;
|
||||
|
||||
&:focus {
|
||||
outline-color: $secondary;
|
||||
}
|
||||
|
||||
&.rotate-minus-90 {
|
||||
transform: rotate(-180deg);
|
||||
}
|
||||
}
|
||||
|
||||
.metismenu-container {
|
||||
transition: padding 300ms;
|
||||
|
||||
&.visible {
|
||||
padding: .5em 0 0 2rem;
|
||||
|
||||
&:before {
|
||||
content: '';
|
||||
height: 100%;
|
||||
opacity: 1;
|
||||
width: 3px;
|
||||
background: $dropdown-link-hover-bg;
|
||||
position: absolute;
|
||||
left: 20px;
|
||||
top: 0;
|
||||
@include border-radius(15px);
|
||||
}
|
||||
|
||||
& > .metismenu-item > .metismenu-link {
|
||||
height: 2.3em;
|
||||
line-height: 2.3em;
|
||||
color: $gray-600;
|
||||
margin: 0 0 3px;
|
||||
|
||||
&:hover {
|
||||
color: $primary;
|
||||
}
|
||||
|
||||
.metismenu-icon {
|
||||
display: none;
|
||||
}
|
||||
|
||||
&.active {
|
||||
color: $primary;
|
||||
background: $dropdown-link-hover-bg;
|
||||
}
|
||||
}
|
||||
|
||||
& > * {
|
||||
height: auto;
|
||||
overflow: visible;
|
||||
}
|
||||
}
|
||||
|
||||
& > * {
|
||||
height: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.metismenu-link {
|
||||
padding-inline-start: 1em;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Right to Left language
|
||||
|
||||
[dir="rtl"] .vertical-nav-menu {
|
||||
position: relative;
|
||||
|
||||
&::after {
|
||||
content: " ";
|
||||
pointer-events: none;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.metismenu-container,
|
||||
.metismenu-item {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
position: relative;
|
||||
}
|
||||
.metismenu-container {
|
||||
list-style: none;
|
||||
|
||||
&:before {
|
||||
opacity: 0;
|
||||
transition: opacity 300ms;
|
||||
}
|
||||
|
||||
.metismenu-link {
|
||||
transition: transform .2s, height 300ms, color 300ms, background-color 300ms;
|
||||
display: block;
|
||||
line-height: 2.5rem;
|
||||
height: 2.5rem;
|
||||
padding: 0 45px 0 $layout-spacer-x;
|
||||
position: relative;
|
||||
@include border-radius($border-radius);
|
||||
color: $gray-800;
|
||||
white-space: nowrap;
|
||||
text-align: start;
|
||||
|
||||
&:hover {
|
||||
background: $dropdown-link-hover-bg;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
//transform: scale(1.02);
|
||||
|
||||
i.metismenu-icon {
|
||||
opacity: .6;
|
||||
}
|
||||
|
||||
i.metismenu-state-icon {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
&.active {
|
||||
color: $primary;
|
||||
background: $dropdown-link-hover-bg;
|
||||
}
|
||||
|
||||
&.has-active-child,
|
||||
&.active {
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
|
||||
i.metismenu-state-icon,
|
||||
i.metismenu-icon {
|
||||
text-align: center;
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
line-height: 34px;
|
||||
position: absolute;
|
||||
right: 5px;
|
||||
top: 50%;
|
||||
margin-top: -17px;
|
||||
font-size: 1.5rem;
|
||||
opacity: .3;
|
||||
transition: color 300ms;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
i.metismenu-state-icon {
|
||||
transition: transform 300ms;
|
||||
right: auto;
|
||||
left: 0;
|
||||
|
||||
&.rotate-minus-90 {
|
||||
transform: rotate(-180deg);
|
||||
}
|
||||
}
|
||||
|
||||
.metismenu-container {
|
||||
transition: padding 300ms;
|
||||
|
||||
&.visible {
|
||||
padding: .5em 2rem 0 0;
|
||||
|
||||
&:before {
|
||||
content: '';
|
||||
height: 100%;
|
||||
opacity: 1;
|
||||
width: 3px;
|
||||
background: $dropdown-link-hover-bg;
|
||||
position: absolute;
|
||||
right: 20px;
|
||||
top: 0;
|
||||
@include border-radius(15px);
|
||||
}
|
||||
|
||||
& > .metismenu-item > .metismenu-link {
|
||||
height: 2.3em;
|
||||
line-height: 2.3em;
|
||||
color: $gray-600;
|
||||
margin: 0 0 3px;
|
||||
|
||||
&:hover {
|
||||
color: $primary;
|
||||
}
|
||||
|
||||
.metismenu-icon {
|
||||
display: none;
|
||||
}
|
||||
|
||||
&.active {
|
||||
color: $primary;
|
||||
background: $dropdown-link-hover-bg;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.metismenu-link {
|
||||
padding-right: 1em;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,72 @@
|
||||
// Sidebar Light
|
||||
|
||||
.app-sidebar {
|
||||
&.sidebar-text-dark {
|
||||
border-right: 0 !important;
|
||||
|
||||
.app-sidebar__heading {
|
||||
color: rgba(0, 0, 0, .6);
|
||||
|
||||
&::before {
|
||||
background: rgba(0, 0, 0, 0.5) !important;
|
||||
}
|
||||
}
|
||||
|
||||
.metismenu {
|
||||
.metismenu-container {
|
||||
.metismenu-link {
|
||||
color: rgba(0, 0, 0, .7);
|
||||
|
||||
&:hover {
|
||||
color: rgba(0, 0, 0, 1);
|
||||
background: rgba(0, 0, 0, .1);
|
||||
}
|
||||
|
||||
&.active {
|
||||
background: rgba(0, 0, 0, .1);
|
||||
}
|
||||
}
|
||||
|
||||
&.metismenu-container {
|
||||
&.visible {
|
||||
.metismenu-item > .metismenu-link {
|
||||
color: rgba(0, 0, 0, .6);
|
||||
|
||||
&.active {
|
||||
background: rgba(0, 0, 0, .1);
|
||||
}
|
||||
}
|
||||
|
||||
&::before {
|
||||
background: rgba(0, 0, 0, .3);
|
||||
}
|
||||
}
|
||||
|
||||
i.metismenu-state-icon,
|
||||
i.metismenu-icon {
|
||||
opacity: .5;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.ps__thumb-y {
|
||||
background: rgba(0, 0, 0, .3);
|
||||
}
|
||||
|
||||
.ps__rail-y:hover {
|
||||
.ps__thumb-y {
|
||||
background: rgba(0, 0, 0, .2);
|
||||
}
|
||||
}
|
||||
|
||||
.app-header__logo {
|
||||
|
||||
.hamburger-inner,
|
||||
.hamburger-inner::before,
|
||||
.hamburger-inner::after {
|
||||
background-color: rgba(0, 0, 0, .8);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,81 @@
|
||||
// Sidebar Light
|
||||
|
||||
.app-sidebar {
|
||||
&.sidebar-text-light {
|
||||
border-right: 0 !important;
|
||||
|
||||
.app-sidebar__heading {
|
||||
color: rgba(255, 255, 255, .6);
|
||||
|
||||
&::before {
|
||||
background: rgba(255, 255, 255, 0.2) !important;
|
||||
}
|
||||
}
|
||||
|
||||
.metismenu {
|
||||
.metismenu-container {
|
||||
.metismenu-link {
|
||||
color: rgba(255, 255, 255, .7);
|
||||
|
||||
&:hover {
|
||||
color: rgba(255, 255, 255, 1);
|
||||
background: rgba(255, 255, 255, .1);
|
||||
}
|
||||
|
||||
&.active {
|
||||
background: rgba(255, 255, 255, .1);
|
||||
}
|
||||
}
|
||||
|
||||
&.metismenu-container {
|
||||
&.visible {
|
||||
.metismenu-item > .metismenu-link {
|
||||
color: rgba(255, 255, 255, .6);
|
||||
|
||||
&.active {
|
||||
background: rgba(255, 255, 255, .1);
|
||||
color: rgba(255, 255, 255, .8);
|
||||
}
|
||||
|
||||
&:hover {
|
||||
color: rgba(255, 255, 255, 1);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
&::before {
|
||||
background: rgba(255, 255, 255, .3);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
i.metismenu-state-icon,
|
||||
i.metismenu-icon {
|
||||
opacity: .5;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.ps__thumb-y {
|
||||
background: rgba(255, 255, 255, .3);
|
||||
}
|
||||
|
||||
.ps__rail-y:hover {
|
||||
.ps__thumb-y {
|
||||
background: rgba(255, 255, 255, .2);
|
||||
}
|
||||
}
|
||||
|
||||
.app-header__logo {
|
||||
.logo-src {
|
||||
background: url(../images/logo/logo-small.png);
|
||||
}
|
||||
|
||||
.hamburger-inner,
|
||||
.hamburger-inner::before,
|
||||
.hamburger-inner::after {
|
||||
background-color: rgba(255, 255, 255, .8);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user