Files
danbooru/app/javascript/src/styles/common/diffs.scss
BrokenEagle e23ee170f5 Add alternate comparison types to versions
- The types are:
-- Previous: The default and the previously used type
-- Subsequent: Compares against the next version
-- Current: Compares against the current version
- Allow switching between comparison types in index and diff views
-- Have links vary depending upon current comparison type
2020-03-17 18:31:20 +00:00

42 lines
771 B
SCSS

.diff-list {
.added, .added a {
color: var(--diff-list-added-color);
text-decoration: none;
margin-right: 0.5em;
}
.removed, .removed a {
color: var(--diff-list-removed-color);
text-decoration: line-through;
margin-right: 0.5em;
}
ins, ins a {
color: var(--diff-list-added-color);
text-decoration: none;
margin-right: 0.5em;
}
del, del a {
color: var(--diff-list-removed-color);
text-decoration: line-through;
margin-right: 0.5em;
}
}
.diff-body {
del {
background: var(--wiki-page-versions-diff-del-background);
text-decoration: none;
}
ins {
background: var(--wiki-page-versions-diff-ins-background);
text-decoration: none;
}
span.paragraph-mark {
opacity: 0.25;
}
}