[SOLVED] alert alert-danger clearfix



  • So, does anyone know where I can find the line to change for the alerts on the UPS status background color?  The "red" (or should I say light pink) sucks to read with a white text background on the pfsense-dark.



  • So no one has any idea where to modify this stupid pink (which doesn't stand out at all)?



  • Rebel Alliance Global Moderator

    Are you running the apcupsd or nut package?  I would assume those packages determine which color the alert comes up in?  Might be better to post in the packages section for the specific package you are using.

    I am not aware of pfsense supporting UPSes out of the box, AFIAK you have to add a package to get such support?



  • @LostInIgnorance:

    So no one has any idea where to modify this stupid pink (which doesn't stand out at all)?

    I found it.
    Using a browser, visit pfSense and look at the html.
    It won't take you 5 seconds to find out that de css "class" is called 'danger'.

    Knowing that, and knowing that this css class thing called 'danger' doesn't come from here /usr/local/www/css (as mentionned in the GUI), it comes from …. (bad news) : /usr/local/www/vendor/bootstrap/css/bootstrap.min.css - which explains why the unreable danger text is unreabable for all themes.

    The "danger colors" can be edited in that file. There are definitions for text, background, hover and more colors. Hint : Use Ctrl-F and 'danger' and you will find some. The hex values you will find are colors as usual.
    ( some WTF-is-a-css-file-knowledge is not a luxury here ).

    edit : dig your way through this one : https://redmine.pfsense.org/projects/pfsense



  • Thanks. The crap color was driving me crazy.