From 3cc3e1c735f0347e776a73fc36ece4b19607dd16 Mon Sep 17 00:00:00 2001 From: Basha MEGA Date: Fri, 7 Mar 2025 17:42:45 +0000 Subject: [PATCH] feat: added hover effect on the clear button --- assets/theme-css/search.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/assets/theme-css/search.css b/assets/theme-css/search.css index 9e66566b..df894fc0 100644 --- a/assets/theme-css/search.css +++ b/assets/theme-css/search.css @@ -24,3 +24,10 @@ .pagefind-ui__result-title > .pagefind-ui__result-link { color: unset !important; } +.pagefind-ui__search-clear{ + transition: background-color 0.3s ease, color 0.3s ease; +} +.pagefind-ui__search-clear:hover{ + background-color: #333; + color: #fff; +} \ No newline at end of file