css: improve styles of form field on error (#75382) #202
|
@ -493,13 +493,18 @@ a.add-more-items--button {
|
|||
margin-top: 0;
|
||||
}
|
||||
|
||||
.widget div.error {
|
||||
color: $error-525;
|
||||
margin-left: 0;
|
||||
font-weight: normal;
|
||||
padding-left: 1.5rem;
|
||||
background: url(error-fill-red.svg) left 0.4rem no-repeat;
|
||||
background-size: 1rem;
|
||||
@if ($field-on-error-style == custom) {
|
||||
.widget div.error {
|
||||
color: $error-525;
|
||||
margin-left: 0;
|
||||
font-weight: normal;
|
||||
padding-left: 1.5rem;
|
||||
background: url(error-fill-red.svg) left 0.25rem no-repeat;
|
||||
background-size: 1rem;
|
||||
&::before {
|
||||
content: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#footer {
|
||||
|
|
|
@ -60,6 +60,7 @@ $widget-custom-radio-checkbox: true;
|
|||
$widget-custom-radio-checkbox-color: $blue-france-500;
|
||||
$widget-custom-radio-checkbox-border-color: $grey-800;
|
||||
$widget-custom-radio-checkbox-marker-color: $blue-france-500;
|
||||
$field-on-error-style: custom;
|
||||
|
||||
$footer-background: white;
|
||||
$footer-color: $font-color;
|
||||
|
|
Loading…
Reference in New Issue