[ui] add custom styling for valid/invalid date/time forms