@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;
  }

  &-spin {
    display: flex;
    flex: 1;
    height: calc(100% - 108px);
  }

  &-spin > .@{ant-prefix}-spin-container {
    display: flex;
    flex: 1;
    overflow: hidden;
  }

  &-spin > div > .@{ant-prefix}-spin {
    max-height: none;
  }

  &-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  &-wrap {
    display: flex;
    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: ':';
  }

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

  &-connect {
    margin: 0 10px;
  }

  &-date-wrap {
    position: relative;
    cursor: pointer;
  }

  &-date-delete {
    position: absolute;
    top: -12px;
    right: -8px;

    .anticon.anticon-close-circle {
      color: #d9d9d9;
      background: white;
    }

    &:hover {
      .anticon.anticon-close-circle {
        color: rgba(0, 0, 0, 0.45);
        background: white;
      }
    }
  }
}