refactor the css for enabled