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-39.2.5 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_call-to-action.scss
govuk_publishing_components-39.2.4 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_call-to-action.scss
govuk_publishing_components-39.2.3 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_call-to-action.scss
govuk_publishing_components-39.2.2 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_call-to-action.scss
govuk_publishing_components-39.2.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_call-to-action.scss
govuk_publishing_components-39.2.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_call-to-action.scss
govuk_publishing_components-39.1.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_call-to-action.scss
govuk_publishing_components-39.0.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_call-to-action.scss
govuk_publishing_components-38.4.2 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_call-to-action.scss
govuk_publishing_components-38.1.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_call-to-action.scss
govuk_publishing_components-38.1.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_call-to-action.scss
govuk_publishing_components-38.0.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_call-to-action.scss
govuk_publishing_components-38.0.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_call-to-action.scss
govuk_publishing_components-37.10.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_call-to-action.scss
govuk_publishing_components-37.9.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_call-to-action.scss
govuk_publishing_components-37.9.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_call-to-action.scss
govuk_publishing_components-37.8.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_call-to-action.scss
govuk_publishing_components-37.8.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_call-to-action.scss
govuk_publishing_components-37.7.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_call-to-action.scss
govuk_publishing_components-37.7.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_call-to-action.scss