diff --git a/static/themes/default/css/main.css b/static/themes/default/css/main.css index e49fedcf3..5b22d5b56 100644 --- a/static/themes/default/css/main.css +++ b/static/themes/default/css/main.css @@ -147,6 +147,25 @@ h1, h2, h3, h4, h5, h6 { padding-left: 1.4rem; } +/* Form error display was changed in bootstrap 4, provide compatibility */ +.has-error .help-block, +.has-error .control-label, +.has-error .radio, +.has-error .checkbox, +.has-error .radio-inline, +.has-error .checkbox-inline, +.has-error.radio label, +.has-error.checkbox label, +.has-error.radio-inline label, +.has-error.checkbox-inline label { + color: #a94442; +} + +.has-error .form-control { + border-color: #a94442; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); +} + /* * Basic styling */