From e78f73647511cf7541a42e0eba5bd198d062d584 Mon Sep 17 00:00:00 2001 From: Kay0u Date: Mon, 8 Feb 2021 16:41:36 +0100 Subject: [PATCH] fix search color --- themes/yunohost-docs/css/custom.css | 12 ++++++------ themes/yunohost-docs/css/darkMode.css | 19 +++++++++++++++++-- 2 files changed, 23 insertions(+), 8 deletions(-) diff --git a/themes/yunohost-docs/css/custom.css b/themes/yunohost-docs/css/custom.css index 36a3af09..bbeff4c5 100644 --- a/themes/yunohost-docs/css/custom.css +++ b/themes/yunohost-docs/css/custom.css @@ -147,16 +147,12 @@ body #top-bar #navigation { margin-right: 0; } -body .off-canvas .learn-sidebar .searchbox ::placeholder { - color: rgba(68, 68, 68, 0.8); -} - body .off-canvas .learn-sidebar .learn-nav ul.searched a { color: black; } -body .off-canvas .learn-sidebar .learn-nav ul.searched .search-match a:hover, .off-canvas .learn-sidebar .learn-nav ul.searched .search-match a { - color: blueviolet; +body .off-canvas .learn-sidebar .learn-nav ul.searched .search-match a:hover, body .off-canvas .learn-sidebar .learn-nav ul.searched .search-match a { + color: #37419a; } body .off-canvas .learn-sidebar a:hover { @@ -189,6 +185,10 @@ body .off-canvas .learn-sidebar .learn-nav .read-icon, body .off-canvas .learn-s color: rgba(0, 0, 0, 0.6); } +body .off-canvas .learn-sidebar .searchbox ::placeholder { + color: rgba(68, 68, 68, 0.8); +} + body .off-canvas .learn-sidebar .searchbox input { color: rgb(78, 78, 78); } diff --git a/themes/yunohost-docs/css/darkMode.css b/themes/yunohost-docs/css/darkMode.css index a179e334..6156d00f 100644 --- a/themes/yunohost-docs/css/darkMode.css +++ b/themes/yunohost-docs/css/darkMode.css @@ -97,13 +97,28 @@ body.dark-mode .simplebar-content h5 { border-top: 1px solid #3f4755; } +body.dark-mode .off-canvas .learn-sidebar .learn-nav ul.searched a { + color: #e8e9eb +} + body.dark-mode .off-canvas .learn-sidebar .learn-nav ul li.active > a { color: #a5a9af } +body.dark-mode .off-canvas .learn-sidebar .searchbox ::placeholder { + color: #a5a9af +} + +body.dark-mode .off-canvas .learn-sidebar .searchbox input { + color: #e8e9eb +} + +body .off-canvas .learn-sidebar .learn-nav ul.searched .search-match a:hover, body .off-canvas .learn-sidebar .learn-nav ul.searched .search-match a { + color: #666c9c; +} + body.dark-mode .off-canvas .learn-sidebar .learn-nav .read-icon, body.dark-mode .off-canvas .learn-sidebar .searchbox, body.dark-mode .off-canvas .learn-sidebar .search-options .version-chooser select, -body.dark-mode .off-canvas .learn-sidebar a, body.dark-mode .off-canvas .learn-sidebar .learn-nav ul li a > span > b, body.dark-mode .off-canvas .learn-sidebar .learn-nav ul li a > i, -body.dark-mode .off-canvas .learn-sidebar .learn-nav ul.searched .search-match a:hover, .off-canvas .learn-sidebar .learn-nav ul.searched .search-match a +body.dark-mode .off-canvas .learn-sidebar a, body.dark-mode .off-canvas .learn-sidebar .learn-nav ul li a > span > b, body.dark-mode .off-canvas .learn-sidebar .learn-nav ul li a > i { color: #e8e9eb }