// Pagination

@mixin pagination-size($padding-y, $padding-x, $font-size, $line-height, $border-radius) {
  .page-link {
    padding: $padding-y $padding-x;
    @include font-size($font-size);
    line-height: $line-height;
  }

  .page-item {
    &:first-child {
      .page-link {
        @include ltr {
          @include border-left-radius($border-radius);
        }
        @include rtl {
          @include border-right-radius($border-radius);
        }
      }
    }
    &:last-child {
      .page-link {
        @include ltr {
          @include border-right-radius($border-radius);
        }
        @include rtl {
          @include border-left-radius($border-radius);
        }
      }
    }
  }
}
