.echarts-formatter-first-row {
  font-size: 12px;
  color: var(--o-text-color-tertiary);
  letter-spacing: 0;
  line-height: 14px;
}
$color-list: (
  '0062dc',
  '3DB6FC',
  '81BA06',
  '3DCFD4',
  '6D47F5',
  '2DB47C',
  'BD45E8',
  '9EA8B9',
  'FF5432',
  'EC4F83',
  'FF7D63',
  '5328BF',
  '279C6E',
  '75A105',
  '9ECBFF',
  'EBBC00',
  '0077FF',
  '37A4E3',
  '73A409',
  '30B7BB',
  '613DE4',
  '29A370',
  'A843CD',
  '4E5865',
  'E05034',
  'DA4576',
  'CD362B',
  '9073F7',
  '60C594',
  'A1D13C',
  '66ADFF',
  'EBBC00',
);
@each $var in $color-list {
  .color-#{$var} {
    background-color: ##{$var} ;
  }
}
.echarts-formatter-other-row-value-box {
  display: flex;
  align-items: center;

  .echarts-formatter-block {
    display: inline-block;
    width: 16px;
    height: 3px;
    &.color-E32020{
      background-color: #E32020;
    }
    &.cpu {
      background-color: #0062DC;
    }
    &.default-color {
      background-color: #07f;
    }
    &.sec-color{
      background-color: #29A370;
    }
    &.third-color {
      background-color: #A843CD;
    }
    &.red {
      background-color: #E32020;
    }
  }

  .echarts-formatter-key {
    margin-left: 8px;
    font-size: 12px;
    color: var(--o-text-color-secondary);
    &.mr-8 {
      margin-right: 8px;
    }
  }

  .echarts-formatter-value {
    flex: 1;
    text-align: right;
    font-size: 16px;
    color: var(--o-text-color-primary);
    font-weight: 500;
    letter-spacing: 0;
    line-height: 24px;
  }
}
