diff --git a/theme/boost/scss/moodle/tables.scss b/theme/boost/scss/moodle/tables.scss index 64aec292b97..c418c58ab7a 100644 --- a/theme/boost/scss/moodle/tables.scss +++ b/theme/boost/scss/moodle/tables.scss @@ -57,6 +57,11 @@ } } } + // Allow table cells to inherit text color and background color from table rows. + tbody td { + color: inherit; + background-color: inherit; + } } table { diff --git a/theme/boost/style/moodle.css b/theme/boost/style/moodle.css index 4fb73932626..f8c80846580 100644 --- a/theme/boost/style/moodle.css +++ b/theme/boost/style/moodle.css @@ -37334,6 +37334,10 @@ img.userpicture { .generaltable tbody tr:hover td.sticky-column { background-color: rgba(var(--bs-emphasis-color-rgb), 0.075); } +.generaltable tbody td { + color: inherit; + background-color: inherit; +} table caption { font-size: 24px; diff --git a/theme/classic/style/moodle.css b/theme/classic/style/moodle.css index 767c7d8554c..13ca75b2ef0 100644 --- a/theme/classic/style/moodle.css +++ b/theme/classic/style/moodle.css @@ -37340,6 +37340,10 @@ img.userpicture { .generaltable tbody tr:hover td.sticky-column { background-color: rgba(var(--bs-emphasis-color-rgb), 0.075); } +.generaltable tbody td { + color: inherit; + background-color: inherit; +} table caption { font-size: 24px;