Sha256: b5c33a1c6dbb9a184cc76822e880de6a5dc7164a10b6933ce5242a62797c25b2

Contents?: true

Size: 1.04 KB

Versions: 88

Compression:

Stored size: 1.04 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;

  @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

88 entries across 88 versions & 1 rubygems

Version Path
govuk_publishing_components-36.0.2 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-36.0.1 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-36.0.0 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-35.23.0 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-35.22.0 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-35.21.4 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-35.21.3 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-35.21.2 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-35.21.1 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-35.21.0 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-35.20.1 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-35.20.0 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-35.19.0 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-35.18.0 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-35.17.0 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-35.16.1 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-35.16.0 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-35.15.5 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-35.15.4 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
govuk_publishing_components-35.15.3 app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss