361 lines
8.5 KiB
CSS
361 lines
8.5 KiB
CSS
.hockey-match-status {
|
|
position: relative;
|
|
z-index: 0;
|
|
grid-column: 1 / -1;
|
|
width: calc(100% + 36px);
|
|
min-height: 72px;
|
|
display: grid;
|
|
grid-template-columns: minmax(330px, .9fr) auto 148px minmax(230px, 1.25fr);
|
|
align-items: stretch;
|
|
gap: 0;
|
|
color: #dfe9f6;
|
|
border-bottom: 1px solid #263b53;
|
|
background:
|
|
linear-gradient(90deg, rgba(77, 156, 255, .055), transparent 34%, rgba(255, 95, 121, .04)),
|
|
rgba(8, 17, 29, .97);
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
|
|
backdrop-filter: blur(16px);
|
|
margin: 0 -18px;
|
|
}
|
|
|
|
.hockey-status-match {
|
|
min-width: 0;
|
|
display: grid;
|
|
grid-template-columns: minmax(90px, 1fr) auto minmax(90px, 1fr);
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 9px 16px;
|
|
border-right: 1px solid #21364d;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.hockey-status-team {
|
|
min-width: 0;
|
|
display: grid;
|
|
gap: 2px;
|
|
}
|
|
|
|
.hockey-status-team.is-away {
|
|
text-align: right;
|
|
}
|
|
|
|
.hockey-status-team span,
|
|
.hockey-status-clock > span {
|
|
color: #70859e;
|
|
font-size: 7px;
|
|
font-weight: 950;
|
|
letter-spacing: .12em;
|
|
}
|
|
|
|
.hockey-status-team.is-home span { color: #79b3ff; }
|
|
.hockey-status-team.is-away span { color: #ff8ba0; }
|
|
|
|
.hockey-status-team strong {
|
|
overflow: hidden;
|
|
color: #e8f0fa;
|
|
font-size: 14px;
|
|
font-weight: 900;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.hockey-status-score {
|
|
min-width: 50px;
|
|
padding: 5px 8px;
|
|
color: #f2f7fd;
|
|
border: 1px solid #2b435d;
|
|
border-radius: 9px;
|
|
background: #0d1b2b;
|
|
font-variant-numeric: tabular-nums;
|
|
text-align: center;
|
|
}
|
|
|
|
.hockey-status-score strong {
|
|
font-size: 16px;
|
|
font-weight: 950;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.hockey-match-status:not(.has-game) .hockey-status-match {
|
|
opacity: .62;
|
|
}
|
|
|
|
.hockey-status-meta {
|
|
min-width: 128px;
|
|
display: grid;
|
|
align-content: center;
|
|
gap: 1px;
|
|
padding: 9px 14px;
|
|
border-right: 1px solid #21364d;
|
|
}
|
|
|
|
.hockey-status-meta span {
|
|
overflow: hidden;
|
|
color: #6f869f;
|
|
font-size: 7px;
|
|
font-weight: 900;
|
|
text-overflow: ellipsis;
|
|
text-transform: uppercase;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.hockey-status-meta strong {
|
|
color: #d7e3f1;
|
|
font-size: 11px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.hockey-status-meta time {
|
|
color: #92a5ba;
|
|
font-size: 9px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.hockey-status-clock {
|
|
display: grid;
|
|
grid-template-columns: 1fr auto;
|
|
align-content: center;
|
|
column-gap: 8px;
|
|
padding: 8px 14px;
|
|
border-right: 1px solid #21364d;
|
|
background: rgba(72, 223, 189, .025);
|
|
}
|
|
|
|
.hockey-status-clock > span {
|
|
grid-column: 1 / -1;
|
|
color: #62bda9;
|
|
}
|
|
|
|
.hockey-status-clock strong {
|
|
color: #edf8f5;
|
|
font-size: 25px;
|
|
font-weight: 950;
|
|
font-variant-numeric: tabular-nums;
|
|
letter-spacing: .025em;
|
|
line-height: 1;
|
|
}
|
|
|
|
.hockey-status-clock small {
|
|
align-self: end;
|
|
padding-bottom: 2px;
|
|
color: #7f93aa;
|
|
font-size: 7px;
|
|
font-weight: 900;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.hockey-status-clock.is-running strong { color: #7af0d3; }
|
|
.hockey-status-clock.is-running small { color: #4fd6b6; }
|
|
.hockey-status-clock.is-paused strong { color: #dce6f1; }
|
|
|
|
.hockey-status-penalties {
|
|
min-width: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
overflow-x: auto;
|
|
padding: 5px 10px;
|
|
scrollbar-width: thin;
|
|
scrollbar-color: #36506b transparent;
|
|
}
|
|
|
|
.hockey-status-no-penalties {
|
|
width: 100%;
|
|
color: #5f748d;
|
|
font-size: 8px;
|
|
font-weight: 850;
|
|
letter-spacing: .07em;
|
|
text-align: center;
|
|
text-transform: uppercase;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.hockey-status-penalty {
|
|
--penalty-color: #889cb3;
|
|
position: relative;
|
|
min-width: 74px;
|
|
max-width: 92px;
|
|
min-height: 29px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
flex: 0 0 auto;
|
|
overflow: hidden;
|
|
padding: 4px 7px;
|
|
border: 1px solid color-mix(in srgb, var(--penalty-color) 42%, #263d56);
|
|
border-radius: 7px;
|
|
background: color-mix(in srgb, var(--penalty-color) 9%, #0c1928);
|
|
}
|
|
|
|
.hockey-status-penalty.side-home { --penalty-color: #4d9cff; }
|
|
.hockey-status-penalty.side-away { --penalty-color: #ff5f79; }
|
|
.hockey-status-penalty.is-paused { opacity: .74; }
|
|
|
|
.hockey-status-penalty-side {
|
|
width: 7px;
|
|
height: 7px;
|
|
flex: 0 0 7px;
|
|
border-radius: 50%;
|
|
background: var(--penalty-color);
|
|
box-shadow: 0 0 7px color-mix(in srgb, var(--penalty-color) 55%, transparent);
|
|
}
|
|
|
|
.hockey-status-penalty strong {
|
|
min-width: 18px;
|
|
color: #e0e9f4;
|
|
font-size: 10px;
|
|
font-weight: 950;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.hockey-status-penalty time {
|
|
margin-left: auto;
|
|
color: var(--penalty-color);
|
|
font-size: 11px;
|
|
font-weight: 950;
|
|
font-variant-numeric: tabular-nums;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
@media (max-width: 1080px) {
|
|
.hockey-match-status {
|
|
grid-template-columns: minmax(300px, 1fr) 132px 140px minmax(190px, .8fr);
|
|
}
|
|
.hockey-status-meta span { display: none; }
|
|
.hockey-status-penalty { min-width: 72px; }
|
|
}
|
|
|
|
@media (max-width: 820px) {
|
|
.hockey-match-status {
|
|
width: calc(100% + 36px);
|
|
flex: 0 0 auto;
|
|
grid-template-columns: minmax(250px, 1fr) 126px;
|
|
}
|
|
.hockey-status-match { border-bottom: 1px solid #21364d; }
|
|
.hockey-status-meta { display: none; }
|
|
.hockey-status-clock { border-bottom: 1px solid #21364d; border-right: 0; }
|
|
.hockey-status-penalties { grid-column: 1 / -1; min-height: 39px; }
|
|
}
|
|
|
|
@media (max-width: 520px) {
|
|
.hockey-match-status { grid-template-columns: 1fr 112px; }
|
|
.hockey-status-match { padding-inline: 8px; }
|
|
.hockey-status-team strong { font-size: 10px; }
|
|
.hockey-status-score { min-width: 43px; padding-inline: 5px; }
|
|
.hockey-status-clock { padding-inline: 9px; }
|
|
.hockey-status-clock strong { font-size: 18px; }
|
|
}
|
|
|
|
/* v24 — finish marker and team penalties in the compact match header */
|
|
.hockey-status-score {
|
|
display: grid;
|
|
place-items: center;
|
|
gap: 1px;
|
|
}
|
|
.hockey-status-score small {
|
|
color: #f0bd65;
|
|
font-size: 8px;
|
|
font-weight: 950;
|
|
letter-spacing: .08em;
|
|
line-height: 1;
|
|
text-transform: uppercase;
|
|
}
|
|
.hockey-status-penalty.is-team-penalty {
|
|
min-width: 84px;
|
|
}
|
|
.hockey-status-penalty.is-team-penalty strong {
|
|
min-width: 25px;
|
|
font-size: 8px;
|
|
letter-spacing: .03em;
|
|
}
|
|
|
|
/* BUILD 2026.07.20.4 — current period selector */
|
|
.hockey-match-status {
|
|
grid-template-columns: minmax(300px, .9fr) minmax(120px, auto) 132px 148px minmax(210px, 1.15fr);
|
|
}
|
|
.hockey-status-period {
|
|
min-width: 120px;
|
|
display: grid;
|
|
align-content: center;
|
|
gap: 4px;
|
|
padding: 8px 11px;
|
|
border-right: 1px solid #21364d;
|
|
background: rgba(77,156,255,.025);
|
|
}
|
|
.hockey-status-period>span {
|
|
color: #6687aa;
|
|
font-size: 7px;
|
|
font-weight: 950;
|
|
letter-spacing: .11em;
|
|
}
|
|
.hockey-status-period select {
|
|
width: 100%;
|
|
height: 30px;
|
|
padding: 0 26px 0 9px;
|
|
color: #e5eef8;
|
|
border: 1px solid #324b65;
|
|
border-radius: 8px;
|
|
outline: none;
|
|
background: #0d1c2c;
|
|
font-size: 10px;
|
|
font-weight: 900;
|
|
cursor: pointer;
|
|
}
|
|
.hockey-status-period select:focus { border-color: #4d9cff; box-shadow: 0 0 0 2px rgba(77,156,255,.12); }
|
|
.hockey-status-period select:disabled { opacity: .45; cursor: default; }
|
|
@media (max-width: 1120px) {
|
|
.hockey-match-status { grid-template-columns: minmax(280px, 1fr) 120px 118px 135px minmax(180px, .8fr); }
|
|
.hockey-status-period { min-width: 110px; padding-inline: 8px; }
|
|
}
|
|
@media (max-width: 900px) {
|
|
.hockey-match-status { grid-template-columns: minmax(250px, 1fr) 126px 118px; }
|
|
.hockey-status-meta { display: none; }
|
|
.hockey-status-period { border-bottom: 1px solid #21364d; }
|
|
.hockey-status-clock { border-bottom: 1px solid #21364d; border-right: 0; }
|
|
.hockey-status-penalties { grid-column: 1 / -1; min-height: 39px; }
|
|
}
|
|
|
|
/* BUILD 2026.07.20.8 — live strength / power-play badge */
|
|
.hockey-status-strength {
|
|
--strength-color: #7f93aa;
|
|
min-width: 108px;
|
|
min-height: 29px;
|
|
display: grid;
|
|
grid-template-columns: auto auto;
|
|
grid-template-rows: auto auto;
|
|
align-items: center;
|
|
column-gap: 7px;
|
|
flex: 0 0 auto;
|
|
padding: 4px 8px;
|
|
border: 1px solid color-mix(in srgb,var(--strength-color) 42%,#263d56);
|
|
border-radius: 7px;
|
|
background: color-mix(in srgb,var(--strength-color) 9%,#0c1928);
|
|
}
|
|
.hockey-status-strength.side-home { --strength-color: #4d9cff; }
|
|
.hockey-status-strength.side-away { --strength-color: #ff5f79; }
|
|
.hockey-status-strength.is-even { --strength-color: #7f93aa; }
|
|
.hockey-status-strength span {
|
|
color: #7089a3;
|
|
font-size: 6px;
|
|
font-weight: 950;
|
|
letter-spacing: .08em;
|
|
}
|
|
.hockey-status-strength strong {
|
|
grid-row: 1 / 3;
|
|
grid-column: 2;
|
|
color: var(--strength-color);
|
|
font-size: 15px;
|
|
font-weight: 950;
|
|
font-variant-numeric: tabular-nums;
|
|
white-space: nowrap;
|
|
}
|
|
.hockey-status-strength small {
|
|
max-width: 105px;
|
|
overflow: hidden;
|
|
color: #c7d4e2;
|
|
font-size: 7px;
|
|
font-weight: 900;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|