To disable obfuscation for all of you legacy classes at once, you can exploit what is said here
In short, in the legacy css file, which you are binding using CssResource bundle, put this declaration: @external .*;
All the classes in the file that has this declaration file will not be obfuscated.