@four-leaf-studios/rl-overlay 1.0.5 → 1.1.1
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/.github/copilot-instructions.md +70 -0
- package/dist/index.cjs.js +298 -10599
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +328 -10612
- package/dist/index.esm.js.map +1 -1
- package/dist/types/Overlay.d.ts +5 -6
- package/dist/types/OverlaySlot.d.ts +9 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/registry.d.ts +2 -0
- package/package.json +12 -5
- package/src/Overlay.tsx +47 -41
- package/src/OverlaySlot.tsx +35 -0
- package/src/Player.tsx +1 -0
- package/src/PlayerBoost.tsx +4 -1
- package/src/Scoreboard.tsx +1 -0
- package/src/ScoreboardGameBox.tsx +2 -4
- package/src/ScoreboardSeriesBox.tsx +2 -3
- package/src/ScoreboardTeam.tsx +1 -0
- package/src/StatItem.tsx +4 -1
- package/src/TargetBoost.tsx +1 -0
- package/src/TargetPlayer.tsx +1 -0
- package/src/TargetPlayerLocation.tsx +1 -0
- package/src/TargetPlayerStats.tsx +1 -1
- package/src/Team.tsx +1 -0
- package/src/Timer.tsx +7 -4
- package/src/css/Florida_Tech.css +696 -0
- package/src/css/Horizon_Hues.css +618 -0
- package/src/css/Neo_Glass.css +674 -0
- package/src/css/Obsidian_Glide.css +646 -0
- package/src/css/RLCS_2024.css +566 -0
- package/src/css/RLCS_2025.css +524 -0
- package/src/css/Shaded_blocks.css +594 -0
- package/src/index.ts +2 -0
- package/src/registry.ts +19 -0
- package/src/types.d.ts +20 -0
- package/test-overlay/package-lock.json +2697 -0
- package/test-overlay/package.json +3 -0
- package/test-overlay/public/mock-css.css +259 -386
- package/test-overlay/src/App.jsx +78 -28
- package/tests/BroadcastContext.test.tsx +41 -0
- package/tests/Overlay.test.tsx +106 -0
- package/tests/OverlaySlot.test.tsx +79 -0
- package/tests/PlayerBoost.test.tsx +47 -0
- package/tests/Replay.test.tsx +29 -0
- package/tests/ScoreboardGameBox.test.tsx +35 -0
- package/tests/ScoreboardSeriesBox.test.tsx +48 -0
- package/tests/StatItem.test.tsx +33 -0
- package/tests/__mocks__/@four-leaf-studios/rl-socket-hook.ts +10 -0
- package/tests/fixtures.ts +96 -0
- package/tests/registry.test.ts +27 -0
- package/tests/setup.ts +1 -0
- package/tsconfig.json +16 -20
- package/vitest.config.ts +9 -0
|
@@ -1,341 +1,263 @@
|
|
|
1
|
-
/*
|
|
2
|
-
/* Global Styles */
|
|
3
|
-
/* Whatever font you want to use */
|
|
4
|
-
/* latin-ext */
|
|
1
|
+
/* RLCS 2024 Theme */
|
|
5
2
|
@font-face {
|
|
6
|
-
font-family: "
|
|
3
|
+
font-family: "Aldrich";
|
|
7
4
|
font-style: normal;
|
|
8
5
|
font-weight: 400;
|
|
9
6
|
font-display: swap;
|
|
10
|
-
src: url(https://fonts.gstatic.com/s/
|
|
7
|
+
src: url(https://fonts.gstatic.com/s/aldrich/v21/MCoTzAn-1s3IGyJMVacY3w.woff2)
|
|
11
8
|
format("woff2");
|
|
12
|
-
unicode-range:
|
|
13
|
-
U+
|
|
14
|
-
U+
|
|
15
|
-
|
|
16
|
-
/* latin */
|
|
17
|
-
@font-face {
|
|
18
|
-
font-family: "Lato";
|
|
19
|
-
font-style: normal;
|
|
20
|
-
font-weight: 400;
|
|
21
|
-
font-display: swap;
|
|
22
|
-
src: url(https://fonts.gstatic.com/s/lato/v24/S6uyw4BMUTPHjx4wXg.woff2)
|
|
23
|
-
format("woff2");
|
|
24
|
-
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
25
|
-
U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
|
|
26
|
-
U+2212, U+2215, U+FEFF, U+FFFD;
|
|
9
|
+
unicode-range:
|
|
10
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
|
|
11
|
+
U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
|
|
12
|
+
U+2215, U+FEFF, U+FFFD;
|
|
27
13
|
}
|
|
28
14
|
|
|
29
|
-
/*
|
|
15
|
+
/* Global font override */
|
|
16
|
+
body,
|
|
30
17
|
.overlay {
|
|
18
|
+
font-family: "Aldrich", sans-serif;
|
|
31
19
|
--fallback-darker-mutual: black;
|
|
32
20
|
}
|
|
33
|
-
/* Global Styles END */
|
|
34
|
-
|
|
35
|
-
/* Scoreboard */
|
|
36
|
-
/* Timer */
|
|
37
|
-
.time_box {
|
|
38
|
-
position: absolute;
|
|
39
|
-
margin: auto;
|
|
40
|
-
left: 0;
|
|
41
|
-
right: 0;
|
|
42
|
-
width: 225px;
|
|
43
|
-
height: 100px;
|
|
44
|
-
background-color: var(--team-left-mutual);
|
|
45
|
-
clip-path: polygon(0 0, 100% 0, 85% 100%, 15% 100%);
|
|
46
|
-
z-index: 50;
|
|
47
|
-
display: flex;
|
|
48
|
-
flex-direction: column;
|
|
49
|
-
justify-content: center;
|
|
50
|
-
flex-shrink: 0;
|
|
51
|
-
color: var(--team-left-secondary);
|
|
52
|
-
text-align: center;
|
|
53
|
-
font-family: Lato;
|
|
54
|
-
font-size: 48px;
|
|
55
|
-
font-style: normal;
|
|
56
|
-
font-weight: 700;
|
|
57
|
-
line-height: normal;
|
|
58
|
-
animation: slideIn 0.5s ease-in-out;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.main_bar {
|
|
62
|
-
}
|
|
63
21
|
|
|
64
22
|
.top_bar {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
23
|
+
height: 30px;
|
|
24
|
+
background-color: #0b1013;
|
|
25
|
+
color: #94adcb;
|
|
26
|
+
font-size: 22px;
|
|
27
|
+
font-weight: bold;
|
|
28
|
+
text-transform: uppercase;
|
|
29
|
+
width: 792px;
|
|
30
|
+
padding-left: 25px;
|
|
31
|
+
padding-right: 25px;
|
|
73
32
|
}
|
|
74
33
|
|
|
75
|
-
.
|
|
76
|
-
|
|
77
|
-
height: 100px;
|
|
78
|
-
left: 0;
|
|
79
|
-
right: 0;
|
|
80
|
-
top: 0.5rem;
|
|
81
|
-
margin: auto;
|
|
82
|
-
position: relative;
|
|
83
|
-
background: linear-gradient(
|
|
84
|
-
to right,
|
|
85
|
-
var(--team-left-primary) 49.9%,
|
|
86
|
-
var(--team-right-primary) 50.1%
|
|
87
|
-
);
|
|
34
|
+
.main_bar {
|
|
35
|
+
font-weight: bold;
|
|
88
36
|
}
|
|
89
37
|
|
|
90
38
|
.name_box {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
z-index: 0;
|
|
96
|
-
width: 100%;
|
|
97
|
-
height: 100px;
|
|
98
|
-
border-radius: 5px;
|
|
99
|
-
box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
|
|
100
|
-
display: flex;
|
|
39
|
+
font-size: 30px;
|
|
40
|
+
height: 60px;
|
|
41
|
+
width: 300px;
|
|
42
|
+
justify-content: center;
|
|
101
43
|
align-items: center;
|
|
102
|
-
|
|
44
|
+
text-align: center;
|
|
103
45
|
|
|
104
|
-
|
|
46
|
+
text-transform: uppercase;
|
|
47
|
+
text-overflow: ellipsis;
|
|
48
|
+
white-space: nowrap;
|
|
49
|
+
overflow: hidden;
|
|
105
50
|
}
|
|
106
51
|
|
|
107
|
-
.
|
|
108
|
-
|
|
109
|
-
justify-content: flex-start;
|
|
110
|
-
padding-left: var(--horizontal-padding);
|
|
52
|
+
.left_name_box {
|
|
53
|
+
margin-right: 0px;
|
|
111
54
|
background: linear-gradient(
|
|
112
55
|
180deg,
|
|
113
56
|
var(--team-left-primary) 0%,
|
|
114
|
-
|
|
57
|
+
var(--team-left-primary) 7px,
|
|
58
|
+
#1d1e23 8px,
|
|
59
|
+
var(--team-left-primary) 200%,
|
|
60
|
+
rgba(44, 88, 116, 1) 100%
|
|
115
61
|
);
|
|
62
|
+
padding-top: 10px;
|
|
63
|
+
border-top: 1px solid var(--team-left-primary-light);
|
|
116
64
|
}
|
|
117
65
|
|
|
118
|
-
.
|
|
119
|
-
|
|
120
|
-
justify-content: flex-end;
|
|
121
|
-
padding-right: var(--horizontal-padding);
|
|
66
|
+
.right_name_box {
|
|
67
|
+
margin-left: 0px;
|
|
122
68
|
background: linear-gradient(
|
|
123
69
|
180deg,
|
|
124
70
|
var(--team-right-primary) 0%,
|
|
125
|
-
|
|
71
|
+
var(--team-right-primary) 7px,
|
|
72
|
+
#1d1e23 8px,
|
|
73
|
+
var(--team-right-primary) 200%,
|
|
74
|
+
#7e4b35 100%
|
|
126
75
|
);
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
.name_box {
|
|
130
|
-
position: absolute;
|
|
131
|
-
bottom: -29px;
|
|
132
|
-
z-index: -2;
|
|
133
|
-
padding: 2px 10px;
|
|
134
|
-
|
|
135
|
-
font-family: Lato;
|
|
136
|
-
font-size: 24px;
|
|
137
|
-
font-weight: 800;
|
|
138
|
-
line-height: normal;
|
|
139
|
-
border-radius: 0 0 5px 5px;
|
|
140
|
-
background: var(--team-left-mutual);
|
|
141
|
-
animation: slideIn 0.5s ease-in-out;
|
|
142
|
-
|
|
143
|
-
text-overflow: ellipsis;
|
|
144
|
-
white-space: nowrap;
|
|
145
|
-
overflow: hidden;
|
|
146
|
-
max-width: 90%;
|
|
147
|
-
}
|
|
148
|
-
.left_name_box {
|
|
149
|
-
left: 0;
|
|
150
|
-
justify-content: flex-start;
|
|
151
|
-
text-align: left;
|
|
152
|
-
color: var(--team-left-secondary);
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
.right_name_box {
|
|
156
|
-
right: 0;
|
|
157
|
-
justify-content: flex-end;
|
|
158
|
-
text-align: right;
|
|
159
|
-
color: var(--team-right-secondary);
|
|
76
|
+
padding-top: 10px;
|
|
77
|
+
border-top: 1px solid var(--team-right-primary-light);
|
|
160
78
|
}
|
|
161
79
|
|
|
162
80
|
.logo_box {
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
border-radius: 5px;
|
|
169
|
-
overflow: hidden;
|
|
81
|
+
padding: 10px;
|
|
82
|
+
width: 100px;
|
|
83
|
+
position: relative;
|
|
84
|
+
background: #131217;
|
|
85
|
+
height: 100%;
|
|
170
86
|
}
|
|
171
87
|
|
|
172
88
|
.left_logo_box {
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
background-image: linear-gradient(
|
|
177
|
-
to bottom,
|
|
178
|
-
rgba(0, 0, 0, 0) 0%,
|
|
179
|
-
rgba(5, 0, 0, 0.53) 100%
|
|
180
|
-
);
|
|
89
|
+
left: 100px;
|
|
90
|
+
transform: translateX(-100%);
|
|
91
|
+
clip-path: polygon(0 0, 100% 0%, 100% 100%, 16px 100%, 0 calc(100% - 16px));
|
|
181
92
|
}
|
|
182
93
|
|
|
183
94
|
.right_logo_box {
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
95
|
+
right: 100px;
|
|
96
|
+
transform: translateX(100%);
|
|
97
|
+
clip-path: polygon(
|
|
98
|
+
0% 0%,
|
|
99
|
+
100% 0,
|
|
100
|
+
100% calc(100% - 16px),
|
|
101
|
+
calc(100% - 16px) 100%,
|
|
102
|
+
0% 100%
|
|
191
103
|
);
|
|
192
104
|
}
|
|
193
105
|
|
|
194
106
|
.score_box {
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
justify-content: center;
|
|
200
|
-
flex-shrink: 0;
|
|
201
|
-
text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
|
|
202
|
-
font-family: Lato;
|
|
203
|
-
font-size: 60px;
|
|
204
|
-
font-weight: 800;
|
|
205
|
-
line-height: normal;
|
|
206
|
-
transition: opacity 0.3s ease, transform 0.3s ease;
|
|
207
|
-
overflow: hidden;
|
|
107
|
+
font-size: 52px;
|
|
108
|
+
height: 70px;
|
|
109
|
+
width: 80px;
|
|
110
|
+
color: white;
|
|
208
111
|
}
|
|
209
112
|
|
|
210
113
|
.left_score_box {
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
padding-right: 20%;
|
|
214
|
-
background-image: linear-gradient(
|
|
215
|
-
to bottom,
|
|
216
|
-
rgba(0, 0, 0, 0) 0%,
|
|
217
|
-
rgba(5, 0, 0, 0.53) 100%
|
|
218
|
-
);
|
|
114
|
+
background: var(--team-left-primary);
|
|
115
|
+
border-top: 1px solid var(--team-left-primary-light);
|
|
219
116
|
}
|
|
220
117
|
|
|
221
118
|
.right_score_box {
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
padding-left: 20%;
|
|
225
|
-
background-image: linear-gradient(
|
|
226
|
-
to bottom,
|
|
227
|
-
rgba(0, 0, 0, 0) 0%,
|
|
228
|
-
rgba(5, 0, 0, 0.53) 100%
|
|
229
|
-
);
|
|
119
|
+
background: var(--team-right-primary);
|
|
120
|
+
border-top: 1px solid var(--team-right-primary);
|
|
230
121
|
}
|
|
231
122
|
|
|
232
|
-
.
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
123
|
+
.time_box {
|
|
124
|
+
background: #ffffff;
|
|
125
|
+
color: black;
|
|
126
|
+
font-size: 50px;
|
|
127
|
+
font-weight: bold;
|
|
128
|
+
height: 70px;
|
|
129
|
+
width: 160px;
|
|
130
|
+
border-top: 1px solid #363f4b;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.bottom_bar {
|
|
134
|
+
height: 14px;
|
|
135
|
+
top: -1.1px;
|
|
136
|
+
}
|
|
246
137
|
|
|
247
|
-
|
|
138
|
+
.series_box {
|
|
139
|
+
background-color: #1a1c22;
|
|
140
|
+
width: 251px;
|
|
141
|
+
height: 17px;
|
|
142
|
+
margin-top: 0px;
|
|
248
143
|
}
|
|
249
144
|
|
|
250
145
|
.left_series_box {
|
|
251
|
-
|
|
146
|
+
margin-right: 0px;
|
|
147
|
+
padding-right: 5px;
|
|
148
|
+
padding-left: 5px;
|
|
149
|
+
justify-content: end;
|
|
150
|
+
clip-path: polygon(100% 0, 100% 100%, 8px 100%, 0% calc(100% - 8px), 0 0);
|
|
252
151
|
}
|
|
253
152
|
|
|
254
153
|
.right_series_box {
|
|
255
|
-
|
|
154
|
+
margin-left: 0px;
|
|
155
|
+
padding-left: 5px;
|
|
156
|
+
padding-right: 5px;
|
|
157
|
+
justify-content: start;
|
|
158
|
+
flex-direction: row-reverse;
|
|
159
|
+
clip-path: polygon(
|
|
160
|
+
100% 0,
|
|
161
|
+
100% calc(100% - 8px),
|
|
162
|
+
calc(100% - 8px) 100%,
|
|
163
|
+
0 100%,
|
|
164
|
+
0 0
|
|
165
|
+
);
|
|
256
166
|
}
|
|
257
167
|
|
|
258
168
|
.series_score_box {
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
flex: 1;
|
|
262
|
-
flex-shrink: 0;
|
|
263
|
-
border-radius: 5px;
|
|
264
|
-
background: #fff;
|
|
265
|
-
order: 2;
|
|
169
|
+
margin-left: auto;
|
|
170
|
+
margin-right: auto;
|
|
266
171
|
}
|
|
267
172
|
|
|
268
173
|
.series_score_box_point {
|
|
174
|
+
height: 5px;
|
|
175
|
+
width: 35px;
|
|
176
|
+
border-radius: 2px;
|
|
177
|
+
border: 2px solid #aaa;
|
|
269
178
|
}
|
|
270
179
|
|
|
271
|
-
.
|
|
272
|
-
|
|
180
|
+
.series_score_box_empty {
|
|
181
|
+
height: 5px;
|
|
182
|
+
width: 35px;
|
|
183
|
+
background-color: #000;
|
|
184
|
+
border-radius: 2px;
|
|
185
|
+
border: 2px solid #444;
|
|
186
|
+
border-bottom: 2px solid #333;
|
|
187
|
+
border-right: 2px solid #333;
|
|
273
188
|
}
|
|
274
189
|
|
|
275
|
-
.
|
|
276
|
-
background: var(--team-
|
|
190
|
+
.left_series_score_box_point {
|
|
191
|
+
background-color: var(--team-left-primary);
|
|
192
|
+
margin-left: 7px;
|
|
193
|
+
margin-right: 3px;
|
|
194
|
+
border-top: 2px solid var(--team-left-primary);
|
|
195
|
+
border-left: 2px solid var(--team-left-primary);
|
|
196
|
+
border-right: 2px solid var(--team-left-primary-dark);
|
|
197
|
+
border-bottom: 2px solid var(--team-left-primary-dark);
|
|
277
198
|
}
|
|
278
199
|
|
|
279
|
-
.
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
background: rgba(217, 217, 217, 0.32);
|
|
200
|
+
.left_series_score_box_empty {
|
|
201
|
+
margin-left: 7px;
|
|
202
|
+
margin-right: 3px;
|
|
283
203
|
}
|
|
284
204
|
|
|
285
|
-
.
|
|
205
|
+
.right_series_score_box_point {
|
|
206
|
+
background-color: var(--team-right-primary);
|
|
207
|
+
margin-left: 7px;
|
|
208
|
+
margin-right: 7px;
|
|
209
|
+
border-top: 2px solid var(--team-right-primary);
|
|
210
|
+
border-left: 2px solid var(--team-right-primary);
|
|
211
|
+
border-right: 2px solid var(--team-right-primary-dark);
|
|
212
|
+
border-bottom: 2px solid var(--team-right-primary-dark);
|
|
286
213
|
}
|
|
287
214
|
|
|
288
215
|
.right_series_score_box_empty {
|
|
216
|
+
margin-left: 7px;
|
|
217
|
+
margin-right: 7px;
|
|
289
218
|
}
|
|
290
219
|
|
|
291
220
|
.game_box {
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
display: flex;
|
|
309
|
-
justify-content: center;
|
|
310
|
-
align-items: center;
|
|
311
|
-
gap: 12px;
|
|
221
|
+
background-color: #13131a;
|
|
222
|
+
font-size: 23px;
|
|
223
|
+
font-weight: bold;
|
|
224
|
+
letter-spacing: 3px;
|
|
225
|
+
width: 320px;
|
|
226
|
+
height: 31px;
|
|
227
|
+
margin-top: 0px;
|
|
228
|
+
clip-path: polygon(
|
|
229
|
+
100% 0,
|
|
230
|
+
100% calc(100% - 8px),
|
|
231
|
+
calc(100% - 8px) 100%,
|
|
232
|
+
8px 100%,
|
|
233
|
+
0% calc(100% - 8px),
|
|
234
|
+
0 0
|
|
235
|
+
);
|
|
312
236
|
}
|
|
313
237
|
|
|
314
|
-
.
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
font-size:
|
|
319
|
-
font-
|
|
320
|
-
|
|
321
|
-
|
|
238
|
+
.series_info_box {
|
|
239
|
+
height: 30px;
|
|
240
|
+
background-color: #0b1013;
|
|
241
|
+
color: #94adcb;
|
|
242
|
+
font-size: 22px;
|
|
243
|
+
font-weight: bold;
|
|
244
|
+
text-transform: uppercase;
|
|
245
|
+
width: 792px;
|
|
246
|
+
padding-left: 25px;
|
|
247
|
+
padding-right: 25px;
|
|
322
248
|
}
|
|
323
|
-
/* Replay END */
|
|
324
249
|
|
|
325
|
-
/* Teams */
|
|
326
250
|
.team_box {
|
|
251
|
+
color: white;
|
|
327
252
|
position: absolute;
|
|
328
|
-
top:
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
gap: 5px;
|
|
334
|
-
transition: opacity 0.3s ease, transform 0.3s ease;
|
|
253
|
+
top: 25px;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.scoreboard_team_box {
|
|
257
|
+
max-height: 72px;
|
|
335
258
|
}
|
|
336
259
|
|
|
337
260
|
.left_team_box {
|
|
338
|
-
align-items: flex-start;
|
|
339
261
|
left: -10px;
|
|
340
262
|
}
|
|
341
263
|
|
|
@@ -344,162 +266,141 @@
|
|
|
344
266
|
}
|
|
345
267
|
|
|
346
268
|
.player_box {
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
border-radius: 5px;
|
|
353
|
-
background: var(--team-left-mutual);
|
|
354
|
-
padding: var(--padding);
|
|
355
|
-
transition: opacity 0.3s ease, transform 0.3s ease;
|
|
356
|
-
padding: 0.2rem 1rem;
|
|
269
|
+
height: 36px;
|
|
270
|
+
width: 300px;
|
|
271
|
+
margin-bottom: 5px;
|
|
272
|
+
font-weight: bold;
|
|
273
|
+
background-color: #1e1e23;
|
|
357
274
|
}
|
|
358
275
|
|
|
359
276
|
.left_player_box {
|
|
277
|
+
left: -15px;
|
|
278
|
+
clip-path: polygon(
|
|
279
|
+
calc(100% - 3px) 0,
|
|
280
|
+
100% 3px,
|
|
281
|
+
100% calc(100% - 3px),
|
|
282
|
+
calc(100% - 3px) 100%,
|
|
283
|
+
0 100%,
|
|
284
|
+
0 0
|
|
285
|
+
);
|
|
360
286
|
}
|
|
287
|
+
|
|
361
288
|
.right_player_box {
|
|
289
|
+
right: -15px;
|
|
290
|
+
clip-path: polygon(
|
|
291
|
+
3px 0%,
|
|
292
|
+
100% 0,
|
|
293
|
+
100% 100%,
|
|
294
|
+
3px 100%,
|
|
295
|
+
0% calc(100% - 3px),
|
|
296
|
+
0% 3px
|
|
297
|
+
);
|
|
362
298
|
}
|
|
363
299
|
|
|
364
300
|
.player_name {
|
|
365
|
-
font-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
line-height: normal;
|
|
369
|
-
padding: var(--padding);
|
|
301
|
+
font-size: 20px;
|
|
302
|
+
position: absolute;
|
|
303
|
+
top: 3px;
|
|
370
304
|
text-transform: uppercase;
|
|
371
305
|
text-overflow: ellipsis;
|
|
306
|
+
max-width: 190px;
|
|
372
307
|
white-space: nowrap;
|
|
373
308
|
overflow: hidden;
|
|
374
|
-
max-width: 300px;
|
|
375
309
|
}
|
|
310
|
+
|
|
376
311
|
.left_player_name {
|
|
377
|
-
|
|
378
|
-
grid-row: 1;
|
|
379
|
-
text-align: left;
|
|
312
|
+
left: 45px;
|
|
380
313
|
}
|
|
314
|
+
|
|
381
315
|
.right_player_name {
|
|
382
|
-
|
|
383
|
-
text-align: right;
|
|
316
|
+
right: 45px;
|
|
384
317
|
}
|
|
385
318
|
|
|
386
319
|
.player_boost {
|
|
387
|
-
font-
|
|
388
|
-
|
|
389
|
-
font-weight:
|
|
390
|
-
|
|
391
|
-
padding: var(--padding);
|
|
320
|
+
font-size: 20px;
|
|
321
|
+
position: absolute;
|
|
322
|
+
font-weight: bold;
|
|
323
|
+
top: 3px;
|
|
392
324
|
text-transform: uppercase;
|
|
393
|
-
text-overflow: ellipsis;
|
|
394
|
-
white-space: nowrap;
|
|
395
|
-
overflow: hidden;
|
|
396
325
|
}
|
|
326
|
+
|
|
397
327
|
.left_player_boost {
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
color: var(--team-left-secondary);
|
|
328
|
+
right: 10px;
|
|
329
|
+
color: #fff;
|
|
401
330
|
}
|
|
331
|
+
|
|
402
332
|
.right_player_boost {
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
color: var(--team-right-secondary);
|
|
333
|
+
left: 10px;
|
|
334
|
+
color: #fff;
|
|
406
335
|
}
|
|
407
336
|
|
|
408
337
|
.boost_meter {
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
338
|
+
width: 245px;
|
|
339
|
+
height: 5px;
|
|
340
|
+
margin-top: 27px;
|
|
341
|
+
margin-left: auto;
|
|
342
|
+
margin-right: auto;
|
|
343
|
+
background-color: #000;
|
|
414
344
|
}
|
|
345
|
+
|
|
415
346
|
.left_boost_meter {
|
|
347
|
+
margin-right: 10px;
|
|
416
348
|
}
|
|
349
|
+
|
|
417
350
|
.right_boost_meter {
|
|
351
|
+
margin-left: 10px;
|
|
418
352
|
}
|
|
419
353
|
|
|
420
|
-
.boost_meter_bar {
|
|
421
|
-
}
|
|
422
354
|
.left_boost_meter_bar {
|
|
423
355
|
background-color: var(--team-left-primary);
|
|
424
356
|
}
|
|
357
|
+
|
|
425
358
|
.right_boost_meter_bar {
|
|
426
359
|
background-color: var(--team-right-primary);
|
|
427
360
|
}
|
|
428
|
-
/* Teams END */
|
|
429
361
|
|
|
430
|
-
/* Stat Box */
|
|
431
362
|
.stat_box {
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
flex-shrink: 0;
|
|
437
|
-
margin-left: 52px;
|
|
438
|
-
margin-bottom: 34px;
|
|
363
|
+
background-color: rgba(0, 0, 0, 0.8);
|
|
364
|
+
height: 60px;
|
|
365
|
+
padding-right: 25px;
|
|
366
|
+
padding-bottom: 5px;
|
|
439
367
|
display: flex;
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
padding: 0.4rem;
|
|
444
|
-
transition: opacity 0.3s ease, transform 0.3s ease;
|
|
445
|
-
}
|
|
446
|
-
|
|
447
|
-
.left_stat_box {
|
|
448
|
-
background-color: var(--team-left-primary);
|
|
449
|
-
color: var(--team-left-secondary);
|
|
450
|
-
}
|
|
451
|
-
|
|
452
|
-
.right_stat_box {
|
|
453
|
-
background-color: var(--team-right-primary);
|
|
454
|
-
color: var(--team-right-secondary);
|
|
368
|
+
background: linear-gradient(0deg, #373b48 5px, #1a1c22 5px, #1a1c22 100%);
|
|
369
|
+
border-top: 1px solid #363f4b;
|
|
370
|
+
margin: 30px;
|
|
455
371
|
}
|
|
456
372
|
|
|
457
373
|
.stat_box_player {
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
font-
|
|
461
|
-
line-height: normal;
|
|
462
|
-
padding: var(--padding);
|
|
374
|
+
padding-inline: 20px;
|
|
375
|
+
background: #373b48;
|
|
376
|
+
font-size: 20px;
|
|
463
377
|
text-transform: uppercase;
|
|
464
378
|
text-overflow: ellipsis;
|
|
379
|
+
max-width: 200px;
|
|
465
380
|
white-space: nowrap;
|
|
466
381
|
overflow: hidden;
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
}
|
|
470
|
-
|
|
471
|
-
.stat_box_statistics {
|
|
472
|
-
position: absolute;
|
|
473
|
-
right: 0;
|
|
474
|
-
bottom: 0;
|
|
475
|
-
width: 363.893px;
|
|
476
|
-
height: 78.522px;
|
|
477
|
-
flex-shrink: 0;
|
|
478
|
-
margin-bottom: 7.48px;
|
|
479
|
-
background: var(--team-left-mutual);
|
|
480
|
-
box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
|
|
382
|
+
font-weight: 900;
|
|
383
|
+
height: 100%;
|
|
481
384
|
display: flex;
|
|
482
|
-
justify-content:
|
|
385
|
+
justify-content: center;
|
|
483
386
|
align-items: center;
|
|
484
|
-
padding: 6.4px;
|
|
485
387
|
}
|
|
486
388
|
|
|
487
389
|
.stat_box_statistic {
|
|
488
|
-
flex: 1;
|
|
489
390
|
display: flex;
|
|
490
391
|
flex-direction: column;
|
|
491
392
|
align-items: center;
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
text-align: center;
|
|
495
|
-
font-family: Lato;
|
|
496
|
-
font-size: 24px;
|
|
497
|
-
font-weight: 800;
|
|
498
|
-
line-height: normal;
|
|
393
|
+
margin: auto;
|
|
394
|
+
margin-left: 30px;
|
|
499
395
|
}
|
|
396
|
+
|
|
500
397
|
.stat_box_statistic_value {
|
|
398
|
+
font-size: 28px;
|
|
399
|
+
font-weight: bold;
|
|
501
400
|
}
|
|
401
|
+
|
|
502
402
|
.stat_box_statistic_name {
|
|
403
|
+
font-size: 20px;
|
|
503
404
|
order: 0;
|
|
504
405
|
}
|
|
505
406
|
|
|
@@ -510,34 +411,6 @@
|
|
|
510
411
|
display: none;
|
|
511
412
|
}
|
|
512
413
|
|
|
513
|
-
.stat_box_player_boost {
|
|
514
|
-
transition: opacity 0.3s ease, transform 0.3s ease;
|
|
515
|
-
width: 100%;
|
|
516
|
-
}
|
|
517
|
-
|
|
518
|
-
.stat_box_player_boost .boost_meter {
|
|
519
|
-
display: block;
|
|
520
|
-
height: 9px;
|
|
521
|
-
width: 40%;
|
|
522
|
-
background: var(--team-left-mutual);
|
|
523
|
-
overflow: hidden;
|
|
524
|
-
border-radius: 2px;
|
|
525
|
-
}
|
|
526
|
-
|
|
527
|
-
.stat_box_player_boost .left_boost_meter_bar {
|
|
528
|
-
background: var(--team-left-secondary);
|
|
529
|
-
}
|
|
530
|
-
|
|
531
|
-
.stat_box_player_boost .right_boost_meter_bar {
|
|
532
|
-
background: var(--team-right-secondary);
|
|
533
|
-
}
|
|
534
|
-
|
|
535
|
-
.stat_box_player_boost .boost_meter,
|
|
536
|
-
.stat_box_player_boost .boost_meter_bar {
|
|
537
|
-
margin: unset;
|
|
538
|
-
}
|
|
539
|
-
/* Statbox END */
|
|
540
|
-
|
|
541
414
|
/* Target Boost (the circular meter) */
|
|
542
415
|
.target_boost {
|
|
543
416
|
font-size: 3rem;
|
|
@@ -545,7 +418,7 @@
|
|
|
545
418
|
position: absolute;
|
|
546
419
|
bottom: 0;
|
|
547
420
|
right: 0;
|
|
548
|
-
left:
|
|
421
|
+
margin-left: auto;
|
|
549
422
|
width: 200px;
|
|
550
423
|
height: 200px;
|
|
551
424
|
margin-bottom: 50px;
|
|
@@ -557,7 +430,9 @@
|
|
|
557
430
|
justify-content: center;
|
|
558
431
|
color: white;
|
|
559
432
|
overflow: hidden;
|
|
560
|
-
transition:
|
|
433
|
+
transition:
|
|
434
|
+
opacity 0.3s ease,
|
|
435
|
+
transform 0.3s ease;
|
|
561
436
|
}
|
|
562
437
|
|
|
563
438
|
.left_target_boost.target_boost {
|
|
@@ -577,13 +452,13 @@
|
|
|
577
452
|
}
|
|
578
453
|
|
|
579
454
|
.left_target_boost {
|
|
580
|
-
border: 5px solid
|
|
455
|
+
border: 5px solid #1e1e23;
|
|
581
456
|
background: #07132d;
|
|
582
457
|
}
|
|
583
458
|
|
|
584
459
|
.right_target_boost {
|
|
585
|
-
border: 5px solid
|
|
586
|
-
background:
|
|
460
|
+
border: 5px solid #1e1e23;
|
|
461
|
+
background: #1e1e23;
|
|
587
462
|
}
|
|
588
463
|
|
|
589
464
|
.target_boost_container {
|
|
@@ -648,11 +523,11 @@
|
|
|
648
523
|
}
|
|
649
524
|
|
|
650
525
|
.left_target_boost_meter_inner {
|
|
651
|
-
background:
|
|
526
|
+
background: #1e1e23;
|
|
652
527
|
}
|
|
653
528
|
|
|
654
529
|
.right_target_boost_meter_inner {
|
|
655
|
-
background:
|
|
530
|
+
background: #1e1e23;
|
|
656
531
|
}
|
|
657
532
|
|
|
658
533
|
.target_boost_svg {
|
|
@@ -673,24 +548,22 @@
|
|
|
673
548
|
}
|
|
674
549
|
|
|
675
550
|
.left_target_boost_svg_circle {
|
|
676
|
-
stroke:
|
|
551
|
+
stroke: #1e1e23;
|
|
677
552
|
}
|
|
678
553
|
|
|
679
554
|
.right_target_boost_svg_circle {
|
|
680
|
-
stroke:
|
|
555
|
+
stroke: #1e1e23;
|
|
681
556
|
}
|
|
682
557
|
|
|
683
558
|
.target_boost_value {
|
|
684
559
|
position: absolute;
|
|
685
560
|
z-index: 500;
|
|
686
|
-
color: white;
|
|
687
561
|
}
|
|
688
562
|
|
|
689
563
|
.left_target_boost_value {
|
|
690
|
-
color: var(--team-left-
|
|
564
|
+
color: var(--team-left-primary);
|
|
691
565
|
}
|
|
692
566
|
|
|
693
567
|
.right_target_boost_value {
|
|
694
|
-
color: var(--team-right-
|
|
568
|
+
color: var(--team-right-primary);
|
|
695
569
|
}
|
|
696
|
-
/* Target Boost END */
|