SOme tidying upup of CSS MDL-9628
This commit is contained in:
@@ -858,9 +858,9 @@ class grade_report_grader extends grade_report {
|
||||
function get_scalehtml() {
|
||||
$scalehtml = '';
|
||||
if ($this->get_pref('showranges')) {
|
||||
$scalehtml = '<tr><td>'.$this->get_lang_string('range','grade').'</td>';
|
||||
$scalehtml = '<tr><th class="range">'.$this->get_lang_string('range','grades').'</th>';
|
||||
foreach ($this->items as $item) {
|
||||
$scalehtml .= '<td>'. $this->get_grade_clean($item->grademin).'-'. $this->get_grade_clean($item->grademax).'</td>';
|
||||
$scalehtml .= '<th class="range">'. $this->get_grade_clean($item->grademin).'-'. $this->get_grade_clean($item->grademax).'</th>';
|
||||
}
|
||||
$scalehtml .= '</tr>';
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user