From a6852cf4d263cafd87ea9d9f654114bc3527e402 Mon Sep 17 00:00:00 2001 From: Godfrey M Date: Wed, 15 Jun 2022 10:20:25 -0700 Subject: [PATCH 1/2] fixes non-dark mode black theme --- resources/assets/less/skins/skin-black.less | 23 ++++++++++----------- 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/resources/assets/less/skins/skin-black.less b/resources/assets/less/skins/skin-black.less index 29322ac96e..d430fdc5e2 100755 --- a/resources/assets/less/skins/skin-black.less +++ b/resources/assets/less/skins/skin-black.less @@ -59,12 +59,12 @@ .btn, .btn:hover { + color: #000 ; - text-decoration: none; &.btn-primary, .btn-primary:link { background-color: @dark-gray; - border-color: darken(@gray, 10%); - color: #fff; + border-color: #FFF; + color: #FFF; } @@ -89,13 +89,13 @@ a { - color: @black; + color: var(--link); text-decoration: underline; &:hover { - color: darken(@black, 20%); + color: var(--hover-link); } &:visited { - color: @black; + color: var(--visited-link); } } @@ -109,18 +109,17 @@ a { --header: @black; /* Use same as Header picker */ --text-main: #BBB; --text-sub: #9b9b9b; - --link: #AAA; /* Use same as Header picker, lighten by 70% */ + --link: @black; /* Use same as Header picker, lighten by 70% */ --visited-link: lighten(@black, 40%); /* Use same as Header picker, lighten by 70% */ --hover-link: lighten(@black, 45%); /* Use same as Header picker, lighten by 70% */ --nav-link: #FFF; /* Use same as Header picker */ --light-link: #fff; /* Use same as Header picker */ } -a:link { - color: var(--link); +a.btn-info:link, a.btn-warning:link, a.btn-danger:link{ + color: #FFF; } - -a:visited { - color: var(--visited-link); +&a.btn-info:visited, a.btn-warning:visited, a.btn-danger:visited{ + color: #FFF; } .skin-black .main-header .navbar .nav>li>a, .skin-black .main-header .navbar .nav>li>a { From 3a879bda4a98ab2d8d2eb6ed7ef8aa8f2f76e4b5 Mon Sep 17 00:00:00 2001 From: Godfrey M Date: Wed, 15 Jun 2022 11:08:42 -0700 Subject: [PATCH 2/2] more adjustments --- resources/assets/less/skins/skin-black.less | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/resources/assets/less/skins/skin-black.less b/resources/assets/less/skins/skin-black.less index d430fdc5e2..b5581c679a 100755 --- a/resources/assets/less/skins/skin-black.less +++ b/resources/assets/less/skins/skin-black.less @@ -90,7 +90,7 @@ a { color: var(--link); - text-decoration: underline; + &:hover { color: var(--hover-link); } @@ -109,9 +109,9 @@ a { --header: @black; /* Use same as Header picker */ --text-main: #BBB; --text-sub: #9b9b9b; - --link: @black; /* Use same as Header picker, lighten by 70% */ - --visited-link: lighten(@black, 40%); /* Use same as Header picker, lighten by 70% */ - --hover-link: lighten(@black, 45%); /* Use same as Header picker, lighten by 70% */ + --link: #black; /* Use same as Header picker, lighten by 70% */ + --visited-link: @black; /* Use same as Header picker, lighten by 70% */ + --hover-link: lighten(#000, 60%); /* Use same as Header picker, lighten by 70% */ --nav-link: #FFF; /* Use same as Header picker */ --light-link: #fff; /* Use same as Header picker */ } @@ -121,6 +121,13 @@ a.btn-info:link, a.btn-warning:link, a.btn-danger:link{ &a.btn-info:visited, a.btn-warning:visited, a.btn-danger:visited{ color: #FFF; } +.btn-danger.btn-sm.disabled{ + color: #FFF; +} + +.sidebar-toggle-mobile { + color: #FFF !important; +} .skin-black .main-header .navbar .nav>li>a, .skin-black .main-header .navbar .nav>li>a { text-decoration: none;