mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-09 13:53:38 +08:00
style: 优化导航样式
This commit is contained in:
@@ -299,6 +299,11 @@
|
||||
color: $menuText;
|
||||
background-color: $subMenuBg;
|
||||
|
||||
span {
|
||||
font-size: 12px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background-color: $subMenuHover;
|
||||
}
|
||||
@@ -306,6 +311,10 @@
|
||||
|
||||
.el-sub-menu__title {
|
||||
color: $menuText;
|
||||
|
||||
span {
|
||||
margin-left: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -371,6 +380,11 @@
|
||||
color: $menuText;
|
||||
background-color: $subMenuBg;
|
||||
|
||||
span {
|
||||
font-size: 12px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background-color: $subMenuHover;
|
||||
}
|
||||
@@ -378,6 +392,10 @@
|
||||
|
||||
.el-sub-menu__title {
|
||||
color: $menuText;
|
||||
|
||||
span {
|
||||
margin-left: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -435,6 +453,32 @@
|
||||
min-width: $sideBarWidth !important;
|
||||
}
|
||||
|
||||
// 有子菜单
|
||||
.el-menu--collapse
|
||||
.is-active.outer-most.el-sub-menu
|
||||
> .el-sub-menu__title::before {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 5px;
|
||||
width: 3px;
|
||||
height: 100%;
|
||||
background-color: #1890ff !important;
|
||||
content: "";
|
||||
clear: both;
|
||||
}
|
||||
|
||||
// 无子菜单
|
||||
.el-menu--collapse .is-active.submenu-title-noDropdown.outer-most::before {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 5px;
|
||||
width: 3px;
|
||||
height: 100%;
|
||||
background-color: #1890ff !important;
|
||||
content: "";
|
||||
clear: both;
|
||||
}
|
||||
|
||||
// 手机端
|
||||
.mobile {
|
||||
.fixed-header {
|
||||
|
||||
Reference in New Issue
Block a user