Sha256: 316628c4b02316a298670753807fb5681bd3094293f348834dcee2a8a4cabd6f

Contents?: true

Size: 1.11 KB

Versions: 4

Compression:

Stored size: 1.11 KB

Contents

// Validation summary box

@import "colours";
@import "measurements";
@import "conditionals";
@import "typography";

.validation-summary {
  border: 3px solid $error-colour;
  padding: $gutter-half $gutter;
  margin-bottom: $gutter;

  @include ie-lte(6){
    zoom: 1;
  }
}

.validation-summary ul {
  margin-top: 10px;
}

.validation-summary li,
.validation-summary p {
  @include core-16;
}

.validation-summary p {
  margin-top: $gutter-half;
  margin-bottom: 5px;
}

.validation-summary a {
  color: $error-colour;
  @include ie-lte(6) {
    color: $error-colour !important;
  }
}

.validation-summary .heading-small {
  margin-top: $gutter-half;
}


// Validation error message box
// .validation-error {
//   clear: both;
//   @extend %contain-floats;
//   border-left: 3px solid $error-colour;
//   padding: $gutter- $gutter;
//   margin-bottom: $gutter-half;
//   margin-left: -($gutter);
// }

// .validation-error .form-group {
//   margin-bottom: 20px;
// }

// .validation-error p {
//   margin-bottom: 10px;
// }


// Validation message
.validation-message {
  display: block;
  @include core-16;
  color: $error-colour;
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
govuk_elements_rails-0.2.2 vendor/assets/stylesheets/elements/forms/_form-validation.scss
govuk_elements_rails-0.2.1 vendor/assets/stylesheets/elements/forms/_form-validation.scss
govuk_elements_rails-0.1.1 vendor/assets/stylesheets/elements/forms/_form-validation.scss
govuk_elements_rails-0.1.0 vendor/assets/stylesheets/elements/forms/_form-validation.scss