Sha256: c34cb9c00b875d0c2b06c391041bd06a308233a662098fb2af51bacdfb52f948

Contents?: true

Size: 900 Bytes

Versions: 2

Compression:

Stored size: 900 Bytes

Contents

@import "govuk_publishing_components/individual_component_support";

.gem-c-inverse-header {
  width: 100%;
  background-color: govuk-colour("blue");
  color: govuk-colour("white");
  margin-bottom: govuk-spacing(6);
  padding: govuk-spacing(3) govuk-spacing(6) govuk-spacing(6) govuk-spacing(6);
  box-sizing: border-box;
}

.gem-c-inverse-header__subtext {
  color: govuk-colour("white");
  margin: 0;
  @include govuk-font($size: 16, $line-height: 1.5);
}

.gem-c-inverse-header--full-width {
  padding-left: 0;
  padding-right: 0;
  padding-bottom: govuk-spacing(3);
}

@include govuk-media-query($media-type: print) {
  .gem-c-inverse-header {
    background: none;
    padding-left: 0;
    padding-right: 0;
    border-bottom: 2pt solid $govuk-print-text-colour;

    &,
    & * {
      color: $govuk-print-text-colour !important; // stylelint-disable-line declaration-no-important
    }
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
govuk_publishing_components-51.1.0 app/assets/stylesheets/govuk_publishing_components/components/_inverse-header.scss
govuk_publishing_components-51.0.0 app/assets/stylesheets/govuk_publishing_components/components/_inverse-header.scss