module.less: style new config diff HTML

This commit is contained in:
Thomas Gelf 2015-09-14 17:01:10 +02:00
parent d1160fd0c3
commit c1d6c368d7
1 changed files with 38 additions and 11 deletions

View File

@ -184,17 +184,6 @@ table.log-properties {
span {
padding: 0.3em 1em;
}
.old {
background-color: @colorCriticalHandled;
color: white;
text-decoration: stroken;
}
.new {
background-color: @colorOk;
color: white;
}
}
p.error {
@ -337,3 +326,41 @@ table.simple {
.tree a.service { background-image: url('../img/director/service.png'); }
.tree a.command { background-image: url('../img/director/script.png'); }
.diff {
font-family: monospace;
white-space: pre-wrap;
del, ins {
text-decoration: none;
}
del {
color: @colorCritical;
background-color: #fdd;
}
ins {
color: @colorOk;
background-color: #dfd;
}
}
div.diff {
/* line-height: 1.8em;
height: 1.8em;*/
margin: 0;
padding: 0;
overflow: hidden;
}
.diff.old ins {
display: none;
}
.diff.new del {
display: none;
}