villejuif: use custom style for field on error (#75382)
This commit is contained in:
parent
384baffd71
commit
f780708a45
|
@ -179,13 +179,17 @@ div.infonotice::before, div.warningnotice::before, div.errornotice::before {
|
|||
content: url(/static/dialog-warning.png);
|
||||
}
|
||||
|
||||
div.error{
|
||||
font-size: 0.95em;
|
||||
color:red;
|
||||
}
|
||||
@if ($field-on-error-style == custom) {
|
||||
div.error{
|
||||
font-size: 0.95em;
|
||||
color:red;
|
||||
}
|
||||
|
||||
div.error + textarea, div.error + input,div.error + ul input {
|
||||
border: 1px solid red;
|
||||
.widget-with-error {
|
||||
textarea, input, ul input {
|
||||
border: 1px solid red;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
div.widget div.title {
|
||||
|
|
|
@ -27,3 +27,4 @@ $button-border-radius: 5px;
|
|||
$buttons-order: previous, cancel, submit;
|
||||
|
||||
$widget-unique-checkbox-position: left;
|
||||
$field-on-error-style: custom;
|
||||
|
|
Loading…
Reference in New Issue