You may want to look at a pair of soft shell pants, I personally wear a pair of marmot tarn soft shell pants with a pair of riding shorts underneath or a pair of sugoi tights underneath when the weather is cold or really wet. The pants would be fine for wearing to class.