mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-29 21:28:52 +00:00
pref: 修改左侧菜单样式
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user