« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/static/css
diff options
context:
space:
mode:
Diffstat (limited to 'src/static/css')
-rw-r--r--src/static/css/search.css9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/static/css/search.css b/src/static/css/search.css
index 3c56eed6..409e12df 100644
--- a/src/static/css/search.css
+++ b/src/static/css/search.css
@@ -49,10 +49,17 @@
 }
 
 @layer interaction {
-  .wiki-search-sidebar-box.showing-results ~ .sidebar:not(:hover) {
+  .wiki-search-sidebar-box.showing-results ~ .sidebar:not(:hover),
+  .wiki-search-sidebar-box.showing-results ~ .sidebar-box-joiner {
     opacity: 0.8;
     filter: brightness(0.85);
   }
+
+  .wiki-search-sidebar-box.showing-results ~ .sidebar:hover + .sidebar-box-joiner,
+  .wiki-search-sidebar-box.showing-results ~ .sidebar-box-joiner:has(+ .sidebar:hover) {
+    opacity: revert-layer;
+    filter: revert-layer;
+  }
 }
 
 /* Label and input elements */