pref: 修改左侧菜单样式

This commit is contained in:
ibuler
2022-11-22 19:38:43 +08:00
parent a28dd9cf6f
commit 4f68d57666
2 changed files with 14 additions and 2 deletions

View File

@@ -73,8 +73,9 @@ export default {
}
& .sidebar-logo-text {
width: 165px;
height: 50px;
width: 150px;
height: 45px;
padding: 2px 0;
vertical-align: middle;
margin-right: 12px;
}

View File

@@ -9,6 +9,8 @@
.el-submenu, .el-menu-item.submenu-title-noDropdown {
background-color: $menuBg;
border-top: dashed 1px #f3f3f4;
.el-submenu__title {
color: $menuText;
&:hover {
@@ -19,12 +21,21 @@
}
}
}
.el-menu-item, .el-submenu-sidebar .el-menu-item {
background-color: $subMenuBg;
color: $menuText;
list-style: circle inside;
&.submenu-title-noDropdown {
list-style: none;
}
&.is-active{
color: $subMenuActiveText;
background-color: $subMenuHover!important;
font-weight: 600;
list-style-type: disc;
}
&:hover {
background-color: $subMenuHover;