Sha256: 3bf87b4359a2d4ed22ffe3b1a2ab3b4c611195298dffde8c4390c747cd250429

Contents?: true

Size: 1.11 KB

Versions: 15

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: .1em;
  text-decoration: underline;
  margin-left: $gutter;

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

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
govuk_publishing_components-16.29.0 app/assets/stylesheets/govuk_publishing_components/components/_previous-and-next-navigation.scss
govuk_publishing_components-16.28.0 app/assets/stylesheets/govuk_publishing_components/components/_previous-and-next-navigation.scss
govuk_publishing_components-16.27.1 app/assets/stylesheets/govuk_publishing_components/components/_previous-and-next-navigation.scss
govuk_publishing_components-16.27.0 app/assets/stylesheets/govuk_publishing_components/components/_previous-and-next-navigation.scss
govuk_publishing_components-16.26.0 app/assets/stylesheets/govuk_publishing_components/components/_previous-and-next-navigation.scss
govuk_publishing_components-16.25.0 app/assets/stylesheets/govuk_publishing_components/components/_previous-and-next-navigation.scss
govuk_publishing_components-16.24.0 app/assets/stylesheets/govuk_publishing_components/components/_previous-and-next-navigation.scss
govuk_publishing_components-16.23.0 app/assets/stylesheets/govuk_publishing_components/components/_previous-and-next-navigation.scss
govuk_publishing_components-16.22.0 app/assets/stylesheets/govuk_publishing_components/components/_previous-and-next-navigation.scss
govuk_publishing_components-16.21.0 app/assets/stylesheets/govuk_publishing_components/components/_previous-and-next-navigation.scss
govuk_publishing_components-16.20.1 app/assets/stylesheets/govuk_publishing_components/components/_previous-and-next-navigation.scss
govuk_publishing_components-16.20.0 app/assets/stylesheets/govuk_publishing_components/components/_previous-and-next-navigation.scss
govuk_publishing_components-16.19.0 app/assets/stylesheets/govuk_publishing_components/components/_previous-and-next-navigation.scss
govuk_publishing_components-16.18.0 app/assets/stylesheets/govuk_publishing_components/components/_previous-and-next-navigation.scss
govuk_publishing_components-16.17.0 app/assets/stylesheets/govuk_publishing_components/components/_previous-and-next-navigation.scss