blob: faca77c3fe587f2a800829498765f3e80dfae71f [file] [log] [blame]
Nils Diewald6e43ffd2015-03-25 18:55:39 +00001/**
2 * Table view
3 */
Nils Diewald8bc7e412015-03-19 22:08:27 +00004div.matchinfo {
5 position: relative;
6 width: 100%;
7 height: auto;
8 font-size: 10pt;
9}
10
11div.matchinfo div.matchtable {
12 z-index: 20;
13 margin-left: 122pt;
Nils Diewald6e43ffd2015-03-25 18:55:39 +000014 overflow-x: auto;
Nils Diewald8bc7e412015-03-19 22:08:27 +000015 overflow-y: visible;
16 width: auto;
17}
18
19div.matchtable table {
Nils Diewald6e43ffd2015-03-25 18:55:39 +000020 display: table;
Nils Diewald8bc7e412015-03-19 22:08:27 +000021 border-spacing: 2pt;
22 border-collapse: separate;
23}
24
25div.matchtable th {
26 color: white;
27}
28
Nils Diewald6e43ffd2015-03-25 18:55:39 +000029div.matchtable thead th,
30div.matchinfo > p {
Nils Diewald8bc7e412015-03-19 22:08:27 +000031 background-color: #ff8000;
32}
33
34div.matchtable tbody th {
Nils Diewalda297f062015-04-02 00:23:46 +000035 overflow:hidden;
Nils Diewald8bc7e412015-03-19 22:08:27 +000036 text-overflow: ellipsis;
37}
38
39div.matchtable tr > th:nth-of-type(1),
40div.matchtable tr > th:nth-of-type(2) {
41 position: absolute;
42 z-index: 80;
43 vertical-align: middle;
Nils Diewald6e43ffd2015-03-25 18:55:39 +000044 left: 0pt;
45}
46
47div.matchtable tr > th:nth-of-type(1),
48div.matchtable tr > th:nth-of-type(2),
49div.matchtree h6 > span {
50 border-top: 2pt solid #ff8000;
Nils Diewald8bc7e412015-03-19 22:08:27 +000051 width: 60pt;
52 padding: 0 !important;
53}
54
Nils Diewald6e43ffd2015-03-25 18:55:39 +000055div.matchtable tbody > tr:nth-of-type(1) > th {
56 border-top-color: transparent;
Nils Diewald8bc7e412015-03-19 22:08:27 +000057}
58
Nils Diewald6e43ffd2015-03-25 18:55:39 +000059div.matchtable tr > th:nth-of-type(2) {
60 left: 62pt;
Nils Diewald8bc7e412015-03-19 22:08:27 +000061}
62
63tbody tr:focus {
64 outline: none;
65}
66
67div.matchtable tbody tr:focus {
68 outline: 4px solid #7ba400;
69 -moz-outline-radius: 4px;
70 outline-radius: 4px;
71}
72
73div.matchtable tbody tr:focus td {
74 background-color: #7ba400;
75 color: white;
76 border-color: white;
77}
78
79div.matchtable tr > * {
80 padding: 0pt 6pt;
81 margin: 0;
82 line-height: 150%;
83}
84
85div.matchtable tr > td {
86 background-color: #ffd080;
87 white-space: nowrap;
88 vertical-align: top;
89 text-align: center;
90}
91
92div.matchtable tr:nth-child(odd) > td {
93 background-color: #f4eebb;
94}
Nils Diewald6e43ffd2015-03-25 18:55:39 +000095
96div.matchinfo > p {
97 position: relative;
98 box-sizing: border-box;
99 color: white;
100 font-size: inherit;
101 margin: 2pt 0 0 0 !important;
102 font-weight: bold;
103 width: 126pt;
104 cursor: pointer;
105 text-align: left !important;
106 padding-left: 4pt !important;
107}
108
109div.matchinfo > p:before {
110 content: '+ '; /* FontAwesome */
111}
112
113div.matchinfo > p *.menu {
114 position: absolute;
115 top: 0;
116 left: 126pt;
117 margin-top: 0;
118}
119
120div.matchinfo > p *.menu {
121 border-top-right-radius: 8px;
122}
123
124div.matchinfo > p *.menu > li:first-of-type {
125 border-top-right-radius: 5px;
126}
127
128/**
129 * Tree view
130 */
131div.matchtree {
132 position: relative;
133 overflow-x: hidden;
134 overflow-y: visible;
135 padding: 0;
136 margin-top: 1pt;
137}
138
139div.matchtree h6 {
140 display: inline;
141 font-size: inherit;
142 color: white;
143 text-align: center;
144 margin: 0;
145 padding: 0 !important;
146 float: left;
147}
148
149div.matchtree h6 span {
150 display: inline-block;
151 margin: 0;
152}
153
154div.matchtree h6 > span:nth-of-type(2),
155div.matchinfo > p {
156 margin-left: 2pt;
157}
158
159div.matchtree div {
160 overflow-x: auto;
161 margin: 2pt 2pt 2pt 126pt;
162/*
163 background-color: transparent;
164 background-color: #f4eebb;
165 background-color: #ff8000;
166*/
167 background-color: #ffd080;
168}
169
170div.matchtree > div > em {
171 display: block;
172 width: 1.5em;
173 height: 1.5em;
174 line-height: 1.2em;
175 position: absolute;
176 right: 10px;
177 top: 10px;
178 border-radius: 5px;
179 border: 2px solid white;
180 content: 'x';
181 cursor: pointer;
182 text-align: center;
183 color: white;
184 font-weight: bold;
185 font-style: normal;
186}
187
188div.matchtree > div > em:after {
189 content: 'x';
190}
191
192path.edge {
193 stroke: #ff8000;
194 stroke-width: 2px;
195 fill: none;
196}
197
198g.middle > rect {
199 stroke: #ff8000;
200 stroke-width: 2px;
201 fill: #f4eebb;
202}
203
204g.leaf > rect {
205 display: none;
206}
207
208g > text {
209 text-anchor: middle;
210 font-size: 9pt;
211}
212
213g.leaf > text {
214 font-size: 10pt;
215 overflow: visible;
216}