Move show labels on hover to a style rule