refactor: change the theme color scheme

This commit is contained in:
2025-10-28 20:26:10 +08:00
parent bd817279db
commit a05bd23766
12 changed files with 158 additions and 41 deletions

View File

@@ -3,6 +3,9 @@
min-height: 100vh;
}
/* 消除 Ant Layout 默认白底,避免顶栏下方看到白边 */
.layout-wrapper .ant-layout { background: transparent; }
/* 侧栏头部区域 */
.sider-header {
display: flex;
@@ -25,10 +28,14 @@
display: flex;
flex-direction: column;
height: 100%;
background: var(--bg-app);
}
.content-body {
flex: 1;
padding: 32px;
background: transparent;
color: var(--text-primary);
border-radius: 12px;
}
/* 输入面板固定底部 */
@@ -44,11 +51,11 @@
.hint-text {
margin-top: 10px;
font-size: 12px;
color: #9ca3af;
color: var(--muted);
}
/* 小屏优化:输入区域内边距更紧凑 */
@media (max-width: 768px) {
.content-body { padding: 16px; }
.content-body { padding: 16px; border-radius: 0; }
.input-panel-wrapper { padding: 12px 12px 16px 12px; }
}