Matteo Scandolo | 035c593 | 2016-12-14 09:55:15 -0800 | [diff] [blame] | 1 | table { |
| 2 | width: 100%; |
| 3 | max-width: 100%; |
| 4 | margin-bottom: 20px; |
| 5 | border-collapse: collapse !important; |
| 6 | background: darken(grey, 20); |
| 7 | border: 1px solid darken(grey, 35); |
| 8 | |
| 9 | td, th { |
| 10 | } |
| 11 | > tbody > tr > th, |
| 12 | > tfoot > tr > th, |
| 13 | > thead > tr > td, |
| 14 | > tbody > tr > td, |
| 15 | > tfoot > tr > td { |
| 16 | padding: 8px; |
| 17 | line-height: 1.42857143; |
| 18 | vertical-align: top; |
| 19 | border-top: 1px solid #ddd; |
| 20 | } |
| 21 | > thead > tr > th { |
| 22 | vertical-align: bottom; |
| 23 | border-bottom: 2px solid #ddd; |
| 24 | text-align: left; |
| 25 | padding: 8px; |
| 26 | } |
| 27 | > caption + thead > tr:first-child > th, |
| 28 | > colgroup + thead > tr:first-child > th, |
| 29 | > thead:first-child > tr:first-child > th, |
| 30 | > caption + thead > tr:first-child > td, |
| 31 | > colgroup + thead > tr:first-child > td, |
| 32 | > thead:first-child > tr:first-child > td { |
| 33 | border-top: 0; |
| 34 | } |
| 35 | > tbody + tbody { |
| 36 | border-top: 2px solid #ddd; |
| 37 | } |
| 38 | .table .table { |
| 39 | background-color: #fff; |
| 40 | } |
| 41 | } |