If I remember rightly, because

    .collapsed-menu span :not(.icon),
    .collapsed-menu span :not(.icon-font) {

won't work. It's slow if you're iterating the whole DOM, but the performance hit is probably something close to zero here.