--- 1/course_overview/renderer.php	2013-05-30 15:09:41.000000000 +0300
+++ 2/course_overview/renderer.php	2013-06-05 13:19:01.426979991 +0300
@@ -106,6 +106,9 @@
 
             // No need to pass title through s() here as it will be done automatically by html_writer.
             $attributes = array('title' => $course->fullname);
+            if (empty($course->visible)) {
+                $attributes['class'] = 'dimmed';
+            }
             if ($course->id > 0) {
                 $courseurl = new moodle_url('/course/view.php', array('id' => $course->id));
                 $coursefullname = format_string($course->fullname, true, $course->id);

