Sha256: ead1dd65e622dbca376f9e9c9e4552281efbe0572a7ad30559bafc60ed636339

Contents?: true

Size: 1.26 KB

Versions: 17

Compression:

Stored size: 1.26 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 {
  &: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

17 entries across 17 versions & 1 rubygems

Version Path
govuk_publishing_components-11.2.0 app/assets/stylesheets/govuk_publishing_components/components/_error-summary.scss
govuk_publishing_components-11.1.0 app/assets/stylesheets/govuk_publishing_components/components/_error-summary.scss
govuk_publishing_components-11.0.0 app/assets/stylesheets/govuk_publishing_components/components/_error-summary.scss
govuk_publishing_components-10.2.0 app/assets/stylesheets/govuk_publishing_components/components/_error-summary.scss
govuk_publishing_components-10.1.0 app/assets/stylesheets/govuk_publishing_components/components/_error-summary.scss
govuk_publishing_components-10.0.0 app/assets/stylesheets/govuk_publishing_components/components/_error-summary.scss
govuk_publishing_components-9.28.0 app/assets/stylesheets/govuk_publishing_components/components/_error-summary.scss
govuk_publishing_components-9.27.0 app/assets/stylesheets/govuk_publishing_components/components/_error-summary.scss
govuk_publishing_components-9.26.1 app/assets/stylesheets/govuk_publishing_components/components/_error-summary.scss
govuk_publishing_components-9.26.0 app/assets/stylesheets/govuk_publishing_components/components/_error-summary.scss
govuk_publishing_components-9.25.0 app/assets/stylesheets/govuk_publishing_components/components/_error-summary.scss
govuk_publishing_components-9.24.0 app/assets/stylesheets/govuk_publishing_components/components/_error-summary.scss
govuk_publishing_components-9.23.0 app/assets/stylesheets/govuk_publishing_components/components/_error-summary.scss
govuk_publishing_components-9.22.0 app/assets/stylesheets/govuk_publishing_components/components/_error-summary.scss
govuk_publishing_components-9.21.0 app/assets/stylesheets/govuk_publishing_components/components/_error-summary.scss
govuk_publishing_components-9.20.0 app/assets/stylesheets/govuk_publishing_components/components/_error-summary.scss
govuk_publishing_components-9.19.0 app/assets/stylesheets/govuk_publishing_components/components/_error-summary.scss