Porting @particija's changes to SCSS.