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