Simplifying closing of off canvas submenus

Simplifying closing of off canvas submenus. This is much cleaner.
Replaced #fff with $white

Replaced #fff with $white and moved $white and $black definition to
framework.