Sha256: 58d2e5945ca0ee5c2865b6da251eb0b54e181dbdc54000e7f329d036786fcd46

Contents?: true

Size: 1.53 KB

Versions: 10

Compression:

Stored size: 1.53 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-color;
  }

  &.disabled .page-link {
    color: $pagination-disabled-color;
    pointer-events: none;
    background-color: $pagination-disabled-bg;
    border-color: $pagination-disabled-border-color;
  }
}

.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-color;
  }
}


//
// 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

10 entries across 10 versions & 5 rubygems

Version Path
solidus_backend-2.4.2 vendor/assets/stylesheets/solidus_admin/bootstrap/_pagination.scss
vv5cv-0.1.0 _sass/bootstrap/_pagination.scss
solidus_backend-2.4.1 vendor/assets/stylesheets/solidus_admin/bootstrap/_pagination.scss
card-1.93.2 mod/bootstrap/vendor/bootstrap/scss/_pagination.scss
card-1.93.1 mod/bootstrap/vendor/bootstrap/scss/_pagination.scss
solidus_backend-2.4.0 vendor/assets/stylesheets/solidus_admin/bootstrap/_pagination.scss
solidus_backend-2.4.0.rc1 vendor/assets/stylesheets/solidus_admin/bootstrap/_pagination.scss
solidus_backend-2.4.0.beta1 vendor/assets/stylesheets/solidus_admin/bootstrap/_pagination.scss
optimacms-0.3.15 spec/dummy/node_modules/bootstrap/scss/_pagination.scss
bootstrap-4.0.0.beta assets/stylesheets/bootstrap/_pagination.scss