Sha256: 701917560936172b80d3519f56c9c1f717e0ee97888beea6b58559410db541c8

Contents?: true

Size: 1.55 KB

Versions: 8

Compression:

Stored size: 1.55 KB

Contents

@import "govuk_publishing_components/individual_component_support";

.gem-c-step-nav-related {
  border-top: 2px solid govuk-colour("blue");
  margin-bottom: govuk-spacing(6);
  @include govuk-text-colour;
}

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

.gem-c-step-nav-related__links {
  list-style: none;
  margin: 0;
  padding: 0;
  @include govuk-font(16);
}

.gem-c-step-nav-related--singular {
  margin-bottom: govuk-spacing(2) + 3;

  .gem-c-step-nav-related__heading {
    margin-top: govuk-spacing(4);
    @include govuk-font(19, $weight: bold, $line-height: 1.4);
  }

  .gem-c-step-nav-related__pretitle {
    margin-bottom: calc(govuk-spacing(6) / 4);
  }
}

.gem-c-step-nav-related__pretitle {
  display: block;
  margin-bottom: govuk-spacing(3);

  @include govuk-media-query($from: tablet) {
    margin-bottom: govuk-spacing(1);
  }
}

.gem-c-step-nav-related__link-item {
  margin-top: govuk-spacing(3);
}

// stylelint-disable declaration-no-important
@include govuk-media-query($media-type: print) {
  .gem-c-step-nav-related {
    background: none;
    border-color: $govuk-print-text-colour;
  }

  .gem-c-step-nav-related__heading,
  .gem-c-step-nav-related__link-item {
    .govuk-link,
    .govuk-link:link,
    .govuk-link:link:visited {
      color: $govuk-print-text-colour !important;

      &::after {
        display: block;
        margin: 1mm auto;
        font-size: 12pt !important;
      }
    }
  }
}
// stylelint-enable declaration-no-important

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
govuk_publishing_components-43.5.0 app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-related.scss
govuk_publishing_components-43.4.1 app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-related.scss
govuk_publishing_components-43.4.0 app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-related.scss
govuk_publishing_components-43.3.0 app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-related.scss
govuk_publishing_components-43.2.0 app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-related.scss
govuk_publishing_components-43.1.1 app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-related.scss
govuk_publishing_components-43.1.0 app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-related.scss
govuk_publishing_components-43.0.2 app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-related.scss