@mjsz-vbr-elements/shared 2.31.2 → 2.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/css/base/borders.css +8 -0
- package/assets/css/base/color.primary.css +17 -0
- package/assets/css/base/color.secondary.css +11 -0
- package/assets/css/base/ease.css +30 -0
- package/assets/css/base/font.css +22 -0
- package/assets/css/base/shadow.css +49 -0
- package/assets/css/base/sizes.css +21 -0
- package/assets/css/components/accordion.css +86 -0
- package/assets/css/components/avatar.css +29 -0
- package/assets/css/components/badge.css +54 -0
- package/assets/css/components/card.css +22 -0
- package/assets/css/components/countdown.css +190 -0
- package/assets/css/components/definition-list.css +69 -0
- package/assets/css/components/double-bar.css +78 -0
- package/assets/css/components/error-notice.css +26 -0
- package/assets/css/components/floating-content.css +74 -0
- package/assets/css/components/form-field.css +74 -0
- package/assets/css/components/game-center-game-data.css +91 -0
- package/assets/css/components/game-center-timeline.css +665 -0
- package/assets/css/components/game-center.css +275 -0
- package/assets/css/components/game-item.css +35 -0
- package/assets/css/components/games-timeline.css +280 -0
- package/assets/css/components/hero.css +51 -0
- package/assets/css/components/icon-button.css +30 -0
- package/assets/css/components/list.css +138 -0
- package/assets/css/components/loading-indicator.css +8 -0
- package/assets/css/components/paginator.css +63 -0
- package/assets/css/components/playoffs.css +81 -0
- package/assets/css/components/progress.css +67 -0
- package/assets/css/components/responsive-table.css +13 -0
- package/assets/css/components/standings-selector.css +79 -0
- package/assets/css/components/table.css +205 -0
- package/assets/css/components/tabs.css +111 -0
- package/assets/css/components/timezone-selector.css +19 -0
- package/assets/css/components/top-list.css +97 -0
- package/assets/css/components/typography.css +41 -0
- package/assets/css/core/normalize.css +94 -0
- package/assets/css/core/utils.css +174 -0
- package/assets/css/core.css +22 -0
- package/assets/css/theme.css +63 -0
- package/dist/icons/index.js +414 -3
- package/package.json +8 -9
- package/dist/icons/IconArrowDown.js +0 -18
- package/dist/icons/IconArrowUp.js +0 -18
- package/dist/icons/IconBroadcast.js +0 -39
- package/dist/icons/IconChange.js +0 -19
- package/dist/icons/IconHockeyPuck.js +0 -19
- package/dist/icons/IconLaunch.js +0 -18
- package/dist/icons/IconLeft.js +0 -20
- package/dist/icons/IconMenu.js +0 -18
- package/dist/icons/IconMore.js +0 -34
- package/dist/icons/IconRight.js +0 -20
- package/dist/icons/IconSheet.js +0 -28
- package/dist/icons/IconSort.js +0 -24
- package/dist/icons/IconSortAsc.js +0 -24
- package/dist/icons/IconSortDesc.js +0 -24
- package/dist/icons/IconStar.js +0 -23
- package/dist/icons/IconTimer.js +0 -19
- package/dist/icons/IconWarning.js +0 -32
- package/dist/icons/IconWhistle.js +0 -15
- package/dist/icons/IconYoutube.js +0 -21
|
@@ -0,0 +1,665 @@
|
|
|
1
|
+
@layer components.variables {
|
|
2
|
+
:where(:host) {
|
|
3
|
+
--mvw-gamecenter-home-team-identifier-color: var(--mvw-color-info);
|
|
4
|
+
--mvw-gamecenter-away-team-identifier-color: var(--mvw-color-team);
|
|
5
|
+
|
|
6
|
+
--mvw-gamecenter-card-title-color: var(--mvw-text-highlighted);
|
|
7
|
+
--mvw-gamecenter-card-secondary-color: var(--mvw-text-muted);
|
|
8
|
+
--mvw-gamecenter-card-tertiary-color: var(--mvw-text-faded);
|
|
9
|
+
--mvw-gamecenter-card-border-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-700));
|
|
10
|
+
--mvw-gamecenter-card-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));
|
|
11
|
+
|
|
12
|
+
--mvw-gamecenter-team-container-title-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));
|
|
13
|
+
|
|
14
|
+
--mvw-gamecenter-card-event-goal-border-color: light-dark(
|
|
15
|
+
var(--mvw-color-primary-700),
|
|
16
|
+
var(--mvw-color-primary-300)
|
|
17
|
+
);
|
|
18
|
+
--mvw-gamecenter-card-event-goal-bg-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-white));
|
|
19
|
+
|
|
20
|
+
--mvw-gamecenter-events-evented-person-size: var(--font-size-500);
|
|
21
|
+
--mvw-gamecenter-events-evented-person-weight: 600;
|
|
22
|
+
--mvw-gamecenter-events-assitst-list-size: var(--font-size-400);
|
|
23
|
+
--mvw-gamecenter-events-poi-list-size: var(--font-size-200);
|
|
24
|
+
--mvw-gamecenter-events-score-size: var(--font-size-500);
|
|
25
|
+
--mvw-gamecenter-events-penalty-size: var(--font-size-400);
|
|
26
|
+
--mvw-gamecenter-events-goalie-direction-size: var(--font-size-400);
|
|
27
|
+
--mvw-gamecenter-events-timeout-bg-color: var(--mvw-color-info);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@layer components {
|
|
32
|
+
:where(.gamecenter-timeline) {
|
|
33
|
+
container-name: rows;
|
|
34
|
+
container-type: inline-size;
|
|
35
|
+
|
|
36
|
+
.gamecenter-timeline-game-data {
|
|
37
|
+
.is-goal-scorers {
|
|
38
|
+
font-size: var(--font-size-200);
|
|
39
|
+
font-weight: 700;
|
|
40
|
+
line-height: var(--lineheight-200);
|
|
41
|
+
color: var(--mvw-text-muted);
|
|
42
|
+
|
|
43
|
+
span {
|
|
44
|
+
font-weight: 400;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.period-results {
|
|
49
|
+
width: 100%;
|
|
50
|
+
border-collapse: collapse;
|
|
51
|
+
|
|
52
|
+
tr:first-of-type {
|
|
53
|
+
td {
|
|
54
|
+
border-bottom: 1px solid var(--mvw-border-faded);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
td {
|
|
59
|
+
font-size: var(--font-size-500);
|
|
60
|
+
font-weight: 500;
|
|
61
|
+
color: var(--mvw-text-default);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
td:nth-child(2) {
|
|
65
|
+
font-size: var(--font-size-400);
|
|
66
|
+
text-align: left;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
span {
|
|
70
|
+
display: inline-block;
|
|
71
|
+
width: 9px;
|
|
72
|
+
height: 9px;
|
|
73
|
+
border-style: solid;
|
|
74
|
+
border-width: 1px;
|
|
75
|
+
border-radius: 50%;
|
|
76
|
+
|
|
77
|
+
&.is-home-team {
|
|
78
|
+
border-color: light-dark(
|
|
79
|
+
oklch(from var(--mvw-gamecenter-home-team-identifier-color) calc(l - 0.4) c h),
|
|
80
|
+
oklch(from var(--mvw-gamecenter-home-team-identifier-color) calc(l + 0.4) c h)
|
|
81
|
+
);
|
|
82
|
+
background-color: var(--mvw-gamecenter-home-team-identifier-color);
|
|
83
|
+
}
|
|
84
|
+
&.is-away-team {
|
|
85
|
+
border-color: light-dark(
|
|
86
|
+
oklch(from var(--mvw-gamecenter-away-team-identifier-color) calc(l - 0.4) c h),
|
|
87
|
+
oklch(from var(--mvw-gamecenter-away-team-identifier-color) calc(l + 0.4) c h)
|
|
88
|
+
);
|
|
89
|
+
background-color: var(--mvw-gamecenter-away-team-identifier-color);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.gamecenter-timeline-data-table {
|
|
96
|
+
margin-block-end: var(--size-16);
|
|
97
|
+
min-width: 0;
|
|
98
|
+
|
|
99
|
+
h3 {
|
|
100
|
+
padding: var(--size-8);
|
|
101
|
+
font-size: var(--mvw-gamecenter-team-container-title-size);
|
|
102
|
+
font-weight: 700;
|
|
103
|
+
color: var(--mvw-gamecenter-team-container-title-color);
|
|
104
|
+
|
|
105
|
+
&:before {
|
|
106
|
+
display: inline-block;
|
|
107
|
+
content: '';
|
|
108
|
+
width: var(--size-8);
|
|
109
|
+
aspect-ratio: 1;
|
|
110
|
+
background-color: transparent;
|
|
111
|
+
border: 1px solid transparent;
|
|
112
|
+
border-radius: 100%;
|
|
113
|
+
margin-inline-end: var(--size-8);
|
|
114
|
+
margin-block-end: 1px;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
&.is-home-team {
|
|
119
|
+
h3:before {
|
|
120
|
+
border-color: light-dark(
|
|
121
|
+
oklch(from var(--mvw-gamecenter-home-team-identifier-color) calc(l - 0.4) c h),
|
|
122
|
+
oklch(from var(--mvw-gamecenter-home-team-identifier-color) calc(l + 0.4) c h)
|
|
123
|
+
);
|
|
124
|
+
background-color: var(--mvw-gamecenter-home-team-identifier-color);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
&.is-away-team {
|
|
128
|
+
h3:before {
|
|
129
|
+
border-color: light-dark(
|
|
130
|
+
oklch(from var(--mvw-gamecenter-away-team-identifier-color) calc(l - 0.4) c h),
|
|
131
|
+
oklch(from var(--mvw-gamecenter-away-team-identifier-color) calc(l + 0.4) c h)
|
|
132
|
+
);
|
|
133
|
+
background-color: var(--mvw-gamecenter-away-team-identifier-color);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.gamecenter-timeline-lineups {
|
|
139
|
+
margin-block-start: var(--size-16);
|
|
140
|
+
padding-block-end: var(--size-32);
|
|
141
|
+
|
|
142
|
+
hr {
|
|
143
|
+
margin-block: var(--size-24);
|
|
144
|
+
border-top: 1px solid var(--mvw-border-faded);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.is-container {
|
|
148
|
+
display: grid;
|
|
149
|
+
gap: var(--size-32);
|
|
150
|
+
|
|
151
|
+
@container rows (width >= 768px) {
|
|
152
|
+
grid-template-columns: 1fr 1fr;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.gamecenter-timeline-lineups-lines {
|
|
157
|
+
display: grid;
|
|
158
|
+
grid-template-columns: 1fr;
|
|
159
|
+
grid-template-areas: 'ld' 'rd' 'lw' 'c' 'rw';
|
|
160
|
+
gap: var(--size-8);
|
|
161
|
+
|
|
162
|
+
&.is-away-team {
|
|
163
|
+
grid-template-areas: 'ld' 'rd' 'lw' 'c' 'rw';
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.is-ld {
|
|
167
|
+
grid-area: ld;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.is-rd {
|
|
171
|
+
grid-area: rd;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.is-lw {
|
|
175
|
+
grid-area: lw;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.is-c {
|
|
179
|
+
grid-area: c;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.is-rw {
|
|
183
|
+
grid-area: rw;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.is-gk {
|
|
187
|
+
width: 100%;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
&.is-away-team .is-player-wrapper {
|
|
191
|
+
border-inline-start: none;
|
|
192
|
+
border-inline-end: 3px solid var(--mvw-gamecenter-away-team-identifier-color);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
@container rows (width >= 768px) {
|
|
196
|
+
grid-template-columns: 1fr 1fr;
|
|
197
|
+
grid-template-areas: '. lw' 'ld lw' 'ld c' 'rd c' 'rd rw' '. rw';
|
|
198
|
+
grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr;
|
|
199
|
+
|
|
200
|
+
&.is-away-team {
|
|
201
|
+
grid-template-areas: 'lw .' 'lw ld' 'c ld' 'c rd' 'rw rd' 'rw .';
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
&:has(.is-gk) {
|
|
205
|
+
display: flex;
|
|
206
|
+
justify-content: center;
|
|
207
|
+
grid-template-columns: none;
|
|
208
|
+
grid-template-areas: none;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.is-gk {
|
|
212
|
+
width: 50%;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.gamecenter-timeline-lineups-lines-simple {
|
|
218
|
+
display: grid;
|
|
219
|
+
grid-template-columns: 1fr;
|
|
220
|
+
gap: var(--size-8);
|
|
221
|
+
|
|
222
|
+
@container rows (width >= 768px) {
|
|
223
|
+
grid-template-columns: 1fr 1fr;
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.gamecenter-timeline-lineups-lines-referees {
|
|
228
|
+
display: grid;
|
|
229
|
+
grid-template-columns: 1fr;
|
|
230
|
+
gap: var(--size-8);
|
|
231
|
+
|
|
232
|
+
@container rows (width >= 768px) {
|
|
233
|
+
grid-template-columns: 1fr 1fr 1fr 1fr;
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.is-official-person-container {
|
|
238
|
+
display: grid;
|
|
239
|
+
grid-template-columns: 40px 1fr;
|
|
240
|
+
grid-template-areas: 'img name' 'img role';
|
|
241
|
+
align-content: start;
|
|
242
|
+
column-gap: var(--size-8);
|
|
243
|
+
padding: var(--size-12);
|
|
244
|
+
outline: 1px solid var(--mvw-gamecenter-card-border-color);
|
|
245
|
+
background-color: var(--mvw-gamecenter-card-bg-color);
|
|
246
|
+
border-radius: var(--size-8);
|
|
247
|
+
|
|
248
|
+
&.is-home-team {
|
|
249
|
+
border-inline-start: 3px solid var(--mvw-gamecenter-home-team-identifier-color);
|
|
250
|
+
}
|
|
251
|
+
&.is-away-team {
|
|
252
|
+
border-inline-end: 3px solid var(--mvw-gamecenter-away-team-identifier-color);
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
li:nth-child(1) {
|
|
256
|
+
grid-area: img;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
li:nth-child(2) {
|
|
260
|
+
grid-area: name;
|
|
261
|
+
|
|
262
|
+
font-weight: 600;
|
|
263
|
+
color: var(--mvw-text-default);
|
|
264
|
+
}
|
|
265
|
+
li:nth-child(3) {
|
|
266
|
+
grid-area: role;
|
|
267
|
+
|
|
268
|
+
align-self: center;
|
|
269
|
+
font-size: var(--font-size-200);
|
|
270
|
+
line-height: 1;
|
|
271
|
+
color: var(--mvw-gamecenter-card-tertiary-color);
|
|
272
|
+
text-transform: uppercase;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
img {
|
|
276
|
+
display: block;
|
|
277
|
+
width: 40px;
|
|
278
|
+
height: 40px;
|
|
279
|
+
border-radius: 50%;
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
.is-player-wrapper {
|
|
284
|
+
display: grid;
|
|
285
|
+
grid-template-columns: 40px auto 1fr;
|
|
286
|
+
grid-template-areas: 'img number name' 'img position name';
|
|
287
|
+
column-gap: var(--size-8);
|
|
288
|
+
padding: var(--size-12);
|
|
289
|
+
background-color: var(--mvw-gamecenter-card-bg-color);
|
|
290
|
+
border-inline-start: 3px solid var(--mvw-gamecenter-home-team-identifier-color);
|
|
291
|
+
outline: 1px solid var(--mvw-gamecenter-card-border-color);
|
|
292
|
+
border-radius: var(--size-8);
|
|
293
|
+
overflow: hidden;
|
|
294
|
+
|
|
295
|
+
li {
|
|
296
|
+
line-height: var(--font-lineheight-200);
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
li:nth-child(1) {
|
|
300
|
+
grid-area: img;
|
|
301
|
+
}
|
|
302
|
+
li:nth-child(2) {
|
|
303
|
+
grid-area: number;
|
|
304
|
+
font-style: italic;
|
|
305
|
+
color: var(--mvw-text-muted);
|
|
306
|
+
}
|
|
307
|
+
li:nth-child(3) {
|
|
308
|
+
grid-area: name;
|
|
309
|
+
font-weight: 600;
|
|
310
|
+
color: var(--mvw-text-default);
|
|
311
|
+
overflow: hidden;
|
|
312
|
+
text-overflow: ellipsis;
|
|
313
|
+
display: -webkit-box;
|
|
314
|
+
-webkit-line-clamp: 2;
|
|
315
|
+
line-clamp: 2;
|
|
316
|
+
-webkit-box-orient: vertical;
|
|
317
|
+
|
|
318
|
+
ul {
|
|
319
|
+
display: inline-flex;
|
|
320
|
+
gap: var(--size-2);
|
|
321
|
+
vertical-align: middle;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
svg {
|
|
325
|
+
display: block;
|
|
326
|
+
padding: var(--size-4);
|
|
327
|
+
width: 20px;
|
|
328
|
+
height: 20px;
|
|
329
|
+
color: var(--mvw-color-white);
|
|
330
|
+
background-color: var(--mvw-color-live);
|
|
331
|
+
border-radius: 100%;
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
li:nth-child(4) {
|
|
335
|
+
grid-area: position;
|
|
336
|
+
align-self: center;
|
|
337
|
+
font-size: var(--font-size-200);
|
|
338
|
+
line-height: 1;
|
|
339
|
+
color: var(--mvw-gamecenter-card-tertiary-color);
|
|
340
|
+
text-transform: uppercase;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
img {
|
|
344
|
+
display: block;
|
|
345
|
+
width: 40px;
|
|
346
|
+
height: 40px;
|
|
347
|
+
border-radius: 50%;
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
/* Events */
|
|
352
|
+
.gamecenter-timeline-game-events {
|
|
353
|
+
.is-no-action {
|
|
354
|
+
padding-block: var(--size-8);
|
|
355
|
+
text-align: center;
|
|
356
|
+
color: var(--mvw-text-dimmed);
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
.is-period-header {
|
|
360
|
+
padding-block: 1rem;
|
|
361
|
+
display: grid;
|
|
362
|
+
grid-template-columns: 1fr auto 1fr;
|
|
363
|
+
grid-template-rows: auto 1fr 1px 1fr;
|
|
364
|
+
|
|
365
|
+
p {
|
|
366
|
+
grid-column: 2;
|
|
367
|
+
grid-row: 1;
|
|
368
|
+
justify-self: center;
|
|
369
|
+
margin-bottom: var(--size-4);
|
|
370
|
+
padding-inline: var(--size-8);
|
|
371
|
+
width: max-content;
|
|
372
|
+
color: var(--mvw-text-inverted);
|
|
373
|
+
font-size: var(--font-size-500);
|
|
374
|
+
font-weight: 500;
|
|
375
|
+
line-height: var(--font-lineheight-500);
|
|
376
|
+
background-color: var(--mvw-bg-inverted);
|
|
377
|
+
border-radius: 6px;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
span {
|
|
381
|
+
grid-column: 2;
|
|
382
|
+
grid-row: 2/-1;
|
|
383
|
+
|
|
384
|
+
padding-inline: var(--size-8);
|
|
385
|
+
padding-block: var(--size-4);
|
|
386
|
+
font-size: small;
|
|
387
|
+
font-weight: 500;
|
|
388
|
+
color: var(--mvw-text-muted);
|
|
389
|
+
background-color: var(--mvw-bg-elevated);
|
|
390
|
+
border-radius: var(--size-8);
|
|
391
|
+
|
|
392
|
+
svg {
|
|
393
|
+
display: inline-block;
|
|
394
|
+
width: 14px;
|
|
395
|
+
height: 14px;
|
|
396
|
+
vertical-align: sub;
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
div {
|
|
401
|
+
grid-column: 1/-1;
|
|
402
|
+
grid-row: 3;
|
|
403
|
+
background-color: var(--mvw-bg-elevated);
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
.gamecenter-timeline-game-event {
|
|
409
|
+
--columns: 0.15fr 2px 0.15fr 1fr;
|
|
410
|
+
--areas: '. . . .' 'time time time details' '. . . .';
|
|
411
|
+
|
|
412
|
+
display: grid;
|
|
413
|
+
grid-template-columns: var(--columns);
|
|
414
|
+
grid-template-rows: 0.5rem 1fr 0.5rem;
|
|
415
|
+
grid-template-areas: var(--areas);
|
|
416
|
+
gap: 0.25rem;
|
|
417
|
+
|
|
418
|
+
.is-timeline {
|
|
419
|
+
grid-column: 2/3;
|
|
420
|
+
grid-row: 1/-1;
|
|
421
|
+
background-color: var(--mvw-bg-accented);
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
.is-details-container {
|
|
425
|
+
grid-area: details;
|
|
426
|
+
|
|
427
|
+
display: grid;
|
|
428
|
+
grid-template-columns: auto 1fr;
|
|
429
|
+
grid-template-areas: 'type-icon detail-title' 'type-icon detail-list';
|
|
430
|
+
column-gap: var(--size-16);
|
|
431
|
+
padding: var(--size-16);
|
|
432
|
+
border-inline-end: 5px solid var(--mvw-gamecenter-home-team-identifier-color);
|
|
433
|
+
background-color: var(--mvw-gamecenter-card-bg-color);
|
|
434
|
+
border-radius: var(--size-8);
|
|
435
|
+
align-items: start;
|
|
436
|
+
outline: 1px solid var(--mvw-gamecenter-card-border-color);
|
|
437
|
+
|
|
438
|
+
&:not(:has(.is-details-list)) {
|
|
439
|
+
grid-template-areas: 'type-icon detail-title';
|
|
440
|
+
align-items: center;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
.is-details-title {
|
|
444
|
+
grid-area: detail-title;
|
|
445
|
+
|
|
446
|
+
font-weight: 700;
|
|
447
|
+
text-transform: uppercase;
|
|
448
|
+
color: var(--mvw-gamecenter-card-title-color);
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
.is-details-list {
|
|
452
|
+
grid-area: detail-list;
|
|
453
|
+
margin: 0;
|
|
454
|
+
padding: 0;
|
|
455
|
+
list-style: none;
|
|
456
|
+
|
|
457
|
+
.is-details-sub-title {
|
|
458
|
+
font-size: var(--font-size-400);
|
|
459
|
+
color: var(--mvw-gamecenter-card-secondary-color);
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
.is-evented-person {
|
|
463
|
+
font-weight: var(--mvw-gamecenter-events-evented-person-weight);
|
|
464
|
+
color: var(--mvw-gamecenter-card-secondary-color);
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
.is-player-number {
|
|
468
|
+
font-weight: 400;
|
|
469
|
+
font-style: italic;
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
.is-team-logo {
|
|
474
|
+
grid-area: team-logo;
|
|
475
|
+
|
|
476
|
+
display: none;
|
|
477
|
+
|
|
478
|
+
justify-self: center;
|
|
479
|
+
align-self: center;
|
|
480
|
+
|
|
481
|
+
img {
|
|
482
|
+
width: 40px;
|
|
483
|
+
height: 40px;
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
.is-event-type-icon {
|
|
488
|
+
grid-area: type-icon;
|
|
489
|
+
padding: var(--size-8);
|
|
490
|
+
border-radius: 100%;
|
|
491
|
+
|
|
492
|
+
svg {
|
|
493
|
+
display: block;
|
|
494
|
+
width: 14px;
|
|
495
|
+
height: 14px;
|
|
496
|
+
|
|
497
|
+
@container rows (width > 410px) {
|
|
498
|
+
width: 24px;
|
|
499
|
+
height: 24px;
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
&.is-penalty {
|
|
505
|
+
.is-event-type-icon {
|
|
506
|
+
color: var(--mvw-color-white);
|
|
507
|
+
background-color: var(--mvw-color-error);
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
&.is-timeout {
|
|
512
|
+
.is-event-type-icon {
|
|
513
|
+
color: var(--mvw-color-white);
|
|
514
|
+
background-color: var(--mvw-gamecenter-events-timeout-bg-color);
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
&.is-goalies {
|
|
519
|
+
.is-event-type-icon {
|
|
520
|
+
color: var(--mvw-color-black);
|
|
521
|
+
background-color: var(--mvw-color-warning);
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
&.is-penalty-shot-goal {
|
|
526
|
+
.is-event-type-icon {
|
|
527
|
+
color: var(--mvw-color-white);
|
|
528
|
+
background-color: var(--mvw-color-live);
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
&.is-penalty-shot-no-goal {
|
|
533
|
+
.is-event-type-icon {
|
|
534
|
+
color: var(--mvw-text-dimmed);
|
|
535
|
+
background-color: var(--mvw-bg-elevated);
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
&.is-goal {
|
|
540
|
+
background-color: var(--mvw-gamecenter-card-event-goal-bg-color);
|
|
541
|
+
outline-color: var(--mvw-gamecenter-card-event-goal-border-color);
|
|
542
|
+
|
|
543
|
+
.is-event-type-icon {
|
|
544
|
+
color: var(--mvw-text-inverted);
|
|
545
|
+
background-color: var(--mvw-color-live);
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
.is-details-title {
|
|
549
|
+
color: var(--mvw-text-inverted);
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
.is-evented-person {
|
|
553
|
+
color: var(--mvw-text-pale);
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
.is-assists-list {
|
|
557
|
+
font-size: var(--font-size-400);
|
|
558
|
+
/* color: var(--mvw-color-primary-400); */
|
|
559
|
+
|
|
560
|
+
span:not(:last-of-type):after {
|
|
561
|
+
content: '/';
|
|
562
|
+
margin-inline: 0.25rem;
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
.is-poi-data {
|
|
567
|
+
display: flex;
|
|
568
|
+
flex-wrap: wrap;
|
|
569
|
+
gap: var(--size-4);
|
|
570
|
+
font-size: var(--font-size-200);
|
|
571
|
+
color: var(--mvw-gamecenter-card-tertiary-color);
|
|
572
|
+
|
|
573
|
+
ul {
|
|
574
|
+
display: flex;
|
|
575
|
+
gap: var(--size-2);
|
|
576
|
+
|
|
577
|
+
li:not(:last-of-type):after {
|
|
578
|
+
content: ',';
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
.is-badge.is-invert {
|
|
584
|
+
color: var(--mvw-color-white);
|
|
585
|
+
background-color: var(--mvw-color-error);
|
|
586
|
+
}
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
@container rows (width > 410px) {
|
|
590
|
+
grid-template-columns: auto 1fr auto;
|
|
591
|
+
grid-template-areas: 'type-icon detail-title team-logo' 'type-icon detail-list team-logo';
|
|
592
|
+
|
|
593
|
+
&:not(:has(.is-details-list)) {
|
|
594
|
+
grid-template-areas: 'type-icon detail-title team-logo';
|
|
595
|
+
align-items: center;
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
.is-team-logo {
|
|
599
|
+
display: block;
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
.is-timestamp {
|
|
605
|
+
grid-area: time;
|
|
606
|
+
|
|
607
|
+
justify-self: center;
|
|
608
|
+
align-self: center;
|
|
609
|
+
|
|
610
|
+
p {
|
|
611
|
+
margin: 0;
|
|
612
|
+
padding-inline: var(--size-8);
|
|
613
|
+
width: max-content;
|
|
614
|
+
color: var(--mvw-text-inverted);
|
|
615
|
+
font-size: var(--font-size-500);
|
|
616
|
+
font-weight: 500;
|
|
617
|
+
line-height: var(--font-lineheight-500);
|
|
618
|
+
background-color: var(--mvw-bg-inverted);
|
|
619
|
+
border-radius: 6px;
|
|
620
|
+
}
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
&[data-team='away'] {
|
|
624
|
+
.is-details-container {
|
|
625
|
+
border-color: var(--mvw-gamecenter-away-team-identifier-color);
|
|
626
|
+
}
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
@container rows (width > 500px) {
|
|
630
|
+
--columns: 1fr 0.15fr 2px 0.15fr 1fr;
|
|
631
|
+
--areas: '. . . . .' 'details time time time .' '. . . . .';
|
|
632
|
+
|
|
633
|
+
.is-timeline {
|
|
634
|
+
grid-column: 3/4;
|
|
635
|
+
grid-row: 1/-1;
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
&[data-team='away'] {
|
|
639
|
+
--areas: '. . . . .' '. time time time details' '. . . . .';
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
&[data-team='home'] .is-details-container {
|
|
643
|
+
grid-template-columns: auto 1fr;
|
|
644
|
+
grid-template-areas: 'team-logo detail-title type-icon' 'team-logo detail-list type-icon';
|
|
645
|
+
|
|
646
|
+
&:not(:has(.is-details-list)) {
|
|
647
|
+
grid-template-areas: 'team-logo detail-title type-icon';
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
border-inline-end: none;
|
|
651
|
+
border-inline-start: 5px solid var(--mvw-gamecenter-home-team-identifier-color);
|
|
652
|
+
|
|
653
|
+
.is-details-list,
|
|
654
|
+
.is-details-title {
|
|
655
|
+
text-align: right;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
.is-poi-data {
|
|
659
|
+
justify-content: flex-end;
|
|
660
|
+
}
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
}
|