diff --git a/question/classes/local/bank/view.php b/question/classes/local/bank/view.php index 8915f66da56..558e7edb874 100644 --- a/question/classes/local/bank/view.php +++ b/question/classes/local/bank/view.php @@ -1328,7 +1328,7 @@ class view { // Start of the table. echo \html_writer::start_tag('table', [ 'id' => 'categoryquestions', - 'class' => 'question-bank-table table generaltable', + 'class' => 'question-bank-table table table-hover table-striped generaltable', 'data-defaultsort' => json_encode($this->sort), ]); diff --git a/theme/boost/scss/moodle/question.scss b/theme/boost/scss/moodle/question.scss index 3fcfabb1b10..a3b47c76d0f 100644 --- a/theme/boost/scss/moodle/question.scss +++ b/theme/boost/scss/moodle/question.scss @@ -161,7 +161,7 @@ table.question-bank-table { } & > tbody > tr.r1 { - background-color: $table-accent-bg; + background-color: $table-striped-bg; } &.generaltable > tbody > tr.highlight.firstrow td { diff --git a/theme/boost/style/moodle.css b/theme/boost/style/moodle.css index 4c7927111cb..4a31934c2cd 100644 --- a/theme/boost/style/moodle.css +++ b/theme/boost/style/moodle.css @@ -33885,7 +33885,7 @@ table.question-bank-table th { text-align: left; } table.question-bank-table > tbody > tr.r1 { - background-color: transparent; + background-color: rgba(var(--bs-emphasis-color-rgb), 0.03); } table.question-bank-table.generaltable > tbody > tr.highlight.firstrow td { border-top: 3px solid #008196; diff --git a/theme/classic/style/moodle.css b/theme/classic/style/moodle.css index d5897922a6d..06a28e8e193 100644 --- a/theme/classic/style/moodle.css +++ b/theme/classic/style/moodle.css @@ -33885,7 +33885,7 @@ table.question-bank-table th { text-align: left; } table.question-bank-table > tbody > tr.r1 { - background-color: transparent; + background-color: rgba(var(--bs-emphasis-color-rgb), 0.03); } table.question-bank-table.generaltable > tbody > tr.highlight.firstrow td { border-top: 3px solid #008196;