style: 💄 优化layout样式

This commit is contained in:
chenkl
2020-12-29 16:47:16 +08:00
parent 9c26edd5d5
commit 37ec378f0b
8 changed files with 208 additions and 853 deletions

View File

@@ -16,7 +16,6 @@
}
// 必填样式
// 综合实例样式
.search__example--wrap {
padding: 20px 10px 0 10px;

View File

@@ -6,7 +6,7 @@
.sidebar-container {
background: @menuBg;
.el-menu {
background-color: @menuBg !important;
// background-color: @menuBg !important;
.el-menu-item,
.el-submenu__title {
color: @menuText !important;
@@ -15,7 +15,7 @@
color: @menuText !important;
}
}
.is-opened {
.el-submenu {
.el-menu-item,
.el-submenu {
background-color: @subMenuBg !important;
@@ -58,17 +58,6 @@
color: @menuActiveText !important;
}
}
// .nest-menu {
// background-color: @subMenuBg !important;
// .el-submenu>.el-submenu__title {
// background-color: @subMenuBg !important;
// }
// .is-active {
// background-color: @subMenuHover !important;
// }
// }
}
.el-menu--collapse {
&>div>.el-submenu {
@@ -106,12 +95,7 @@
color: @menuActiveText !important;
}
}
// .nest-menu {
// .is-active {
// background-color: @subMenuHover !important;
// }
// }
// menu hover
.submenu-title-noDropdown,
.el-submenu__title {
@@ -122,7 +106,7 @@
}
.el-menu-item:hover {
color: @subMenuActiveText !important;
background-color: @subMenuHover !important;
// background-color: @subMenuHover !important;
}
}
}
@@ -152,16 +136,7 @@
background-color: @subMenuBg !important;
}
}
// .nest-menu {
// background-color: @subMenuBg !important;
// .el-submenu>.el-submenu__title {
// background-color: @subMenuBg !important;
// }
// .is-active {
// background-color: @subMenuHover !important;
// }
// }
// menu hover
.submenu-title-noDropdown,
.el-submenu__title {
@@ -194,12 +169,7 @@
color: @topMenuActiveText !important;
}
}
// .nest-menu {
// .is-active {
// // background-color: @subMenuHover !important;
// }
// }
// menu hover
.submenu-title-noDropdown,
.el-submenu__title {