@paddingVertical: 20px;
@paddingHorizontal: 24px;

.dc-chart {
  position: relative;
  background: #fff;
  .dc-chart-title {
    font-size: 16px;
    font-weight: 600;
    color: #202444;
    line-height: 22px;
  }
  .dc-chart-content {
    position: relative;
    min-height: 300px;
  }
  &.dc-chart-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    background: #fff;
    padding: @paddingVertical @paddingHorizontal;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    .chart {
      width: ~'calc(100vw - @{paddingHorizontal} * 2)';
      height: 50vh !important;
    }
  }
  //
  //&:fullscreen{
  //  display: flex;
  //  align-items: center;
  //  padding: 16px;
  //  .chart{
  //    width: ~'calc(100vw - 32px)' !important;
  //    height: 50vh !important;
  //  }
  //}
}

.dc-chart.simple-chart {
  .dc-chart-title {
    padding: 12px 16px 0;
  }
  .dc-chart-toolbar {
    padding: 12px 16px;
  }
}

.dc-chart.dc-simple-chart {
  .dc-chart-title {
    margin-bottom: 12px;
  }
}

.index-select {
  .ivu-select-single .ivu-select-prefix {
    padding: 0 4px 0 8px;
  }
}

.index-color-bar {
  border-right: 4px solid;
  height: 12px;
}
