Files
overleaf-cep/services/web/frontend/stylesheets/components/table.scss
Rebeka Dekany 3f11776ecd Remove LESS stylesheets and dependencies (#27409)
* Remove components, core and modules LESS stylesheets

* Remove variables LESS stylesheets

* Remove app LESS stylesheets

* Remove github-sync, onboarding LESS stylesheets

* Remove main-light and IEEE LESS stylesheets

* Remove Less loader configuration

* Remove bootstrap-3 entrypoint

* Rename bootstrap-5 entrypoint to bootstrap

* Remove bootstrap-5 CSS folder and move stylesheets

* Update CSS variables

* Restore and update github-sync.scss path

* Fix try-premium.scss path and fix undefined mixin error

* Restore entrypoints

* Simplify buildCssPath to always use main-style.css

* Remove less from prettier formatting scripts

* Remove less from addHook extension

* Source format

* Remove nvd3 file reference from prettierignore (equivalent of nvd3.scss)

* Remove less and less-loader

* Add SCSS files to pirates require hook

GitOrigin-RevId: bd83c79f4d6ef7305d75993959a4dc5e7714ef9c
2025-08-06 08:05:38 +00:00

72 lines
1.1 KiB
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;
}
th {
.form-label {
font-weight: normal;
}
}
}
}
.dropdown {
.dropdown-table-button-toggle {
@include action-button;
padding: var(--spacing-04);
}
}
}
.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);
}
}
}