|
@@ -45,11 +45,28 @@
|
|
|
cursor: pointer;
|
|
|
}
|
|
|
|
|
|
+ .main-container::after {
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ right: 0;
|
|
|
+ width: 45px; /* 与 padding-right 相同 */
|
|
|
+ height: 100%;
|
|
|
+ content: "";
|
|
|
+ background-color: #d5e8fb; /* 背景颜色设置为蓝色 */
|
|
|
+ // z-index: -1; /* 确保伪元素位于背景之后 */
|
|
|
+ }
|
|
|
+
|
|
|
.main-container {
|
|
|
position: relative;
|
|
|
height: 100vh;
|
|
|
+
|
|
|
+ // border: 1px solid red;
|
|
|
min-height: 100%;
|
|
|
+
|
|
|
+ // width: 1250px;
|
|
|
+ padding-right: 45px;
|
|
|
margin-left: $sideBarWidth;
|
|
|
+
|
|
|
// background: #f0f2f5;
|
|
|
background: #fff;
|
|
|
|
|
@@ -96,6 +113,7 @@
|
|
|
overflow: visible;
|
|
|
font-size: 0;
|
|
|
background: $menuBg;
|
|
|
+
|
|
|
// border-right: 1px solid var(--pure-border-color);
|
|
|
|
|
|
/* 展开动画 */
|
|
@@ -151,6 +169,7 @@
|
|
|
.el-menu-item,
|
|
|
.el-sub-menu__title {
|
|
|
height: 50px;
|
|
|
+
|
|
|
// color: $menuText;
|
|
|
|
|
|
background-color: transparent !important;
|
|
@@ -175,10 +194,11 @@
|
|
|
|
|
|
.is-active > .el-sub-menu__title,
|
|
|
.is-active.submenu-title-noDropdown {
|
|
|
- color: $subMenuActiveText !important;
|
|
|
+ color: $menuText !important;
|
|
|
|
|
|
+ // border: 1px solid red;
|
|
|
i {
|
|
|
- color: $subMenuActiveText !important;
|
|
|
+ color: $menuText !important;
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -206,7 +226,10 @@
|
|
|
& .el-sub-menu .el-menu-item {
|
|
|
min-width: $sideBarWidth !important;
|
|
|
font-size: 14px;
|
|
|
- background-color: $subMenuBg !important;
|
|
|
+
|
|
|
+ // background-color: $subMenuBg !important;
|
|
|
+ // background-color: #689df3 !important;
|
|
|
+ background-color: #d5e8fb !important;
|
|
|
}
|
|
|
|
|
|
/* 有子集的激活菜单左侧小竖条 */
|
|
@@ -238,9 +261,10 @@
|
|
|
/* 无子集的激活菜单背景 */
|
|
|
.is-active.submenu-title-noDropdown.outer-most > * {
|
|
|
z-index: 1;
|
|
|
+ font-size: 14px !important;
|
|
|
+
|
|
|
// color: #fff;
|
|
|
color: #266fe8 !important;
|
|
|
- font-size: 14px !important;
|
|
|
}
|
|
|
|
|
|
.is-active.submenu-title-noDropdown.outer-most::before {
|
|
@@ -249,9 +273,10 @@
|
|
|
margin: 4px 0;
|
|
|
clear: both;
|
|
|
content: "";
|
|
|
+
|
|
|
// border: 1px solid red;
|
|
|
// background: var(--el-color-primary) !important;
|
|
|
- background: #ffffff !important;
|
|
|
+ background: #c2daf7 !important;
|
|
|
border-radius: 3px;
|
|
|
}
|
|
|
}
|
|
@@ -282,6 +307,7 @@
|
|
|
i {
|
|
|
// color: $subMenuActiveText !important;
|
|
|
color: black !important;
|
|
|
+
|
|
|
// color: red !important;
|
|
|
}
|
|
|
}
|
|
@@ -312,7 +338,7 @@
|
|
|
|
|
|
.el-menu-item.is-active.nest-menu > * {
|
|
|
z-index: 1;
|
|
|
- color: #409EFF;
|
|
|
+ color: #409eff;
|
|
|
}
|
|
|
|
|
|
.el-menu-item.is-active.nest-menu::before {
|
|
@@ -320,8 +346,10 @@
|
|
|
inset: 0 8px;
|
|
|
clear: both;
|
|
|
content: "";
|
|
|
+
|
|
|
// background: var(--el-color-primary) !important;
|
|
|
- background: #FFFFFF !important;
|
|
|
+ // border: 1px solid red;
|
|
|
+ background: #bfd4f6 !important;
|
|
|
border-radius: 3px;
|
|
|
}
|
|
|
|
|
@@ -423,7 +451,8 @@
|
|
|
align-items: center;
|
|
|
justify-content: space-around;
|
|
|
width: 100%;
|
|
|
- height: 65px;
|
|
|
+ height: 48px;
|
|
|
+
|
|
|
// border: 1px solid red;
|
|
|
background: $menuBg;
|
|
|
|
|
@@ -468,6 +497,7 @@
|
|
|
align-items: center;
|
|
|
justify-content: flex-end;
|
|
|
min-width: 340px;
|
|
|
+
|
|
|
// color: $subMenuActiveText;
|
|
|
color: $menuText;
|
|
|
|
|
@@ -482,8 +512,9 @@
|
|
|
/* 设置 */
|
|
|
.set-icon {
|
|
|
&:hover {
|
|
|
- // background: $menuHover;
|
|
|
- background: $subMenuActiveText;
|
|
|
+ background: $menuHover;
|
|
|
+
|
|
|
+ // background: $subMenuActiveText;
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -540,6 +571,7 @@
|
|
|
position: static !important;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
.is-active > .el-sub-menu__title,
|
|
|
.is-active.submenu-title-noDropdown {
|
|
|
color: $subMenuActiveText !important;
|