From 9b7a1c5a372019747fb3a642132a7fb957caada3 Mon Sep 17 00:00:00 2001 From: hzm <934585316@qq.com> Date: Mon, 16 Feb 2026 10:31:03 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9APC=E7=AB=AF=E6=80=BB=E7=BB=93?= =?UTF-8?q?=E5=8C=BA=E5=9F=9F=E5=A2=9E=E5=8A=A0=20sticky=20=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/globals.css | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/app/globals.css b/app/globals.css index 1dbeeea..6469ab4 100644 --- a/app/globals.css +++ b/app/globals.css @@ -562,13 +562,15 @@ input[type="number"] { } .sticky-toggle-btn { - display: none !important; + display: inline-flex !important; + cursor: pointer; + transition: all 0.2s ease; } -@media (max-width: 640px) { - .sticky-toggle-btn { - display: inline-flex !important; - } +.sticky-toggle-btn:hover { + opacity: 1 !important; + background: rgba(255, 255, 255, 0.1); + border-radius: 4px; } .icon-button.danger { @@ -809,6 +811,15 @@ input[type="number"] { border: 1px solid rgba(255, 255, 255, 0.05); } +.group-summary-sticky { + position: sticky; + z-index: 35; + background: rgba(15, 23, 42, 0.9); + backdrop-filter: blur(16px); + border-radius: 12px; + margin-bottom: 16px; +} + @media (max-width: 640px) { .filter-bar { position: sticky; @@ -836,15 +847,12 @@ input[type="number"] { } .group-summary-sticky { - position: sticky; top: 175px; - z-index: 35; width: calc(100% + 32px); margin: 0 -16px 16px -16px; padding: 8px 16px; - background: rgba(15, 23, 42, 0.9); + border-radius: 0; border-bottom: 1px solid var(--border); - backdrop-filter: blur(16px); } .group-summary-sticky .group-summary-card {