feat:公共样式更新

This commit is contained in:
talktao 2022-03-25 00:50:41 +08:00
parent afacf6bb28
commit dc6fb38490
2 changed files with 8 additions and 2 deletions

View File

@ -47,6 +47,12 @@ html {
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
} }
.text-again-center {
text-align: center;
}
.flex-column{
flex-direction: column;
}
@each $key, $val in $fontSizeS { @each $key, $val in $fontSizeS {
.fs-#{$key} { .fs-#{$key} {
font-size: #{$val}; font-size: #{$val};
@ -144,7 +150,7 @@ html {
border-radius: #{$val}; border-radius: #{$val};
} }
} }
//.opation-75 {opacity: 0.75} //.opacity-75 {opacity: 0.75}
@for $index from 0 through 4 { @for $index from 0 through 4 {
.opacity-#{$index * 25} { .opacity-#{$index * 25} {
opacity: #{$index * 0.25}; opacity: #{$index * 0.25};

View File

@ -62,7 +62,7 @@ $fontSizeS: (
4: calc(3.2vw * 1.2), 4: calc(3.2vw * 1.2),
3: calc(3.2vw * 1.3), 3: calc(3.2vw * 1.3),
2: calc(3.2vw * 1.4), 2: calc(3.2vw * 1.4),
1: calc(3.2vw * 1.5), 1: calc(3.2vw * 2.3),
); );
$textAlignDirs: (left, center, right); $textAlignDirs: (left, center, right);
//导出js变量 //导出js变量