Files
overleaf-cep/services/web/frontend/stylesheets/bootstrap-5/components/table.scss
Rebeka Dekany 2fe874e56d Merge pull request #22989 from overleaf/rd-split-test-list-migrate-bs5
Migrate the split test page to Bootstrap 5

GitOrigin-RevId: cac1cebc5ada032656f82428199fe60367b293f8
2025-01-23 09:06:17 +00:00

58 lines
882 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;
}
}
th[scope='row'] {
font-weight: normal;
}
}
}
}
.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);
}
}
}