mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
MDL-47839 core_grades: Minor styling improvements to setup/user report
This commit is contained in:
parent
837862579e
commit
f2823ec4bc
@ -837,7 +837,7 @@ class grade_edit_tree_column_select extends grade_edit_tree_column {
|
||||
$selectnone = new action_link(new moodle_url('#'), get_string('none'), new component_action('click', 'togglecheckboxes', array('eid' => $params['eid'], 'check' => false)));
|
||||
|
||||
$categorycell = parent::get_category_cell($category, $levelclass, $params);
|
||||
$categorycell->text = $OUTPUT->render($selectall) . '<br />' . $OUTPUT->render($selectnone);
|
||||
$categorycell->text = $OUTPUT->render($selectall) . ' / ' . $OUTPUT->render($selectnone);
|
||||
return $categorycell;
|
||||
}
|
||||
|
||||
|
@ -44,10 +44,6 @@
|
||||
.path-grade-edit-tree .setup-grades.generaltable .leveleven {
|
||||
background-color: #fafafa;
|
||||
}
|
||||
.path-grade-edit-tree .setup-grades.generaltable tbody tr:hover > td,
|
||||
.path-grade-edit-tree .setup-grades.generaltable tbody tr:hover > th {
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
.path-grade-edit-tree .setup-grades .column-weight.level3 {
|
||||
padding-left: 37px;
|
||||
}
|
||||
@ -245,8 +241,8 @@
|
||||
}
|
||||
|
||||
.path-grade-edit-tree table.setup-grades .gradeitemdescription {
|
||||
padding-left: 24px;
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/** User report **/
|
||||
@ -259,10 +255,6 @@
|
||||
.path-grade-report-user .user-grade.generaltable .leveleven {
|
||||
background-color: #fafafa;
|
||||
}
|
||||
.path-grade-report-user .user-grade.generaltable tbody tr:hover > td,
|
||||
.path-grade-report-user .user-grade.generaltable tbody tr:hover > th {
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
|
||||
.has_dock.path-grade-report-grader .gradeparent .sideonly.floating > .cell,
|
||||
.has_dock.path-grade-report-grader .gradeparent .sideonly.floating > .cell,
|
||||
|
@ -233,6 +233,9 @@
|
||||
|
||||
// Set up grades layout.
|
||||
.path-grade-edit-tree .setup-grades {
|
||||
h4 {
|
||||
margin: 0;
|
||||
}
|
||||
.column-rowspan {
|
||||
padding: 0;
|
||||
width: 24px;
|
||||
@ -257,7 +260,12 @@
|
||||
.emptyrow {
|
||||
display: none;
|
||||
}
|
||||
.gradeitemdescription {
|
||||
font-weight: normal;
|
||||
padding-left: 24px;
|
||||
}
|
||||
.column-weight {
|
||||
white-space: nowrap;
|
||||
&.level3 {
|
||||
padding-left: 37px;
|
||||
}
|
||||
@ -319,10 +327,6 @@
|
||||
.leveleven {
|
||||
background-color: @tableBackground;
|
||||
}
|
||||
tbody tr:hover > td,
|
||||
tbody tr:hover > th {
|
||||
background-color: @tableBackgroundHover;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -337,6 +341,10 @@
|
||||
.column-name h4 img.icon {
|
||||
padding-left: 4px;
|
||||
}
|
||||
.gradeitemdescription {
|
||||
padding-left: 0;
|
||||
padding-right: 24px;
|
||||
}
|
||||
.column-weight {
|
||||
&.level3 {
|
||||
padding-left: 0;
|
||||
@ -412,15 +420,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
.path-grade-edit-tree table.setup-grades .column-weight {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.path-grade-edit-tree table.setup-grades .gradeitemdescription {
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/**
|
||||
* Grader report.
|
||||
*/
|
||||
@ -456,10 +455,6 @@
|
||||
.leveleven {
|
||||
background-color: @tableBackground;
|
||||
}
|
||||
tbody tr:hover > td,
|
||||
tbody tr:hover > th {
|
||||
background-color: @tableBackgroundHover;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user