@four-leaf-studios/rl-overlay 1.0.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.
Files changed (68) hide show
  1. package/dist/index.cjs.js +10718 -0
  2. package/dist/index.cjs.js.map +1 -0
  3. package/dist/index.esm.js +10691 -0
  4. package/dist/index.esm.js.map +1 -0
  5. package/dist/types/Overlay.d.ts +19 -0
  6. package/dist/types/Player.d.ts +7 -0
  7. package/dist/types/PlayerBoost.d.ts +8 -0
  8. package/dist/types/Replay.d.ts +3 -0
  9. package/dist/types/Scoreboard.d.ts +3 -0
  10. package/dist/types/ScoreboardGameBox.d.ts +7 -0
  11. package/dist/types/ScoreboardSeriesBox.d.ts +7 -0
  12. package/dist/types/ScoreboardTeam.d.ts +7 -0
  13. package/dist/types/StatItem.d.ts +13 -0
  14. package/dist/types/TargetBoost.d.ts +3 -0
  15. package/dist/types/TargetPlayer.d.ts +3 -0
  16. package/dist/types/TargetPlayerLocation.d.ts +7 -0
  17. package/dist/types/TargetPlayerStats.d.ts +7 -0
  18. package/dist/types/Team.d.ts +8 -0
  19. package/dist/types/Teams.d.ts +3 -0
  20. package/dist/types/Timer.d.ts +3 -0
  21. package/dist/types/context/BroadcastContext.d.ts +7 -0
  22. package/dist/types/hooks/index.d.ts +4 -0
  23. package/dist/types/hooks/useOverlayStyles.d.ts +12 -0
  24. package/dist/types/hooks/useReplay.d.ts +7 -0
  25. package/dist/types/hooks/useShowGameComponents.d.ts +2 -0
  26. package/dist/types/hooks/useTargetPlayer.d.ts +2 -0
  27. package/dist/types/index.d.ts +3 -0
  28. package/dist/types/mockBroadcast.d.ts +18 -0
  29. package/package.json +50 -0
  30. package/rollup.config.js +55 -0
  31. package/src/Overlay.tsx +100 -0
  32. package/src/Player.tsx +31 -0
  33. package/src/PlayerBoost.tsx +26 -0
  34. package/src/Replay.tsx +18 -0
  35. package/src/Scoreboard.tsx +58 -0
  36. package/src/ScoreboardGameBox.tsx +25 -0
  37. package/src/ScoreboardSeriesBox.tsx +44 -0
  38. package/src/ScoreboardTeam.tsx +39 -0
  39. package/src/StatItem.tsx +31 -0
  40. package/src/TargetBoost.tsx +63 -0
  41. package/src/TargetPlayer.tsx +56 -0
  42. package/src/TargetPlayerLocation.tsx +27 -0
  43. package/src/TargetPlayerStats.tsx +25 -0
  44. package/src/Team.tsx +45 -0
  45. package/src/Teams.tsx +13 -0
  46. package/src/Timer.tsx +24 -0
  47. package/src/assets/overlay-testing-background.png +0 -0
  48. package/src/context/BroadcastContext.tsx +21 -0
  49. package/src/css/reset.css +280 -0
  50. package/src/hooks/index.ts +4 -0
  51. package/src/hooks/useOverlayStyles.ts +107 -0
  52. package/src/hooks/useReplay.ts +21 -0
  53. package/src/hooks/useShowGameComponents.ts +14 -0
  54. package/src/hooks/useTargetPlayer.ts +21 -0
  55. package/src/index.ts +3 -0
  56. package/src/types.d.ts +59 -0
  57. package/test-overlay/README.md +12 -0
  58. package/test-overlay/eslint.config.js +33 -0
  59. package/test-overlay/index.html +13 -0
  60. package/test-overlay/package.json +27 -0
  61. package/test-overlay/public/mock-css.css +733 -0
  62. package/test-overlay/public/vite.svg +1 -0
  63. package/test-overlay/src/App.jsx +28 -0
  64. package/test-overlay/src/index.css +0 -0
  65. package/test-overlay/src/main.jsx +10 -0
  66. package/test-overlay/src/mockBroadcast.js +33 -0
  67. package/test-overlay/vite.config.js +7 -0
  68. package/tsconfig.json +21 -0
