/**
 * RecordBoard ShellFrame 内分页样式，参考 orderList index.less:64
 */

.record-board-shell-frame-pagination {
  margin-top: 0;

  .pisell-lowcode-pagination-item {
    border: 1px solid #D0D5DD !important;
    border-right: 0 !important;
  }

  .pisell-lowcode-pagination {
    //border: none;
  }

  .pisell-lowcode-pagination-prev {
    padding: 8px 14px;
    height: 40px !important;
    white-space: nowrap;
  }

  .pisell-lowcode-pagination-next {
    padding: 8px 14px;
    height: 40px !important;
    white-space: nowrap;
  }

  .pisell-lowcode-pagination-item {
    padding: 10px 14px;
    min-width: 40px;
    height: 40px !important;
    line-height: 20px !important;

    & > a {
      white-space: nowrap;
    }
  }

  .pisell-lowcode-pagination-jump-prev,
  .pisell-lowcode-pagination-jump-next {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 40px !important;
    height: 40px !important;
  }

  .pisell-lowcode-pagination-options {
    margin-left: 30px;

    .pisell-lowcode-select {
      min-width: 80px;
      height: 40px;

      .pisell-lowcode-select-selector {
        padding: 10px 14px;
        height: 40px;

        .pisell-lowcode-select-selection-search-input {
          height: 100%;
        }
      }
    }
  }
}

/**
 * 手机宽度下：不展示 "page x of x" 文案，仅保留上一页/下一页
 */
@media (max-width: 768px) {
  .record-board-shell-frame-pagination {
    .materials-grid-paginator-center,
    .pisell-lowcode-pagination-total-text {
      display: none !important;
    }
  }
}
