Sha256: 0400a884676829d08605678801c7732d2e065c6b7121c602e569200668ec06c0
Contents?: true
Size: 1.01 KB
Versions: 75
Compression:
Stored size: 1.01 KB
Contents
// Govspeak warning callout // https://components.publishing.service.gov.uk/component-guide/govspeak/warning_callout // // Support: // // - alphagov/whitehall: ✔︎ // - alphagov/govspeak: ✔︎ .govspeak, // Legacy class name that's still used in some content items - needs to be kept until `.govspeak` is removed from the content items. .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("govuk_publishing_components/icon-important.svg"); background-size: $icon-size $icon-size; background-repeat: no-repeat; 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
75 entries across 75 versions & 1 rubygems