Sha256: 871e63e582a26af3f8c365b28a01ce9b67ea83f9ab0b9375fb5f0bdccd144d06

Contents?: true

Size: 717 Bytes

Versions: 25

Compression:

Stored size: 717 Bytes

Contents

$info-background: #d5e8f3;
$high-alert-border: #cc0000;

.gem-c-govspeak .advisory {
  background: image-url("icon-information.png") no-repeat scroll 98% 1em $info-background;
  line-height: 1.3em;
  margin: 0 -1em 1em;
  padding: 1em;
  text-align: left;

  @include govuk-device-pixel-ratio {
    background-image: image-url("icon-information-2x.png");
    background-size: 27px 27px;
  }

  p {
    margin: 0 .75em 0 0;
    min-height: 1.75em;
    padding-right: 3em;
  }

  strong {
    font-weight: 400;
  }

  &.high-alert {
    background-color: govuk-colour("light-grey", $legacy: "grey-3");
    border-color: $high-alert-border;
  }

  @include govuk-media-query($until: tablet) {
    margin: 0 0 1em;
  }
}

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
govuk_publishing_components-21.4.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_advisory.scss
govuk_publishing_components-21.3.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_advisory.scss
govuk_publishing_components-21.2.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_advisory.scss
govuk_publishing_components-21.1.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_advisory.scss
govuk_publishing_components-21.1.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_advisory.scss
govuk_publishing_components-21.0.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_advisory.scss
govuk_publishing_components-20.5.2 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_advisory.scss
govuk_publishing_components-20.5.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_advisory.scss
govuk_publishing_components-20.5.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_advisory.scss
govuk_publishing_components-20.4.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_advisory.scss
govuk_publishing_components-20.3.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_advisory.scss
govuk_publishing_components-20.2.2 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_advisory.scss
govuk_publishing_components-20.2.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_advisory.scss
govuk_publishing_components-20.2.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_advisory.scss
govuk_publishing_components-20.1.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_advisory.scss
govuk_publishing_components-20.0.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_advisory.scss
govuk_publishing_components-19.0.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_advisory.scss
govuk_publishing_components-18.3.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_advisory.scss
govuk_publishing_components-18.3.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_advisory.scss
govuk_publishing_components-18.2.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_advisory.scss