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