refactor: 移除侧边栏中的系统信息和设置按钮

This commit is contained in:
2025-08-06 15:26:19 +08:00
parent 38cbf669f5
commit 5ad4e7cef6
2 changed files with 1 additions and 82 deletions

View File

@@ -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;