css: Respect `--text-color-inverted`

This commit is contained in:
Johannes Meyer 2021-06-23 14:25:57 +02:00
parent 608499c4cd
commit ac45a51ffb
6 changed files with 13 additions and 13 deletions

View File

@ -255,7 +255,7 @@
.tactical div.box.header {
margin: 10px;
min-height: 8em;
color: @text-color-inverted;
.var(color, text-color-inverted);
font-size: @font-size-dashboard;
}
@ -478,7 +478,7 @@ div.timeline-legend {
font-weight: @font-weight-bold;
font-size: 11px;
text-align: center;
color: @text-color-inverted;
.var(color, text-color-inverted);
padding-left: 5px;
padding-right: 5px;
padding-top: 2px;

View File

@ -151,7 +151,7 @@
&.state-critical,
&.state-down {
background-color: @color-critical;
color: @text-color-inverted;
.var(color, text-color-inverted);
&.handled {
background-color: inherit;
@ -162,7 +162,7 @@
&.state-warning {
background-color: @color-warning;
color: @text-color-inverted;
.var(color, text-color-inverted);
&.handled {
background-color: inherit;
@ -173,7 +173,7 @@
&.state-unknown {
background-color: @color-unknown;
color: @text-color-inverted;
.var(color, text-color-inverted);
&.handled {
background-color: inherit;
@ -184,7 +184,7 @@
&.state-unreachable {
background-color: @color-unreachable;
color: @text-color-inverted;
.var(color, text-color-inverted);
&.handled {
background-color: inherit;

View File

@ -354,7 +354,7 @@ form.inline {
top: 0;
left: 0;
background: @text-color-inverted;
.var(background, text-color-inverted);
border-radius: 1em;
border: 1px solid;
.var(border-color, low-sat-blue);

View File

@ -125,7 +125,7 @@
padding: 1em;
a {
color: @text-color-inverted;
.var(color, text-color-inverted);
font-weight: bold;
}
}

View File

@ -110,11 +110,11 @@
#menu ul:not(.nav-level-2) > .selected > a {
background-color: @menu-highlight-color;
color: @text-color-inverted;
.var(color, text-color-inverted);
&:hover {
color: @text-color-inverted;
.var(color, text-color-inverted);
}
&:after {
@ -327,7 +327,7 @@
}
a.badge {
color: @text-color-inverted;
.var(color, text-color-inverted);
flex: 0 1 auto;
margin-right: 1em;
padding: .25em;
@ -521,7 +521,7 @@ html.no-js #toggle-sidebar {
}
&.badge-nav-item a.badge {
color: @text-color-inverted;
.var(color, text-color-inverted);
flex: 0 1 auto;
margin-right: 1em;
padding: .25em;

View File

@ -67,7 +67,7 @@
.var(background-color, "gray");
border: none;
border-radius: 50%;
color: @text-color-inverted;
.var(color, text-color-inverted);
height: 1.5em;
line-height: 1em;
padding: 0;