overleaf/services/web/frontend/stylesheets/bootstrap-5/components/table.scss

51 lines
691 B
SCSS
Raw Normal View History

.table-container {
flex: 1;
margin-bottom: var(--spacing-06);
background-color: var(--white);
.table {
margin-bottom: initial;
}
}
.table {
tr {
&:last-child {
td {
border-bottom-width: 0;
}
}
}
th,
td {
a {
text-decoration: none;
}
}
}
.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-hover {
th {
&:hover {
background-color: $table-hover-bg;
}
}
}
.table-striped {
tr,
td {
border-top-width: 0;
border-bottom-width: 0;
}
}