Sha256: 17f5da0ed7eb2da2988ebc63657e83a56486e5a093ff9b1a23827cbaeb38b7a1

Contents?: true

Size: 1.08 KB

Versions: 3

Compression:

Stored size: 1.08 KB

Contents

@import "govuk_publishing_components/individual_component_support";

.gem-c-intervention {
  background-color: govuk-colour("light-grey");
  border-left: 10px solid $govuk-success-colour;
  @include govuk-text-colour;
  @include govuk-responsive-padding(3);
  @include govuk-responsive-margin(6, "bottom");

  .govuk-body:last-of-type {
    margin-bottom: 0;
  }
}

.gem-c-intervention__textwrapper {
  display: block;
}

.gem-c-intervention__dismiss-icon {
  width: 1em;
  height: 1em;
  margin-bottom: -2px;
}

// stylelint-disable declaration-no-important
@include govuk-media-query($media-type: print) {
  .gem-c-intervention {
    break-inside: avoid;
    background-color: transparent;
    border-color: $govuk-print-text-colour;

    .govuk-body {
      margin: 0;
    }
  }

  .gem-c-intervention .govuk-link {
    &,
    &:link,
    &:link:visited {
      color: $govuk-print-text-colour !important;
    }

    &::after {
      display: block;
      margin: 1mm auto;
      font-size: 12pt !important;
      color: $govuk-print-text-colour;
    }
  }
}
// stylelint-enable declaration-no-important

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
govuk_publishing_components-43.0.1 app/assets/stylesheets/govuk_publishing_components/components/_intervention.scss
govuk_publishing_components-43.0.0 app/assets/stylesheets/govuk_publishing_components/components/_intervention.scss
govuk_publishing_components-42.1.0 app/assets/stylesheets/govuk_publishing_components/components/_intervention.scss