sables-d-olonne-2022: use custom style for field on error (#75382)

This commit is contained in:
Thomas Jund 2023-04-11 11:42:35 +02:00 committed by Frédéric Péters
parent 814db93ec8
commit f392423f79
2 changed files with 11 additions and 8 deletions

View File

@ -506,14 +506,16 @@ label {
color: $orange;
}
div.widget-with-error {
label {
color: $red;
}
div.content {
input, select, textarea {
border: 1px solid $red;
background: rgba(255, 0, 0, 0.2);
@if ($field-on-error-style == custom) {
div.widget-with-error {
label {
color: $red;
}
div.content {
input, select, textarea {
border: 1px solid $red;
background: rgba(255, 0, 0, 0.2);
}
}
}
}

View File

@ -71,6 +71,7 @@ $widget-focus-outline: none;
$widget-focus-box-shadow: #999 1px 1px 12px;
$widget-custom-radio-checkbox: true;
$widget-unique-checkbox-position: left;
$field-on-error-style: custom;
$buttons-order: cancel, previous, submit;
$buttons-alignment: space-between;