Move these to their own file under graphics/ui/ and reference it from here.
Look at timetravel.less for an example of how. Once you have this file setup to pull that single less file in you won't have to many any more modifications here.