style: clientarea 侧边栏改为白色背景
All checks were successful
continuous-integration/drone/push Build is passing

- 背景: #0d1117 → #FFFFFF
- 边框: rgba(255,255,255,0.04) → rgba(0,0,0,0.06)
- 菜单文字: #8B949E → #5f6368
- 悬停: 白色半透明 → 黑色半透明 rgba(0,0,0,0.04)
- 选中: 蓝色半透明 + 蓝色文字
This commit is contained in:
yiqiu
2026-03-20 07:50:59 +08:00
parent aa3666ac88
commit 6fbbda60d5

View File

@@ -27,17 +27,17 @@ html, body {
/* ============ 侧边栏 ============ */
.el-aside {
background: #0d1117 !important;
border-right: 1px solid rgba(255,255,255,0.04);
background: #FFFFFF !important;
border-right: 1px solid rgba(0,0,0,0.06);
}
.ali-logo {
filter: brightness(1.1);
filter: none;
}
/* ============ 侧边栏菜单 — 胶囊高亮 ============ */
/* ============ 侧边栏菜单 — 胶囊高亮(白底) ============ */
.menu-top .el-menu-item {
color: #8B949E !important;
color: #5f6368 !important;
border-radius: 8px !important;
margin: 2px 0 !important;
transition: all 0.2s !important;
@@ -45,23 +45,23 @@ html, body {
}
.menu-top .el-menu-item i {
color: #8B949E !important;
color: #5f6368 !important;
transition: color 0.2s !important;
}
.menu-top .el-menu-item:hover {
background-color: rgba(255, 255, 255, 0.06) !important;
color: #E6E8EB !important;
background-color: rgba(0, 0, 0, 0.04) !important;
color: #1a1a1a !important;
border-bottom: none !important;
}
.menu-top .el-menu-item:hover i {
color: #E6E8EB !important;
color: #1a1a1a !important;
}
.menu-top .el-menu-item.is-active {
background-color: rgba(22, 93, 255, 0.12) !important;
color: #FFFFFF !important;
background-color: rgba(22, 93, 255, 0.08) !important;
color: #165DFF !important;
border-bottom: none !important;
}
@@ -71,32 +71,32 @@ html, body {
/* 子菜单 */
.menu-top .el-submenu__title {
color: #8B949E !important;
color: #5f6368 !important;
border-radius: 8px !important;
transition: all 0.2s !important;
}
.menu-top .el-submenu__title i {
color: #8B949E !important;
color: #5f6368 !important;
}
.menu-top .el-submenu__title:hover {
background-color: rgba(255, 255, 255, 0.06) !important;
color: #E6E8EB !important;
background-color: rgba(0, 0, 0, 0.04) !important;
color: #1a1a1a !important;
}
.menu-top .el-submenu__title:hover i {
color: #E6E8EB !important;
color: #1a1a1a !important;
}
.menu-top .el-submenu .el-menu-item:hover {
background-color: rgba(255, 255, 255, 0.06) !important;
color: #E6E8EB !important;
background-color: rgba(0, 0, 0, 0.04) !important;
color: #1a1a1a !important;
}
.menu-top .el-submenu .el-menu-item.is-active {
background-color: rgba(22, 93, 255, 0.12) !important;
color: #FFFFFF !important;
background-color: rgba(22, 93, 255, 0.08) !important;
color: #165DFF !important;
}
/* Element UI 菜单整体背景 */