@import "mixins/mixins";

@include b(statistic) {
  display: inline-block;
  color: $--color-text-2;
  line-height: 1.5715;
  &-title{
    margin-bottom: 4px;
    font-size: $--font-size-body-3;
    color: $--color-text-2;
    font-weight: $--font-weight-400;
  }
  &-content &-value{
    color: $--color-text-1;
    font-weight: $--font-weight-500;
    font-size: 22px;
    white-space: nowrap
  }
  &-content{
    .el-statistic-value-integer{
      color: $--color-text-1;
      font-size: 22px;
      font-weight: var(--font-weight-500);
      font-family: 'root';
      white-space: nowrap;
      line-height: 22px;
    }
    .el-statistic-value-decimal{
      display: inline-block;
      font-size: 22px;
    }

  }
  &-value{
    span{
      display: table-cell;
    }
  }
  &-prefix{
    font-size: $--font-size-body-3;
    padding-right: 2px;
  }
  &-suffix{
    font-size: $--font-size-body-3;
    vertical-align: middle;
    padding-left: 2px;
  }
  &-extra {
    margin-top: 8px;
    color: $--color-text-2;
  }
}
