Sha256: 03b322704b5e1558d8ac62eb2f212a517ca978d8d5af0f66b57ebbf193e2126c

Contents?: true

Size: 1.11 KB

Versions: 68

Compression:

Stored size: 1.11 KB

Contents

.gem-c-pagination {
  display: block;
  margin-top: $gutter;
  margin-bottom: $gutter;
  margin-left: -$gutter-half;
  margin-right: -$gutter-half;
}

.gem-c-pagination__list {
  margin: 0;
  padding: 0;
}

.gem-c-pagination__item {
  @include core-16($line-height: (20 / 16));
  list-style: none;
}

.gem-c-pagination__link {
  @extend %govuk-link;
  display: block;
  padding: $gutter-half;
  text-decoration: none;

  &:hover,
  &:active,
  &:visited,
  &:focus {
    color: $link-colour;
  }

  &:hover,
  &:active {
    background-color: $canvas-colour;
  }
}

.gem-c-pagination__link-title {
  display: block;
}

.gem-c-pagination__link-divider {
  @include govuk-visually-hidden;
}

.gem-c-pagination__link-text {
  @include bold-19;
  margin-left: $gutter / 3;
}

.gem-c-pagination__link-icon {
  @include core-24($line-height: (33.75 / 27));
  display: inline-block;
  margin-bottom: 1px;
  height: .482em;
  width: .63em;
}

.gem-c-pagination__link-label {
  display: inline-block;
  margin-top: 0.1em;
  text-decoration: underline;
  margin-left: $gutter;

  @include media(mobile) {
    margin-left: $gutter-half + 9;
  }
}

Version data entries

68 entries across 68 versions & 1 rubygems

Version Path
govuk_publishing_components-16.16.0 app/assets/stylesheets/govuk_publishing_components/components/_previous-and-next-navigation.scss
govuk_publishing_components-16.15.0 app/assets/stylesheets/govuk_publishing_components/components/_previous-and-next-navigation.scss
govuk_publishing_components-16.14.1 app/assets/stylesheets/govuk_publishing_components/components/_previous-and-next-navigation.scss
govuk_publishing_components-16.14.0 app/assets/stylesheets/govuk_publishing_components/components/_previous-and-next-navigation.scss
govuk_publishing_components-16.13.0 app/assets/stylesheets/govuk_publishing_components/components/_previous-and-next-navigation.scss
govuk_publishing_components-16.12.0 app/assets/stylesheets/govuk_publishing_components/components/_previous-and-next-navigation.scss
govuk_publishing_components-16.11.0 app/assets/stylesheets/govuk_publishing_components/components/_previous-and-next-navigation.scss
govuk_publishing_components-16.10.1 app/assets/stylesheets/govuk_publishing_components/components/_previous-and-next-navigation.scss
govuk_publishing_components-16.10.0 app/assets/stylesheets/govuk_publishing_components/components/_previous-and-next-navigation.scss
govuk_publishing_components-16.9.2 app/assets/stylesheets/govuk_publishing_components/components/_previous-and-next-navigation.scss
govuk_publishing_components-16.9.1 app/assets/stylesheets/govuk_publishing_components/components/_previous-and-next-navigation.scss
govuk_publishing_components-16.9.0 app/assets/stylesheets/govuk_publishing_components/components/_previous-and-next-navigation.scss
govuk_publishing_components-16.8.0 app/assets/stylesheets/govuk_publishing_components/components/_previous-and-next-navigation.scss
govuk_publishing_components-16.7.0 app/assets/stylesheets/govuk_publishing_components/components/_previous-and-next-navigation.scss
govuk_publishing_components-16.6.0 app/assets/stylesheets/govuk_publishing_components/components/_previous-and-next-navigation.scss
govuk_publishing_components-16.5.0 app/assets/stylesheets/govuk_publishing_components/components/_previous-and-next-navigation.scss
govuk_publishing_components-16.4.0 app/assets/stylesheets/govuk_publishing_components/components/_previous-and-next-navigation.scss
govuk_publishing_components-16.3.0 app/assets/stylesheets/govuk_publishing_components/components/_previous-and-next-navigation.scss
govuk_publishing_components-16.2.0 app/assets/stylesheets/govuk_publishing_components/components/_previous-and-next-navigation.scss
govuk_publishing_components-16.1.0 app/assets/stylesheets/govuk_publishing_components/components/_previous-and-next-navigation.scss