Sha256: 4e4c5f6e09f19571f28e6e1f2de0bf7fdc961cbde5b5918d76a2e93f03fade81

Contents?: true

Size: 1.06 KB

Versions: 8

Compression:

Stored size: 1.06 KB

Contents

.pagination {
  $pagination-border-color: $base-border-color;
  $pagination-border: 1px solid $pagination-border-color;
  $pagination-background: lighten($pagination-border-color, 10);
  $pagination-hover-background: lighten($pagination-background, 5);
  $pagination-color: $base-font-color;

  text-align: center;

  ul {
    display: inline;
    text-align: center;

    li {
      display: inline;
    }

    ul li {
      display: none;
      
      &:nth-child(1),
      &:nth-child(2),
      &:nth-child(3) {
        display: inline;
      }

      @include media($large-screen) {
        display: inline;
      }
    }

    li a {
      @include transition (all 0.2s ease-in-out);
      background: $pagination-background;
      border-radius: $base-border-radius;
      border: $pagination-border;
      color: $pagination-color;
      padding: $base-spacing/4 $gutter/2;

      &:hover,
      &:focus {
        background: $pagination-hover-background;
        color: $base-link-color;
      }

      &:active {
        background: $pagination-background;
      }
    }
  }
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
staple-0.0.9 source/stylesheets/staple/_pagination.scss
staple-0.0.8 source/stylesheets/staple/_pagination.scss
staple-0.0.7 source/stylesheets/staple/_pagination.scss
staple-0.0.6 source/stylesheets/staple/_pagination.scss
staple-0.0.5 source/stylesheets/staple/_pagination.scss
staple-0.0.4 source/stylesheets/staple/_pagination.scss
staple-0.0.3 source/stylesheets/staple/_pagination.scss
staple-0.0.2 source/stylesheets/staple/_pagination.scss