orleans: use custom style for field on error (#75382)

This commit is contained in:
Thomas Jund 2023-04-11 14:27:49 +02:00 committed by Frédéric Péters
parent 5c1864c9d7
commit 4a1986a4cb
2 changed files with 5 additions and 2 deletions

View File

@ -298,7 +298,9 @@ div.buttons {
&[class*=grid-] .content.with-padding {
display: block;
}
&.widget-with-error .content {
background-color: $notification_error_color;
@if ($field-on-error-style == custom) {
&.widget-with-error .content {
background-color: $notification_error_color;
}
}
}

View File

@ -32,3 +32,4 @@ $dashboard-badge-color: lighten($primary-color, 10%);
$widget-focus-border: 1px solid #66afe9;
$widget-focus-outline: none;
$widget-focus-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
$field-on-error-style: custom;