mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -08:00
Merge pull request #11323 from Godmartinz/bug/sc-19255/issues-with-black-light-sk
fixes non-dark mode black theme
This commit is contained in:
commit
cae66753fb
|
@ -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;
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: darken(@black, 20%);
|
color: var(--hover-link);
|
||||||
}
|
}
|
||||||
&:visited {
|
&:visited {
|
||||||
color: @black;
|
color: var(--visited-link);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -109,18 +109,24 @@ 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: @black; /* Use same as Header picker, lighten by 70% */
|
||||||
--hover-link: lighten(@black, 45%); /* 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 */
|
--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{
|
||||||
|
color: #FFF;
|
||||||
|
}
|
||||||
|
.btn-danger.btn-sm.disabled{
|
||||||
|
color: #FFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:visited {
|
.sidebar-toggle-mobile {
|
||||||
color: var(--visited-link);
|
color: #FFF !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.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 {
|
||||||
|
|
Loading…
Reference in a new issue