fixes non-dark mode black theme

This commit is contained in:
Godfrey M 2022-06-15 10:20:25 -07:00
parent 74bc06cc49
commit a6852cf4d2

View file

@ -59,12 +59,12 @@
.btn, .btn:hover { .btn, .btn:hover {
color: #000 ;
text-decoration: none;
&.btn-primary, .btn-primary:link { &.btn-primary, .btn-primary:link {
background-color: @dark-gray; background-color: @dark-gray;
border-color: darken(@gray, 10%); border-color: #FFF;
color: #fff; color: #FFF;
} }
@ -89,13 +89,13 @@
a { a {
color: @black; color: var(--link);
text-decoration: underline; text-decoration: underline;
&:hover { &:hover {
color: darken(@black, 20%); color: var(--hover-link);
} }
&:visited { &:visited {
color: @black; color: var(--visited-link);
} }
} }
@ -109,18 +109,17 @@ a {
--header: @black; /* Use same as Header picker */ --header: @black; /* Use same as Header picker */
--text-main: #BBB; --text-main: #BBB;
--text-sub: #9b9b9b; --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% */ --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% */ --hover-link: lighten(@black, 45%); /* Use same as Header picker, lighten by 70% */
--nav-link: #FFF; /* Use same as Header picker */ --nav-link: #FFF; /* Use same as Header picker */
--light-link: #fff; /* Use same as Header picker */ --light-link: #fff; /* Use same as Header picker */
} }
a:link { a.btn-info:link, a.btn-warning:link, a.btn-danger:link{
color: var(--link); color: #FFF;
} }
&a.btn-info:visited, a.btn-warning:visited, a.btn-danger:visited{
a:visited { color: #FFF;
color: var(--visited-link);
} }
.skin-black .main-header .navbar .nav>li>a, .skin-black .main-header .navbar .nav>li>a { .skin-black .main-header .navbar .nav>li>a, .skin-black .main-header .navbar .nav>li>a {