Detect if some input is empty and add some styles