Nils Diewald | 8bc7e41 | 2015-03-19 22:08:27 +0000 | [diff] [blame] | 1 | div.matchinfo { |
| 2 | position: relative; |
| 3 | width: 100%; |
| 4 | height: auto; |
| 5 | font-size: 10pt; |
| 6 | } |
| 7 | |
| 8 | div.matchinfo div.matchtable { |
| 9 | z-index: 20; |
| 10 | margin-left: 122pt; |
| 11 | overflow-x: scroll; |
| 12 | overflow-y: visible; |
| 13 | width: auto; |
| 14 | } |
| 15 | |
| 16 | div.matchtable table { |
| 17 | border-spacing: 2pt; |
| 18 | border-collapse: separate; |
| 19 | } |
| 20 | |
| 21 | div.matchtable th { |
| 22 | color: white; |
| 23 | } |
| 24 | |
| 25 | div.matchtable thead th { |
| 26 | background-color: #ff8000; |
| 27 | } |
| 28 | |
| 29 | div.matchtable tbody th { |
| 30 | text-overflow: ellipsis; |
| 31 | } |
| 32 | |
| 33 | div.matchtable tr > th:nth-of-type(1), |
| 34 | div.matchtable tr > th:nth-of-type(2) { |
| 35 | position: absolute; |
| 36 | z-index: 80; |
| 37 | vertical-align: middle; |
| 38 | border-top: 2pt solid #ffa500; |
| 39 | margin-top: -2pt; /* minus the border*/ |
| 40 | left: 0; |
| 41 | width: 60pt; |
| 42 | padding: 0 !important; |
| 43 | } |
| 44 | |
| 45 | div.matchtable tr > th:nth-of-type(2) { |
| 46 | left: 62pt; |
| 47 | } |
| 48 | |
| 49 | div.matchtable thead tr:nth-of-type(1) > th:nth-of-type(1), |
| 50 | div.matchtable thead tr:nth-of-type(1) > th:nth-of-type(2) { |
| 51 | background-color: #ff8000; |
| 52 | height: 100%; |
| 53 | } |
| 54 | |
| 55 | tbody tr:focus { |
| 56 | outline: none; |
| 57 | } |
| 58 | |
| 59 | div.matchtable tbody tr:focus { |
| 60 | outline: 4px solid #7ba400; |
| 61 | -moz-outline-radius: 4px; |
| 62 | outline-radius: 4px; |
| 63 | } |
| 64 | |
| 65 | div.matchtable tbody tr:focus td { |
| 66 | background-color: #7ba400; |
| 67 | color: white; |
| 68 | border-color: white; |
| 69 | } |
| 70 | |
| 71 | div.matchtable tr > * { |
| 72 | padding: 0pt 6pt; |
| 73 | margin: 0; |
| 74 | line-height: 150%; |
| 75 | } |
| 76 | |
| 77 | div.matchtable tr > td { |
| 78 | background-color: #ffd080; |
| 79 | white-space: nowrap; |
| 80 | vertical-align: top; |
| 81 | text-align: center; |
| 82 | } |
| 83 | |
| 84 | div.matchtable tr:nth-child(odd) > td { |
| 85 | background-color: #f4eebb; |
| 86 | } |