* @param usess The user session
* @param courseEnvironment the course environment
* @return The custom course css or NULL if no course css is available
*/
public static CustomCSS getCustomCourseCss(UserSession usess, CourseEnvironment courseEnvironment) {
CustomCSS customCSS = null;
CourseConfig courseConfig = courseEnvironment.getCourseConfig();
if (courseConfig.hasCustomCourseCSS()) {
// Notify the current tab that it should load a custom CSS
VFSContainer courseContainer = courseEnvironment.getCourseFolderContainer();
customCSS = new CustomCSS(courseContainer, courseConfig.getCssLayoutRef(), usess);
}
return customCSS;
}