Refactor LESS to use mixins

Inspired by malept's commit 542a6c9