Sha256: 2dd9f4c444a42fca152440932429e6630b16bb4a5323a5efee46f746223e7bd9

Contents?: true

Size: 1.35 KB

Versions: 31

Compression:

Stored size: 1.35 KB

Contents

@import "helpers/govuk-frontend-settings";
@import "govuk-frontend/components/header/header";
@import "govuk-frontend/components/tag/tag";

.gem-c-layout-header--production .govuk-header__container {
  border-bottom-color: govuk-colour("bright-red");
}

.gem-c-layout-header--integration .govuk-header__container,
.gem-c-layout-header--staging .govuk-header__container {
  border-bottom-color: govuk-colour("yellow");
}

.gem-c-layout-header--example .govuk-header__container {
  border-bottom-color: govuk-colour("bright-purple");
}

.gem-c-layout-header--development .govuk-header__container {
  border-bottom-color: govuk-colour("grey-1");
}

.govuk-header__logo {
  white-space: nowrap;
}

.govuk-header__product-name {
  display: none;

  @include govuk-media-query($from: tablet) {
    display: inline-block;
  }
}

.gem-c-environment-tag {
  padding: 2px 5px 0;
  margin-left: 3px;
  vertical-align: middle;
  @include govuk-font($size: 14, $weight: "bold");
}

.gem-c-environment-tag--production {
  background-color: govuk-colour("bright-red");
}

.gem-c-environment-tag--example {
  background-color: govuk-colour("bright-purple");
}

.gem-c-environment-tag--development {
  background-color: govuk-colour("grey-1");
}

.gem-c-environment-tag--staging,
.gem-c-environment-tag--integration {
  background-color: govuk-colour("yellow");
  color: govuk-colour("black");
}

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
govuk_publishing_components-13.5.0 app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss
govuk_publishing_components-13.4.0 app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss
govuk_publishing_components-13.3.0 app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss
govuk_publishing_components-13.2.0 app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss
govuk_publishing_components-13.1 app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss
govuk_publishing_components-13.0.0 app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss
govuk_publishing_components-12.21.0 app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss
govuk_publishing_components-12.20.0 app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss
govuk_publishing_components-12.19.0 app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss
govuk_publishing_components-12.18.0 app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss
govuk_publishing_components-12.17.0 app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss
govuk_publishing_components-12.16.0 app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss
govuk_publishing_components-12.15.0 app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss
govuk_publishing_components-12.14.1 app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss
govuk_publishing_components-12.14.0 app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss
govuk_publishing_components-12.13.0 app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss
govuk_publishing_components-12.12.1 app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss
govuk_publishing_components-12.12.0 app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss
govuk_publishing_components-12.11.0 app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss
govuk_publishing_components-12.10.0 app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss