refactor styles for admin page