_pagination.scss 453 B

12345678910111213141516171819202122
  1. // Pagination
  2. @mixin pagination-size($padding-y, $padding-x, $font-size, $line-height, $border-radius) {
  3. .page-link {
  4. padding: $padding-y $padding-x;
  5. font-size: $font-size;
  6. line-height: $line-height;
  7. }
  8. .page-item {
  9. &:first-child {
  10. .page-link {
  11. @include border-left-radius($border-radius);
  12. }
  13. }
  14. &:last-child {
  15. .page-link {
  16. @include border-right-radius($border-radius);
  17. }
  18. }
  19. }
  20. }