Sha256: 49961940de8df7ddcd7f70fc053f6c0bf7233dd1b82318ff15fe9d82b5a2a81d
Contents?: true
Size: 972 Bytes
Versions: 21
Compression:
Stored size: 972 Bytes
Contents
// Govspeak warning callout // https://govuk-publishing-components.herokuapp.com/component-guide/govspeak/warning_callout // // Support: // // - alphagov/whitehall: ✔︎ // - alphagov/govspeak: ✔︎ .gem-c-govspeak { .help-notice { $icon-size: 34px; $line-height-mobile: 20px; $line-height-tablet: 25px; margin: 2em 0; // Add '!' icon background-image: image-url("icon-important.png"); background-size: $icon-size $icon-size; background-repeat: no-repeat; @include device-pixel-ratio() { background-image: image-url("icon-important-2x.png"); } min-height: $icon-size; padding-left: $icon-size; // Center the icon around the baseline padding-top: ($icon-size - $line-height-mobile) / 2; @include govuk-media-query($from: tablet) { padding-top: ($icon-size - $line-height-tablet) / 2; } p { @include govuk-font($size: 19, $weight: bold); margin-left: 1em; } } }
Version data entries
21 entries across 21 versions & 1 rubygems