mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-21 04:50:14 +08:00
58 lines
1.6 KiB
SCSS
58 lines
1.6 KiB
SCSS
@import './mixins/mixins.scss';
|
|
|
|
@include themes-mixin {
|
|
@include b(statistic) {
|
|
@include once {
|
|
font-family: $--n-font-family;
|
|
}
|
|
@include b(statistic-value) {
|
|
@include once {
|
|
margin-top: 4px;
|
|
font-weight: 500;
|
|
}
|
|
@include e(prefix) {
|
|
@include once {
|
|
font-size: 18px;
|
|
transition: .3s color $--n-ease-in-out-cubic-bezier;
|
|
}
|
|
color: $--statistic-value-prefix-text-color;
|
|
@include b(icon) {
|
|
@include once {
|
|
vertical-align: -0.125em;
|
|
transition: .3s fill $--n-ease-in-out-cubic-bezier;
|
|
}
|
|
fill: $--statistic-value-prefix-text-color;
|
|
}
|
|
}
|
|
@include e(content) {
|
|
@include once {
|
|
font-size: 24px;
|
|
transition: .3s color $--n-ease-in-out-cubic-bezier;
|
|
}
|
|
color: $--statistic-value-content-text-color;
|
|
}
|
|
@include e(suffix) {
|
|
@include once {
|
|
font-size: 18px;
|
|
transition: .3s color $--n-ease-in-out-cubic-bezier;
|
|
}
|
|
color: $--statistic-value-suffix-text-color;
|
|
@include b(icon) {
|
|
@include once {
|
|
vertical-align: -0.125em;
|
|
transition: .3s fill $--n-ease-in-out-cubic-bezier;
|
|
}
|
|
fill: $--statistic-value-prefix-text-color;
|
|
}
|
|
}
|
|
}
|
|
@include e(label) {
|
|
@include once {
|
|
font-weight: 500;
|
|
transition: .3s color $--n-ease-in-out-cubic-bezier;
|
|
font-size: 14px;
|
|
}
|
|
color: $--statistic-value-label-text-color;
|
|
}
|
|
}
|
|
} |