update 优化 前端样式初步调整并删除无用样式

This commit is contained in:
lau
2026-03-25 22:33:41 +08:00
parent fed0ac99e8
commit 2502de3081
72 changed files with 274 additions and 485 deletions
+6 -1
View File
@@ -1,4 +1,4 @@
/* Dark theme CSS variables and component token overrides. */
/* 暗色主题:在 html.dark 上覆写与浅色同名的业务/app 变量 */
html.dark {
--menuBg: #111827;
@@ -15,10 +15,12 @@ html.dark {
--tableHeaderBg: var(--el-bg-color);
--tableHeaderTextColor: var(--el-text-color);
// --- 树节点:暗色下修正 primary 浅底色 ---
.el-tree-node__content {
--el-color-primary-light-9: #262727;
}
// --- 各类型按钮(含 plain)在暗色下的 EP CSS 变量 ---
.el-button--primary {
--el-button-bg-color: #2b6bd3;
--el-button-border-color: #3a7be8;
@@ -119,6 +121,7 @@ html.dark {
--el-button-active-border-color: rgba(75, 85, 99, 0.85);
}
// --- Switch / Tag 暗色适配 ---
.el-switch {
--el-switch-on-color: var(--el-color-primary-dark-6);
--el-switch-border-color: var(--el-color-primary-light-2);
@@ -153,6 +156,7 @@ html.dark {
--el-tag-text-color: #e5e7eb;
}
// --- tags-view 与 app 壳变量(暗色) ---
--tags-view-active-bg: var(--el-color-primary-dark-6);
--tags-view-active-border-color: var(--el-color-primary-light-2);
@@ -178,6 +182,7 @@ html.dark {
--app-elevated-close-hover-bg: rgba(96, 165, 250, 0.18);
--el-bg-color-page: var(--app-shell-bg);
// --- vxe-table 暗色(与 vxe 业务表并存) ---
--vxe-font-color: #98989e;
--vxe-primary-color: #2c7ecf;
--vxe-icon-background-color: #98989e;