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

    Custom Theming Issue

    Scheduled Pinned Locked Moved Development
    5 Posts 4 Posters 1.8k 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.
    • M Offline
      Maverick0984
      last edited by

      A while back I created some simple custom themes based on a modified default pfsense_ng theme.  The idea was different colors to better reflect environments in which they were serving.  Red = Prod, Green = Test, Blue = Test1, etc etc

      I was never able to fully modify the following though:

      Any ideas?  I know it's around the nifty corners code, but nothing seems to actually change it.  I thought I got it inside of 'bottom-loader.js' based on the call to Rounded() but the code is commented out.

      1 Reply Last reply Reply Quote 0
      • K Offline
        kelsen
        last edited by

        change the $nifty_redbox = "#****" color on /usr/local/www/guiconfig.inc

        1 Reply Last reply Reply Quote 0
        • ? This user is from outside of this forum
          Guest
          last edited by

          good idea.
          Maverick, can you upload your green theme?

          1 Reply Last reply Reply Quote 0
          • jdillardJ Offline
            jdillard
            last edited by

            @kelsen:

            change the $nifty_redbox = "#****" color on /usr/local/www/guiconfig.inc

            This is correct, but keep in mind that that value changes the color on all themes.

            1 Reply Last reply Reply Quote 0
            • jdillardJ Offline
              jdillard
              last edited by

              You can also use the following in the theme's all.css:

              .ra1, .ra2, .ra3, .ra4 { background-color:#e2e2e2 !important; }
              

              and have it only change the border for that specific theme.

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