icon mixin updated with contional before/after