mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-22 06:18:30 +08:00
ff13ac0f5e
* init
* number format
* add Countdown
* ⚡ Try something ts stuff
* move out Countdown
* add format
* support countdown
* add prefix & suffix
* Move Number to Statistic
* adjust ts
* clean up
* roll back of lodash
* update doc & style
* variable of the less style
* add demo test
* full coverage
* hide title if not need
* update snapshot
* update accessiblity
* update color
* stop countdown when time is out
* formatTimeStr adjust
* use reset class
* add miss tab index
* update doc
* update title prop & snapshot
* rm additional aria. It's over design
* use card sample on unit demo
* sfc
* adjust demo
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 {
|
|
font-size: @statistic-title-font-size;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
&-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;
|
|
}
|
|
}
|
|
}
|