css: improve styles of form field on error (#75382) #202

Merged
fpeters merged 22 commits from wip/75382-form-field-on-error into main 2023-04-20 18:36:46 +02:00
2 changed files with 12 additions and 10 deletions
Showing only changes of commit 96912a3c67 - Show all commits

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;