Files
overleaf-cep/services/web/frontend/stylesheets/bootstrap-5/components/table.scss
Alf Eaton 455dbbca92 Remove hover style from table header (#22121)
GitOrigin-RevId: 02253aeadcb3047ce5eef2241658cc670a0c6d53
2025-01-23 09:05:33 +00:00

54 lines
820 B
SCSS

.table-container {
flex: 1;
margin-bottom: var(--spacing-06);
background-color: var(--white);
padding: var(--spacing-04);
.table {
margin-bottom: initial;
}
}
.table {
th,
td {
a {
text-decoration: none;
}
}
tbody {
tr {
&:last-child {
td,
th {
border-bottom-width: 0;
}
}
}
}
}
.table-container-bordered {
padding: var(--spacing-04);
border-color: $table-border-color;
border-radius: var(--border-radius-base);
border-width: var(--bs-border-width);
border-style: solid;
}
.table-striped {
tr,
td,
th {
border-top-width: 0;
border-bottom-width: 0;
}
> tbody > tr:nth-of-type(#{$table-striped-order}) {
&:hover > * {
--#{$prefix}table-hover-bg: var(--bg-light-tertiary);
}
}
}