From bdeda21386f46a83bb2cc01d82c9327ade9baa19 Mon Sep 17 00:00:00 2001 From: Sakurasan <26715255+Sakurasan@users.noreply.github.com> Date: Tue, 1 Sep 2026 19:18:27 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E7=AE=A1=E7=90=86=E9=9D=A2=E6=9D=BF?= =?UTF-8?q?=E4=B8=BB=E9=A2=98=E5=88=87=E6=8D=A2=E4=B8=8E=E4=B8=BB=E7=AB=99?= =?UTF-8?q?=E4=B8=80=E8=87=B4=EF=BC=88SVG=E5=9B=BE=E6=A0=87+=E7=B4=A7?= =?UTF-8?q?=E5=87=91=E5=B8=83=E5=B1=80=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/dist/admin.html | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/backend/dist/admin.html b/backend/dist/admin.html index 29e78b7..e3e5cd2 100644 --- a/backend/dist/admin.html +++ b/backend/dist/admin.html @@ -129,10 +129,10 @@ tr:hover td{background:color-mix(in oklch,var(--accent) 40%,transparent)} .modal-box h3{font-size:16px;font-weight:600;margin-bottom:16px} /* Theme toggle */ -.theme-toggle{position:fixed;bottom:16px;right:16px;z-index:50;display:flex;gap:4px;padding:4px;background:var(--card);border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 2px 8px oklch(0 0 0 / .08)} -.theme-btn{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border:none;border-radius:calc(var(--radius) - 2px);cursor:pointer;background:transparent;color:var(--muted-foreground);font-size:16px;transition:all .15s} -.theme-btn:hover{background:var(--accent);color:var(--accent-foreground)} -.theme-btn.active{background:var(--primary);color:var(--primary-foreground)} +.theme-toggle{position:fixed;bottom:16px;right:16px;z-index:50;display:flex;padding:3px;background:var(--muted);border-radius:var(--radius);box-shadow:0 2px 8px oklch(0 0 0 / .08);gap:3px} +.theme-btn{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border:none;border-radius:calc(var(--radius) - 2px);cursor:pointer;background:transparent;color:var(--muted-foreground);font-size:16px;transition:all .15s;padding:0} +.theme-btn:hover{color:var(--foreground)} +.theme-btn.active{background:var(--background);color:var(--foreground);box-shadow:0 1px 3px oklch(0 0 0 / .08)} @@ -201,10 +201,16 @@ tr:hover td{background:color-mix(in oklch,var(--accent) 40%,transparent)} -
- - - +
+ + +