Sha256: 4e1883349f2e394dd9188df5da1ffe57d11ab16fcda969673a2c0d174f9f4473

Contents?: true

Size: 1.25 KB

Versions: 76

Compression:

Stored size: 1.25 KB

Contents

@import "../../core/lists";

@include govuk-exports("govuk/component/error-summary") {
  .govuk-error-summary {
    @include govuk-font($size: 19);
    @include govuk-text-colour;
    @include govuk-responsive-padding(4);
    @include govuk-responsive-margin(8, "bottom");

    border: $govuk-border-width solid $govuk-error-colour;

    &:focus {
      outline: $govuk-focus-width solid $govuk-focus-colour;
    }
  }

  .govuk-error-summary__title {
    @include govuk-font-size($size: 24);
    @include govuk-typography-weight-bold;

    margin-top: 0;
    @include govuk-responsive-margin(4, "bottom");
  }

  .govuk-error-summary__body {
    p {
      margin-bottom: 0;
    }

    > * + * {
      @include govuk-responsive-margin(4, "top");
    }

    > :last-child {
      @include govuk-responsive-margin(1, "bottom");
    }
  }

  // Cross-component class - adjusts styling of list component
  .govuk-error-summary__list {
    margin-bottom: 0;
  }

  // Remove the bottom margin from the last list item
  .govuk-error-summary__list li:last-child {
    margin-bottom: 0;
  }

  .govuk-error-summary__list a {
    @include govuk-typography-weight-bold;
    @include govuk-link-common;
    @include govuk-link-style-error;
  }
}

/*# sourceMappingURL=_index.scss.map */

Version data entries

76 entries across 76 versions & 3 rubygems

Version Path
govuk_publishing_components-55.1.0 node_modules/govuk-frontend/dist/govuk/components/error-summary/_index.scss
govuk_publishing_components-55.0.1 node_modules/govuk-frontend/dist/govuk/components/error-summary/_index.scss
katalyst-govuk-formbuilder-1.16.0 node_modules/govuk-frontend/dist/govuk/components/error-summary/_index.scss
govuk_publishing_components-55.0.0 node_modules/govuk-frontend/dist/govuk/components/error-summary/_index.scss
govuk_publishing_components-54.0.1 node_modules/govuk-frontend/dist/govuk/components/error-summary/_index.scss
govuk_publishing_components-54.0.0 node_modules/govuk-frontend/dist/govuk/components/error-summary/_index.scss
govuk_tech_docs-4.2.0 node_modules/govuk-frontend/dist/govuk/components/error-summary/_index.scss
govuk_publishing_components-53.0.0 node_modules/govuk-frontend/dist/govuk/components/error-summary/_index.scss
govuk_tech_docs-4.1.2 node_modules/govuk-frontend/dist/govuk/components/error-summary/_index.scss
katalyst-govuk-formbuilder-1.15.0 node_modules/govuk-frontend/dist/govuk/components/error-summary/_index.scss
govuk_publishing_components-52.1.0 node_modules/govuk-frontend/dist/govuk/components/error-summary/_index.scss
govuk_publishing_components-52.0.0 node_modules/govuk-frontend/dist/govuk/components/error-summary/_index.scss
govuk_publishing_components-51.2.1 node_modules/govuk-frontend/dist/govuk/components/error-summary/_index.scss
govuk_publishing_components-51.2.0 node_modules/govuk-frontend/dist/govuk/components/error-summary/_index.scss
govuk_publishing_components-51.1.1 node_modules/govuk-frontend/dist/govuk/components/error-summary/_index.scss
katalyst-govuk-formbuilder-1.14.0 node_modules/govuk-frontend/dist/govuk/components/error-summary/_index.scss
govuk_publishing_components-51.1.0 node_modules/govuk-frontend/dist/govuk/components/error-summary/_index.scss
govuk_publishing_components-51.0.0 node_modules/govuk-frontend/dist/govuk/components/error-summary/_index.scss
govuk_publishing_components-50.0.1 node_modules/govuk-frontend/dist/govuk/components/error-summary/_index.scss
govuk_publishing_components-50.0.0 node_modules/govuk-frontend/dist/govuk/components/error-summary/_index.scss