add historyview styling

This commit is contained in:
Wirlaburla committed 2024-09-23 12:07:29 -05:00
1 parent ff275af0b3
commit 18fba59a6e
2 files changed
+38 -1

No files matched your search

+29
View File
@@ -146,6 +146,35 @@ body > div.overlay .dialog table:not(.titlebox) {
overflow: auto;
}
body > div.overlay div.dialog.historylist {
display: flex;
flex-direction: column;
max-width: 500px;
max-height: 90%;
}
body > div.overlay div.dialog.historylist .history-view {
background: var(--history-background);
padding: 4px;
margin: 4px;
border: 1px solid var(--history-border-color);
overflow: auto;
font-family: monospace;
}
body > div.overlay div.dialog.historylist select {
width: 100%;
margin: 2px 0px;
}
.history-view div {
border-bottom: 1px dashed var(--history-border-color);
white-space: break-spaces;
}
.history-view div.inf { background-color: var(--history-line-info); }
.history-view div.add { background-color: var(--history-line-add); }
.history-view div.del { background-color: var(--history-line-delete); }
.history-view div.cmt { background-color: var(--history-line-comment); }
/* = PAGE SELECTORS */
div.page-selector {
display: inline-flex;