调整暗黑模式样式,新增全局统一样式

This commit is contained in:
KyleBing
2020-11-24 22:28:56 +08:00
parent bf0df4e68d
commit b370f4ceb6
9 changed files with 228 additions and 9 deletions

19
src/scss/_gaps.scss Normal file
View File

@@ -0,0 +1,19 @@
/*
* 间隔工具集
*/
$timer: 5px;
// common
@for $item from 1 through 7 {
.mt-#{$item} { margin-top : $timer * $item !important;}
.mb-#{$item} { margin-bottom : $timer * $item !important;}
.ml-#{$item} { margin-left : $timer * $item !important;}
.mr-#{$item} { margin-right : $timer * $item !important;}
.m-#{$item} { margin : $timer * $item !important;}
.pt-#{$item} { padding-top : $timer * $item !important;}
.pb-#{$item} { padding-bottom : $timer * $item !important;}
.pl-#{$item} { padding-left : $timer * $item !important;}
.pr-#{$item} { padding-right : $timer * $item !important;}
.p-#{$item} { padding : $timer * $item !important;}
}