github.com/kyleu/dbaudit@v0.0.2-0.20240321155047-ff2f2c940496/client/src/style/table.css (about) 1 /* Content managed by Project Forge, see [projectforge.md] for details. */ 2 table { 3 border-collapse: separate; 4 border-spacing: 0; 5 margin: 0; 6 padding: 0; 7 text-align: left; 8 } 9 10 table tr { 11 margin: 0; 12 padding: 0; 13 } 14 15 table th label { 16 display: block; 17 } 18 19 table td, table th { 20 padding: var(--padding-small); 21 border-bottom: var(--border); 22 margin: 0; 23 min-width: 1px; 24 vertical-align: top; 25 } 26 27 table tbody tr:last-child td, table tbody tr:last-child th { 28 border-bottom: none; 29 } 30 31 table thead th { 32 margin: 0; 33 text-align: left; 34 font-weight: bold; 35 } 36 37 table.expanded { 38 width: 100%; 39 } 40 41 table .shrink { 42 width: 1px; 43 white-space: nowrap; 44 } 45 46 .min-200 > tr > th:first-child, .min-200 > thead > tr > th:first-child, .min-200 > tbody > tr > th:first-child, .min-200 > tr > td:first-child, .min-200 > thead > tr > td:first-child, .min-200 > tbody > tr > td:first-child { 47 min-width: 200px; 48 } 49 50 table .resize { 51 padding: var(--padding-small); 52 resize: horizontal; 53 overflow: hidden; 54 width: 100%; 55 } 56 57 table .noresize { 58 padding: var(--padding-small); 59 } 60 61 @supports (-moz-appearance:none) { 62 table .resize { 63 min-width: 100%; 64 } 65 } 66 67 table .tfill { 68 width: 99%; 69 border-bottom: none; 70 } 71 72 table.centered th, table.centered td { 73 text-align: center; 74 } 75 76 table.centered th.left-align, table.centered td.left-align { 77 text-align: left; 78 }