css changes related to pattern state