Graded Chern-Simons terms