Separated styling from main.less.

Plus added a few unit tests for the svggraph directive.