From 5ad4e7cef62a72444220c5bff9d967c5f2bc01ad Mon Sep 17 00:00:00 2001 From: rogee Date: Wed, 6 Aug 2025 15:26:19 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E7=A7=BB=E9=99=A4=E4=BE=A7?= =?UTF-8?q?=E8=BE=B9=E6=A0=8F=E4=B8=AD=E7=9A=84=E7=B3=BB=E7=BB=9F=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E5=92=8C=E8=AE=BE=E7=BD=AE=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/static/css/components/sidebar.css | 63 +-------------------------- web/templates/list.html | 20 --------- 2 files changed, 1 insertion(+), 82 deletions(-) diff --git a/web/static/css/components/sidebar.css b/web/static/css/components/sidebar.css index 6b78daa..f3e4a01 100644 --- a/web/static/css/components/sidebar.css +++ b/web/static/css/components/sidebar.css @@ -136,6 +136,7 @@ padding: 8px 0; flex: 1; overflow-y: auto; + margin-bottom: 16px; } .nav-section-title { @@ -276,68 +277,6 @@ background: var(--accent-400); } -/* 系统信息 */ -.sidebar-footer { - padding: 16px 20px; - border-top: 1px solid var(--border-light); - background: var(--bg-tertiary); - margin-top: auto; -} - -.system-info { - margin-bottom: 12px; -} - -.info-item { - display: flex; - justify-content: space-between; - align-items: center; - font-size: 12px; - color: var(--text-secondary); - margin-bottom: 4px; -} - -.info-label { - font-weight: 500; -} - -.info-value { - color: var(--text-primary); - font-weight: 600; -} - -/* 黑暗模式下的系统信息 */ -[data-theme="dark"] .info-value { - color: var(--accent-200); -} - -.settings-button { - width: 100%; - padding: 8px 12px; - background: none; - border: 1px solid var(--border-medium); - border-radius: var(--radius-md); - color: var(--text-secondary); - font-size: 13px; - cursor: pointer; - transition: all 0.2s ease; - display: flex; - align-items: center; - justify-content: center; - gap: 6px; -} - -.settings-button:hover { - background: var(--bg-primary); - color: var(--text-primary); - border-color: var(--border-dark); -} - -.settings-button:focus-visible { - outline: 2px solid var(--accent-600); - outline-offset: 2px; -} - /* 移动端侧边栏 */ .sidebar-backdrop { position: fixed; diff --git a/web/templates/list.html b/web/templates/list.html index f7738ae..4614734 100644 --- a/web/templates/list.html +++ b/web/templates/list.html @@ -83,26 +83,6 @@ - -