feat(ui): 第二轮P1 — scoped样式/mc-dialog暗黑适配/空状态/字号变量
This commit is contained in:
@@ -83,6 +83,13 @@ html, body, #app {
|
||||
--bsc-customer: #409EFF;
|
||||
--bsc-process: #67C23A;
|
||||
--bsc-learning: #E6A23C;
|
||||
|
||||
/* 统一字号 */
|
||||
--text-sm: 12px;
|
||||
--text-base: 14px;
|
||||
--text-lg: 16px;
|
||||
--text-xl: 18px;
|
||||
--text-2xl: 24px;
|
||||
}
|
||||
|
||||
/* 暗黑模式覆盖 — 只影响内容区,侧边栏保持不变 */
|
||||
@@ -259,6 +266,27 @@ html.dark .el-dialog__body {
|
||||
color: var(--bh-text-regular);
|
||||
}
|
||||
|
||||
/* 自定义弹窗暗黑适配 */
|
||||
html.dark .mc-dialog-overlay,
|
||||
html.dark .mc-dialog-overlay-fix {
|
||||
background: rgba(0,0,0,0.7);
|
||||
}
|
||||
html.dark .mc-dialog-box {
|
||||
background: #1e1e1e;
|
||||
color: #e0e0e0;
|
||||
}
|
||||
html.dark .mc-dialog-header {
|
||||
border-bottom-color: #333;
|
||||
}
|
||||
html.dark .mc-dialog-footer {
|
||||
border-top-color: #333;
|
||||
}
|
||||
html.dark .mc-input {
|
||||
background: #252525;
|
||||
border-color: #333;
|
||||
color: #e0e0e0;
|
||||
}
|
||||
|
||||
/* 自定义弹窗内下拉选择框层级修复 */
|
||||
.dialog-select-popper {
|
||||
z-index: 10001 !important;
|
||||
|
||||
Reference in New Issue
Block a user