Files

217 lines
3.8 KiB
CSS

.streamPopover {
width: 280px;
}
.vodGrid {
display: grid;
grid-template-columns: auto 1fr auto;
gap: var(--s-1) var(--s-2);
align-items: center;
font-size: var(--font-xs);
white-space: nowrap;
}
.vodGrid a {
display: grid;
grid-template-columns: subgrid;
grid-column: 1 / -1;
align-items: center;
}
.vodUser {
display: flex;
align-items: center;
gap: var(--s-2);
}
.vodTeamName {
overflow: hidden;
text-overflow: ellipsis;
min-width: 0;
}
.matchHeader {
position: absolute;
display: flex;
justify-content: space-between;
width: var(--match-width);
margin-block-start: calc(var(--selector-size-xs) * -1);
}
.matchHeaderBox {
background-color: var(--color-bg-higher);
padding: 0 var(--s-1);
height: var(--selector-size-xs);
display: flex;
align-items: center;
border-radius: var(--radius-selector);
font-size: var(--font-2xs) !important;
font-weight: var(--weight-semi);
color: var(--color-text);
border: 0;
}
.matchHeaderBoxButton {
height: 18.86px;
}
.matchTimer {
position: absolute;
top: 50%;
left: 0;
transform: translate(-100%, -50%);
margin-inline-start: 8px;
}
.matchTimerWarning {
background-color: var(--color-warning);
color: var(--color-text-on-light);
}
.matchTimerError {
background-color: var(--color-error);
color: var(--color-text-on-status);
}
.match {
width: var(--match-width);
min-height: var(--match-height);
max-height: var(--match-height);
border-radius: var(--radius-field);
background-color: var(--color-bg-high);
font-size: var(--font-2xs);
font-weight: var(--weight-semi);
padding: 0 var(--s-2);
display: flex;
flex-direction: column;
gap: var(--s-1);
color: var(--color-text);
justify-content: center;
transition: background-color 0.2s;
}
a.match:hover {
background-color: var(--color-bg-high);
border-radius: var(--radius-field);
}
.matchSeparator {
min-height: 2px;
max-height: 2px;
width: 100%;
background-color: var(--color-bg-higher);
}
.matchBye {
visibility: hidden;
min-height: var(--match-height);
max-height: var(--match-height);
}
.matchSeed {
color: var(--color-text-accent);
margin-inline-end: var(--s-0-5);
min-width: 15px;
max-width: 15px;
}
.matchSeedWide {
min-width: 22px;
max-width: 22px;
}
.matchTeamName {
max-width: 95px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.matchTeamNameNarrow {
max-width: 75px;
}
.matchTeamNameNarrowest {
max-width: 70px;
}
.matchScore {
margin-inline-start: auto;
}
.matchWrapper {
position: relative;
width: var(--match-width);
height: var(--match-height);
}
.matchLineContainer {
position: absolute;
top: 0;
left: 100%;
width: var(--line-width);
height: 100%;
pointer-events: none;
}
.matchLineStraight::before {
content: "";
position: absolute;
top: 50%;
left: 0;
width: 100%;
height: 2px;
background: var(--color-border);
transform: translateY(-50%);
}
.matchLineCurveDown::before,
.matchLineCurveUp::before {
content: "";
position: absolute;
top: 50%;
left: 0;
width: 50%;
height: 2px;
background: var(--color-border);
transform: translateY(-50%);
}
.matchLineCurveDown::after {
content: "";
position: absolute;
top: 50%;
left: calc(50% - 1px);
width: 2px;
height: calc(50% + var(--bracket-vertical-extend, 50px));
background: var(--color-border);
}
.matchLineCurveUp::after {
content: "";
position: absolute;
bottom: 50%;
left: calc(50% - 1px);
width: 2px;
height: calc(50% + var(--bracket-vertical-extend, 50px));
background: var(--color-border);
}
.matchLineConnectorDown {
position: absolute;
top: calc(100% + var(--bracket-vertical-extend, 50px) - 1px);
left: calc(50% - 1px);
width: calc(50% + 1px);
height: 2px;
background: var(--color-border);
}
.matchLineConnectorUp {
position: absolute;
bottom: calc(100% + var(--bracket-vertical-extend, 50px) - 1px);
left: calc(50% - 1px);
width: calc(50% + 1px);
height: 2px;
background: var(--color-border);
}