mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 08:44:11 +02:00
css: use font icon when highlighting errors
This commit is contained in:
parent
0e45429196
commit
ad11f89abf
@ -101,23 +101,30 @@ pre.logfile {
|
|||||||
|
|
||||||
pre.generated-config {
|
pre.generated-config {
|
||||||
|
|
||||||
.highlight {
|
|
||||||
padding-left: 0.5em;
|
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.critical {
|
|
||||||
border-left: 0.5em solid @color-critical;
|
.highlight {
|
||||||
|
&::before {
|
||||||
|
// icon: right-big
|
||||||
|
font-family: 'ifont';
|
||||||
|
content: '\e826';
|
||||||
|
margin-left: -1em;
|
||||||
|
padding-top: 0em;
|
||||||
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.warning {
|
&.critical::before {
|
||||||
border-left: 0.5em solid @color-warning;
|
color: @color-critical;
|
||||||
}
|
}
|
||||||
|
&.warning::before {
|
||||||
&.information {
|
color: @color-warning;
|
||||||
border-left: 0.5em solid @color-ok;
|
}
|
||||||
|
&.ok::before {
|
||||||
|
color: @color-ok;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user