@root-entry-name: 'default';
@import '~antd/es/style/themes/index.less';
@history-info-prefix-cls: ~'@{ant-prefix}-history-info';

.@{history-info-prefix-cls} {
  height: 100%;

  .@{ant-prefix}-tabs,
  .@{ant-prefix}-tabs-content {
    height: 100%;
  }

  &-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 10px 0 0 0;
  }

  &-wrap {
    flex: 1;
    overflow: hidden;
  }

  &-main {
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
  }

  &-chart {
    width: 100%;
    height: 100%;
  }

  &-time {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    white-space: nowrap;

    .@{history-info-prefix-cls}-label {
      letter-spacing: 27px;
    }

    .@{history-info-prefix-cls}-label:after {
      right: -20px;
    }

    .@{ant-prefix}-radio-group,
    .@{ant-prefix}-select {
      margin-right: 16px;
    }

    .anticon-plus-circle {
      margin-left: 10px;
      color: @primary-color;
      font-size: 16px;
      cursor: pointer;
    }
  }

  &-cover {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    white-space: nowrap;
  }

  &-label {
    position: relative;
    width: 80px;
  }

  &-label:after {
    position: absolute;
    top: 0;
    right: 7px;
    content: '：';
  }

  &-connect {
    margin: 0 10px;
  }

  &-connect.first {
    display: none;
  }

  &-contrast-list {
    display: flex;
    align-items: center;
  }
}
