MDL-86558 mod_quiz: Fix styles for sticky columns
Also remove the duplicate '.table' class applied on the table.
This commit is contained in:
@@ -161,7 +161,7 @@ class quiz_overview_report extends attempts_report {
|
||||
}
|
||||
|
||||
$this->set_up_table_columns($table, $columns, $headers, $this->get_base_url(), $options, false);
|
||||
$table->set_attribute('class', 'table generaltable generalbox grades');
|
||||
$table->set_attribute('class', 'generaltable generalbox grades');
|
||||
|
||||
$table->out($options->pagesize, true);
|
||||
|
||||
|
||||
@@ -306,6 +306,12 @@ body.path-mod-quiz table tbody tr.gradedattempt > td.sticky-column {
|
||||
background-color: #d9edf7;
|
||||
}
|
||||
|
||||
body.path-mod-quiz table tbody tr > td.sticky-column,
|
||||
body.path-mod-quiz table thead tr > th.sticky-column,
|
||||
body.path-mod-quiz table tbody tr:not(.gradedattempt):hover td.sticky-column {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
/** Mod quiz summary **/
|
||||
#page-mod-quiz-summary #content {
|
||||
text-align: center;
|
||||
|
||||
Reference in New Issue
Block a user