grandlyon-glc: use custom style for field on error (#75382)
This commit is contained in:
parent
fc51555002
commit
71a0607df7
|
@ -84,12 +84,14 @@ form ul.errorlist {
|
|||
}
|
||||
}
|
||||
|
||||
div.error {
|
||||
color: $primary-color;
|
||||
font-size: 0.9em;
|
||||
margin: 5px 0 0 0;
|
||||
~ input {
|
||||
border: 1px solid $primary-color;
|
||||
@if ($field-on-error-style == custom) {
|
||||
.widget-with-error {
|
||||
input, textarea, select {
|
||||
border: 1px solid $primary-color;
|
||||
}
|
||||
div.error {
|
||||
color: $primary-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -33,3 +33,4 @@ $or-separator: true;
|
|||
|
||||
$widget-unique-checkbox-position: left;
|
||||
$widget-custom-radio-checkbox: true;
|
||||
$field-on-error-style: custom;
|
||||
|
|
Loading…
Reference in New Issue