aboutsummaryrefslogblamecommitdiffstats
path: root/vendor/twbs/bootstrap/scss/mixins/_pagination.scss
blob: af8e16d6a911c097666e54a7abcb091187b07f0c (plain) (tree)
1
2
3
4
5
6




                                                                                          
                                   















                                                     
// 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 border-left-radius($border-radius);
      }
    }
    &:last-child {
      .page-link {
        @include border-right-radius($border-radius);
      }
    }
  }
}