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!

H

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!

M

you can't

 

fortunately I am colour blind !

Ninox Profile

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>
")

H

Sean,

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

Ninox Profile

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.

H

Thanks!

 

H

Thanks!

 

Ninox Profile

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.

H

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.

Ninox Profile

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

1 2
Reply