.grid-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 16px 0 20px 0;
  color: var(--ey-color-gray-100);
  // 选择分页大小
  .grid-pagination-size {
    width: 100px;
    color: var(--ey-color-gray-100);
    background: var(--ey-color-white);
    &.ivu-select .ivu-select-selection {
      border-radius: 4px;
      border: 1px solid var(--ey-color-gray-200);
      height: 30px;
      min-height: 30px;
    }
    margin-left: 18px;
    margin-right: 21px;
  }

  // 中间页数样式
  .ivu-page {
    .ivu-page-prev,
    .ivu-page-next,
    .ivu-page-item {
      width: 30px;
      height: 30px;
      min-height: 30px;
      border-radius: 4px;
      border-width: 0;
      font-weight: bold;
      background: var(--ey-color-gray-400);
      &:hover a {
        color: var(--ey-color-blue-green);
      }
      &.ivu-page-disabled {
        cursor: pointer;
        a {
          cursor: pointer;
          color: var(--ey-color-gray-100);
        }
        &:hover a{
          color: var(--ey-color-blue-green);
        }
      }
      .ivu-icon {
        font-weight: bold;
      }
    }
    .ivu-page-item-active {
      a {
        color: var(--ey-color-white);
      }
      &:hover a{
        color: var(--ey-color-white);
      }
      background: var(--ey-color-blue-green);
    }
  }

  // 页面跳转
  .ivu-page-options-elevator {
    height: 30px;
    line-height: 30px;
    input {
      height: 30px;
      width: 45px;
      text-align: center;
    }
    input:focus {
      border-color: var(--ey-color-blue-green);
      box-shadow: none;
    }
  }
}

// 分页大小popover
.grid-pagination-size-popover {
  padding: 0;
  // margin: 10px 0;
  height: 132px;
  width: 100px;
  .ivu-select-item {
    color: var(--ey-color-gray-100);
    border-bottom: 1px solid var(--ey-color-gray-250);
    padding: 7px 16px 7px 10px;
    text-align: left !important;
  }
  &.ivu-select-dropdown .ivu-select-dropdown-list .ivu-select-item.ivu-select-item-selected {
    color: var(--ey-color-gray-100);
    background-color: var(--ey-color-white);
    &:hover {
      color: var(--ey-color-black);
      background-color: var(--ey-color-blue-green-110);
    }
  }
  .ivu-select-item:hover {
    color: var(--ey-color-black);
    background-color: var(--ey-color-blue-green-110);
  }
}
