添加鉴权逻辑

This commit is contained in:
CN-JS-HuiBai
2026-04-04 17:49:00 +08:00
parent a2a477d3fb
commit 2bad8978a4
8 changed files with 474 additions and 57 deletions

View File

@@ -55,6 +55,22 @@
--font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}
:root.light-theme {
--bg-primary: #f5f7fb;
--bg-secondary: #ffffff;
--bg-card: rgba(255, 255, 255, 0.9);
--bg-card-hover: rgba(255, 255, 255, 1);
--bg-input: #ffffff;
--border-color: rgba(99, 102, 241, 0.1);
--border-hover: rgba(99, 102, 241, 0.25);
--text-primary: #1e293b;
--text-secondary: #64748b;
--text-muted: #94a3b8;
--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
--shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
--shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}
/* ---- Reset & Base ---- */
*, *::before, *::after {
margin: 0;
@@ -503,8 +519,8 @@ body {
.gauge {
position: relative;
width: 120px;
height: 120px;
width: 100px;
height: 100px;
}
.gauge svg {
@@ -549,7 +565,7 @@ body {
}
.gauge-label {
font-size: 0.7rem;
font-size: 0.65rem;
font-weight: 600;
color: var(--text-muted);
text-transform: uppercase;