css: improve styles of form field on error (#75382) #202
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue