Precompile events css