QS Pack

Tables

IDNameEmailRole
1Anna Garciaanna.garcia@example.comAdmin
2Luis Perezluis.perez@example.comEditor
3Maria Lopezmaria.lopez@example.comUser
4George Sanchezgeorge.sanchez@example.comUser
5Sofia Ruizsofia.ruiz@example.comGuest


Variable nameDefault valueDescription
--b-content-table#fffBackground color for the content table component.
--border-tablergba(0, 0, 0, .3)Border color for the table and its cells.
--b-tablepurpleBackground color for the table header.
--s-scroll.4remSize of the scrollbar for the table.
--b-scrollrgba(0, 0, 0, .6)Background color of the scrollbar thumb.
--b-scroll-activergba(0, 0, 0, .8)Background color of the scrollbar thumb when active.
--p-table-responsive.3rem 1remResponsive cell padding for .table and .table-cards inside responsive media queries.
--p-table-cards.75rem 1remDefault cell padding for .table-cards on non-responsive layouts.
--border-table-leftpurpleAccent color for the left border on card rows in .table-cards.
--bs-cardvar(--box-shadow)Box shadow used for card-style rows in .table-cards.
--text-table#000Text color for table cells in .table-cards.


CSS ClassDescription
content-tableBase class for the content table component. Sets the background, border, border-radius, max-height, overflow, and scrollbar styles.
content-table.responsive-480Responsive class for the content table component. Sets max-width for small screens. Removes the table header for smaller screens. To display the header, use the data-th attribute in the td elements.
content-table.responsive-768Responsive class for the content table component. Sets max-width for small screens. Removes the table header for smaller screens. To display the header, use the data-th attribute in the td elements.
content-table.responsive-1024Responsive class for the content table component. Sets max-width for small screens. Removes the table header for smaller screens. To display the header, use the data-th attribute in the td elements.
content-table > .tableClass for the table element within the content table component. Sets border-collapse, margin, min-width.
content-table > .table > theadClass for the table header. Sets background, color, position, top.
content-table > .table > thead > tr > thClass for table header cells. Sets border, padding, white-space.
content-table > .table > tbodyClass for the table body. Sets styling for table rows and cells, including borders and padding.
content-table > .table > tbody > tr > tdClass for table data cells. Sets border, padding, vertical-align, white-space, and border adjustments for first-child and last-child.
content-table > .table > tbody > tr > td[data-th]Class for table data cells with a data-th attribute. Used for responsive design to indicate the header of the cell.
content-table > .table-cardsCard-style table variant. Uses border-spacing for gaps between rows, applies box-shadow to rows, and adds a colored left border accent.
content-table > .table-cards > thead > trHeader row in card-style tables. Applies border-radius and box-shadow for card appearance.
content-table > .table-cards > tbody > trBody row in card-style tables. Applies border-radius and box-shadow for card appearance.
content-table > .table-cards > thead > tr > thHeader cells in card-style tables. Sets background, removes borders, applies padding and text alignment.
content-table > .table-cards > tbody > tr > tdData cells in card-style tables. Sets background, removes borders, applies padding and text alignment.
content-table > .table-cards > * > tr > *:first-childFirst cell in card rows. Adds left border accent and left border-radius for card corners.
content-table > .table-cards > * > tr > *:last-childLast cell in card rows. Adds right border-radius for card corners.