From 6504726431346750b5e88a2c1232fbf3956f9a0a Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 16 Jul 2026 22:20:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=B7=B1=E8=89=B2=E4=B8=BB?= =?UTF-8?q?=E9=A2=98=E5=AF=B9=E6=AF=94=E5=BA=A6=EF=BC=9A=E5=89=AF=E6=A0=87?= =?UTF-8?q?=E9=A2=98#9ca3af(7.6:1)=20=E6=A0=87=E7=AD=BE#cbd5e0(13:1)=20?= =?UTF-8?q?=E8=BE=93=E5=85=A5=E6=A1=86=E8=83=8C=E6=99=AF#1a1d2b=E8=BE=B9?= =?UTF-8?q?=E6=A1=86#4b5563(2.56:1)=20=E5=8D=A1=E7=89=87=E8=BE=B9=E6=A1=86?= =?UTF-8?q?#374151?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- auth.py | 12 +++++++----- templates/base.html | 11 +++++++---- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/auth.py b/auth.py index ea47846..b7260af 100644 --- a/auth.py +++ b/auth.py @@ -109,21 +109,23 @@ def _render_login():

SOCKS Manager

SOCKS5 代理管理平台

-
+
-
+
diff --git a/templates/base.html b/templates/base.html index e3edb16..cc7112f 100644 --- a/templates/base.html +++ b/templates/base.html @@ -11,7 +11,7 @@ /* ── 全局 ─────────────────────────────────────────────────────── */ :root { --bg-primary:#0b0e14; --bg-secondary:#161922; --bg-tertiary:#1e2235; - --border:#1f2335; --text:#e2e8f0; --text-muted:#c8d6e5; + --border:#374151; --text:#e2e8f0; --text-muted:#9ca3af; --accent:#818cf8; --accent-hover:#6366f1; --green:#10b981; --red:#ef4444; --yellow:#f59e0b; --gray:#6b7280; --card-bg:#161922; --input-bg:#0b0e14; @@ -62,11 +62,10 @@ a:hover { color:var(--accent-hover); } .table-dark { background:var(--card-bg); } /* ── 表单 ─────────────────────────────────────────────────────── */ -.form-label { color:var(--text-muted); font-size:13px; margin-bottom:.3rem; font-weight:500; } -.form-control, .form-select { background:var(--input-bg); border:1px solid var(--border); +.form-control, .form-select { background:#1a1d2b; border:1px solid #4b5563; color:var(--text); border-radius:.4rem; font-size:14px; padding:.5rem .7rem; } .form-control:focus, .form-select:focus { border-color:var(--accent); box-shadow:0 0 0 3px rgba(129,140,248,.12); - background:var(--input-bg); color:var(--text); } + background:#1a1d2b; color:var(--text); } .form-control::placeholder { color:#5a6178; } .form-text { color:var(--text-muted); font-size:12px; } .form-check-input { background-color:var(--input-bg); border-color:var(--border); } @@ -143,6 +142,10 @@ code { background:var(--bg-tertiary); color:var(--accent); padding:.15rem .4rem; ::-webkit-scrollbar-track { background:var(--bg-primary); } ::-webkit-scrollbar-thumb { background:var(--border); border-radius:3px; } ::-webkit-scrollbar-thumb:hover { background:var(--gray); } + +/* ── 覆盖 Bootstrap text-muted 提高深色背景对比度 ─────────────── */ +.text-muted { color:var(--text-muted) !important; } +.form-label { color:#cbd5e0 !important; font-size:13px; margin-bottom:.3rem; font-weight:500; } {% block extra_style %}{% endblock %}