From 77b1c9661b17ddef2339d039bb475f49665b24c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Sat, 19 Nov 2022 20:28:55 +0100 Subject: [PATCH] menu: relax usage of background color #399 --- static/css/ie.css | 5 ++++- static/css/variant.css | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/static/css/ie.css b/static/css/ie.css index ff68912911..d956fe37f1 100644 --- a/static/css/ie.css +++ b/static/css/ie.css @@ -116,10 +116,13 @@ #sidebar ul.collapsible-menu li.active > .toggle, #sidebar ul.topics li.active > a { - background-color: #ffffff; /* var(--MENU-SECTION-ACTIVE-CATEGORY-BG-color) */ color: #444444; /* var(--MENU-SECTION-ACTIVE-CATEGORY-color) */ } + #sidebar ul.topics li.active > a { + background-color: #ffffff; /* var(--MENU-SECTION-ACTIVE-CATEGORY-BG-color) */ + } + #sidebar ul li.visited > a .read-icon { color: #486ac9; /* var(--MENU-VISITED-color) */ } diff --git a/static/css/variant.css b/static/css/variant.css index 44db7e5e77..8f859439b4 100644 --- a/static/css/variant.css +++ b/static/css/variant.css @@ -159,10 +159,13 @@ a:hover, #sidebar ul.collapsible-menu li.active > .toggle, #sidebar ul.topics li.active > a { - background-color: var(--INTERNAL-MENU-SECTION-ACTIVE-CATEGORY-BG-color); color: var(--INTERNAL-MENU-SECTION-ACTIVE-CATEGORY-color); } +#sidebar ul.topics li.active > a { + background-color: var(--INTERNAL-MENU-SECTION-ACTIVE-CATEGORY-BG-color); +} + #sidebar ul li.visited > a .read-icon { color: var(--INTERNAL-MENU-VISITED-color); }