extract css from map component