@vixoniccom/footbal-score 1.0.1-beta.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/CHANGELOG.md +5 -0
- package/README.md +92 -0
- package/build.zip +0 -0
- package/configuration.json +110 -0
- package/icon.png +0 -0
- package/package.json +39 -0
- package/src/App.tsx +94 -0
- package/src/components/FontLoader.tsx +58 -0
- package/src/components/FormattedText.tsx +86 -0
- package/src/components/table-fixture/Results.tsx +21 -0
- package/src/components/table-fixture/Row.tsx +58 -0
- package/src/components/table-fixture/Table.tsx +27 -0
- package/src/components/table-fixture/TeamItems.tsx +34 -0
- package/src/components/table-fixture/Time.tsx +24 -0
- package/src/contex/configureContext/ConfigureContext.tsx +9 -0
- package/src/contex/configureContext/ConfigureProvider.tsx +81 -0
- package/src/contex/configureContext/configureReducer.ts +53 -0
- package/src/helpers/getEmployees.ts +21 -0
- package/src/helpers/getFixture.ts +20 -0
- package/src/helpers/parseMonthAndDay.ts +38 -0
- package/src/helpers/setToken.ts +71 -0
- package/src/helpers/utils.ts +52 -0
- package/src/hooks/useFetch.ts +47 -0
- package/src/index.html +11 -0
- package/src/main.tsx +40 -0
- package/src/model/income.ts +129 -0
- package/src/parameters.d.ts +101 -0
- package/src/soccer_field.png +0 -0
- package/src/sprite.svg +1 -0
- package/src/style.css +677 -0
- package/src/test/downloads/4a9bcc4e-f398-4317-9f0f-afa8bcef1a4f.png +0 -0
- package/src/test/downloads/7953953c-7029-4730-ae4d-cff4abd5288f.ttf +0 -0
- package/src/test/downloads/Roboto-Bold.ttf +0 -0
- package/src/test/downloads/Spring in May.ttf +0 -0
- package/src/test/downloads/c705a739-312e-4334-9231-e73a05e9d382.ttf +0 -0
- package/src/test/downloads/cumples.png +0 -0
- package/src/test/downloads/d1093778-f3c9-42c8-9b07-9f8736390aeb/Foto prueba.jpg +0 -0
- package/src/test/downloads/d1093778-f3c9-42c8-9b07-9f8736390aeb/foto1.jpg +0 -0
- package/src/test/downloads/d1093778-f3c9-42c8-9b07-9f8736390aeb.zip +0 -0
- package/src/test/downloads/fondopasto.jpg +0 -0
- package/src/test/parameters.json +93 -0
- package/tsconfig.json +38 -0
- package/tslint.json +6 -0
package/src/style.css
ADDED
|
@@ -0,0 +1,677 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Version : 1.1.8
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
body{
|
|
6
|
+
background-image: url("https://storage.googleapis.com/vixonic-assets-production-clon/e2407c84-6cd7-42f8-a488-262428bba92a");
|
|
7
|
+
background-size: cover;
|
|
8
|
+
background-repeat: no-repeat;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
:root {
|
|
12
|
+
--font: "Raleway", sans-serif;
|
|
13
|
+
--background-color: #00141e00;
|
|
14
|
+
--background-color-header: #0f2d37;
|
|
15
|
+
--color-text: #000;
|
|
16
|
+
--color-text-header: #000;
|
|
17
|
+
--color-green: #01d099;
|
|
18
|
+
--color-red: #f64e60;
|
|
19
|
+
--color-yellow: #ffa800;
|
|
20
|
+
|
|
21
|
+
--primary-font-size: 11px;
|
|
22
|
+
--secondary-font-size: 10px;
|
|
23
|
+
--header-font-size: 11px;
|
|
24
|
+
--svg-font-size: 8px; /* Only for icon-svg */
|
|
25
|
+
|
|
26
|
+
--border-bottom: 0.5px solid var(--background-color-header); /* 0px for no border */
|
|
27
|
+
--primary-padding: 3px 3px;
|
|
28
|
+
--primary-line-height: 13px;
|
|
29
|
+
--secondary-padding: .3rem; /* For Headers Only */
|
|
30
|
+
|
|
31
|
+
--button-info-font-size: 9px ;/* Only for info button */
|
|
32
|
+
--button-info-line-height: 16px ; /* Only for info button */
|
|
33
|
+
|
|
34
|
+
/* LIVESCORE, FIXTURES & FIXTURE WIDGETS ONLY */
|
|
35
|
+
--modale-background-overlay: rgba(0,0,0,0.4); /* Only for modale */
|
|
36
|
+
--modale-close-size: 28px; /* Only for the close button in the modale */
|
|
37
|
+
--modale-elapsed-time: 12px; /* Only for elapsed time in the modale or FIXTURE widget */
|
|
38
|
+
--modale-teams-name: 18px; /* Only for Teams Name in the modale or FIXTURE widget */
|
|
39
|
+
--modale-teams-name-small: 12px; /* Only for Teams Name in the modale or FIXTURE widget <480px */
|
|
40
|
+
--modale-teams-name-line-height: 20px; /* Only for Teams Name in the modale or FIXTURE widget */
|
|
41
|
+
--modale-score: 32px; /* Only for Score in the modale or FIXTURE widget >480px */
|
|
42
|
+
--modale-score-small: 20px; /* Only for Score in the modale or FIXTURE widget <480px */
|
|
43
|
+
--modale-players-grid-line-height: 20px; /* Only for players on the lineups grid in the modale or FIXTURE widget */
|
|
44
|
+
--modale-players-grid-line-height-small: 15px; /* Only for players on the lineups grid in the modale or FIXTURE widget <480px */
|
|
45
|
+
--modale-players-grid-line-height-large: 25px; /* Only for players on the lineups grid in the modale or FIXTURE widget >1024px */
|
|
46
|
+
|
|
47
|
+
/* STANDINGS WIDGET ONLY */
|
|
48
|
+
--standings-team-form-font-size: 9px; /* Only for team form and info button */
|
|
49
|
+
--standings-team-form-line-height: 16px;
|
|
50
|
+
|
|
51
|
+
/* LOGOS / FLAGS / PHOTOS */
|
|
52
|
+
--flags-size: 18px;
|
|
53
|
+
--teams-logo-size: 18px;
|
|
54
|
+
--teams-logo-size-large: 100px; /* Only in the modale or FIXTURE widget */
|
|
55
|
+
--teams-logo-size-medium: 50px; /* Only in the modale or FIXTURE widget <480px */
|
|
56
|
+
--teams-logo-border: 1px solid var(--background-color-header); /* 0px for no border, Only in the modale or FIXTURE widget */
|
|
57
|
+
--player-photo: 15px; /* Only in the modale or FIXTURE widget */
|
|
58
|
+
--player-photo-large: 30px; /* Only in the modale or FIXTURE widget <480px */
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
#wg-api-football-livescore, #wg-api-football-standings, #wg-api-football-fixtures, #wg-api-football-fixture, #wg-api-football-fixture-modal {
|
|
62
|
+
width:100%;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
#livescore, #standings, #fixtures, #fixture, #fixture-modal, #fixture_events, #fixture_statistics, #fixture_lineups, #fixture_players {
|
|
66
|
+
font-family: var(--font);
|
|
67
|
+
width:100%;
|
|
68
|
+
border-collapse: collapse;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
td {
|
|
72
|
+
padding: var(--primary-padding);
|
|
73
|
+
font-size: var(--primary-font-size);
|
|
74
|
+
letter-spacing: 0px;
|
|
75
|
+
line-height: var(--primary-line-height);
|
|
76
|
+
vertical-align: middle;
|
|
77
|
+
background: var(--background-color);
|
|
78
|
+
color: var(--color-text);
|
|
79
|
+
border-bottom: var(--border-bottom);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
td > span {
|
|
83
|
+
vertical-align: middle;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.api_football_div_table {
|
|
87
|
+
padding: var(--primary-padding);
|
|
88
|
+
font-size: var(--primary-font-size);
|
|
89
|
+
letter-spacing: 0px;
|
|
90
|
+
line-height: var(--primary-line-height);
|
|
91
|
+
vertical-align: middle;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.api_football_no_data {
|
|
95
|
+
padding: var(--secondary-padding);
|
|
96
|
+
font-size: var(--primary-font-size);
|
|
97
|
+
letter-spacing: 0px;
|
|
98
|
+
line-height: var(--primary-line-height);
|
|
99
|
+
margin: auto;
|
|
100
|
+
vertical-align: middle;
|
|
101
|
+
text-align: center;
|
|
102
|
+
font-weight: 600;
|
|
103
|
+
background: var(--background-color-header);
|
|
104
|
+
color: var(--color-text);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.api_football_header {
|
|
108
|
+
padding: var(--secondary-padding);
|
|
109
|
+
font-size: var(--header-font-size);
|
|
110
|
+
font-weight: 600;
|
|
111
|
+
background: var(--background-color-header);
|
|
112
|
+
color: var(--color-text-header);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.api_football_header > span {
|
|
116
|
+
padding-left: 5px;
|
|
117
|
+
vertical-align: middle;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.api_football_team_xl {
|
|
121
|
+
font-size: var(--modale-teams-name);
|
|
122
|
+
line-height: var(--modale-teams-name-line-height);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.api_football_score_xl {
|
|
126
|
+
font-size: var(--modale-score);
|
|
127
|
+
font-weight: 600;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.api_football_elasped_xl {
|
|
131
|
+
margin-top: 20px;
|
|
132
|
+
font-size: var(--modale-elapsed-time);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.api_football_logo {
|
|
136
|
+
width:var(--teams-logo-size);
|
|
137
|
+
vertical-align: middle;
|
|
138
|
+
}
|
|
139
|
+
.api_football_photo {
|
|
140
|
+
width: var(--player-photo);
|
|
141
|
+
vertical-align: middle;
|
|
142
|
+
}
|
|
143
|
+
.api_football_photo_xl {
|
|
144
|
+
margin: 10px;
|
|
145
|
+
width: var(--player-photo-large);
|
|
146
|
+
vertical-align: middle;
|
|
147
|
+
}
|
|
148
|
+
.api_football_logo_xl{
|
|
149
|
+
height: var(--teams-logo-size-large);
|
|
150
|
+
border: var(--teams-logo-border);
|
|
151
|
+
padding: 10px;
|
|
152
|
+
margin: 10px;
|
|
153
|
+
vertical-align: middle;
|
|
154
|
+
}
|
|
155
|
+
.api_football_flag {
|
|
156
|
+
width: var(--flags-size);
|
|
157
|
+
vertical-align: middle;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.api_football_no_border {
|
|
161
|
+
border:0px;
|
|
162
|
+
}
|
|
163
|
+
.api_football_text_right {
|
|
164
|
+
text-align: right;
|
|
165
|
+
}
|
|
166
|
+
.api_football_text_center {
|
|
167
|
+
text-align: center;
|
|
168
|
+
}
|
|
169
|
+
.api_football_bolder {
|
|
170
|
+
font-weight: bold;
|
|
171
|
+
}
|
|
172
|
+
.api_football_bolder_600 {
|
|
173
|
+
font-weight: 600;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.api_football_font_size_10 {
|
|
177
|
+
font-size: var(--secondary-font-size);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.api_football_progress_bar {
|
|
181
|
+
margin-top: -5px;
|
|
182
|
+
width:100%;
|
|
183
|
+
background: var(--background-color-header);
|
|
184
|
+
}
|
|
185
|
+
.api_football_progress_bar_green {
|
|
186
|
+
height: 6px;
|
|
187
|
+
background-color: var(--color-green);
|
|
188
|
+
}
|
|
189
|
+
.api_football_progress_bar_red {
|
|
190
|
+
height: 6px;
|
|
191
|
+
background-color: var(--color-red);
|
|
192
|
+
}
|
|
193
|
+
.api_football_progress_bar_home {
|
|
194
|
+
transform: scaleX(-1);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.api_football_progress {
|
|
198
|
+
animation: tilt 2s linear infinite;
|
|
199
|
+
font-weight: bold;
|
|
200
|
+
color: var(--color-red);
|
|
201
|
+
}
|
|
202
|
+
@keyframes tilt {
|
|
203
|
+
50% { opacity: 0; }
|
|
204
|
+
}
|
|
205
|
+
.api_football_goals {
|
|
206
|
+
padding-left:4px;
|
|
207
|
+
padding-right:4px;
|
|
208
|
+
font-weight: bold;
|
|
209
|
+
}
|
|
210
|
+
.api_football_liveTime {
|
|
211
|
+
color: var(--color-red);
|
|
212
|
+
}
|
|
213
|
+
.api_football_breakTime {
|
|
214
|
+
font-weight: 600;
|
|
215
|
+
background: var(--color-green);
|
|
216
|
+
color: var(--background-color);
|
|
217
|
+
}
|
|
218
|
+
.api_football_finished {
|
|
219
|
+
color: var(--color-green);
|
|
220
|
+
}
|
|
221
|
+
.api_football_canceled {
|
|
222
|
+
color: var(--color-yellow);
|
|
223
|
+
}
|
|
224
|
+
.api_football_form {
|
|
225
|
+
display: inline-block;
|
|
226
|
+
margin: 1px;
|
|
227
|
+
width: 14px;
|
|
228
|
+
height: 14px;
|
|
229
|
+
line-height: var(--standings-team-form-line-height);
|
|
230
|
+
font-size: var(--standings-team-form-font-size);
|
|
231
|
+
text-align: center;
|
|
232
|
+
position: relative;
|
|
233
|
+
color: var(--background-color);
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.api_football_form_win {
|
|
237
|
+
background: var(--color-green);
|
|
238
|
+
}
|
|
239
|
+
.api_football_form_draw {
|
|
240
|
+
background: var(--color-yellow);
|
|
241
|
+
}
|
|
242
|
+
.api_football_form_lose {
|
|
243
|
+
background: var(--color-red);
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.api_football_info {
|
|
247
|
+
display: inline-block;
|
|
248
|
+
border-radius: 14px;
|
|
249
|
+
margin: 1px;
|
|
250
|
+
width: 14px;
|
|
251
|
+
height: 14px;
|
|
252
|
+
line-height: var(--button-info-line-height);
|
|
253
|
+
font-size: var(--button-info-font-size);
|
|
254
|
+
text-align: center;
|
|
255
|
+
position: relative;
|
|
256
|
+
color: var(--background-color);
|
|
257
|
+
background: var(--background-color-header);
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
.api_football_width_90 {
|
|
261
|
+
width: 90px;
|
|
262
|
+
}
|
|
263
|
+
.api_football_width_80 {
|
|
264
|
+
width: 80px;
|
|
265
|
+
}
|
|
266
|
+
.api_football_width_70 {
|
|
267
|
+
width: 70px;
|
|
268
|
+
}
|
|
269
|
+
.api_football_width_60 {
|
|
270
|
+
width: 60px;
|
|
271
|
+
}
|
|
272
|
+
.api_football_width_50 {
|
|
273
|
+
width: 50px;
|
|
274
|
+
}
|
|
275
|
+
.api_football_width_30 {
|
|
276
|
+
width: 30px;
|
|
277
|
+
}
|
|
278
|
+
.api_football_width_25 {
|
|
279
|
+
width: 25px;
|
|
280
|
+
}
|
|
281
|
+
.api_football_width_20 {
|
|
282
|
+
width: 20px;
|
|
283
|
+
}
|
|
284
|
+
.api_football_p_lr_0 {
|
|
285
|
+
padding-left:0px;
|
|
286
|
+
padding-right:0px;
|
|
287
|
+
}
|
|
288
|
+
.api_football_p_lr_1 {
|
|
289
|
+
padding-left:1px;
|
|
290
|
+
padding-right:1px;
|
|
291
|
+
}
|
|
292
|
+
.api_football_p_lr_2 {
|
|
293
|
+
padding-left:2px;
|
|
294
|
+
padding-right:2px;
|
|
295
|
+
}
|
|
296
|
+
.api_football_p_lr_3 {
|
|
297
|
+
padding-left:3px;
|
|
298
|
+
padding-right:3px;
|
|
299
|
+
}
|
|
300
|
+
.api_football_p_lr_4 {
|
|
301
|
+
padding-left:4px;
|
|
302
|
+
padding-right:4px;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
.api_football_p_tb_10 {
|
|
306
|
+
padding-top:10px;
|
|
307
|
+
padding-bottom:10px;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
.api_football_nowrap {
|
|
311
|
+
white-space: nowrap;
|
|
312
|
+
}
|
|
313
|
+
.api_football_width_33_p {
|
|
314
|
+
width: 33%;
|
|
315
|
+
}
|
|
316
|
+
.api_football_width_34_p {
|
|
317
|
+
width: 34%;
|
|
318
|
+
}
|
|
319
|
+
.api_football_width_50_p {
|
|
320
|
+
width: 50%;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
.api_football_loader:after {
|
|
324
|
+
content: " ";
|
|
325
|
+
display: block;
|
|
326
|
+
width: 45px;
|
|
327
|
+
height: 45px;
|
|
328
|
+
margin: auto;
|
|
329
|
+
border-radius: 50%;
|
|
330
|
+
border: 6px solid var(--color-green);
|
|
331
|
+
border-color: var(--color-green) transparent var(--color-green) transparent;
|
|
332
|
+
animation: api_football_dual_ring 1.2s linear infinite;
|
|
333
|
+
}
|
|
334
|
+
@keyframes api_football_dual_ring {
|
|
335
|
+
0% {
|
|
336
|
+
transform: rotate(0deg);
|
|
337
|
+
}
|
|
338
|
+
100% {
|
|
339
|
+
transform: rotate(360deg);
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
.api_football_tooltip {
|
|
344
|
+
cursor: pointer;
|
|
345
|
+
}
|
|
346
|
+
.api_football_tooltip:hover {
|
|
347
|
+
position:relative;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
.api_football_tooltip:before {
|
|
351
|
+
content: attr(data-text);
|
|
352
|
+
position:absolute;
|
|
353
|
+
top:50%;
|
|
354
|
+
transform:translateY(-50%);
|
|
355
|
+
left:100%;
|
|
356
|
+
margin-left:0px;
|
|
357
|
+
min-width: 80px;
|
|
358
|
+
max-width: 200px;
|
|
359
|
+
width: auto;
|
|
360
|
+
padding:5px;
|
|
361
|
+
border-radius:3px;
|
|
362
|
+
background:var(--color-text);
|
|
363
|
+
color: var(--background-color);
|
|
364
|
+
text-align:center;
|
|
365
|
+
display:none;
|
|
366
|
+
z-index: 99999;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
.api_football_tooltip:hover:before {
|
|
370
|
+
display:block;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
.api_football_tooltip.api_football_tooltip_left:before {
|
|
374
|
+
left:initial;
|
|
375
|
+
margin:initial;
|
|
376
|
+
right:100%;
|
|
377
|
+
margin-right:0px;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
.api_football_arrow {
|
|
381
|
+
float: right;
|
|
382
|
+
cursor: pointer;
|
|
383
|
+
padding-left:0px !important;
|
|
384
|
+
margin-right: 5px;
|
|
385
|
+
margin-left: 5px;
|
|
386
|
+
}
|
|
387
|
+
.api_football_arrow_down {
|
|
388
|
+
transform: rotate(90deg);
|
|
389
|
+
}
|
|
390
|
+
.api_football_arrow_up {
|
|
391
|
+
transform: rotate(-90deg);
|
|
392
|
+
}
|
|
393
|
+
.api_football_hide {
|
|
394
|
+
display: none;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
.api_football_button_toggle {
|
|
398
|
+
padding: 5px;
|
|
399
|
+
cursor: pointer;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
.api_football_active {
|
|
403
|
+
background: var(--color-green);
|
|
404
|
+
color: var(--background-color);
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
.api_football_events {
|
|
408
|
+
vertical-align: middle;
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
/*
|
|
412
|
+
* icon-svg
|
|
413
|
+
*/
|
|
414
|
+
.icon-svg {
|
|
415
|
+
font-size: var(--svg-font-size);
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
.icon-svg:before {
|
|
419
|
+
content: ' ';
|
|
420
|
+
vertical-align: middle;
|
|
421
|
+
display: inline-block;
|
|
422
|
+
background-image: url("sprite.svg");
|
|
423
|
+
background-repeat: no-repeat;
|
|
424
|
+
background-size: 13em 49.1em;
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
.no-svg .icon-svg:before {
|
|
428
|
+
background-image: url("sprite.svg");
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
.icon-svg.icon-corner-flag:before {
|
|
432
|
+
background-position: 0em 0em;
|
|
433
|
+
width: 1.5em;
|
|
434
|
+
height: 2em;
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
.icon-svg.icon-in:before {
|
|
438
|
+
background-position: 0em -2em;
|
|
439
|
+
width: 0.9em;
|
|
440
|
+
height: 1.2em;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
.icon-svg.icon-injury:before {
|
|
444
|
+
background-position: 0em -3.2em;
|
|
445
|
+
width: 1.6em;
|
|
446
|
+
height: 1.6em;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
.icon-svg.icon-keepers-glove:before {
|
|
450
|
+
background-position: 0em -4.8em;
|
|
451
|
+
width: 1.6em;
|
|
452
|
+
height: 2.2em;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
.icon-svg.icon-offside-flag:before {
|
|
456
|
+
background-position: 0em -7em;
|
|
457
|
+
width: 2.2em;
|
|
458
|
+
height: 1.8em;
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
.icon-svg.icon-out:before {
|
|
462
|
+
background-position: 0em -8.8em;
|
|
463
|
+
width: 0.8em;
|
|
464
|
+
height: 1.1em;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
.icon-svg.icon-red-card:before {
|
|
468
|
+
background-position: 0em -9.9em;
|
|
469
|
+
width: 1.2em;
|
|
470
|
+
height: 1.6em;
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
.icon-svg.icon-shirt:before {
|
|
474
|
+
background-position: 0em -11.5em;
|
|
475
|
+
width: 3.2em;
|
|
476
|
+
height: 3.2em;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
.icon-svg.icon-shirt-alt:before {
|
|
480
|
+
background-position: 0em -14.7em;
|
|
481
|
+
width: 3.2em;
|
|
482
|
+
height: 3.2em;
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
.icon-svg.icon-soccer-ball:before {
|
|
486
|
+
background-position: 0em -17.9em;
|
|
487
|
+
width: 1.6em;
|
|
488
|
+
height: 1.6em;
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
.icon-svg.icon-soccer-ball-missed-penalty:before {
|
|
492
|
+
background-position: 0em -19.5em;
|
|
493
|
+
width: 1.8em;
|
|
494
|
+
height: 1.8em;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
.icon-svg.icon-soccer-ball-own-goal:before {
|
|
498
|
+
background-position: 0em -21.3em;
|
|
499
|
+
width: 1.6em;
|
|
500
|
+
height: 1.6em;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
.icon-svg.icon-soccer-ball-penalty:before {
|
|
504
|
+
background-position: 0em -22.9em;
|
|
505
|
+
width: 1.8em;
|
|
506
|
+
height: 1.8em;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
.icon-svg.icon-soccer-gate:before {
|
|
510
|
+
background-position: 0em -24.7em;
|
|
511
|
+
width: 13em;
|
|
512
|
+
height: 12.2em;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
.icon-svg.icon-soccer-shoe:before {
|
|
516
|
+
background-position: 0em -36.9em;
|
|
517
|
+
width: 2em;
|
|
518
|
+
height: 1.7em;
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
.icon-svg.icon-soccer-shots:before {
|
|
522
|
+
background-position: 0em -38.6em;
|
|
523
|
+
width: 1.4906000000000001em;
|
|
524
|
+
height: 1.638em;
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
.icon-svg.icon-stopwatch:before {
|
|
528
|
+
background-position: 0em -40.3em;
|
|
529
|
+
width: 1.7em;
|
|
530
|
+
height: 1.9em;
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
.icon-svg.icon-substitution:before {
|
|
534
|
+
background-position: 0em -42.2em;
|
|
535
|
+
width: 1.8em;
|
|
536
|
+
height: 1.7em;
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
.icon-svg.icon-trophy:before {
|
|
540
|
+
background-position: 0em -43.9em;
|
|
541
|
+
width: 1.8em;
|
|
542
|
+
height: 1.9em;
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
.icon-svg.icon-whistle:before {
|
|
546
|
+
background-position: 0em -45.8em;
|
|
547
|
+
width: 1.6em;
|
|
548
|
+
height: 1.7em;
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
.icon-svg.icon-yellow-card:before {
|
|
552
|
+
background-position: 0em -47.5em;
|
|
553
|
+
width: 1.2em;
|
|
554
|
+
height: 1.6em;
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
.api_football_absolute {
|
|
558
|
+
position: absolute;
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
.api_football_grid {
|
|
562
|
+
position:relative;
|
|
563
|
+
background-image: url("soccer_field.png");
|
|
564
|
+
background-size: 100% 100%;
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
.api_football_grid_player {
|
|
568
|
+
display: block;
|
|
569
|
+
width: 20px;
|
|
570
|
+
height: 20px;
|
|
571
|
+
line-height: var(--modale-players-grid-line-height);
|
|
572
|
+
font-size: var(--primary-font-size);
|
|
573
|
+
text-align: center;
|
|
574
|
+
position: relative;
|
|
575
|
+
color: var(--background-color);
|
|
576
|
+
border-radius: 50px;
|
|
577
|
+
transform: translateY(-50%)translateX(75%);
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
.api_football_color_theme {
|
|
581
|
+
color : var(--color-text);
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
.api_football_load_fixture {
|
|
585
|
+
cursor:pointer;
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
#wb-api-football-modal {
|
|
589
|
+
display: none;
|
|
590
|
+
position: fixed;
|
|
591
|
+
z-index: 1;
|
|
592
|
+
left: 0;
|
|
593
|
+
top: 0;
|
|
594
|
+
width: 100%;
|
|
595
|
+
height: 100%;
|
|
596
|
+
overflow: auto;
|
|
597
|
+
background-color: var(--modale-background-overlay);
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
.api_football_modal_content {
|
|
601
|
+
background-color: var(--background-color);
|
|
602
|
+
margin: 10% auto;
|
|
603
|
+
padding: 15px;
|
|
604
|
+
padding-top: 5px;
|
|
605
|
+
border: 1px solid var(--background-color-header);
|
|
606
|
+
width: 90%;
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
.api_football_modal_close {
|
|
610
|
+
color: var(--background-color-header);
|
|
611
|
+
float: right;
|
|
612
|
+
font-size: var(--modale-close-size);
|
|
613
|
+
font-weight: bold;
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
.api_football_modal_close:hover,
|
|
617
|
+
.api_football_modal_close:focus {
|
|
618
|
+
color: var(--color-text);
|
|
619
|
+
text-decoration: none;
|
|
620
|
+
cursor: pointer;
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
@media (min-width: 680px) {
|
|
624
|
+
|
|
625
|
+
.api_football_modal_content {
|
|
626
|
+
margin: 5% auto;
|
|
627
|
+
width: 75%;
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
@media (min-width: 1024px) {
|
|
632
|
+
|
|
633
|
+
.api_football_modal_content {
|
|
634
|
+
margin: 5% auto;
|
|
635
|
+
width: 50%;
|
|
636
|
+
}
|
|
637
|
+
.api_football_grid_player {
|
|
638
|
+
width: 25px;
|
|
639
|
+
height: 25px;
|
|
640
|
+
line-height: var(--modale-players-grid-line-height-large);
|
|
641
|
+
}
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
@media (max-width: 480px) {
|
|
645
|
+
.api_football_hide_xs {
|
|
646
|
+
display: none;
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
.api_football_team_xl {
|
|
650
|
+
font-size: var(--primary-font-size);
|
|
651
|
+
line-height: var(--modale-teams-name-small);
|
|
652
|
+
}
|
|
653
|
+
.api_football_logo_xl{
|
|
654
|
+
height: var(--teams-logo-size-medium);
|
|
655
|
+
padding: 5px;
|
|
656
|
+
margin: 5px;
|
|
657
|
+
}
|
|
658
|
+
.api_football_score_xl {
|
|
659
|
+
font-size: var(--modale-score-small);
|
|
660
|
+
}
|
|
661
|
+
.api_football_elasped_xl {
|
|
662
|
+
margin-top: 15px;
|
|
663
|
+
font-size: var(--secondary-font-size);
|
|
664
|
+
}
|
|
665
|
+
.api_football_grid_player {
|
|
666
|
+
display: block;
|
|
667
|
+
width: 15px;
|
|
668
|
+
height: 15px;
|
|
669
|
+
line-height: var(--modale-players-grid-line-height-small);
|
|
670
|
+
font-size: var(--primary-font-size);
|
|
671
|
+
text-align: center;
|
|
672
|
+
position: relative;
|
|
673
|
+
color: var(--background-color);
|
|
674
|
+
border-radius: 25px;
|
|
675
|
+
transform: translateY(-50%);
|
|
676
|
+
}
|
|
677
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|