pagetop/extensions/pagetop-bootsier/assets/adminlte-4.0.0/scss/_table.scss
Manuel Cillero 1bd97d5705 (bootsier): Añade AdminLTE 4 y Bootstrap Icons
Integra AdminLTE 4.0.0 (SCSS y JS), Bootstrap Icons 1.13.1 y las fuentes
Source Sans 3 VF; reorganiza los SCSS del tema con la nueva estructura
de *pagetop-build*.
2026-06-14 21:25:52 +02:00

67 lines
1.2 KiB
SCSS

//
// Component: Table
//
.table {
&:not(.table-dark) {
color: inherit;
}
// fixed table head
// Uses Bootstrap CSS variables so the sticky header follows light/dark mode
// automatically. Fixes #6026.
&.table-head-fixed {
thead tr:nth-child(1) th {
position: sticky;
top: 0;
z-index: 10;
background-color: var(--bs-body-bg, #{$white});
border-bottom: 0;
box-shadow: inset 0 1px 0 var(--bs-border-color, #{$table-border-color}), inset 0 -1px 0 var(--bs-border-color, #{$table-border-color});
}
}
// no border
&.no-border {
&,
td,
th {
border: 0;
}
}
// .text-center in tables
&.text-center {
&,
td,
th {
text-align: center;
}
}
&.table-valign-middle {
thead > tr > th,
thead > tr > td,
tbody > tr > th,
tbody > tr > td {
vertical-align: middle;
}
}
.card-body.p-0 & {
thead > tr > th,
thead > tr > td,
tfoot > tr > th,
tfoot > tr > td,
tbody > tr > th,
tbody > tr > td {
&:first-of-type {
padding-left: map-get($spacers, 4);
}
&:last-of-type {
padding-right: map-get($spacers, 4);
}
}
}
}