From cf6ad254fb7f15960a97d4e3f40ffa46906f3279 Mon Sep 17 00:00:00 2001 From: AHOHNMYC <24810600+AHOHNMYC@users.noreply.github.com> Date: Wed, 13 Apr 2022 04:15:37 +0300 Subject: [PATCH 1/2] Pointer cursor on Filters `summary' `summary` clickable by design, but by default (at least in Chrome) it has `text` cursor. --- assets/css/search.css | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/css/search.css b/assets/css/search.css index a5996362..bbbd9fa9 100644 --- a/assets/css/search.css +++ b/assets/css/search.css @@ -5,6 +5,7 @@ summary { font-size: 1.17em; font-weight: bold; margin: 0 auto 10px auto; + cursor: pointer; } summary::-webkit-details-marker, From 6f21834e71e157ff9ec212f68272d6d2b88ef709 Mon Sep 17 00:00:00 2001 From: AHOHNMYC <24810600+AHOHNMYC@users.noreply.github.com> Date: Wed, 13 Apr 2022 04:23:10 +0300 Subject: [PATCH 2/2] Real minus sign instead of hyphen-minus Minus sign in comparison with hyphen-minus (symbol that prints your keyboard by default) has horizontal line on same level as plus sign and same width, so one can be toggled to another with perfect visuals. https://en.wikipedia.org/wiki/Plus_and_minus_signs https://en.wikipedia.org/wiki/Hyphen-minus --- assets/css/search.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/css/search.css b/assets/css/search.css index bbbd9fa9..5ca141d0 100644 --- a/assets/css/search.css +++ b/assets/css/search.css @@ -20,7 +20,7 @@ summary:before { width: 40px; } -details[open] > summary:before { content: "[ ‒ ]"; } +details[open] > summary:before { content: "[ − ]"; } #filters-box {