NanoUI fixes

- Fixes #6013
- Reverts temporary fix that removed the problem formatting (#6343)
- Renames red and yellow button classes to be more self explanatory
I know CSS has some sort of inheritance system but the details currently elude me. May not be a bad thing to make a base .button class that the blue/yellow/red buttons simply change the background color of, if you know how.