Former-commit-id: 637e58a7d3aef389a4ea51c179aaee17f421f34c [formerly 637e58a7d3aef389a4ea51c179aaee17f421f34c [formerly 637e58a7d3aef389a4ea51c179aaee17f421f34c [formerly 637e58a7d3aef389a4ea51c179aaee17f421f34c [formerly fc66dcb2e437ff46b2c36ec1e3bcce71a6461250 [formerly b6451dc60d4c1e6006a9fcd380656d2023436e64]]]]] Former-commit-id: c791410cda91e2df1b9808bfb032f0d3d68106ef Former-commit-id: 0c5197800cfae6f27f7ab792c887fb25a73a23e0 Former-commit-id: 208a8e77c0fada6e9d191a7d495615ec2ef9704d [formerly af8c1367ed65b626196ac156c8521257cc804d60] Former-commit-id: 1fdb571cea6ed9dba9ea02f4ba6ebfb5d89e1b2f Former-commit-id: 774a145ae0694612edf988d9992ef797ddf4f21d Former-commit-id: 03fc24d70365836d60360aa24e24dc7cb4520b91 Former-commit-id: bba4fd5552fa42da029fd6b310f5ee48558d5508 Former-commit-id: 2de81d34fb07248965677e8a3866c13089fa95e7
72 lines
2.3 KiB
SCSS
72 lines
2.3 KiB
SCSS
@import 'public';
|
|
|
|
// 补丁 base
|
|
@import '~@/assets/style/fixed/base.scss';
|
|
// 补丁 element
|
|
@import '~@/assets/style/fixed/element.scss';
|
|
// 补丁 markdown
|
|
@import '~@/assets/style/fixed/markdown.scss';
|
|
// 补丁 vue-splitpane
|
|
@import '~@/assets/style/fixed/vue-splitpane.scss';
|
|
// 补丁 vue-grid-layout
|
|
@import '~@/assets/style/fixed/vue-grid-layout.scss';
|
|
|
|
// 动画
|
|
@import '~@/assets/style/animate/vue-transition.scss';
|
|
|
|
// 在这里写公用的class
|
|
// 注意 这个文件里只写class
|
|
// mixin等内容请在 public.scss 里书写
|
|
|
|
// 文字相关
|
|
.#{$prefix}-text-center {
|
|
text-align: center;
|
|
}
|
|
|
|
// 浮动相关
|
|
.#{$prefix}-fl {
|
|
float: left;
|
|
}
|
|
.#{$prefix}-fr {
|
|
float: right;
|
|
}
|
|
.#{$prefix}-clearfix:before,
|
|
.#{$prefix}-clearfix:after {
|
|
display: table;
|
|
content: "";
|
|
}
|
|
.#{$prefix}-clearfix:after {
|
|
clear: both
|
|
}
|
|
|
|
// 边距相关
|
|
$sizes: (0, 10, 15, 20);
|
|
|
|
@for $index from 1 to 5 {
|
|
.#{$prefix}-m-#{nth($sizes, $index)} { margin: #{nth($sizes, $index)}px !important; }
|
|
.#{$prefix}-mt-#{nth($sizes, $index)} { margin-top: #{nth($sizes, $index)}px !important; }
|
|
.#{$prefix}-mr-#{nth($sizes, $index)} { margin-right: #{nth($sizes, $index)}px !important; }
|
|
.#{$prefix}-mb-#{nth($sizes, $index)} { margin-bottom: #{nth($sizes, $index)}px !important; }
|
|
.#{$prefix}-ml-#{nth($sizes, $index)} { margin-left: #{nth($sizes, $index)}px !important; }
|
|
|
|
.#{$prefix}-p-#{nth($sizes, $index)} { padding: #{nth($sizes, $index)}px !important; }
|
|
.#{$prefix}-pt-#{nth($sizes, $index)} { padding-top: #{nth($sizes, $index)}px !important; }
|
|
.#{$prefix}-pr-#{nth($sizes, $index)} { padding-right: #{nth($sizes, $index)}px !important; }
|
|
.#{$prefix}-pb-#{nth($sizes, $index)} { padding-bottom: #{nth($sizes, $index)}px !important; }
|
|
.#{$prefix}-pl-#{nth($sizes, $index)} { padding-left: #{nth($sizes, $index)}px !important; }
|
|
}
|
|
|
|
// 快速使用
|
|
|
|
.#{$prefix}-m { margin: 20px !important; }
|
|
.#{$prefix}-mt { margin-top: 20px !important; }
|
|
.#{$prefix}-mr { margin-right: 20px !important; }
|
|
.#{$prefix}-mb { margin-bottom: 20px !important; }
|
|
.#{$prefix}-ml { margin-left: 20px !important; }
|
|
|
|
.#{$prefix}-p { padding: 20px !important; }
|
|
.#{$prefix}-pt { padding-top: 20px !important; }
|
|
.#{$prefix}-pr { padding-right: 20px !important; }
|
|
.#{$prefix}-pb { padding-bottom: 20px !important; }
|
|
.#{$prefix}-pl { padding-left: 20px !important; }
|