Refactoring submain.less