From cd90c2d7999be0c15c22ef54177c35742b38ea73 Mon Sep 17 00:00:00 2001 From: mac Date: Fri, 24 Jul 2026 17:11:46 +0800 Subject: [PATCH] =?UTF-8?q?v2.0.5=20=E2=80=94=20=E4=BE=A7=E8=BE=B9?= =?UTF-8?q?=E6=A0=8F=E8=8F=9C=E5=8D=95=E7=BE=8E=E5=8C=96=EF=BC=9A=E5=A4=A7?= =?UTF-8?q?=E5=9B=BE=E6=A0=87+=E8=93=9D=E8=89=B2=E6=BF=80=E6=B4=BB?= =?UTF-8?q?=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/style.css | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/static/style.css b/static/style.css index f80cc99..7df026b 100644 --- a/static/style.css +++ b/static/style.css @@ -360,15 +360,16 @@ body { .nav-item { display: flex; align-items: center; - gap: 10px; - padding: 10px 14px; - border-radius: var(--radius-sm); - font-size: 13px; + gap: 14px; + padding: 12px 16px; + border-radius: var(--radius); + font-size: 14px; font-weight: 500; color: var(--text-dim); cursor: pointer; text-decoration: none; transition: all 0.15s; + margin-bottom: 2px; } .nav-item:hover { @@ -376,17 +377,21 @@ body { color: var(--text); } +.nav-item .icon-sm { + flex-shrink: 0; + width: 20px; + height: 20px; + color: var(--text-muted); + transition: color 0.15s; +} +.nav-item:hover .icon-sm { color: var(--primary); } + .nav-item.active { background: var(--primary-light); color: var(--primary); font-weight: 600; } - -.nav-item .icon-sm { - flex-shrink: 0; - width: 16px; - height: 16px; -} +.nav-item.active .icon-sm { color: var(--primary); } /* ── Sidebar Footer ── */