2021-12-14 15:53:30 +08:00
|
|
|
@import './var.scss';
|
2021-12-14 16:41:43 +08:00
|
|
|
@import './animation.scss';
|
2021-12-14 15:53:30 +08:00
|
|
|
|
2021-12-14 21:28:32 +08:00
|
|
|
// extends
|
2021-12-14 15:53:30 +08:00
|
|
|
// 毛玻璃
|
2021-12-14 21:28:32 +08:00
|
|
|
.go-background-filter {
|
2021-12-14 16:41:43 +08:00
|
|
|
backdrop-filter: $--filter-blur-base;
|
2021-12-14 21:28:32 +08:00
|
|
|
background-color: $--filter-color-base-1;
|
|
|
|
box-shadow: $--border-shadow;
|
2021-12-14 15:53:30 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
// 边框圆角
|
2021-12-14 21:28:32 +08:00
|
|
|
.go-border-radius {
|
2021-12-14 16:41:43 +08:00
|
|
|
border-radius: $--border-radius-base;
|
2021-12-14 15:53:30 +08:00
|
|
|
overflow: hidden;
|
|
|
|
}
|
2021-12-18 16:36:43 +08:00
|
|
|
|
|
|
|
// todo 使用 scss 循环写一套完整的
|
|
|
|
// margin
|
|
|
|
.go-mt-0 {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.go-mb-0 {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.go-mx-0 {
|
|
|
|
@extend .go-mt-0;
|
|
|
|
@extend .go-mb-0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.go-pt-0 {
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.go-pb-0 {
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.go-px-0 {
|
|
|
|
@extend .go-pt-0;
|
|
|
|
@extend .go-pb-0;
|
|
|
|
}
|