Sha256: 988f944fd1325d3b340d4dd5bd61ed605fad48538e9f87f3399d129fcd82d673

Contents?: true

Size: 1.29 KB

Versions: 35

Compression:

Stored size: 1.29 KB

Contents

.gem-c-error-summary {
  color: $gem-text-colour;
  padding: $gem-spacing-scale-3;

  border: $gem-border-width-mobile solid $gem-error-colour;

  @include media(tablet) {

    padding: $gem-spacing-scale-4;

    border: $gem-border-width-tablet solid $gem-error-colour;
  }
}

.gem-c-error-summary:focus {
  outline: $gem-focus-width solid $gem-focus-colour;
}

.gem-c-error-summary__title {
  margin-top: 0;
  margin-bottom: $gem-spacing-scale-3;

  @include media(tablet) {
    margin-bottom: $gem-spacing-scale-4;
  }

  @include bold-24;
}

.gem-c-error-summary__body {
  @include core-19;
}

.gem-c-error-summary__text {
  margin-top: 0;
  margin-bottom: $gem-spacing-scale-3;

  @include media(tablet) {
    margin-bottom: $gem-spacing-scale-4;
  }
}

.gem-c-error-summary__list {
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.gem-c-error-summary__list__item {
  color: $gem-error-colour;
  font-weight: bold;
  margin-bottom: $gem-spacing-scale-2;

  &:last-child {
    margin-bottom: 0;
  }
}

.gem-c-error-summary__link {
  @include govuk-link-common;
  &:link,
  &:link:focus,
  &:focus,
  &:visited,
  &:hover,
  &:active {
    color: $gem-error-colour;
    font-weight: bold;
    text-decoration: underline;
  }

  &:hover {
    color: darken($gem-error-colour, 10%);
  }
}

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
govuk_publishing_components-13.5.2 app/assets/stylesheets/govuk_publishing_components/components/_error-summary.scss
govuk_publishing_components-13.5.1 app/assets/stylesheets/govuk_publishing_components/components/_error-summary.scss
govuk_publishing_components-13.5.0 app/assets/stylesheets/govuk_publishing_components/components/_error-summary.scss
govuk_publishing_components-13.4.0 app/assets/stylesheets/govuk_publishing_components/components/_error-summary.scss
govuk_publishing_components-13.3.0 app/assets/stylesheets/govuk_publishing_components/components/_error-summary.scss
govuk_publishing_components-13.2.0 app/assets/stylesheets/govuk_publishing_components/components/_error-summary.scss
govuk_publishing_components-13.1 app/assets/stylesheets/govuk_publishing_components/components/_error-summary.scss
govuk_publishing_components-13.0.0 app/assets/stylesheets/govuk_publishing_components/components/_error-summary.scss
govuk_publishing_components-12.21.0 app/assets/stylesheets/govuk_publishing_components/components/_error-summary.scss
govuk_publishing_components-12.20.0 app/assets/stylesheets/govuk_publishing_components/components/_error-summary.scss
govuk_publishing_components-12.19.0 app/assets/stylesheets/govuk_publishing_components/components/_error-summary.scss
govuk_publishing_components-12.18.0 app/assets/stylesheets/govuk_publishing_components/components/_error-summary.scss
govuk_publishing_components-12.17.0 app/assets/stylesheets/govuk_publishing_components/components/_error-summary.scss
govuk_publishing_components-12.16.0 app/assets/stylesheets/govuk_publishing_components/components/_error-summary.scss
govuk_publishing_components-12.15.0 app/assets/stylesheets/govuk_publishing_components/components/_error-summary.scss
govuk_publishing_components-12.14.1 app/assets/stylesheets/govuk_publishing_components/components/_error-summary.scss
govuk_publishing_components-12.14.0 app/assets/stylesheets/govuk_publishing_components/components/_error-summary.scss
govuk_publishing_components-12.13.0 app/assets/stylesheets/govuk_publishing_components/components/_error-summary.scss
govuk_publishing_components-12.12.1 app/assets/stylesheets/govuk_publishing_components/components/_error-summary.scss
govuk_publishing_components-12.12.0 app/assets/stylesheets/govuk_publishing_components/components/_error-summary.scss