Diff-ify changelog view for zone changes

Improve and document the diff-computation and presentation, so you can
easier see what changed.
This commit is contained in:
corubba
2023-03-03 13:22:29 +01:00
parent 077bbb813c
commit 8a40d21ea4
4 changed files with 186 additions and 160 deletions

View File

@ -56,4 +56,27 @@ table.records thead th, table.records tbody td { text-align: center; vertical-al
table.records thead th:last-of-type { width: 50px; }
div.records > div.dataTables_wrapper > div.row:first-of-type { margin: 0 0.5em 0 0.5em; }
div.records > div.dataTables_wrapper > div.row:last-of-type { margin: 0.4em 0.5em 0.4em 0.5em; }
div.records > div.dataTables_wrapper table.dataTable { margin: 0 !important; }
div.records > div.dataTables_wrapper table.dataTable { margin: 0 !important; }
.diff {
font-family: monospace;
padding: 0 0.2em;
}
.diff::before {
content: "\00a0";
padding-right: 0.1em;
}
.diff-deletion {
background-color: lightcoral;
}
.diff-deletion::before {
content: "-";
}
.diff-addition {
background-color: lightgreen;
}
.diff-addition::before {
content: "+";
}