// 新增对sticky表格的样式类型
[class$='-basic-table'],
[class$='-basic-table-form-container'],
[class$='-basic-table ap-table--sticky'],
[class$='-basic-table-form-container ap-table--sticky'] {
  .ant-table-wrapper {
    .ant-spin-container {
      .ant-pagination.ant-table-pagination.ant-table-pagination-right {
        margin: 10px 0 0;
      }
    }

    .ant-pagination {
      position: relative;

      .ant-pagination-total-text {
        position: absolute;
        left: 0;
        height: 30px;
        line-height: 30px;
      }

      .ant-pagination-item {
        box-sizing: border-box;
        min-width: 30px;
        height: 30px;
        margin: 0 4px;
        font-weight: 400;
        font-size: 14px;
        line-height: 28px;
        text-align: center;
        border-radius: 4px;

        &:not(&-active) {
          border: 1px solid #d9d9d9;
        }
      }

      .ant-pagination-prev {
        width: 30px;
        height: 30px;
        margin: 0 4px;
        line-height: 28px;
        border: 1px solid #d9d9d9;

        .anticon.anticon-left {
          border: none;
        }
      }

      .ant-pagination-prev.ant-pagination-disabled {
        display: none;
      }

      .ant-pagination-next.ant-pagination-disabled {
        display: none;
      }

      .anticon svg {
        width: 14px;
        height: 14px;
      }

      .ant-pagination-next {
        width: 30px;
        height: 30px;
        margin: 0 4px;
        line-height: 28px;
        border: 1px solid #d9d9d9;

        .anticon.anticon-right {
          border: none;
        }
      }

      .ant-pagination-options {
        margin-left: 4px;

        .ant-select-selector {
          min-width: 90px;
          height: 30px;
        }

        .ant-select-selection-item {
          line-height: 28px;
        }

        .ant-select .ant-select-arrow {
          color: #333333;
        }

        .ant-pagination-options-quick-jumper {
          margin-left: 20px;
          color: #333333;
          font-size: 14px;

          input {
            min-width: 60px;
            height: 30px;
            margin: 0 8px;
            padding: 0;
            border-radius: 4px;
          }
        }
      }
    }
  }
}
