Template
1
0
mirror of https://github.com/un-pany/v3-admin-vite.git synced 2025-04-20 19:09:21 +08:00

style: 优化顶部布局模式样式

This commit is contained in:
pany 2023-07-19 13:11:52 +08:00
parent 58cfdebcca
commit 4571a12742
2 changed files with 8 additions and 1 deletions

View File

@ -98,6 +98,13 @@ const logout = () => {
:deep(.el-menu) {
background-color: transparent;
}
:deep(.el-sub-menu) {
&.is-active {
.el-sub-menu__title {
color: var(--el-menu-active-color) !important;
}
}
}
}
.right-menu {
margin-right: 10px;

View File

@ -7,7 +7,7 @@
--v3-header-bg-color: #ffffff;
/** NavigationBar 组件 */
--v3-navigationbar-height: 50px;
/** Sidebar 组件 */
/** Sidebar 组件(左侧模式全部生效、顶部模式全部不生效、混合模式非颜色部分生效) */
--v3-sidebar-width: 220px;
--v3-sidebar-hide-width: 58px;
--v3-sidebar-menu-item-height: 60px;