44 lines
610 B
SCSS
Raw Normal View History

@import './var.scss';
2021-12-14 16:41:43 +08:00
@import './animation.scss';
2021-12-14 21:28:32 +08:00
// extends
// 毛玻璃
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 21:28:32 +08:00
.go-border-radius {
2021-12-14 16:41:43 +08:00
border-radius: $--border-radius-base;
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;
}