Fix bad looking form errors for Web 2 >= 2.7.0

Starting with Web 2.7.0 the reworked form styles are only available for
for forms with the CSS class icinga-form. Since the Director uses its
own form styles, the styles for form errors no longer apply and thus
look ugly. This commit (re)introduces those rules for the Director.
This commit is contained in:
Eric Lippmann 2019-09-02 14:36:30 +02:00 committed by Thomas Gelf
parent d56ba2ed94
commit 1854763790
1 changed files with 7 additions and 0 deletions

View File

@ -330,7 +330,14 @@ input[type=text], input[type=button], select, select option, textarea {
} }
form ul.form-errors { form ul.form-errors {
list-style-type: none;
margin-bottom: 0.5em; margin-bottom: 0.5em;
padding: 0;
ul.errors {
list-style-type: none;
padding: 0;
}
ul.errors li { ul.errors li {
background: @color-critical; background: @color-critical;