整合样式,BUG 59
This commit is contained in:
@@ -17,11 +17,20 @@ $--font-path: '~element-ui/lib/theme-chalk/fonts';
|
||||
/**
|
||||
常用内外边距样式
|
||||
*/
|
||||
@each $v in (8, 10, 16, 20, 32, 48, 56, 64, 80) {
|
||||
@each $v in (333, 666, 888, 999, '26f', 'f46') {
|
||||
.color-#{$v} {
|
||||
color: \##{$v};
|
||||
}
|
||||
}
|
||||
|
||||
@each $v in (8, 10, 12, 14, 16, 20, 32, 48, 56, 64, 80) {
|
||||
//gap
|
||||
.gap-#{$v} {
|
||||
gap: #{$v}px
|
||||
}
|
||||
.font-#{$v} {
|
||||
font-size: #{$v}px;
|
||||
}
|
||||
@each $padMar, $pm in (mar:margin, pad:padding) {
|
||||
.#{$padMar}-#{$v} {
|
||||
#{$pm}: #{$v}px
|
||||
@@ -58,7 +67,7 @@ $--font-path: '~element-ui/lib/theme-chalk/fonts';
|
||||
/**
|
||||
不换行文本
|
||||
*/
|
||||
.nowarp-text {
|
||||
.nowrap-text {
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
|
||||
Reference in New Issue
Block a user