perf: 同步完整版分支代码

This commit is contained in:
xiaoxian521
2021-11-20 19:43:49 +08:00
parent c2aa7d9428
commit 26b6f857cd
19 changed files with 513 additions and 368 deletions

View File

@@ -1,5 +1,3 @@
// cover some element-plus styles
.el-breadcrumb__inner,
.el-breadcrumb__inner a {
font-weight: 400 !important;
@@ -15,7 +13,6 @@
display: none;
}
// refine element ui upload
.upload-container {
.el-upload {
width: 100%;
@@ -27,17 +24,14 @@
}
}
// dropdown
.el-dropdown-menu {
padding: 2px 0 2px 0 !important;
}
// to fix el-date-picker css style
.el-range-separator {
box-sizing: content-box;
}
// el-tooltip的权重
.is-dark {
z-index: 99999 !important;
}

View File

@@ -70,7 +70,7 @@ ul {
display: none !important;
}
// 灰色模式
/* 灰色模式 */
.html-grey {
filter: grayscale(100%);
-webkit-filter: grayscale(100%);
@@ -79,7 +79,7 @@ ul {
-o-filter: grayscale(100%);
}
// 色弱模式
/* 色弱模式 */
.html-weakness {
filter: invert(80%);
-webkit-filter: invert(80%);

View File

@@ -1,8 +1,7 @@
@import "../layout/theme/default-vars.scss";
@mixin merge-style(
// vertical模式下主体内容距离网页文档左侧的距离
$sideBarWidth
/* vertical模式下主体内容距离网页文档左侧的距离 */ $sideBarWidth
) {
$menuActiveText: #7a80b4;
@@ -126,7 +125,6 @@
}
}
// menu hover
.submenu-title-noDropdown,
.el-sub-menu__title {
&:hover {
@@ -155,12 +153,12 @@
background-color: $subMenuBg !important;
}
// 无子集的激活菜单背景
/* 无子集的激活菜单背景 */
.is-active.submenu-title-noDropdown.outer-most {
background: $subMenuActiveBg;
}
// 有子集的激活菜单背景
/* 有子集的激活菜单背景 */
.is-active.nest-menu {
background: $subMenuActiveBg !important;
}
@@ -319,7 +317,7 @@
}
}
// vertical菜单折叠
/* vertical菜单折叠 */
.el-menu--vertical {
.el-menu--popup {
background-color: $subMenuBg !important;
@@ -355,7 +353,7 @@
}
}
// 子菜单中还有子菜单
/* 子菜单中还有子菜单 */
.el-menu .el-sub-menu__title {
font-size: 12px;
min-width: $sideBarWidth !important;
@@ -396,7 +394,7 @@
}
}
// horizontal菜单
/* horizontal菜单 */
.el-menu--horizontal {
& > .el-sub-menu .el-sub-menu__icon-arrow {
position: static !important;
@@ -425,13 +423,13 @@
}
}
// 无子菜单时激活border-bottom
/* 无子菜单时激活border-bottom */
.router-link-exact-active > .submenu-title-noDropdown {
height: 60px;
border-bottom: 2px solid var(--el-menu-active-color);
}
// 子菜单中还有子菜单
/* 子菜单中还有子菜单 */
.el-menu .el-sub-menu__title {
font-size: 12px;
min-width: $sideBarWidth !important;
@@ -464,7 +462,7 @@
}
}
// 有子集的激活菜单背景
/* 有子集的激活菜单背景 */
.is-active.nest-menu {
background: $subMenuActiveBg !important;
}
@@ -484,7 +482,7 @@
min-width: $sideBarWidth !important;
}
// 有子菜单
/* 有子菜单 */
.el-menu--collapse
.is-active.outer-most.el-sub-menu
> .el-sub-menu__title::before {
@@ -502,7 +500,7 @@
transform: translateY(0);
}
// 无子菜单
/* 无子菜单 */
.el-menu--collapse .is-active.submenu-title-noDropdown.outer-most::before {
position: absolute;
top: 0;
@@ -530,7 +528,7 @@
top: 50%;
}
// 手机端
/* 手机端 */
.mobile {
.fixed-header {
width: 100% !important;
@@ -604,7 +602,7 @@ body[layout="vertical"] {
}
}
// 菜单折叠
/* 菜单折叠 */
.el-menu--collapse {
margin-left: -5px;

View File

@@ -1,5 +1,3 @@
// global transition css
/* fade */
.fade-enter-active,
.fade-leave-active {