mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-26 01:42:30 +08:00
6936599aef
* rename .stylelintrc to .stylelintrc.json for explicit file type * add new npm script lint-fix:style * fix pseudo-element with double colon * function name should be lower except ignored functions * support stylelint declaration-block-no-ignored-properties rule * support sorted CSS properties order for readability and consistency * autofix order of all styles by lint-fix:style script * remove double slash comments after selector * replace .stylelintignore with ignoreFiles in .stylelintrc.json
39 lines
660 B
Plaintext
39 lines
660 B
Plaintext
@import '../../style/themes/default';
|
|
@import '../../style/mixins/index';
|
|
|
|
@statistic-prefix-cls: ~'@{ant-prefix}-statistic';
|
|
|
|
.@{statistic-prefix-cls} {
|
|
.reset-component;
|
|
|
|
&-title {
|
|
margin-bottom: 4px;
|
|
font-size: @statistic-title-font-size;
|
|
}
|
|
|
|
&-content {
|
|
font-size: @statistic-content-font-size;
|
|
font-family: @statistic-font-family;
|
|
|
|
&-value {
|
|
&-decimal {
|
|
font-size: @statistic-unit-font-size;
|
|
}
|
|
}
|
|
|
|
&-prefix,
|
|
&-suffix {
|
|
display: inline-block;
|
|
}
|
|
|
|
&-prefix {
|
|
margin-right: 4px;
|
|
}
|
|
|
|
&-suffix {
|
|
margin-left: 4px;
|
|
font-size: @statistic-unit-font-size;
|
|
}
|
|
}
|
|
}
|