From 6d6194df37966ee306c2ff0801fae8b92c3f06d0 Mon Sep 17 00:00:00 2001 From: ulfrxdev Date: Thu, 7 May 2026 19:12:38 +0200 Subject: [PATCH] Adjust calendar controller --- index.html | 32 +++++++++++++++++++------------- js/ui/calendarPopover.js | 8 +++++++- js/views/Pantry.js | 13 ++++++++----- js/views/ShoppingList.js | 15 +++++++++------ 4 files changed, 43 insertions(+), 25 deletions(-) diff --git a/index.html b/index.html index 50f5df4..3401d8d 100644 --- a/index.html +++ b/index.html @@ -683,6 +683,12 @@ width: var(--recipe-inline-search-control-size, calc(var(--recipe-bottom-control-size, 3.9rem) * 0.8)); height: var(--recipe-inline-search-control-size, calc(var(--recipe-bottom-control-size, 3.9rem) * 0.8)); } + html.is-inline-search-open #pantry-top-controls, + html.is-inline-search-open #shopping-top-controls { + opacity: 0; + pointer-events: none; + transform: translateY(0.35rem) scale(0.985); + } .dark #pantry-filter-popover { background: rgba(var(--app-bg-rgb), 0.82) !important; border: 1px solid rgba(255, 255, 255, 0.12) !important; @@ -987,17 +993,17 @@ gap: 0.02rem; padding: 0.28rem; border-radius: var(--dock-radius); - background: rgba(255, 255, 255, 0.2); - background-image: none; - border: 1px solid rgba(255, 255, 255, 0.32); + background: rgba(255, 255, 255, 0.2) !important; + background-image: none !important; + border: 1px solid rgba(255, 255, 255, 0.32) !important; overflow: hidden; backdrop-filter: blur(28px) saturate(180%); -webkit-backdrop-filter: blur(28px) saturate(180%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 -1px 0 rgba(var(--overlay-rgb), 0.06), - 0 8px 20px rgba(var(--overlay-rgb), 0.16), - 0 22px 52px rgba(var(--overlay-rgb), 0.24); + 0 8px 20px rgba(var(--overlay-rgb), 0.14), + 0 18px 38px rgba(var(--overlay-rgb), 0.18) !important; pointer-events: auto; transform-origin: left center; transition: @@ -1033,14 +1039,14 @@ pointer-events: none; } .dark #app-bottom-nav .bottom-dock { - background: rgba(255, 255, 255, 0.04); - background-image: none; - border: 1px solid rgba(255, 255, 255, 0.12); + background: rgba(255, 255, 255, 0.04) !important; + background-image: none !important; + border: 1px solid rgba(255, 255, 255, 0.12) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), inset 0 -1px 0 rgba(0, 0, 0, 0.22), - 0 10px 24px rgba(0, 0, 0, 0.36), - 0 26px 60px rgba(0, 0, 0, 0.46); + 0 10px 24px rgba(0, 0, 0, 0.3), + 0 24px 54px rgba(0, 0, 0, 0.38) !important; } #app-bottom-nav .nav-slot { min-width: 0; @@ -1127,7 +1133,7 @@ height: 3.15rem; padding: 0.32rem 0.22rem 0.28rem; color: rgb(var(--text-primary-rgb)); - background: rgba(var(--overlay-rgb), 0.38) !important; + background: rgba(var(--overlay-rgb), 0.24) !important; border-radius: 999px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), @@ -1153,7 +1159,7 @@ } .dark #app-bottom-nav .nav-tab.is-active { color: #fff; - background: rgba(0, 0, 0, 0.42) !important; + background: rgba(0, 0, 0, 0.26) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), inset 0 -1px 0 rgba(0, 0, 0, 0.4) !important; @@ -1274,7 +1280,7 @@