Sha256: c7c09c5a498f827289dd025af4c28f82dd7ccfd1049559653996240741192bd1

Contents?: true

Size: 1.69 KB

Versions: 11

Compression:

Stored size: 1.69 KB

Contents

.pagination {
  display: inline-block;
  padding-left: 0;
  margin-top: $spacer-y;
  margin-bottom: $spacer-y;
  @include border-radius();
}

.page-item {
  display: inline; // Remove list-style and block-level defaults

  &: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 {
    @include plain-hover-focus {
      z-index: 2;
      color: $pagination-active-color;
      cursor: default;
      background-color: $pagination-active-bg;
      border-color: $pagination-active-border;
    }
  }

  &.disabled .page-link {
    @include plain-hover-focus {
      color: $pagination-disabled-color;
      pointer-events: none;
      cursor: $cursor-disabled;
      background-color: $pagination-disabled-bg;
      border-color: $pagination-disabled-border;
    }
  }
}

.page-link {
  position: relative;
  float: left; // Collapse white-space
  padding: $pagination-padding-y $pagination-padding-x;
  margin-left: -1px;
  color: $pagination-color;
  text-decoration: none;
  background-color: $pagination-bg;
  border: $pagination-border-width solid $pagination-border-color;

  @include hover-focus {
    color: $pagination-hover-color;
    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

11 entries across 11 versions & 3 rubygems

Version Path
geekyll-0.1.2 _sass/geekyll/bootstrap4alpha4/_pagination.scss
geekyll-0.1.1 _sass/geekyll/bootstrap4alpha4/_pagination.scss
bootstrap-4.0.0.alpha5 assets/stylesheets/bootstrap/_pagination.scss
geekyll-0.1.0 _sass/geekyll/bootstrap4alpha4/_pagination.scss
geekyll-0.0.9 _sass/geekyll/bootstrap4alpha4/_pagination.scss
flying_dutchman-0.6.0 vendor/assets/stylesheets/bootstrap/_pagination.scss
bootstrap-4.0.0.alpha4 assets/stylesheets/bootstrap/_pagination.scss
flying_dutchman-0.5.0 vendor/assets/stylesheets/bootstrap/_pagination.scss
flying_dutchman-0.4.0 vendor/assets/stylesheets/bootstrap/_pagination.scss
flying_dutchman-0.3.0 vendor/assets/stylesheets/bootstrap/_pagination.scss
bootstrap-4.0.0.alpha3.1 assets/stylesheets/bootstrap/_pagination.scss