Sha256: cbb0d493a573f3a9d7852e8feb4341ff8e7f8a542e8350fb7fdecc0fb4ef9233

Contents?: true

Size: 1.99 KB

Versions: 3

Compression:

Stored size: 1.99 KB

Contents

.gem-c-related-navigation {
  @include govuk-text-colour;
  border-top: 2px solid govuk-colour("blue");
}

.gem-c-related-navigation__main-heading {
  @include govuk-font(19, $weight: bold);
  margin-top: govuk-spacing(3);
  margin-bottom: govuk-spacing(2);
}

.gem-c-related-navigation__sub-heading {
  @include govuk-font(16);
  border-top: 1px solid govuk-colour("mid-grey", $legacy: "grey-2");
  margin: 0;
  padding-top: govuk-spacing(3);
}

.gem-c-related-navigation__sub-heading--footer {
  @include govuk-font(19, $weight: bold);
  border-top: 0;
  padding-top: 0;
  margin-top: govuk-spacing(3);
  margin-bottom: govuk-spacing(2);
}

.gem-c-related-navigation__main-heading  + .gem-c-related-navigation__sub-heading {
  border-top: 0;
  padding-top: 0;
}

.gem-c-related-navigation__sub-heading--other {
  @include govuk-font(19, $weight: bold);
  border-top: 0;
  padding-top: 0;
}

.gem-c-related-navigation__nav-section {
  margin-bottom: govuk-spacing(6);
}

.gem-c-related-navigation__link {
  list-style-type: none;
  margin-top: govuk-spacing(3);
  @include govuk-font($size: 16, $weight: regular, $line-height: 1.45);

  @include govuk-media-query($from: tablet) {
    line-height: 1.28;
  }

  @include govuk-template-link-focus-override;
}

.gem-c-related-navigation__toggle {
  @include govuk-link-common;
  @include govuk-link-style-no-visited-state;
  display: none;

  .js-enabled & {
    display: block;
   }
}

.gem-c-related-navigation__section-link {
  @extend %govuk-link;
  font-weight: bold;

  @include govuk-template-link-focus-override;
}

.gem-c-related-navigation__section-link--other {
  font-weight: normal;

  @include govuk-template-link-focus-override;
}

.gem-c-related-navigation__section-link--footer {

  @include govuk-template-link-focus-override;
}

// reset the default browser styles
.gem-c-related-navigation__link-list {
  padding: 0;
  margin: 0;
  list-style: none;
  margin-bottom: 1.25em;
}

.gem-c-related-navigation__toggle-more.js-hidden {
  .js-enabled & {
    display: none;
  }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
govuk_publishing_components-20.1.0 app/assets/stylesheets/govuk_publishing_components/components/_related-navigation.scss
govuk_publishing_components-20.0.0 app/assets/stylesheets/govuk_publishing_components/components/_related-navigation.scss
govuk_publishing_components-19.0.0 app/assets/stylesheets/govuk_publishing_components/components/_related-navigation.scss