mirror of
https://git.um-react.app/um/web.git
synced 2025-12-16 04:03:02 +00:00
调整暗黑模式样式,新增全局统一样式
This commit is contained in:
19
src/scss/_gaps.scss
Normal file
19
src/scss/_gaps.scss
Normal 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;}
|
||||
}
|
||||
Reference in New Issue
Block a user