@import "../../less/global-variable.less";
.cess-base-table {
  .cess-table-breadcrumb {
    margin-bottom: @gap-normal;
    display: flex;
    justify-content: space-between;
    height: @height-xlarge;
    line-height: @height-xlarge;

    .ant-breadcrumb {
      line-height: @height-xlarge;
      &::before {
        top: 8px;
      }
    }
  }
  .cess-tool-title {
    display: flex;
    justify-content: space-between;
    height: @height-xlarge;
    line-height: @height-large;
    margin-bottom: @gap-xsmall;
    .cess-tool-title-name {
      font-weight: @font-weight-large;
      font-size: @font-size-xlarge;
      color: @color-font-normal;
      display: flex;
      justify-content: space-between;
    }
    .cess-tool-title-others {
      margin-left: @gap-xsmall;
    }
    .cess-tool-percent {
      display: inline-block;
      color: rgba(51, 51, 51, 0.6);
      font-weight: @font-weight-normal;
      font-size: 14px;
      vertical-align: top;
      position: relative;
      .iconfont {
        vertical-align: top;
      }
      .cessicon-upload3 {
        margin: 0 @gap-xsmall 0 @gap-small;
        font-size: @font-size-large;
        color: @color-primary;
      }

      @keyframes bounce-down {
        25% {
          top: 6px;
        }
        50% {
          top: 4px;
        }
        75% {
          top: 2px;
        }
        100% {
          top: -2px;
        }
      }

      .cessicon-upload2 {
        position: absolute;
        left: 16.5px;
        // top 8到0 变化
        top: 8px;
        font-size: @font-size-small;
        animation: bounce-down 1s linear infinite;
        color: rgba(48, 119, 242, 0.3);
      }
    }
  }

  .cess-tool-action {
    flex-shrink: 0;
    // 第一个button左侧有left 是配合左侧如果有title自适应宽度留出距离
    .ant-btn {
      margin-left: @gap-xsmall;
    }
    .ant-dropdown-trigger {
      margin-left: @gap-xsmall;
      .ant-btn {
        margin-left: 0;
      }
    }
  }

  .cess-tool-bar {
    margin-bottom: @gap-normal;
    .cess-tool-search {
      & > div {
        display: inline-block;
        vertical-align: top;
      }
      .cess-tool-search-action {
        line-height: @height-xlarge;
        float: right;
        .ant-btn {
          margin-left: @gap-xsmall;
        }
        .ant-dropdown-trigger {
          margin-left: @gap-xsmall;

          .ant-btn {
            margin-left: 0;
          }
        }
      }
    }
    &.cess-tool-filter-bar {
      .cess-tool-search-input {
        &.ant-input {
          border-right: none;
          border-top-right-radius: 0;
          border-bottom-right-radius: 0;
        }

        &.ant-input:focus,
        &.ant-input:hover,
        &.ant-input-focused {
          border-right: none;
        }
      }
      .cess-input.cess-input-search {
        margin-left: 8px;
      }
      .cess-tool-search-btn {
        vertical-align: top;
      }

      .cess-input.cess-input-search .ant-input:focus,
      .cess-input.cess-input-search .ant-input:hover,
      .cess-input.cess-input-search .ant-input-focused {
        border-color: @color-border;
        box-shadow: none;
      }
    }
  }

  .cess-table-content {
    margin-bottom: @gap-normal;
  }

  .ellipse {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
  }
}
