Sass compatibility

The Sass conversion requires that variables be defined before they are dereferenced and that nested mixins be called with the ">" operator.