refactors css and exludes buttons from tab highlight