rewirte the css of the panel