From 99bc6d3c6c31ec43f31c18b22e5b4bc6a9596696 Mon Sep 17 00:00:00 2001 From: mac Date: Fri, 24 Jul 2026 17:38:42 +0800 Subject: [PATCH] =?UTF-8?q?v2.1.4=20=E2=80=94=20=E4=BE=A7=E8=BE=B9?= =?UTF-8?q?=E6=A0=8F=E6=B7=B1=E8=89=B2=E4=B8=BB=E9=A2=98=EF=BC=9A=E6=B7=B1?= =?UTF-8?q?=E8=93=9D=E6=B8=90=E5=8F=98=E8=83=8C=E6=99=AF+=E8=93=9D?= =?UTF-8?q?=E8=89=B2=E5=9B=BE=E6=A0=87+=E6=B5=85=E7=81=B0=E6=96=87?= =?UTF-8?q?=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/style.css | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/static/style.css b/static/style.css index 9872761..80b625c 100644 --- a/static/style.css +++ b/static/style.css @@ -174,6 +174,45 @@ body { font-weight: 400; } +/* ═══════════════════════════════════════════ + Sidebar Dark Theme(左侧导航栏专属) + ═══════════════════════════════════════════ */ +.sidebar { + background: linear-gradient(180deg, #1E293B 0%, #0F172A 100%); + border-right: 1px solid #334155; +} +.sidebar .user-name { + color: #94A3B8; +} +.sidebar .user-avatar { + background: #4F46E5; + color: #FFF; +} +.sidebar .btn-logout-icon { + color: #64748B; +} +.sidebar .btn-logout-icon:hover { + background: rgba(248,113,113,0.15); + color: #FCA5A5; +} +.sidebar .nav-item { + color: #94A3B8; +} +.sidebar .nav-item:hover { + background: rgba(99,102,241,0.08); + color: #E2E8F0; +} +.sidebar .nav-item .icon-md { + color: #6366F1; +} +.sidebar .nav-item:hover .icon-md { color: #818CF8; } +.sidebar .nav-item.active { + background: rgba(99,102,241,0.15); + color: #FFF; + border: 1px solid rgba(99,102,241,0.3); +} +.sidebar .nav-item.active .icon-md { color: #818CF8; } + /* ═══════════════════════════════════════════ Calendar Widget ═══════════════════════════════════════════ */