Merge pull request #3455 from danny007in/sidebar-light-color-fix

fix sidebar light text color
pull/3459/head
REJack 2021-02-25 14:58:32 +01:00 committed by GitHub
commit 7426bf25ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 4 deletions

View File

@ -22,7 +22,7 @@
}, },
{ {
"path": "./dist/css/alt/adminlte.core.min.css", "path": "./dist/css/alt/adminlte.core.min.css",
"maxSize": "50.8 kB" "maxSize": "51.1 kB"
}, },
{ {
"path": "./dist/css/alt/adminlte.extra-components.css", "path": "./dist/css/alt/adminlte.extra-components.css",

View File

@ -302,6 +302,12 @@
> .nav-item { > .nav-item {
> .nav-link { > .nav-link {
color: $sidebar-light-submenu-color; color: $sidebar-light-submenu-color;
&:hover,
&:focus {
background-color: $sidebar-light-submenu-hover-bg;
color: $sidebar-light-submenu-hover-color;
}
} }
> .nav-link.active { > .nav-link.active {

View File

@ -98,11 +98,12 @@
@include navbar-variant($color, $value); @include navbar-variant($color, $value);
} }
.dark-mode { .dark-mode:not([class*="sidebar-light-"]) {
.nav-pills .nav-link { &.nav-pills .nav-link {
color: $gray-400; color: $gray-400;
} }
.nav-tabs {
&.nav-tabs {
border-color: lighten($dark, 15%); border-color: lighten($dark, 15%);
.nav-link:focus, .nav-link:focus,

View File

@ -129,6 +129,7 @@ $sidebar-light-hover-color: $gray-900 !default;
$sidebar-light-active-color: $black !default; $sidebar-light-active-color: $black !default;
$sidebar-light-submenu-bg: transparent !default; $sidebar-light-submenu-bg: transparent !default;
$sidebar-light-submenu-color: #777 !default; $sidebar-light-submenu-color: #777 !default;
$sidebar-light-submenu-hover-color: $black !default;
$sidebar-light-submenu-hover-bg: $sidebar-light-hover-bg !default; $sidebar-light-submenu-hover-bg: $sidebar-light-hover-bg !default;
$sidebar-light-submenu-active-color: $sidebar-light-hover-color !default; $sidebar-light-submenu-active-color: $sidebar-light-hover-color !default;
$sidebar-light-submenu-active-bg: $sidebar-light-submenu-hover-bg !default; $sidebar-light-submenu-active-bg: $sidebar-light-submenu-hover-bg !default;