Added grade pass/fail colours. Fixed label line height in course page

This commit is contained in:
andreabix
2008-03-10 15:13:34 +00:00
parent 4272fc068c
commit 361536479a
3 changed files with 19 additions and 1 deletions
+12
View File
@@ -407,6 +407,18 @@ table.minicalendar tr td.weekend {
#mod-forum-index .unread {
}
/***
*** Grade
***/
.grade-report-grader table#user-grades td.cell span.gradepass {
background-color: #C2EBBD;
}
.grade-report-grader table#user-grades td.cell span.gradefail {
background-color: #EBC4BD;
}
/***
*** User
***/
+5
View File
@@ -316,6 +316,11 @@ table.calendarmonth tr td {
line-height: 22px;
}
#course-view .section td.content ul.section.img-text li.activity.label {
line-height: 16px;
margin-bottom: 5px;
}
.coursebox .info .name {
padding-bottom: 5px;
}
+2 -1
View File
@@ -12,7 +12,8 @@
require_once("../../config.php"); // Load up the Moodle libraries
$themename = basename(dirname(__FILE__)); // Name of the folder we are in
$forceconfig = optional_param('forceconfig', '', PARAM_FILE); // Get config from this theme
$lang = optional_param('lang', '', PARAM_FILE); // Look for styles in this language
style_sheet_setup(time(), $lifetime, $themename, $forceconfig);
style_sheet_setup(time(), $lifetime, $themename, $forceconfig, $lang);
?>