@import './var.scss'; @import './animation.scss'; @import './mixins/mixins.scss'; // extends // 过度 .go-transition { transition: all 0.2s; } .go-flex-center { display: flex; justify-content: center; align-items: center; } .go-absolute-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); } // 毛玻璃 .go-background-filter { backdrop-filter: $--filter-blur-base; background-color: $--filter-color-base-1; box-shadow: $--border-shadow; } // 边框圆角 .go-border-radius { border-radius: $--border-radius-base; overflow: hidden; } // 背景斑点需配合 @mixin background-point 使用 .go-point-bg { @include fetch-theme('background-color'); background-size: 15px 15px, 15px 15px; } // 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; }