Permalink
Browse files

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

  • Loading branch information...
andreabix
andreabix committed Mar 10, 2008
1 parent 4272fc0 commit 361536479a02ddba3cc44de342bd2065ba853fcf
Showing with 19 additions and 1 deletion.
  1. +12 −0 theme/formal_white/fw_color.css
  2. +5 −0 theme/formal_white/fw_layout.css
  3. +2 −1 theme/formal_white/styles.php
@@ -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
***/
@@ -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;
}
@@ -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.