Skip to content

Commit

Permalink
Added grade pass/fail colours. Fixed label line height in course page
Browse files Browse the repository at this point in the history
  • Loading branch information
andreabix committed Mar 10, 2008
1 parent 4272fc0 commit 3615364
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
12 changes: 12 additions & 0 deletions theme/formal_white/fw_color.css
Expand Up @@ -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
***/
Expand Down
5 changes: 5 additions & 0 deletions theme/formal_white/fw_layout.css
Expand Up @@ -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;
}
Expand Down
3 changes: 2 additions & 1 deletion theme/formal_white/styles.php
Expand Up @@ -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);

?>

0 comments on commit 3615364

Please sign in to comment.