Sha256: ffce05cef2c8c1cef3d7a4bb85e2e6ab742d5f78ce7efdcca5eba88eccf962e7

Contents?: true

Size: 1.06 KB

Versions: 38

Compression:

Stored size: 1.06 KB

Contents

@import "govuk_publishing_components/individual_component_support";

.gem-c-contextual-guidance {
  .govuk-grid-column-one-third {
    position: relative;
  }

  &:last-of-type {
    .gem-c-contextual-guidance__wrapper {
      position: relative;
      width: 100%;
    }
  }
}

.gem-c-contextual-guidance__wrapper {
  position: relative;
  margin-bottom: govuk-spacing(7);
  @include govuk-font(19);

  @include govuk-media-query($from: tablet) {
    margin-bottom: govuk-spacing(7);
    padding-top: govuk-spacing(6);
  }
}

.govuk-frontend-supported {
  .gem-c-contextual-guidance__wrapper {
    display: none;

    @include govuk-media-query($from: tablet) {
      position: absolute;
      width: calc(100% - #{govuk-spacing(6)});
    }
  }
}

.gem-c-contextual-guidance__guidance {
  padding-left: govuk-spacing(3);
  border-left: 4px solid $govuk-focus-colour;
  background: govuk-colour("white");

  @include govuk-media-query($from: tablet) {
    padding-top: govuk-spacing(5);
    padding-left: 0;
    border-top: 5px solid $govuk-focus-colour;
    border-left: 0;
  }
}

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
govuk_publishing_components-45.7.0 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-45.6.1 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-45.6.0 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-45.5.0 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-45.4.1 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-45.4.0 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-45.3.0 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-45.2.0 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-45.1.0 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-45.0.0 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-44.11.0 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-44.10.0 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-44.9.1 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-44.9.0 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-44.8.0 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-44.7.1 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-44.7.0 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-44.6.0 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-44.5.0 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-44.4.2 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss