0

How do you get rid of the obnoxious background color in Ninox. That purple sucks. I am still using the older version because of it. Why not make it adjustable? Please!

How do you get rid of the obnoxious background color in Ninox. That purple sucks. I am still using the older version because of it. Why not make it adjustable? Please!

11 replies

null
    • Mel_Charles
    • 3 yrs ago
    • Reported - view

    you can't

     

    fortunately I am colour blind !

    • Sean
    • 3 yrs ago
    • Reported - view

    You can use CSS in a Formula field to change the colors. This changes the side bar color to grey...

     

    html("
    <style>
    .HudContainer_root{background-color: grey;}
    </style>
    ")

    • Herb
    • 3 yrs ago
    • Reported - view

    Sean,

    I don't know where to place that formula, I tried it but it didn't work.  I appreciate the effort.

    • Sean
    • 3 yrs ago
    • Reported - view

    Herb,

    It goes in a Formula field on your Form view and you can hide it. When I get a chance, I'll post the other CSS classes that you'll want to change.

    • Herb
    • 3 yrs ago
    • Reported - view

    Thanks!

    • Herb
    • 3 yrs ago
    • Reported - view

    Thanks!

    • Sean
    • 3 yrs ago
    • Reported - view

    Ok, I want to point out that this only works when you are working with one of your tables in your database and the Form view is active. It does not work for Table view (your database name), "Find" or "Calendar". Also, you can't hide the field using "Display field only, if:", you need to set the background color to match the background color of your form and set the "Label position" to "Hidden". Here is the code...

     

    html("
    <style>
    .HudContainer_root{background-color: YourColor;}
    .header{background-color: YourColor;}
    .nav-item.selected{background-color: YourColor;}
    .nav-item:hover{background-color: YourColor;}
    </style>
    ")

     

    I set up a table for selecting the colors dynamically using a Color field and a Formula field so I could see the value, but you could just use the 4 Color fields. Here is the code if you do that...

     

    html("
    <style>
    .HudContainer_root{background-color: " + text(ColorField1) + ";}
    .header{background-color: " + text(ColorField2) + ";}
    .nav-item.selected{background-color: " + text(ColorField3) + ";}
    .nav-item:hover{background-color: " + text(ColorField4) + ";}
    </style>
    ")

     

    If you have more than one table, I would create a user defined function in "Global script definitions" and use the function name in a Formula field in each of your tables. That way, you only have to change the colors in one location if you decide it's time for a change.

    • Herb
    • 3 yrs ago
    • Reported - view

    Thanks for the information, but I am at a loss here as to where this information actually goes. I tried it in a table of mine in the trigger on start and trigger after update but it doesn't seem to make a difference.  Forgive my ignorance, but I'm not sure where to plug in this formula.  Thanks again for taking the time to answer my queery.

    • Sean
    • 3 yrs ago
    • Reported - view

    FORMULA FIELD. It is the first field you can select from "Create field"

    • Peter
    • Peter.4
    • 2 yrs ago
    • Reported - view

    Hi I am also very interested in getting rid of the blue/purple color but since I am an absolute novice I would very much appreciate if either of you or someone could write exactly how this is done. Thanks in advance! Colors are important! :-) 

    • Nick
    • 2 yrs ago
    • Reported - view

    Great! Thanks Sean for sharing.

Content aside

  • 2 yrs agoLast active
  • 11Replies
  • 1436Views