Sha256: 93d58b09ae45283f9494bceb9c82ae1269e99125aa07a43d974829e5ead26d30

Contents?: true

Size: 627 Bytes

Versions: 244

Compression:

Stored size: 627 Bytes

Contents

// Govspeak call to action
// https://components.publishing.service.gov.uk/component-guide/govspeak/call_to_action
//
// 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 {
  .call-to-action {
    margin: 2em 0;
    background-color: govuk-colour("light-grey", $legacy: "grey-3");
    padding: 2em;

    &:first-child {
      margin-top: 0;
    }

    p:last-child,
    ul:last-child,
    ol:last-child {
      margin-bottom: 0;
    }
  }
}

Version data entries

244 entries across 244 versions & 1 rubygems

Version Path
govuk_publishing_components-35.1.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_call-to-action.scss
govuk_publishing_components-35.1.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_call-to-action.scss
govuk_publishing_components-35.0.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_call-to-action.scss
govuk_publishing_components-34.14.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_call-to-action.scss
govuk_publishing_components-34.13.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_call-to-action.scss
govuk_publishing_components-34.12.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_call-to-action.scss
govuk_publishing_components-34.11.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_call-to-action.scss
govuk_publishing_components-34.10.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_call-to-action.scss
govuk_publishing_components-34.10.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_call-to-action.scss
govuk_publishing_components-34.9.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_call-to-action.scss
govuk_publishing_components-34.9.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_call-to-action.scss
govuk_publishing_components-34.8.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_call-to-action.scss
govuk_publishing_components-34.8.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_call-to-action.scss
govuk_publishing_components-34.7.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_call-to-action.scss
govuk_publishing_components-34.7.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_call-to-action.scss
govuk_publishing_components-34.6.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_call-to-action.scss
govuk_publishing_components-34.5.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_call-to-action.scss
govuk_publishing_components-34.5.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_call-to-action.scss
govuk_publishing_components-34.4.2 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_call-to-action.scss
govuk_publishing_components-34.4.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_call-to-action.scss