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