Styling improvements + more CSS variables + tab animation

Animating `flex-basis` is expensive. At least, use `will-change`. Any idea how we could achieve a nice effect with only transforms? We could imagine positioning the tab below the previous tab, and slide it (`transform:translate-x`).

I would recommend to work on animations in a different patch.