css: Respect `--tr-*-color`

This commit is contained in:
Johannes Meyer 2021-06-28 14:12:58 +02:00
parent fad9eb0a84
commit 6c235c64b5
4 changed files with 6 additions and 6 deletions

View File

@ -250,11 +250,11 @@
} }
tr[href].active { tr[href].active {
background-color: @tr-active-color; .var(background-color, tr-active-color);
} }
tr[href]:hover { tr[href]:hover {
background-color: @tr-hover-color; .var(background-color, tr-hover-color);
cursor: pointer; cursor: pointer;
} }

View File

@ -178,12 +178,12 @@ a:hover > .icon-cancel {
} }
tr[href].active { tr[href].active {
background-color: @tr-active-color; .var(background-color, tr-active-color);
border-left-color: @icinga-blue; border-left-color: @icinga-blue;
} }
tr[href]:hover { tr[href]:hover {
background-color: @tr-hover-color; .var(background-color, tr-hover-color);
cursor: pointer; cursor: pointer;
} }
} }

View File

@ -279,7 +279,7 @@
&:not(.active) { &:not(.active) {
&:hover, &:focus { &:hover, &:focus {
background-color: @tr-active-color; .var(background-color, tr-active-color);
} }
} }

View File

@ -99,7 +99,7 @@
-moz-box-shadow: 0 0 0.5em 0 rgba(0, 0, 0, 0.2); -moz-box-shadow: 0 0 0.5em 0 rgba(0, 0, 0, 0.2);
box-shadow: 0 0 0.5em 0 rgba(0, 0, 0, 0.2); box-shadow: 0 0 0.5em 0 rgba(0, 0, 0, 0.2);
background-color: @tr-hover-color; .var(background-color, tr-hover-color);
text-decoration: none; text-decoration: none;
} }
} }