sables-d-olonne-2022: use custom style for field on error (#75382)
This commit is contained in:
parent
814db93ec8
commit
f392423f79
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue