Sha256: c315d2b1bcb9594c5be720798e810b062562f88acd1179e6ffdddd9a04334991

Contents?: true

Size: 1000 Bytes

Versions: 336

Compression:

Stored size: 1000 Bytes

Contents

.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;

  @include govuk-font(19);

  margin-bottom: govuk-spacing(7);

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

.js-enabled {
  .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

336 entries across 336 versions & 1 rubygems

Version Path
govuk_publishing_components-34.12.0 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-34.11.0 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-34.10.1 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-34.10.0 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-34.9.1 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-34.9.0 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-34.8.1 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-34.8.0 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-34.7.1 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-34.7.0 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-34.6.0 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-34.5.1 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-34.5.0 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-34.4.2 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-34.4.1 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-34.4.0 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-34.3.0 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-34.2.0 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-34.1.3 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-34.1.2 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss