Also use ~ attribute selector in the mixin to avoid partial matches