From fbb004324a6e0d940d5fb9f96f45ad2d58db3c9b Mon Sep 17 00:00:00 2001 From: moodler Date: Mon, 16 Jul 2007 06:24:09 +0000 Subject: [PATCH] SOme tidying upup of CSS MDL-9628 --- grade/report/grader/lib.php | 4 +-- theme/standard/styles_layout.css | 54 ++++++++++++++------------------ 2 files changed, 25 insertions(+), 33 deletions(-) diff --git a/grade/report/grader/lib.php b/grade/report/grader/lib.php index e08d9f29cb..739a845b96 100644 --- a/grade/report/grader/lib.php +++ b/grade/report/grader/lib.php @@ -858,9 +858,9 @@ class grade_report_grader extends grade_report { function get_scalehtml() { $scalehtml = ''; if ($this->get_pref('showranges')) { - $scalehtml = ''.$this->get_lang_string('range','grade').''; + $scalehtml = ''.$this->get_lang_string('range','grades').''; foreach ($this->items as $item) { - $scalehtml .= ''. $this->get_grade_clean($item->grademin).'-'. $this->get_grade_clean($item->grademax).''; + $scalehtml .= ''. $this->get_grade_clean($item->grademin).'-'. $this->get_grade_clean($item->grademax).''; } $scalehtml .= ''; } diff --git a/theme/standard/styles_layout.css b/theme/standard/styles_layout.css index 988fb03a14..df34fb9756 100644 --- a/theme/standard/styles_layout.css +++ b/theme/standard/styles_layout.css @@ -604,6 +604,14 @@ div.phpinfo .center th { text-align: center; } +.backup-form-instances { + margin:0px 20px 0px 20px; +} +.restore-form-instances { + margin:0px 20px 0px 20px; +} + + /*** *** Header ***/ @@ -2028,37 +2036,6 @@ body#doc-contents ul { *** Grades ***/ -body#grade-index .grades { - border-width:1px; - border-style:solid; - border-collapse: separate; -} - -body#grade-index .grades td { - border-width:0 1px 0 1px; - border-style:solid; - border-collapse: collapse; -} - -body#grade-index .grades .header { - vertical-align: top; -} - -body#grade-index .grades .points, -body#grade-index .grades .percent, -body#grade-index .grades .weighted { - text-align: right; -} - -.backup-form-instances { - margin:0px 20px 0px 20px; -} -.restore-form-instances { - margin:0px 20px 0px 20px; -} - - -/* new grades CSS */ #grade-report table { border-width:1px; @@ -2128,6 +2105,20 @@ body#grade-index .grades .weighted { margin-right:auto; } +#grade-report .gradestable th.user { + text-align:left; +} + +#grade-report .gradestable td { + text-align:right; +} + +#grade-report th.range { + border-width:1px 1px 1px 1px; + border-style:solid; +} + + /* gradebook edit tree */ #grade-edit-edit_tree .gradetreebox { @@ -3671,3 +3662,4 @@ wikiadminactions { text-align:center; } + -- 2.39.5