From 8671facd7c151424d77b45f048c12af6e832b3c7 Mon Sep 17 00:00:00 2001 From: Deeman Date: Fri, 20 Feb 2026 02:06:38 +0100 Subject: [PATCH] =?UTF-8?q?chore:=20polish=20cookie=20banner=20=E2=80=94?= =?UTF-8?q?=20animation,=20UX,=20accessibility?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Slide-up entrance / slide-down exit animations (CSS keyframes) - Upward box-shadow for visual depth from page content - Larger toggle (44×24px) for easier tap target on mobile - Split dual-state Manage/Save into: header button Manage↔Close + panel Save choices button - ARIA: role=dialog, role=switch, aria-checked on toggle, focus moves to prefs on open - Use btn-outline / btn component classes for secondary/primary buttons Co-Authored-By: Claude Sonnet 4.6 --- .../padelnomics/templates/_cookie_banner.html | 169 ++++++++++++------ 1 file changed, 115 insertions(+), 54 deletions(-) diff --git a/padelnomics/src/padelnomics/templates/_cookie_banner.html b/padelnomics/src/padelnomics/templates/_cookie_banner.html index 042aba7..de253f1 100644 --- a/padelnomics/src/padelnomics/templates/_cookie_banner.html +++ b/padelnomics/src/padelnomics/templates/_cookie_banner.html @@ -1,47 +1,99 @@ {# Cookie consent banner — included in base.html before . JS-driven: hidden by default, shown only if cookie_consent cookie is absent. - No-JS behaviour: banner stays hidden → only essential cookies are set (privacy-safe default). #} -