Files to look at:
How to customize required, optional and invalid editor styles via CSS
This sample demonstrates how to define the required, normal (optional) and invalid styles of DevExpress editors by modifying specific service DevExpress CSS classes. Note that overriding the DevExpress CSS classes shown in this example affects the appearance of all DevExpress editors on the page regardless of the applied DevExpress Theme.