add some shadows, move 2 prefs-related classes to prefs.css