// ============================================================================= // TABLES (CSS) // ============================================================================= // Bigcommerce Tables // ----------------------------------------------------------------------------- // // The Bigcommerce Coding Standards, coupled with Foundation. // If any overrides / extra CSS is needed, declare it here. // // 1. If set to false, there is no outputted CSS for this component. // // ----------------------------------------------------------------------------- @if $exportCSS--tables { // 1 /*doc --- title: Tables name: tables category: Elements --- ```html_example
Table Header Table Header Totals
Content Goes Here This is longer content Donec id elit non mi porta gravida at eget metus. $10
Subtotal: $60
``` ##### Tables settings ```sass_file_example src/settings/foundation/tables/_settings.scss ``` */ .table { @include table; width: $table-width; // Fighting with Foundations use of descendent class names th.table-header--numericData, td.table-cell--numericData, { text-align: $table-numericData-textAlign; } tr:hover { background: $table-row-hover; } } .table-thead { border: $table-head-border; } .table-tfoot { border: $table-foot-border; } .table-tbody tr { border-bottom: $table-row-border; &:last-child { border-bottom: 0; } } }