straight port of _path.scss