mirror of
https://github.com/bulwarkmail/webmail.git
synced 2026-11-04 00:14:12 +00:00
fix: keep the proofreading forced-colours rules after the main forced-colours block #1397
This commit is contained in:
+13
-11
@@ -279,17 +279,6 @@ html.dark[data-contrast="more"] {
|
||||
--text-issue-style: #fcd34d;
|
||||
--text-issue-other: #e5e7eb;
|
||||
}
|
||||
@media (forced-colors: active) {
|
||||
.tiptap .text-issue {
|
||||
text-decoration-color: CanvasText;
|
||||
text-decoration-thickness: 2px;
|
||||
}
|
||||
.tiptap .text-issue-active {
|
||||
forced-color-adjust: none;
|
||||
background-color: Highlight;
|
||||
color: HighlightText;
|
||||
}
|
||||
}
|
||||
|
||||
/* ---------- Reduced transparency ---------- */
|
||||
|
||||
@@ -517,3 +506,16 @@ html.dark[data-contrast="more"] {
|
||||
:root[data-simple-mode="on"] [data-simple-hide] {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Proofreading underlines in forced colours: one colour, so the line styles tell the kinds apart. */
|
||||
@media (forced-colors: active) {
|
||||
.tiptap .text-issue {
|
||||
text-decoration-color: CanvasText;
|
||||
text-decoration-thickness: 2px;
|
||||
}
|
||||
.tiptap .text-issue-active {
|
||||
forced-color-adjust: none;
|
||||
background-color: Highlight;
|
||||
color: HighlightText;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user