new entity css code refactor