statistic.scss 822 B

1234567891011121314151617181920212223242526272829303132333435
  1. @use 'mixins/mixins' as *;
  2. @use 'mixins/var' as *;
  3. @use 'common/var' as *;
  4. @include b(statistic) {
  5. @include set-component-css-var('statistic', $statistic);
  6. @include e(head) {
  7. font-weight: getCssVar('statistic-title-font-weight');
  8. font-size: getCssVar('statistic-title-font-size');
  9. color: getCssVar('statistic-title-color');
  10. line-height: 20px;
  11. margin-bottom: 4px;
  12. }
  13. @include e(content) {
  14. font-weight: getCssVar('statistic-content-font-weight');
  15. font-size: getCssVar('statistic-content-font-size');
  16. color: getCssVar('statistic-content-color');
  17. @include e(value) {
  18. display: inline-block;
  19. }
  20. @include e(prefix) {
  21. margin-right: 4px;
  22. display: inline-block;
  23. }
  24. @include e(suffix) {
  25. margin-left: 4px;
  26. display: inline-block;
  27. }
  28. }
  29. }