12.31开源admin代码更新

This commit is contained in:
hejinfu1026
2021-12-31 15:58:40 +08:00
parent 0e7e9142fc
commit 6532af1537
545 changed files with 9743 additions and 139371 deletions

View File

@@ -3,14 +3,14 @@
.main-container {
min-height: 100%;
transition: margin-left .28s;
margin-left: $sideBarWidth;
margin-left: $base-sidebar-width;
position: relative;
}
.sidebar-container {
transition: width 0.28s;
width: $sideBarWidth !important;
background-color: $menuBg;
width: $base-sidebar-width !important;
background-color: $base-menu-background;
height: 100%;
position: fixed;
font-size: 0px;
@@ -67,21 +67,24 @@
.submenu-title-noDropdown,
.el-submenu__title {
&:hover {
background-color: $menuHover !important;
// background-color: rgba(0, 0, 0, 0.06) !important;
}
}
.is-active{
// background-color: #fff !important;
// font-weight: 500;
}
.is-active>.el-submenu__title {
color: $subMenuActiveText !important;
// color: $base-menu-color-active ;
}
& .nest-menu .el-submenu>.el-submenu__title,
& .el-submenu .el-menu-item {
min-width: $sideBarWidth !important;
background-color: $subMenuBg !important;
min-width: $base-sidebar-width !important;
background-color: subMenuBackground !important;
&:hover {
background-color: $subMenuHover !important;
// background-color: rgba(0, 0, 0, 0.06) !important;
}
}
}
@@ -140,7 +143,7 @@
}
.el-menu--collapse .el-menu .el-submenu {
min-width: $sideBarWidth !important;
min-width: $base-sidebar-width !important;
}
// mobile responsive
@@ -151,14 +154,14 @@
.sidebar-container {
transition: transform .28s;
width: $sideBarWidth !important;
width: $base-sidebar-width !important;
}
&.hideSidebar {
.sidebar-container {
pointer-events: none;
transition-duration: 0.3s;
transform: translate3d(-$sideBarWidth, 0, 0);
transform: translate3d(-$base-sidebar-width, 0, 0);
}
}
}
@@ -184,10 +187,9 @@
.el-menu-item {
&:hover {
// you can use $subMenuHover
background-color: $menuHover !important;
background-color: rgba(0, 0, 0, 0.06) !important;
}
}
// the scroll bar appears when the subMenu is too long
>.el-menu--popup {
max-height: 100vh;