Sha256: c66419d42859c05a9cccb896d2330bff04adf0d4bf65a1b38e16caf8bb4e83c2

Contents?: true

Size: 902 Bytes

Versions: 7

Compression:

Stored size: 902 Bytes

Contents

// Pagination
.pagination {
  display: flex;
  list-style: none;
  margin: $unit-1 0;
  padding: $unit-1 0;

  .page-item {
    margin: $unit-1 $unit-o;

    span {
      display: inline-block;
      padding: $unit-1 $unit-1;
    }

    a {
      border-radius: $border-radius;
      display: inline-block;
      padding: $unit-1 $unit-2;
      text-decoration: none;
      &:focus,
      &:hover {
        color: $primary-color;
      }
    }

    &.disabled {
      a {
        cursor: default;
        opacity: .5;
        pointer-events: none;
      }
    }

    &.active {
      a {
        background: $primary-color;
        color: $light-color;
      }
    }

    &.page-prev,
    &.page-next {
      flex: 1 0 50%;
    }

    &.page-next {
      text-align: right;
    }

    .page-item-title {
      margin: 0;
    }

    .page-item-subtitle {
      margin: 0;
      opacity: .5;
    }
  }
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
spectre_scss-0.5.9.1 vendor/assets/stylesheets/spectre/_pagination.scss
spectre_scss-0.5.9.0 vendor/assets/stylesheets/spectre/_pagination.scss
spectre_scss-0.5.8.0 vendor/assets/stylesheets/spectre/_pagination.scss
spectre_scss-0.5.7.0 vendor/assets/stylesheets/spectre/_pagination.scss
spectre_scss-0.5.6.0 vendor/assets/stylesheets/spectre/_pagination.scss
spectre_scss-0.5.5.0 vendor/assets/stylesheets/spectre/_pagination.scss
spectre_scss-0.5.4.0 vendor/assets/stylesheets/spectre/_pagination.scss