_pagination.scss 507 B

123456789101112131415161718192021222324
  1. // Pagination
  2. @mixin pagination-size($padding-vertical, $padding-horizontal, $font-size, $line-height, $border-radius) {
  3. > li {
  4. > a,
  5. > span {
  6. padding: $padding-vertical $padding-horizontal;
  7. font-size: $font-size;
  8. line-height: $line-height;
  9. }
  10. &:first-child {
  11. > a,
  12. > span {
  13. @include border-left-radius($border-radius);
  14. }
  15. }
  16. &:last-child {
  17. > a,
  18. > span {
  19. @include border-right-radius($border-radius);
  20. }
  21. }
  22. }
  23. }