From 75a12096a4e2ff144fa4ced6a37b5f9c52a4fd43 Mon Sep 17 00:00:00 2001 From: hubian <908234780@qq.com> Date: Fri, 17 Apr 2026 11:00:35 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B0=83=E6=95=B4=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=E5=BC=B9=E6=A1=86=E5=B8=83=E5=B1=80=EF=BC=8C=E8=AE=A9=E5=86=85?= =?UTF-8?q?=E5=AE=B9=E9=83=BD=E8=83=BD=E5=9C=A8=E5=BC=B9=E6=A1=86=E5=86=85?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/static/style.css | 36 ++++++++++++++++++++---------------- 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/web/static/style.css b/web/static/style.css index 92431c1..5d545d5 100644 --- a/web/static/style.css +++ b/web/static/style.css @@ -73,11 +73,11 @@ body { /* 按钮 */ button { - padding: 10px 20px; + padding: 8px 16px; border: none; border-radius: 5px; cursor: pointer; - font-size: 14px; + font-size: 13px; transition: all 0.2s; } @@ -447,7 +447,9 @@ button { } .settings-modal-content { - max-width: 600px; + max-width: 650px; + max-height: 85vh; + overflow-y: auto; } .modal-close { @@ -531,35 +533,44 @@ button { /* 设置模态框 */ .settings-section { - margin-bottom: 20px; - padding-bottom: 15px; + margin-bottom: 12px; + padding-bottom: 10px; border-bottom: 1px solid #eee; } .settings-section:last-of-type { border-bottom: none; + margin-bottom: 15px; } .settings-section h4 { - margin-bottom: 15px; + margin-bottom: 10px; color: #667eea; + font-size: 14px; } .setting-item { display: flex; align-items: center; - gap: 10px; - margin-bottom: 10px; + gap: 8px; + margin-bottom: 6px; } .setting-item label { - min-width: 140px; + min-width: 130px; color: #555; + font-size: 13px; } .setting-item input[type="text"], .setting-item input[type="number"], .setting-item input[type="password"] { + flex: 1; + padding: 6px 10px; + border: 1px solid #ddd; + border-radius: 5px; + font-size: 13px; +} flex: 1; padding: 8px 12px; border: 1px solid #ddd; @@ -616,13 +627,6 @@ button { } /* 响应式 */ -.settings-actions { - margin-top: 20px; - display: flex; - gap: 10px; - justify-content: center; -} - /* 人员库样式 */ .persons-stats { margin-bottom: 20px;