straight port of extras.scss