css: use font icon when highlighting errors

This commit is contained in:
Thomas Gelf 2016-10-13 12:00:06 +00:00
parent 0e45429196
commit ad11f89abf

View File

@ -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;
} }
} }
} }