blob: be92ddbcba08225b7c09a667e21288718d2ab380 [file] [log] [blame]
/**
* Table view
*/
div.matchinfo {
position: relative;
width: 100%;
height: auto;
font-size: 10pt;
}
div.matchinfo div.matchtable {
z-index: 20;
margin-left: 122pt;
overflow-x: auto;
overflow-y: visible;
width: auto;
}
div.matchtable table {
display: table;
border-spacing: 2pt;
border-collapse: separate;
}
div.matchtable th {
color: white;
}
div.matchtable thead th,
div.matchinfo > p {
background-color: #ff8000;
}
div.matchtable tbody th {
text-overflow: ellipsis;
}
div.matchtable tr > th:nth-of-type(1),
div.matchtable tr > th:nth-of-type(2) {
position: absolute;
z-index: 80;
vertical-align: middle;
left: 0pt;
}
div.matchtable tr > th:nth-of-type(1),
div.matchtable tr > th:nth-of-type(2),
div.matchtree h6 > span {
border-top: 2pt solid #ff8000;
width: 60pt;
padding: 0 !important;
}
div.matchtable tbody > tr:nth-of-type(1) > th {
border-top-color: transparent;
}
div.matchtable tr > th:nth-of-type(2) {
left: 62pt;
}
tbody tr:focus {
outline: none;
}
div.matchtable tbody tr:focus {
outline: 4px solid #7ba400;
-moz-outline-radius: 4px;
outline-radius: 4px;
}
div.matchtable tbody tr:focus td {
background-color: #7ba400;
color: white;
border-color: white;
}
div.matchtable tr > * {
padding: 0pt 6pt;
margin: 0;
line-height: 150%;
}
div.matchtable tr > td {
background-color: #ffd080;
white-space: nowrap;
vertical-align: top;
text-align: center;
}
div.matchtable tr:nth-child(odd) > td {
background-color: #f4eebb;
}
div.matchinfo > p {
position: relative;
box-sizing: border-box;
color: white;
font-size: inherit;
margin: 2pt 0 0 0 !important;
font-weight: bold;
width: 126pt;
cursor: pointer;
text-align: left !important;
padding-left: 4pt !important;
}
div.matchinfo > p:before {
content: '+ '; /* FontAwesome */
}
div.matchinfo > p *.menu {
position: absolute;
top: 0;
left: 126pt;
margin-top: 0;
}
div.matchinfo > p *.menu {
border-top-right-radius: 8px;
}
div.matchinfo > p *.menu > li:first-of-type {
border-top-right-radius: 5px;
}
/**
* Tree view
*/
div.matchtree {
position: relative;
overflow-x: hidden;
overflow-y: visible;
padding: 0;
margin-top: 1pt;
}
div.matchtree h6 {
display: inline;
font-size: inherit;
color: white;
text-align: center;
margin: 0;
padding: 0 !important;
float: left;
}
div.matchtree h6 span {
display: inline-block;
margin: 0;
}
div.matchtree h6 > span:nth-of-type(2),
div.matchinfo > p {
margin-left: 2pt;
}
div.matchtree div {
overflow-x: auto;
margin: 2pt 2pt 2pt 126pt;
/*
background-color: transparent;
background-color: #f4eebb;
background-color: #ff8000;
*/
background-color: #ffd080;
}
div.matchtree > div > em {
display: block;
width: 1.5em;
height: 1.5em;
line-height: 1.2em;
position: absolute;
right: 10px;
top: 10px;
border-radius: 5px;
border: 2px solid white;
content: 'x';
cursor: pointer;
text-align: center;
color: white;
font-weight: bold;
font-style: normal;
}
div.matchtree > div > em:after {
content: 'x';
}
path.edge {
stroke: #ff8000;
stroke-width: 2px;
fill: none;
}
g.middle > rect {
stroke: #ff8000;
stroke-width: 2px;
fill: #f4eebb;
}
g.leaf > rect {
display: none;
}
g > text {
text-anchor: middle;
font-size: 9pt;
}
g.leaf > text {
font-size: 10pt;
overflow: visible;
}