mirror of
https://github.com/moodle/moodle.git
synced 2025-08-03 08:09:47 +02:00
MDL-84647 theme_boost: Fix coloured table rows
After the Bootstrap 5 upgrade, table rows with defined text colour (using "text-muted" helper class) were not affecting the inner cells. Add a custom rule in tables.scss to avoid that behaviour.
This commit is contained in:
parent
7a318d5c85
commit
6904ae8a73
3 changed files with 13 additions and 0 deletions
|
@ -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 {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue