sni / Thruk

Thruk is a multibackend monitoring webinterface for Naemon, Nagios, Icinga and Shinken using the Livestatus API.
http://www.thruk.org
Other
406 stars 147 forks source link

The Quick Search (add_search) area of the menu is always the color of the header, not the navbar. #1362

Closed LaFong closed 3 months ago

LaFong commented 4 months ago

Describe the bug The Quick Search (add_search) area of the menu is always the color of the header, not the navbar.

Thruk Version 3.12, OMD 5.30

To Reproduce Steps to reproduce the behavior:

  1. Create custom theme
  2. Adjust colors in theme.css, including header-bg, navbar-bg, navbar-item-bg, forms-fg, forms-bg.
  3. Generate the css file using make
  4. Copy the css file to the active theme directory stylesheets
  5. Reload the web interface.

Expected behavior The search area ignores navbar colors, is still the color of the header. I would expect it to be the same background and foreground/text color of the rest of the navbar. The search box itself can have its colors changed via forms-fg/forms-bg, but not the area around the search box.

Screenshots Thruk_search

Desktop (please complete the following information):

sni commented 3 months ago

should be better with 9f584aeb28d6bb1208e4209881668cb54a1879e7 However, it still doesn't look good for collapsed or hover style navigations.

For now, i would not recommend to set the navigation to something else than the header background.

LaFong commented 3 months ago

Works great for me, thanks.