阶段一:全局覆盖 - 新增 dark-override.css (450+ 行),覆盖所有 Element UI 组件暗色样式 - 输入框、表格、Tabs、弹窗、按钮、分页、复选框、下拉框等 - 侧边栏、顶栏、主内容区暗色背景 - 滚动条、日期选择器、消息面板等 - header.php 引入 dark-override.css 阶段二:页面独立 CSS 暗色化(22 个文件) - 白色背景 #fff → #161b22 - 浅灰背景 #F3F5F9 → #0d1117 - 深色文字 #171725/#1E2736 → #E6E8EB - 灰色文字 #8692B0 → #8B949E - 浅色边框 #E6E7EB → rgba(255,255,255,0.06) - 悬停背景 #F5F7FA → #21262d
This commit is contained in:
@@ -76,7 +76,7 @@
|
||||
.container-before {
|
||||
width: 7.5rem;
|
||||
height: 8rem;
|
||||
background: #FFFFFF;
|
||||
background: #161b22;
|
||||
box-shadow: 0px 3px 12px rgba(0, 0, 0, 0.1);
|
||||
position: absolute;
|
||||
right: 0.9rem;
|
||||
@@ -98,13 +98,13 @@
|
||||
}
|
||||
.login-text-title {
|
||||
font-size: 0.32rem;
|
||||
color: #1E2736;
|
||||
color: #E6E8EB;
|
||||
line-height: 0.32rem;
|
||||
}
|
||||
.login-text-regist {
|
||||
font-weight: Regular;
|
||||
margin-top: 0.08rem;
|
||||
color: #1E2736;
|
||||
color: #E6E8EB;
|
||||
}
|
||||
.login-text-regist a {
|
||||
color: var(--color-primary);
|
||||
@@ -137,7 +137,7 @@
|
||||
margin-top: 0.3rem;
|
||||
}
|
||||
.input-with-select .el-input-group__prepend {
|
||||
background: #FFFFFF;
|
||||
background: #161b22;
|
||||
width: 60px;
|
||||
}
|
||||
.code-item {
|
||||
@@ -175,7 +175,7 @@
|
||||
}
|
||||
.line-item text {
|
||||
font-size: 16px;
|
||||
color: #1E2736;
|
||||
color: #E6E8EB;
|
||||
}
|
||||
.type-btn {
|
||||
width: 100%;
|
||||
|
||||
Reference in New Issue
Block a user