Sha256: 11ac4dd0e7e9314b2f719e8b9e2edb210de4e2771dc1dc8f1ac0e294809e7791

Contents?: true

Size: 1.66 KB

Versions: 26

Compression:

Stored size: 1.66 KB

Contents

.pagination {
  display: flex;
  // 1-2: Disable browser default list styles
  padding-left: 0; // 1
  list-style: none; // 2
  @include border-radius();
}

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

  &.active .page-link {
    z-index: 2;
    color: $pagination-active-color;
    background-color: $pagination-active-bg;
    border-color: $pagination-active-border;
  }

  &.disabled .page-link {
    color: $pagination-disabled-color;
    pointer-events: none;
    cursor: $cursor-disabled; // While `pointer-events: none` removes the cursor in modern browsers, we provide a disabled cursor as a fallback.
    background-color: $pagination-disabled-bg;
    border-color: $pagination-disabled-border;
  }
}

.page-link {
  position: relative;
  display: block;
  padding: $pagination-padding-y $pagination-padding-x;
  margin-left: -1px;
  line-height: $pagination-line-height;
  color: $pagination-color;
  background-color: $pagination-bg;
  border: $pagination-border-width solid $pagination-border-color;

  @include hover-focus {
    color: $pagination-hover-color;
    text-decoration: none;
    background-color: $pagination-hover-bg;
    border-color: $pagination-hover-border;
  }
}


//
// Sizing
//

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

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

Version data entries

26 entries across 26 versions & 5 rubygems

Version Path
solidus_backend-2.3.1 vendor/assets/stylesheets/solidus_admin/bootstrap/_pagination.scss
solidus_backend-2.2.2 vendor/assets/stylesheets/solidus_admin/bootstrap/_pagination.scss
card-1.92.2 mod/bootstrap/lib/stylesheets/bootstrap/scss/_pagination.scss
card-1.92.1 mod/bootstrap/lib/stylesheets/bootstrap/scss/_pagination.scss
card-1.92 mod/bootstrap/lib/stylesheets/bootstrap/scss/_pagination.scss
card-1.91 mod/bootstrap/lib/stylesheets/bootstrap/scss/_pagination.scss
solidus_backend-2.3.0 vendor/assets/stylesheets/solidus_admin/bootstrap/_pagination.scss
solidus_backend-2.3.0.rc3 vendor/assets/stylesheets/solidus_admin/bootstrap/_pagination.scss
solidus_backend-2.3.0.rc2 vendor/assets/stylesheets/solidus_admin/bootstrap/_pagination.scss
solidus_backend-2.3.0.rc1 vendor/assets/stylesheets/solidus_admin/bootstrap/_pagination.scss
solidus_backend-2.3.0.beta1 vendor/assets/stylesheets/solidus_admin/bootstrap/_pagination.scss
ssg-guideline-0.1.4 _sass/bootstrap/_pagination.scss
ssg-guideline-0.1.3 _sass/bootstrap/_pagination.scss
ssg-guideline-0.1.2 _sass/bootstrap/_pagination.scss
ssg-guideline-0.1.1 _sass/bootstrap/_pagination.scss
ssg-guideline-0.1.0 _sass/bootstrap/_pagination.scss
solidus_backend-2.2.1 vendor/assets/stylesheets/solidus_admin/bootstrap/_pagination.scss
solidus_backend-2.2.0 vendor/assets/stylesheets/solidus_admin/bootstrap/_pagination.scss
solidus_backend-2.2.0.rc1 vendor/assets/stylesheets/solidus_admin/bootstrap/_pagination.scss
solidus_backend-2.2.0.beta1 vendor/assets/stylesheets/solidus_admin/bootstrap/_pagination.scss