Sha256: 10e542053fadd4a4650b7ad04911fcde469d8f46326a14e99e3bda5d4b2511a6

Contents?: true

Size: 1.31 KB

Versions: 16

Compression:

Stored size: 1.31 KB

Contents

@import "govuk_publishing_components/individual_component_support";

.gem-c-layout-for-public {
  font-family: $govuk-font-family;
}

.gem-c-layout-for-public__blue-bar {
  background: $govuk-brand-colour;
  height: govuk-spacing(2);
}

.js-enabled .gem-c-layout-for-public__global-banner-wrapper {
  margin-top: - govuk-spacing(2);
  min-height: govuk-spacing(2);
  position: relative;
}

.gem-c-layout-for-public-account-menu {
  margin: 0 0 govuk-spacing(6) 0;
  padding: 0;

  @include govuk-media-query($from: desktop) {
    margin-right: govuk-spacing(4);
  }
}

// Used to determine width of blue location indicator in navigation mention
$current-indicator-width: 4px;

.gem-c-layout-for-public-account-menu__item {
  list-style-type: none;
  padding: 12px 0;

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

.gem-c-layout-for-public-account-menu__item--current {
  margin-left: -(govuk-spacing(2) + $current-indicator-width);
  padding-left: govuk-spacing(2);
  border-left: $current-indicator-width solid govuk-colour("blue");

  .gem-c-layout-for-public-account-menu__link {
    text-decoration: none;
  }
}

.gem-c-layout-for-public-account-menu__link {
  @include govuk-font(19, $weight: "bold");

  &:not(:focus):hover {
    color: $govuk-link-colour;
  }
}

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
govuk_publishing_components-35.7.0 app/assets/stylesheets/govuk_publishing_components/components/_layout-for-public.scss
govuk_publishing_components-35.6.0 app/assets/stylesheets/govuk_publishing_components/components/_layout-for-public.scss
govuk_publishing_components-35.5.0 app/assets/stylesheets/govuk_publishing_components/components/_layout-for-public.scss
govuk_publishing_components-35.4.0 app/assets/stylesheets/govuk_publishing_components/components/_layout-for-public.scss
govuk_publishing_components-35.3.5 app/assets/stylesheets/govuk_publishing_components/components/_layout-for-public.scss
govuk_publishing_components-35.3.4 app/assets/stylesheets/govuk_publishing_components/components/_layout-for-public.scss
govuk_publishing_components-35.3.3 app/assets/stylesheets/govuk_publishing_components/components/_layout-for-public.scss
govuk_publishing_components-35.3.2 app/assets/stylesheets/govuk_publishing_components/components/_layout-for-public.scss
govuk_publishing_components-35.3.1 app/assets/stylesheets/govuk_publishing_components/components/_layout-for-public.scss
govuk_publishing_components-35.3.0 app/assets/stylesheets/govuk_publishing_components/components/_layout-for-public.scss
govuk_publishing_components-35.2.0 app/assets/stylesheets/govuk_publishing_components/components/_layout-for-public.scss
govuk_publishing_components-35.1.1 app/assets/stylesheets/govuk_publishing_components/components/_layout-for-public.scss
govuk_publishing_components-35.1.0 app/assets/stylesheets/govuk_publishing_components/components/_layout-for-public.scss
govuk_publishing_components-35.0.0 app/assets/stylesheets/govuk_publishing_components/components/_layout-for-public.scss
govuk_publishing_components-34.14.0 app/assets/stylesheets/govuk_publishing_components/components/_layout-for-public.scss
govuk_publishing_components-34.13.0 app/assets/stylesheets/govuk_publishing_components/components/_layout-for-public.scss