Sha256: cf66be9627895eada6eda8e6c917b9f0754323894af14965ffa4464524c981b7

Contents?: true

Size: 671 Bytes

Versions: 10

Compression:

Stored size: 671 Bytes

Contents

// Pagination

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

  .page-item {
    @if $pagination-margin-start == (-$pagination-border-width) {
      &:first-child {
        .page-link {
          @include border-start-radius($border-radius);
        }
      }

      &:last-child {
        .page-link {
          @include border-end-radius($border-radius);
        }
      }
    } @else {
      //Add border-radius to all pageLinks in case they have left margin
      .page-link {
        @include border-radius($border-radius);
      }
    }
  }
}

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
bootstrap-5.0.0.beta2 assets/stylesheets/bootstrap/mixins/_pagination.scss
infotorg-api-jekyll-theme-0.1.8 _sass/bootstrap/mixins/_pagination.scss
infotorg-api-jekyll-theme-0.1.7 _sass/bootstrap/mixins/_pagination.scss
infotorg-api-jekyll-theme-0.1.5 _sass/bootstrap/mixins/_pagination.scss
bootstrap-5.0.0.beta1 assets/stylesheets/bootstrap/mixins/_pagination.scss
infotorg-api-jekyll-theme-0.1.4 _sass/bootstrap/mixins/_pagination.scss
infotorg-api-jekyll-theme-0.1.3 _sass/bootstrap/mixins/_pagination.scss
infotorg-api-jekyll-theme-0.1.2 _sass/bootstrap/mixins/_pagination.scss
infotorg-api-jekyll-theme-0.1.1 _sass/bootstrap/mixins/_pagination.scss
infotorg-api-jekyll-theme-0.1.0 _sass/bootstrap/mixins/_pagination.scss