After updating Icinga Web 2 to 2.7.0 via CentOS repos, I noticed couple issues with the choice of colours causing some issues with either text being invisible or control elements having ambiguous states due to their colours.
Text should be clearly visible on the appropriate elements and the controls should not be ambiguous if they are toggled or not.
First one is visible on the login page (the username field has helloworld written in it):

This is also present on textareas (the textarea has Hello world! written in it):

And on dropdowns:

The second issue relates to the toggles: which ones are enabled and which are disabled?

As a last nitpick, the primary/secondary colours for the buttons could use some love:

icinga2 --version): r2.10.5-1php --version): 7.0.27SELinux is not enabled on the server.
Hi, thanks for the report!
We seem to have overlooked our own themes. :roll_eyes:
@theFeu Please have a look at all the built-in themes and fix them if they show the same issue.
@theFeu Can you please adjust the colours of the form like the following? This way it's more consistent with the dark color style.

@flourish86 I used the same background colour as in the sidebar now, because I felt like the blue-ish colour you chose doesn't work too well with the dropdown-triangles for the selects.
The contrast is less crisp, but I think it still fits the theme :)
Edit:
The checkboxes were hard to see with the dark background, so I did make it a little lighter, as you suggested

Both of these are a big improvement over the current one. Could the toggle colouring be inverted so the state is not ambiguous (dim when off, bright when on)?
@Diftraku It's still a work in progress, I will update it over the course of the day :)
Added love to toggles, input backgrounds and buttons!

Also adapted the sidebar colours in the last commit - if there is anything I overlooked, please do tell!
@Diftraku: There is no such thing as being too nitpicky, appreciate the help in spotting inconsistencies! :)

The editor controls also need to be adjusted. Could you take care of it as well, @theFeu?

While I see this, please remember that our form styles are now encapsulated in two main classes: icinga-form (layout), icinga-controls (style)
Because the editor shouldn't require any special styles, instead it should apply to the general form style. (Since it has class icinga-controls applied to it)
@nilmerg
Made it apply to icinga-form and controls now, that ok?
Maybe, though without a PR I don't look at the code :wink: