| 1 |
/* MA Table */ |
| 2 |
.jltma-table th { |
| 3 |
color: #fff; |
| 4 |
font-weight: bold; |
| 5 |
} |
| 6 |
|
| 7 |
.jltma-table td, |
| 8 |
.jltma-table th { |
| 9 |
padding: 10px; |
| 10 |
border: 1px solid #ccc; |
| 11 |
font-size: 18px; |
| 12 |
} |
| 13 |
|
| 14 |
table tbody > tr:nth-child(odd) > td, |
| 15 |
table tbody > tr:nth-child(odd) > th { |
| 16 |
background-color: transparent; |
| 17 |
} |
| 18 |
|
| 19 |
@media only screen and (max-device-width: 768px) { |
| 20 |
.jltma-table:not(.not-responsive) { |
| 21 |
width: 100%; |
| 22 |
} |
| 23 |
.jltma-table:not(.not-responsive), |
| 24 |
.jltma-table:not(.not-responsive) thead, |
| 25 |
.jltma-table:not(.not-responsive) tbody, |
| 26 |
.jltma-table:not(.not-responsive) th, |
| 27 |
.jltma-table:not(.not-responsive) td, |
| 28 |
.jltma-table:not(.not-responsive) tr { |
| 29 |
display: block; |
| 30 |
} |
| 31 |
.jltma-table:not(.not-responsive) thead tr { |
| 32 |
position: absolute; |
| 33 |
top: -9999px; |
| 34 |
left: -9999px; |
| 35 |
} |
| 36 |
.jltma-table:not(.not-responsive) tr { |
| 37 |
border: 1px solid #ccc; |
| 38 |
} |
| 39 |
.jltma-table:not(.not-responsive) td { |
| 40 |
border: none; |
| 41 |
border-bottom: 1px solid #eee; |
| 42 |
position: relative; |
| 43 |
padding-left: 50%; |
| 44 |
} |
| 45 |
.jltma-table:not(.not-responsive) td:before { |
| 46 |
position: absolute; |
| 47 |
top: 6px; |
| 48 |
left: 6px; |
| 49 |
width: 45%; |
| 50 |
padding-right: 10px; |
| 51 |
white-space: nowrap; |
| 52 |
content: attr(data-column); |
| 53 |
color: #000; |
| 54 |
font-weight: bold; |
| 55 |
} |
| 56 |
} |
| 57 |
/* MA Table */ |