Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    [SOLVED] alert alert-danger clearfix

    Scheduled Pinned Locked Moved webGUI
    5 Posts 3 Posters 1.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      LostInIgnorance
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • L
        LostInIgnorance
        last edited by

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

        Captures.PNG
        Captures.PNG_thumb

        1 Reply Last reply Reply Quote 0
        • johnpozJ
          johnpoz LAYER 8 Global Moderator
          last edited by

          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?

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 24.11 | Lab VMs 2.8, 24.11

          1 Reply Last reply Reply Quote 0
          • GertjanG
            Gertjan
            last edited by

            @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

            No "help me" PM's please. Use the forum, the community will thank you.
            Edit : and where are the logs ??

            1 Reply Last reply Reply Quote 0
            • L
              LostInIgnorance
              last edited by

              Thanks. The crap color was driving me crazy.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.