![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/app/design/frontend/Cnc/default/web/scss/common/ |
// ============================================== // TABLES // ============================================== // // Default table // _____________________________________________ table { width: 100%; thead + tbody { th { background: none; font-weight: bold; } } tr.array-spacing { td { padding: 4px 10px; } } th, tr, td { border: 1px solid $c-grey; padding: 10px; } th { background: $c-grey; font-weight: bold; } // Table without border &.no-border { th, tr, td { border: none; } tbody { tr:nth-child(even) { th, td { background: lighten($c-grey, 8%); } } } } } // // Data table common // _____________________________________________ table.data { &.table { .table-caption { @extend .visually-hidden; } } // Totals &.totals, &.table-totals{ width: 100%; tr, th, td { background: none; border: none; } tr { display: flex; padding: 0; &.sub.excl th { flex-direction: row; span + span { margin-left: 5px; } } th, td { display: flex; flex-direction: column; padding: 6px 0; text-align: left; line-height: 1.4; } th { flex: 2; align-items: flex-start; .value { font-size: 1.4rem; font-weight: normal; width: 100%; } } td { flex: 1; align-items: flex-end; padding-left: 10px; } &.grand.totals { th, td { padding: 10px 0; border-top: 1px solid lighten($c-black, 80%); @include breakpoint(lg) { padding: 20px 0; } } } } // Hide totals including taxes and vat .totals.incl, .totals-tax{ @extend .visually-hidden; } } }