From a1c2ebe95ce633bdda4c35392d60596abc6ecc0b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tillmann=20D=C3=B6nicke?=
 <tillmann.doenicke@uni-goettingen.de>
Date: Wed, 17 Apr 2024 08:15:26 +0000
Subject: [PATCH] fix(styles): correct some css

---
 scenarios/xslt/edxml2html/css/styles.css | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/scenarios/xslt/edxml2html/css/styles.css b/scenarios/xslt/edxml2html/css/styles.css
index 33f29df..660758a 100644
--- a/scenarios/xslt/edxml2html/css/styles.css
+++ b/scenarios/xslt/edxml2html/css/styles.css
@@ -344,6 +344,12 @@ hr.metamark-line.doubleLine {
   font-style: italic !important;
 }
 
+.note-list > label *:hover {
+    *::before, *::after {
+        color: var(--theme-color-compl) !important;
+    }
+}
+
 .note-list > ul {
   list-style: none;
   text-indent: -1em;
@@ -364,15 +370,11 @@ hr.metamark-line.doubleLine {
   font-weight: bold;
 }
 
-.unit-container .note-item > label::after {
+.unit .note-item > label:not(:has(~ input[type=checkbox]:checked))::after {
   content: ": ";
   font-weight: bold;
 }
 
-.unit-container .note-item > label:has(~ input[type=checkbox]:checked)::after {
-  content: "";
-}
-
 /*----------------------------------{ ITEMS: WORDS }--------------------------------*/
 
 .item.w:hover {
-- 
GitLab