@@ -0,0 +1,733 @@
1
+ /* Whatever font you want to use */
2
+ /* latin-ext */
3
+ @font-face {
4
+ font-family: "Lato";
5
+ font-style: normal;
6
+ font-weight: 400;
7
+ font-display: swap;
8
+ src: url(https://fonts.gstatic.com/s/lato/v24/S6uyw4BMUTPHjxAwXjeu.woff2)
9
+ format("woff2");
10
+ unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
11
+ U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
12
+ U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
13
+ }
14
+ /* latin */
15
+ @font-face {
16
+ font-family: "Lato";
17
+ font-style: normal;
18
+ font-weight: 400;
19
+ font-display: swap;
20
+ src: url(https://fonts.gstatic.com/s/lato/v24/S6uyw4BMUTPHjx4wXg.woff2)
21
+ format("woff2");
22
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
23
+ U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
24
+ U+2212, U+2215, U+FEFF, U+FFFD;
25
+ }
26
+
27
+ /* Place css variables here, any colors you want to use */
28
+ .overlay {
29
+ --fallback-darker-mutual: black;
30
+ }
31
+
32
+ .main_bar {
33
+ }
34
+
35
+ .bottom_bar {
36
+ display: flex;
37
+ justify-content: center;
38
+ align-items: center;
39
+ width: 100%;
40
+ }
41
+
42
+ .scoreboard_box {
43
+ width: 785px;
44
+ height: 100px;
45
+ left: 0;
46
+ right: 0;
47
+ top: 0.5rem;
48
+ margin: auto;
49
+ position: relative;
50
+ }
51
+
52
+ .time_box {
53
+ position: absolute;
54
+ margin: auto;
55
+ left: 0;
56
+ right: 0;
57
+ width: 225px;
58
+ height: 100px;
59
+ background-color: var(--team-left-mutual);
60
+ clip-path: polygon(0 0, 100% 0, 85% 100%, 15% 100%);
61
+ z-index: 50;
62
+ display: flex;
63
+ flex-direction: column;
64
+ justify-content: center;
65
+ flex-shrink: 0;
66
+ color: var(--team-left-secondary);
67
+ text-align: center;
68
+ font-family: Lato;
69
+ font-size: 48px;
70
+ font-style: normal;
71
+ font-weight: 700;
72
+ line-height: normal;
73
+ animation: slideIn 0.5s ease-in-out;
74
+ }
75
+
76
+ .name_box {
77
+ }
78
+
79
+ .scoreboard_team_box {
80
+ position: relative;
81
+ z-index: 0;
82
+ width: 100%;
83
+ height: 100px;
84
+ padding: 0 10px;
85
+ border-radius: 5px;
86
+ box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
87
+ display: flex;
88
+ align-items: center;
89
+ gap: 10px;
90
+ transition: opacity 0.3s ease, transform 0.3s ease;
91
+
92
+ --horizontal-padding: 4.2rem;
93
+ }
94
+
95
+ .scoreboard_team_box::before {
96
+ content: "";
97
+ position: absolute;
98
+ top: 0;
99
+ left: 0;
100
+ right: 0;
101
+ bottom: 0;
102
+ background: inherit;
103
+ z-index: -1;
104
+ display: flex;
105
+ border-radius: 5px;
106
+ }
107
+
108
+ .scoreboard_team_box::after {
109
+ content: "";
110
+ position: absolute;
111
+ z-index: -1;
112
+ width: 83.5%;
113
+ height: 79px;
114
+ flex-shrink: 0;
115
+ border-radius: 5px;
116
+ box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
117
+ display: flex;
118
+ align-items: center;
119
+ gap: 60px;
120
+ overflow: hidden;
121
+ }
122
+
123
+ .left_scoreboard_team_box {
124
+ left: 0;
125
+ justify-content: flex-start;
126
+ padding-left: var(--horizontal-padding);
127
+ background-color: var(--team-left-primary);
128
+ }
129
+
130
+ .left_scoreboard_team_box::after {
131
+ right: 0;
132
+ background: linear-gradient(
133
+ 180deg,
134
+ var(--team-left-primary) 0%,
135
+ rgba(5, 0, 0, 0.53) 100%
136
+ );
137
+ }
138
+
139
+ .right_scoreboard_team_box {
140
+ right: 0;
141
+ justify-content: flex-end;
142
+ padding-right: var(--horizontal-padding);
143
+ background-color: var(--team-right-primary);
144
+ }
145
+
146
+ .right_scoreboard_team_box::after {
147
+ left: 0;
148
+ background: linear-gradient(
149
+ 180deg,
150
+ var(--team-right-primary) 0%,
151
+ rgba(5, 0, 0, 0.53) 100%
152
+ );
153
+ }
154
+
155
+ .name_box {
156
+ position: absolute;
157
+ bottom: -29px;
158
+ z-index: -2;
159
+ padding: 2px 10px;
160
+
161
+ font-family: Lato;
162
+ font-size: 24px;
163
+ font-weight: 800;
164
+ line-height: normal;
165
+ border-radius: 0 0 5px 5px;
166
+ background: var(--team-left-mutual);
167
+ animation: slideIn 0.5s ease-in-out;
168
+
169
+ text-overflow: ellipsis;
170
+ white-space: nowrap;
171
+ overflow: hidden;
172
+ max-width: 90%;
173
+ }
174
+ .left_name_box {
175
+ left: 0;
176
+ justify-content: flex-start;
177
+ text-align: left;
178
+ color: var(--team-left-secondary);
179
+ }
180
+
181
+ .right_name_box {
182
+ right: 0;
183
+ justify-content: flex-end;
184
+ text-align: right;
185
+ color: var(--team-right-secondary);
186
+ }
187
+
188
+ .logo_box {
189
+ height: 60%;
190
+ object-fit: contain;
191
+ padding: 0.1rem;
192
+ transition: opacity 0.3s ease, transform 0.3s ease;
193
+ }
194
+
195
+ .left_logo_box {
196
+ order: 0;
197
+ }
198
+
199
+ .right_logo_box {
200
+ order: 1;
201
+ }
202
+
203
+ .score_box {
204
+ --margin: 10%;
205
+ display: flex;
206
+ flex-direction: column;
207
+ justify-content: center;
208
+ flex-shrink: 0;
209
+ text-align: center;
210
+ text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
211
+ font-family: Lato;
212
+ font-size: 60px;
213
+ font-weight: 800;
214
+ line-height: normal;
215
+ transition: opacity 0.3s ease, transform 0.3s ease;
216
+ }
217
+
218
+ .left_score_box {
219
+ margin-left: var(--margin);
220
+ color: var(--team-left-secondary);
221
+ order: 1;
222
+ }
223
+
224
+ .right_score_box {
225
+ margin-right: var(--margin);
226
+ color: var(--team-right-secondary);
227
+ order: 0;
228
+ }
229
+
230
+ .series_box {
231
+ position: absolute;
232
+ top: -5.5rem;
233
+ width: 45px;
234
+ height: 79px;
235
+ flex-shrink: 0;
236
+ border-radius: 5px;
237
+ display: flex;
238
+ flex-direction: column;
239
+ justify-content: center;
240
+ align-items: center;
241
+ gap: 9px;
242
+ background: rgba(5, 0, 0, 0.53);
243
+ transition: opacity 0.3s ease, transform 0.3s ease;
244
+
245
+ --horizontal-padding: 0.5rem;
246
+ }
247
+
248
+ .left_series_box {
249
+ left: var(--horizontal-padding);
250
+ }
251
+
252
+ .right_series_box {
253
+ right: var(--horizontal-padding);
254
+ }
255
+
256
+ .series_score_box {
257
+ width: 80%;
258
+ max-height: 11px;
259
+ flex: 1;
260
+ flex-shrink: 0;
261
+ border-radius: 5px;
262
+ background: #fff;
263
+ order: 2;
264
+ }
265
+
266
+ .series_score_box_point {
267
+ }
268
+
269
+ .left_series_score_box_point {
270
+ background: var(--team-left-secondary);
271
+ }
272
+
273
+ .right_series_score_box_point {
274
+ background: var(--team-right-secondary);
275
+ }
276
+
277
+ .series_score_box_empty {
278
+ order: 1;
279
+ border-radius: 5px;
280
+ background: rgba(217, 217, 217, 0.32);
281
+ }
282
+
283
+ .left_series_score_box_empty {
284
+ }
285
+
286
+ .right_series_score_box_empty {
287
+ }
288
+
289
+ .game_box {
290
+ display: none;
291
+ }
292
+
293
+ /* Replay Section */
294
+ .replay_box {
295
+ position: absolute;
296
+ margin: auto;
297
+ left: 0px;
298
+ right: 0px;
299
+ z-index: 500;
300
+ width: 449px;
301
+ height: 101px;
302
+ background-color: #1d1d21;
303
+ clip-path: polygon(0 0, 100% 0, 85% 100%, 15% 100%);
304
+
305
+ display: flex;
306
+ justify-content: center;
307
+ align-items: center;
308
+ gap: 12px;
309
+ }
310
+
311
+ .replay_box::after {
312
+ content: "";
313
+ width: 20px;
314
+ height: 20px;
315
+ background-color: rgb(255, 79, 79);
316
+ border-radius: 50%;
317
+ clip-path: circle(50% at 50% 50%);
318
+ }
319
+
320
+ .replay_text {
321
+ color: rgb(255, 79, 79);
322
+ text-align: center;
323
+ font-family: Lato;
324
+ font-size: 48px;
325
+ font-style: normal;
326
+ font-weight: 800;
327
+ line-height: normal;
328
+ }
329
+
330
+ .team_box {
331
+ position: absolute;
332
+ top: 49px;
333
+ display: flex;
334
+ width: fit-content;
335
+ flex-direction: column;
336
+ justify-content: flex-start;
337
+ gap: 5px;
338
+ transition: opacity 0.3s ease, transform 0.3s ease;
339
+ }
340
+
341
+ .left_team_box {
342
+ align-items: flex-start;
343
+ left: -10px;
344
+ }
345
+
346
+ .right_team_box {
347
+ right: -10px;
348
+ }
349
+
350
+ .player_box {
351
+ position: relative;
352
+ display: grid;
353
+ grid-template-columns: 1fr min-content;
354
+ gap: 0.5rem;
355
+ min-width: 347px;
356
+ border-radius: 5px;
357
+ background: var(--team-left-mutual);
358
+ padding: var(--padding);
359
+ transition: opacity 0.3s ease, transform 0.3s ease;
360
+ padding: 0.2rem 1rem;
361
+ }
362
+
363
+ .left_player_box {
364
+ }
365
+ .right_player_box {
366
+ }
367
+
368
+ .player_name {
369
+ font-family: Lato;
370
+ font-size: 24px;
371
+ font-weight: 800;
372
+ line-height: normal;
373
+ padding: var(--padding);
374
+ text-transform: uppercase;
375
+ text-overflow: ellipsis;
376
+ white-space: nowrap;
377
+ overflow: hidden;
378
+ max-width: 300px;
379
+ }
380
+ .left_player_name {
381
+ grid-column: 1;
382
+ grid-row: 1;
383
+ text-align: left;
384
+ }
385
+ .right_player_name {
386
+ grid-column: 2;
387
+ text-align: right;
388
+ }
389
+
390
+ .player_boost {
391
+ font-family: Lato;
392
+ font-size: 24px;
393
+ font-weight: 800;
394
+ line-height: normal;
395
+ padding: var(--padding);
396
+ text-transform: uppercase;
397
+ text-overflow: ellipsis;
398
+ white-space: nowrap;
399
+ overflow: hidden;
400
+ }
401
+ .left_player_boost {
402
+ grid-column: 2;
403
+ text-align: right;
404
+ color: var(--team-left-secondary);
405
+ }
406
+ .right_player_boost {
407
+ grid-column: 1;
408
+ text-align: left;
409
+ color: var(--team-right-secondary);
410
+ }
411
+
412
+ .boost_meter {
413
+ margin-bottom: 0.1rem;
414
+ width: 100%;
415
+ height: 6px;
416
+ background-color: var(--fallback-darker-mutual);
417
+ grid-column: -1/1;
418
+ }
419
+ .left_boost_meter {
420
+ }
421
+ .right_boost_meter {
422
+ }
423
+
424
+ .boost_meter_bar {
425
+ }
426
+ .left_boost_meter_bar {
427
+ background-color: var(--team-left-primary);
428
+ }
429
+ .right_boost_meter_bar {
430
+ background-color: var(--team-right-primary);
431
+ }
432
+
433
+ .stat_box {
434
+ position: absolute;
435
+ bottom: 0;
436
+ width: 672px;
437
+ height: 54.217px;
438
+ flex-shrink: 0;
439
+ margin-left: 52px;
440
+ margin-bottom: 34px;
441
+ display: flex;
442
+ flex-direction: column;
443
+ justify-content: space-around;
444
+ align-items: flex-start;
445
+ padding: 0.4rem;
446
+ transition: opacity 0.3s ease, transform 0.3s ease;
447
+ }
448
+
449
+ .left_stat_box {
450
+ background-color: var(--team-left-primary);
451
+ color: var(--team-left-secondary);
452
+ }
453
+
454
+ .right_stat_box {
455
+ background-color: var(--team-right-primary);
456
+ color: var(--team-right-secondary);
457
+ }
458
+
459
+ .stat_box_player {
460
+ font-family: Lato;
461
+ font-size: 24px;
462
+ font-weight: 800;
463
+ line-height: normal;
464
+ padding: var(--padding);
465
+ text-transform: uppercase;
466
+ text-overflow: ellipsis;
467
+ white-space: nowrap;
468
+ overflow: hidden;
469
+ width: 40%;
470
+ text-align: right;
471
+ }
472
+
473
+ .stat_box_statistics {
474
+ position: absolute;
475
+ right: 0;
476
+ bottom: 0;
477
+ width: 363.893px;
478
+ height: 78.522px;
479
+ flex-shrink: 0;
480
+ margin-bottom: 7.48px;
481
+ background: var(--team-left-mutual);
482
+ box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
483
+ display: flex;
484
+ justify-content: space-between;
485
+ align-items: center;
486
+ padding: 6.4px;
487
+ }
488
+
489
+ .stat_box_statistic {
490
+ flex: 1;
491
+ display: flex;
492
+ flex-direction: column;
493
+ align-items: center;
494
+ justify-content: center;
495
+ color: #fff;
496
+ text-align: center;
497
+ font-family: Lato;
498
+ font-size: 24px;
499
+ font-weight: 800;
500
+ line-height: normal;
501
+ }
502
+ .stat_box_statistic_value {
503
+ }
504
+ .stat_box_statistic_name {
505
+ order: 0;
506
+ }
507
+
508
+ .stat_box_statistic_player_id,
509
+ .stat_box_statistic_player_team,
510
+ .stat_box_statistic_player_location,
511
+ .stat_box_statistic_player_touches {
512
+ display: none;
513
+ }
514
+
515
+ .stat_box_player_boost {
516
+ transition: opacity 0.3s ease, transform 0.3s ease;
517
+ width: 100%;
518
+ }
519
+
520
+ .stat_box_player_boost .boost_meter {
521
+ display: block;
522
+ height: 9px;
523
+ width: 40%;
524
+ background: var(--team-left-mutual);
525
+ overflow: hidden;
526
+ border-radius: 2px;
527
+ }
528
+
529
+ .stat_box_player_boost .left_boost_meter_bar {
530
+ background: var(--team-left-secondary);
531
+ }
532
+
533
+ .stat_box_player_boost .right_boost_meter_bar {
534
+ background: var(--team-right-secondary);
535
+ }
536
+
537
+ .stat_box_player_boost .boost_meter,
538
+ .stat_box_player_boost .boost_meter_bar {
539
+ margin: unset;
540
+ }
541
+
542
+ /* Target Boost (the circular meter) */
543
+ .target_boost {
544
+ font-size: 3rem;
545
+ font-weight: bold;
546
+ position: absolute;
547
+ bottom: 0;
548
+ right: 0;
549
+ left: unset;
550
+ width: 200px;
551
+ height: 200px;
552
+ margin-bottom: 50px;
553
+ margin-right: 50px;
554
+ border-radius: 50%;
555
+ display: flex;
556
+ flex-direction: column;
557
+ align-items: center;
558
+ justify-content: center;
559
+ color: white;
560
+ overflow: hidden;
561
+ transition: opacity 0.3s ease, transform 0.3s ease;
562
+ }
563
+
564
+ .left_target_boost.target_boost {
565
+ color: var(--team-0-secondary);
566
+ }
567
+
568
+ .right_target_boost.target_boost {
569
+ color: var(--team-1-secondary);
570
+ }
571
+
572
+ .target_boost.entering {
573
+ animation: fadeIn 0.5s ease-in-out;
574
+ }
575
+
576
+ .target_boost.exiting {
577
+ animation: fadeOut 0.5s ease-in-out;
578
+ }
579
+
580
+ .left_target_boost {
581
+ border: 5px solid var(--team-left-mutual);
582
+ background: #07132d;
583
+ }
584
+
585
+ .right_target_boost {
586
+ border: 5px solid var(--team-left-mutual);
587
+ background: var(--team-left-mutual);
588
+ }
589
+
590
+ .target_boost_container {
591
+ width: 100%;
592
+ height: 100%;
593
+ display: flex;
594
+ flex-direction: column;
595
+ align-items: center;
596
+ justify-content: center;
597
+ border-radius: 50%;
598
+ }
599
+
600
+ .left_target_boost_container {
601
+ }
602
+
603
+ .right_target_boost_container {
604
+ }
605
+
606
+ .target_boost_meter {
607
+ position: absolute;
608
+ height: 100%;
609
+ width: 100%;
610
+ border-radius: 50%;
611
+ display: flex;
612
+ justify-content: center;
613
+ align-items: center;
614
+ transition: all 0.5s ease-in-out;
615
+ }
616
+
617
+ .left_target_boost_meter {
618
+ background: conic-gradient(
619
+ var(--team-left-primary-dark) calc(90deg * var(--target_boost) / 100),
620
+ var(--team-left-primary-light) calc(180deg * var(--target_boost) / 100),
621
+ var(--team-left-primary-light) calc(30deg * var(--target_boost) / 100),
622
+ var(--team-left-primary) calc(270deg * var(--target_boost) / 100),
623
+ var(--team-left-primary-dark) calc(360deg * var(--target_boost) / 100),
624
+ var(--fallback-darker-mutual) calc(0deg * var(--target_boost) / 100)
625
+ ) !important;
626
+ transition: all 0.5s ease-in-out;
627
+ }
628
+
629
+ .right_target_boost_meter {
630
+ background: conic-gradient(
631
+ var(--team-right-primary-dark) calc(90deg * var(--target_boost) / 100),
632
+ var(--team-right-primary-light) calc(180deg * var(--target_boost) / 100),
633
+ var(--team-right-primary-light) calc(30deg * var(--target_boost) / 100),
634
+ var(--team-right-primary) calc(270deg * var(--target_boost) / 100),
635
+ var(--team-right-primary-dark) calc(360deg * var(--target_boost) / 100),
636
+ var(--fallback-darker-mutual) calc(0deg * var(--target_boost) / 100)
637
+ ) !important;
638
+
639
+ transition: all 0.5s ease-in-out;
640
+ }
641
+
642
+ .target_boost_meter_inner {
643
+ position: absolute;
644
+ margin: auto;
645
+ width: 80%;
646
+ height: 80%;
647
+ border-radius: 50%;
648
+ z-index: 50;
649
+ }
650
+
651
+ .left_target_boost_meter_inner {
652
+ background: var(--team-left-mutual);
653
+ }
654
+
655
+ .right_target_boost_meter_inner {
656
+ background: var(--team-left-mutual);
657
+ }
658
+
659
+ .target_boost_svg {
660
+ position: absolute;
661
+ width: 100%;
662
+ height: 100%;
663
+ z-index: 500;
664
+ display: flex;
665
+ justify-content: center;
666
+ align-items: center;
667
+ }
668
+
669
+ .target_boost_svg_circle {
670
+ stroke-dasharray: 4 25%;
671
+ stroke-width: 41;
672
+ stroke-dashoffset: 18;
673
+ fill: transparent;
674
+ }
675
+
676
+ .left_target_boost_svg_circle {
677
+ stroke: var(--team-left-mutual);
678
+ }
679
+
680
+ .right_target_boost_svg_circle {
681
+ stroke: var(--team-left-mutual);
682
+ }
683
+
684
+ .target_boost_value {
685
+ position: absolute;
686
+ z-index: 500;
687
+ color: white;
688
+ }
689
+
690
+ .left_target_boost_value {
691
+ color: var(--team-left-secondary);
692
+ }
693
+
694
+ .right_target_boost_value {
695
+ color: var(--team-right-secondary);
696
+ }
697
+
698
+ /* Replay Section */
699
+ .replay_box {
700
+ position: absolute;
701
+ margin: auto;
702
+ left: 0px;
703
+ right: 0px;
704
+ z-index: 500;
705
+ width: 449px;
706
+ height: 101px;
707
+ background-color: #1d1d21;
708
+ clip-path: polygon(0 0, 100% 0, 85% 100%, 15% 100%);
709
+
710
+ display: flex;
711
+ justify-content: center;
712
+ align-items: center;
713
+ gap: 12px;
714
+ }
715
+
716
+ .replay_box::after {
717
+ content: "";
718
+ width: 20px;
719
+ height: 20px;
720
+ background-color: rgb(255, 79, 79);
721
+ border-radius: 50%;
722
+ clip-path: circle(50% at 50% 50%);
723
+ }
724
+
725
+ .replay_text {
726
+ color: rgb(255, 79, 79);
727
+ text-align: center;
728
+ font-family: Lato;
729
+ font-size: 48px;
730
+ font-style: normal;
731
+ font-weight: 800;
732
+ line-height: normal;
733
+ }
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>