nantes: use custom style for field on error (#75382)
This commit is contained in:
parent
0faa09fada
commit
854388dcda
|
@ -560,9 +560,11 @@ label {
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
.widget .error {
|
@if ($field-on-error-style == custom) {
|
||||||
font-weight: normal;
|
.widget .error {
|
||||||
color: $red-dark;
|
font-weight: normal;
|
||||||
|
color: $red-dark;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -112,6 +112,8 @@ $cancel-button-style: '%inverted-button';
|
||||||
$buttons-order: cancel (grow), previous, submit;
|
$buttons-order: cancel (grow), previous, submit;
|
||||||
|
|
||||||
$form-accent-color: $primary-color;
|
$form-accent-color: $primary-color;
|
||||||
|
$error-color: $red-dark;
|
||||||
|
$field-on-error-style: custom;
|
||||||
$widget-unique-checkbox-position: left;
|
$widget-unique-checkbox-position: left;
|
||||||
$widget-background: white;
|
$widget-background: white;
|
||||||
$widget-border-radius: $radius-l;
|
$widget-border-radius: $radius-l;
|
||||||
|
|
Loading…
Reference in New Issue