ant-design/components/statistic/style/_index.less
iamkun 0eb5cb1e8a
refactor: refactor statistic component with css in js (#34514)
* refactor: refactor statistic component with css in js

* fix review

* fix review

* fix review
2022-03-16 12:02:52 +08:00

41 lines
682 B
Plaintext

@import '../../style/themes/index';
@import '../../style/mixins/index';
@statistic-prefix-cls: ~'@{ant-prefix}-statistic';
.@{statistic-prefix-cls} {
.reset-component();
&-title {
margin-bottom: @margin-xss;
color: @text-color-secondary;
font-size: @statistic-title-font-size;
}
&-content {
color: @heading-color;
font-size: @statistic-content-font-size;
font-family: @statistic-font-family;
&-value {
display: inline-block;
direction: ltr;
}
&-prefix,
&-suffix {
display: inline-block;
}
&-prefix {
margin-right: 4px;
}
&-suffix {
margin-left: 4px;
}
}
}
@import './rtl';