fix: 抽离弹出框 hoo,解决bug

This commit is contained in:
MTrun
2021-12-21 10:06:03 +08:00
parent 11763d14c7
commit 3ee85b7c7b
12 changed files with 265 additions and 148 deletions
+3 -1
View File
@@ -18,5 +18,7 @@ $dark: (
filter-color: $--filter-color-login-dark,
// 物料市场背景
items-top-bg:
linear-gradient(180deg, $--color-dark-bg-1, rgba(23, 23, 26, 0))
linear-gradient(180deg, $--color-dark-bg-1, rgba(23, 23, 26, 0)),
// hover 边框颜色
hover-border-color: #55606e,
);
+3 -1
View File
@@ -17,5 +17,7 @@ $light: (
linear-gradient(90deg, transparent 14px, $--color-dark-bg-5 0)
),
//毛玻璃
filter-color: $--filter-color-login-light
filter-color: $--filter-color-login-light,
// hover 边框颜色
hover-border-color: $--color-light-fill-1
);
+7
View File
@@ -65,3 +65,10 @@
border-color: themed($target);
}
}
//获取边框颜色
@mixin hover-border-color($target) {
@include themeify {
border: 1px solid themed($target);
}
}
+30 -6
View File
@@ -44,27 +44,51 @@
// todo 使用 scss 循环写一套完整的
// margin
.go-mt-0 {
margin-top: 0;
margin-top: 0!important;
}
.go-mb-0 {
margin-bottom: 0;
margin-bottom: 0!important;
}
.go-ml-0 {
margin-left: 0!important;
}
.go-mx-0 {
.go-mr-0 {
margin-right: 0!important;
}
.go-my-0 {
@extend .go-mt-0;
@extend .go-mb-0;
}
.go-mx-0 {
@extend .go-ml-0;
@extend .go-mr-0;
}
.go-pt-0 {
padding-top: 0;
padding-top: 0!important;
}
.go-pb-0 {
padding-bottom: 0;
padding-bottom: 0!important;
}
.go-pl-0 {
padding-left: 0!important;
}
.go-px-0 {
.go-pr-0 {
padding-right: 0!important;
}
.go-py-0 {
@extend .go-pt-0;
@extend .go-pb-0;
}
.go-px-0 {
@extend .go-pl-0;
@extend .go-pr-0;
}