侧边菜单样式调整

This commit is contained in:
熊丽君
2022-01-27 10:05:13 +08:00
parent eedefcc42d
commit 5826155825

View File

@ -77,7 +77,8 @@
.submenu-title-noDropdown,
.el-submenu__title {
&:hover {
background-color: rgba(0, 0, 0, 0.06) !important;
// background-color: rgba(0, 0, 0, 0.06) !important;
background-color: unset !important;
}
}
@ -90,7 +91,8 @@
min-width: $base-sidebar-width !important;
&:hover {
background-color: rgba(0, 0, 0, 0.06) !important;
// background-color: rgba(0, 0, 0, 0.06) !important;
background-color: unset !important;
}
}
@ -102,6 +104,18 @@
background-color: $base-sub-menu-hover !important;
}
}
& .nest-menu .el-menu-item.is-active {
background-color: #f2f5fe !important;
&::after {
content: '';
position: absolute;
top: 0;
right: 0;
width: 4px;
height: 100%;
background-color: #0054ff;
}
}
}
.hideSidebar {