Sha256: 9c6d2996525e6502f4d7361287430206008469584b8668cd90f0975906dff97e

Contents?: true

Size: 1.2 KB

Versions: 143

Compression:

Stored size: 1.2 KB

Contents

@import "../../settings/all";
@import "../../tools/all";
@import "../../helpers/all";

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

@include govuk-exports("govuk/component/error-summary") {

  .govuk-error-summary {
    @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: 24, $weight: bold);

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

  .govuk-error-summary__body {
    @include govuk-font($size: 19);

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

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

  .govuk-error-summary__list a {
    @include govuk-typography-weight-bold;

    // Override default link styling to use error colour
    &:link,
    &:visited,
    &:hover,
    &:active {
      color: $govuk-error-colour;
    }

    &:focus {
      @include govuk-focused-text;
    }
  }

}

Version data entries

143 entries across 143 versions & 3 rubygems

Version Path
govuk_publishing_components-21.44.0 node_modules/govuk-frontend/govuk/components/error-summary/_error-summary.scss
govuk_publishing_components-21.43.0 node_modules/govuk-frontend/govuk/components/error-summary/_error-summary.scss
govuk_publishing_components-21.42.0 node_modules/govuk-frontend/govuk/components/error-summary/_error-summary.scss
govuk_publishing_components-21.41.4 node_modules/govuk-frontend/govuk/components/error-summary/_error-summary.scss
govuk_publishing_components-21.41.3 node_modules/govuk-frontend/govuk/components/error-summary/_error-summary.scss
govuk_tech_docs-2.0.12 node_modules/govuk-frontend/govuk/components/error-summary/_error-summary.scss
govuk_publishing_components-21.41.2 node_modules/govuk-frontend/govuk/components/error-summary/_error-summary.scss
govuk_publishing_components-21.41.1 node_modules/govuk-frontend/govuk/components/error-summary/_error-summary.scss
govuk_publishing_components-21.41.0 node_modules/govuk-frontend/govuk/components/error-summary/_error-summary.scss
govuk_publishing_components-21.40.0 node_modules/govuk-frontend/govuk/components/error-summary/_error-summary.scss
govuk_publishing_components-21.39.0 node_modules/govuk-frontend/govuk/components/error-summary/_error-summary.scss
govuk_publishing_components-21.38.5 node_modules/govuk-frontend/govuk/components/error-summary/_error-summary.scss
govuk_publishing_components-21.38.4 node_modules/govuk-frontend/govuk/components/error-summary/_error-summary.scss
govuk_publishing_components-21.38.3 node_modules/govuk-frontend/govuk/components/error-summary/_error-summary.scss
govuk_publishing_components-21.38.2 node_modules/govuk-frontend/govuk/components/error-summary/_error-summary.scss
govuk_publishing_components-21.38.1 node_modules/govuk-frontend/govuk/components/error-summary/_error-summary.scss
govuk_publishing_components-21.38.0 node_modules/govuk-frontend/govuk/components/error-summary/_error-summary.scss
govuk_publishing_components-21.37.0 node_modules/govuk-frontend/govuk/components/error-summary/_error-summary.scss
govuk_publishing_components-21.36.1 node_modules/govuk-frontend/govuk/components/error-summary/_error-summary.scss
govuk_publishing_components-21.36.0 node_modules/govuk-frontend/govuk/components/error-summary/_error-summary.scss