metz-metropole-2019: use custom style for field on error (#75382)

This commit is contained in:
Thomas Jund 2023-04-06 16:37:22 +02:00 committed by Frédéric Péters
parent cb85640acd
commit 96912a3c67
2 changed files with 12 additions and 10 deletions

View File

@ -897,16 +897,17 @@ div.datetimepicker {
}
form.quixote {
div.error {
padding-left: 0;
margin-left: 0;
background-image: none;
font-weight: normal;
color: #e95f5c;
}
div.widget-with-error {
input[type=text], input[type=email], textarea {
border-color: #e95f5c;
@if ($field-on-error-style == custom) {
div.error {
padding-left: 0;
margin-left: 0;
font-weight: normal;
color: #e95f5c;
}
div.widget-with-error {
input[type=text], input[type=email], textarea {
border-color: #e95f5c;
}
}
}
}

View File

@ -49,6 +49,7 @@ $title-color: $darkblue;
$title-background: transparent;
$title-transform: uppercase;
$field-on-error-style: custom;
$button-background: $darkblue;
$button-border-radius: 0px;
$widget-background: white;