@mjsz-vbr-elements/shared 2.11.2 → 2.12.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.
@@ -1,49 +0,0 @@
1
- .mjsz-vbr-paginator {
2
- display: flex;
3
- flex-direction: row;
4
- list-style-type: none;
5
- margin: 10px 0;
6
- padding: 0;
7
- }
8
-
9
- .mjsz-vbr-paginator button,
10
- .mjsz-vbr-paginator div {
11
- display: flex;
12
- align-items: center;
13
- justify-content: center;
14
- padding: 6px 12px;
15
- text-decoration: none;
16
- cursor: pointer;
17
- color: var(--vbr-widget-paginator-color);
18
- border: 1px solid var(--vbr-widget-paginator-border-color);
19
- background-color: var(--vbr-widget-paginator-bg-color);
20
- margin-left: -1px;
21
- }
22
-
23
- .mjsz-vbr-paginator button .icon, .mjsz-vbr-paginator div .icon {
24
- width: 16px;
25
- height: 16px;
26
- margin: 0 -4px;
27
- }
28
-
29
- .mjsz-vbr-paginator button:hover:not(.mjsz-vbr-paginator button.is-disabled,.mjsz-vbr-paginator button.is-active), .mjsz-vbr-paginator div:hover:not(.mjsz-vbr-paginator div.is-disabled,.mjsz-vbr-paginator div.is-active) {
30
- color: var(--vbr-widget-paginator-hover-color);
31
- background-color: var(--vbr-widget-paginator-hover-bg-color);
32
- }
33
-
34
- .mjsz-vbr-paginator button:disabled,
35
- .mjsz-vbr-paginator button.is-disabled,
36
- .mjsz-vbr-paginator div:disabled,
37
- .mjsz-vbr-paginator div.is-disabled {
38
- color: var(--vbr-widget-paginator-disabled-color);
39
- background-color: var(--vbr-widget-paginator-bg-color);
40
- pointer-events: none;
41
- cursor: default;
42
- }
43
-
44
- .mjsz-vbr-paginator button.is-active, .mjsz-vbr-paginator div.is-active {
45
- color: var(--vbr-widget-paginator-active-color);
46
- background-color: var(--vbr-widget-paginator-active-bg-color);
47
- border-color: var(--vbr-widget-paginator-active-bg-color);
48
- cursor: default;
49
- }
@@ -1,147 +0,0 @@
1
- /* --vbr-widget-typography-font-size-50
2
- --vbr-widget-typography-font-lineheight-50 */
3
-
4
- .mjsz-vbr-playoffs .mjsz-vbr-table-grid {
5
- display: grid;
6
- grid-template-columns:
7
- 60px 160px minmax(60px, 0.41fr) minmax(160px, 1fr) minmax(40px, 60px) 70px minmax(160px, 1fr)
8
- minmax(180px, 0.9fr);
9
- color: var(--vbr-widget-table-color);
10
- }
11
-
12
- .mjsz-vbr-playoffs .mjsz-vbr-table-grid:nth-child(odd) > div {
13
- background-color: var(--vbr-widget-table-stripped-bg-color);
14
- }
15
-
16
- .mjsz-vbr-playoffs .mjsz-vbr-table-grid.is-optional {
17
- opacity: 0.5;
18
- }
19
-
20
- .mjsz-vbr-playoffs .mjsz-vbr-table-grid > div {
21
- padding: 8px;
22
- }
23
-
24
- .mjsz-vbr-playoffs .mjsz-vbr-table-grid .is-truncate {
25
- overflow: visible;
26
- text-overflow: ellipsis;
27
- white-space: nowrap;
28
- }
29
-
30
- .mjsz-vbr-playoffs .mjsz-vbr-table-grid .is-text-right {
31
- text-align: right;
32
- }
33
-
34
- .mjsz-vbr-playoffs .mjsz-vbr-table-grid .is-text-center {
35
- text-align: center;
36
- }
37
-
38
- .mjsz-vbr-playoffs .mjsz-vbr-table-grid .is-text-bold {
39
- font-weight: 900;
40
- }
41
-
42
- .mjsz-vbr-playoffs .mjsz-vbr-table-grid .is-text-light {
43
- color: var(--vbr-widget-table-cell-light-color);
44
- }
45
-
46
- .mjsz-vbr-playoffs .mjsz-vbr-table-grid .is-text-dark {
47
- color: var(--vbr-widget-table-cell-dark-color);
48
- }
49
-
50
- .mjsz-vbr-playoffs .mjsz-vbr-table-grid .is-text-accent {
51
- color: var(--vbr-widget-secondary-color-500);
52
- }
53
-
54
- .mjsz-vbr-playoffs .mjsz-vbr-table-grid .label {
55
- padding: 3px 6px;
56
- font-size: var(--vbr-widget-typography-font-size-100);
57
- font-weight: 700;
58
- color: var(--vbr-widget-table-label-color);
59
- background-color: var(--vbr-widget-table-label-bg-color);
60
- border-radius: 2px;
61
- }
62
-
63
- .mjsz-vbr-playoffs .mjsz-vbr-table-grid .label:not(:last-of-type) {
64
- margin-right: 3px;
65
- }
66
-
67
- .mjsz-vbr-playoffs .mjsz-vbr-table-grid .is-team-name-long {
68
- display: block;
69
- }
70
-
71
- .mjsz-vbr-playoffs .mjsz-vbr-table-grid .is-team-name-short {
72
- display: none;
73
- }
74
-
75
- @container table-wrapper (max-width: 768px) {
76
- .mjsz-vbr-playoffs .mjsz-vbr-table-grid .is-team-name-long {
77
- display: none;
78
- }
79
- .mjsz-vbr-playoffs .mjsz-vbr-table-grid .is-team-name-short {
80
- display: block;
81
- }
82
- }
83
-
84
- .mjsz-vbr-playoffs .mjsz-vbr-section-title {
85
- padding: 10px;
86
- text-align: center;
87
- font-size: var(--vbr-widget-typography-font-size-500);
88
- font-weight: 700;
89
- color: var(--vbr-widget-primary-color-100);
90
- background-color: var(--vbr-widget-primary-color-700);
91
- }
92
-
93
- .mjsz-vbr-playoffs .mjsz-vbr-section-details {
94
- display: grid;
95
- grid-template-columns: 1fr;
96
- align-items: center;
97
- justify-items: center;
98
- gap: 20px;
99
- padding: 20px;
100
- background-color: var(--vbr-widget-primary-color-50);
101
- }
102
-
103
- @media all and (min-width: 576px) {
104
-
105
- .mjsz-vbr-playoffs .mjsz-vbr-section-details {
106
- grid-template-columns: 1fr fit-content(100px) fit-content(100px) fit-content(100px) 1fr;
107
- }
108
- }
109
-
110
- .mjsz-vbr-playoffs .mjsz-vbr-section-details .is-team-name-long {
111
- display: block;
112
- }
113
-
114
- .mjsz-vbr-playoffs .mjsz-vbr-section-details .is-team-name-short {
115
- display: none;
116
- }
117
-
118
- @container section-details (max-width: 768px) {
119
- .mjsz-vbr-playoffs .mjsz-vbr-section-details .is-team-name-long {
120
- display: none;
121
- }
122
- .mjsz-vbr-playoffs .mjsz-vbr-section-details .is-team-name-short {
123
- display: block;
124
- }
125
- }
126
-
127
- .mjsz-vbr-playoffs .mjsz-vbr-section-details .is-logo-image {
128
- width: 70px;
129
- height: 70px;
130
- }
131
-
132
- .mjsz-vbr-playoffs .mjsz-vbr-section-details .is-result {
133
- font-size: 4rem;
134
- font-weight: 700;
135
- text-align: center;
136
- color: var(--vbr-widget-primary-color-800);
137
- }
138
-
139
- .mjsz-vbr-playoffs .mjsz-vbr-section-details .is-team-name {
140
- font-size: var(--vbr-widget-typography-font-size-700);
141
- font-weight: 700;
142
- color: var(--vbr-widget-primary-color-800);
143
- }
144
-
145
- .mjsz-vbr-playoffs .mjsz-vbr-section-details .is-right {
146
- text-align: right;
147
- }
@@ -1,127 +0,0 @@
1
- .mjsz-vbr-progress {
2
- display: flex;
3
- height: var(--vbr-widget-progress-height);
4
- overflow: hidden;
5
- font-size: var(--vbr-widget-typography-font-size-50);
6
- background-color: var(--vbr-widget-progress-bg-color);
7
- border-radius: var(--vbr-widget-progress-border-radius);
8
- }
9
-
10
- .mjsz-vbr-progress-bar {
11
- display: flex;
12
- flex-direction: column;
13
- justify-content: center;
14
- overflow: hidden;
15
- width: 100%;
16
- color: var(--vbr-widget-primary-color-0);
17
- text-align: center;
18
- white-space: nowrap;
19
- background-color: var(--vbr-widget-progress-bar-color);
20
- }
21
-
22
- .mjsz-vbr-progress-bar-stripped {
23
- --color: var(--vbr-widget-progress-bar-stripe-color);
24
- --angle: var(--vbr-widget-progress-bar-stripe-angle);
25
-
26
- background-image: linear-gradient(
27
- var(--angle),
28
- var(--color) 25%,
29
- transparent 25%,
30
- transparent 50%,
31
- var(--color) 50%,
32
- var(--color) 75%,
33
- transparent 75%,
34
- transparent
35
- );
36
-
37
- background-size: var(--vbr-widget-progress-height) var(--vbr-widget-progress-height);
38
- }
39
-
40
- .mjsz-vbr-progress-bar-animated {
41
- animation: 1s linear infinite progress-bar-stripes;
42
- }
43
-
44
- @media (prefers-reduced-motion: reduce) {
45
-
46
- .mjsz-vbr-progress-bar-animated {
47
- animation: none
48
- }
49
- }
50
-
51
- @keyframes progress-bar-stripes {
52
- 0% {
53
- background-position-x: var(--vbr-widget-progress-height);
54
- }
55
- }
56
-
57
- .mjsz-vbr-statistics-double-bar {
58
- display: grid;
59
- grid-template-columns: 0.3fr 1fr 1fr 0.3fr;
60
- grid-template-areas: 'value-start title title value-end' 'bar-start bar-start bar-end bar-end';
61
- align-items: center;
62
- }
63
-
64
- @media (width > 500px) {
65
-
66
- .mjsz-vbr-statistics-double-bar {
67
- grid-template-areas: 'title title title title' 'value-start bar-start bar-end value-end'
68
- }
69
- }
70
-
71
- .mjsz-vbr-statistics-double-bar .is-value {
72
- font-weight: 700;
73
- color: var(--vbr-widget-primary-color-900);
74
- }
75
-
76
- .mjsz-vbr-statistics-double-bar .is-value-start {
77
- grid-area: value-start;
78
- padding-inline-end: 0.5rem;
79
- justify-self: end;
80
- }
81
-
82
- .mjsz-vbr-statistics-double-bar .is-value-end {
83
- grid-area: value-end;
84
- padding-inline-start: 0.5rem;
85
- }
86
-
87
- .mjsz-vbr-statistics-double-bar .is-bar {
88
- background-color: var(--vbr-widget-primary-color-50);
89
- height: 8px;
90
- margin-block: 5px;
91
- }
92
-
93
- .mjsz-vbr-statistics-double-bar .is-bar-start {
94
- grid-area: bar-start;
95
-
96
- display: flex;
97
- justify-content: flex-end;
98
- }
99
-
100
- .mjsz-vbr-statistics-double-bar .is-bar-start--progress {
101
- background-color: var(--vbr-widget-gamecenter-home-team-identifier-color);
102
- outline: 1px solid var(--vbr-widget-gamecenter-home-team-identifier-border-color);
103
- outline-offset: -1px;
104
- height: 100%;
105
- transition: width 0.3s ease-out;
106
- }
107
-
108
- .mjsz-vbr-statistics-double-bar .is-bar-end {
109
- grid-area: bar-end;
110
- }
111
-
112
- .mjsz-vbr-statistics-double-bar .is-bar-end--progress {
113
- background-color: var(--vbr-widget-gamecenter-away-team-identifier-color);
114
- outline: 1px solid var(--vbr-widget-gamecenter-away-team-identifier-border-color);
115
- outline-offset: -1px;
116
- height: 100%;
117
- }
118
-
119
- .mjsz-vbr-statistics-double-bar .is-title {
120
- grid-area: title;
121
-
122
- justify-self: center;
123
- font-size: var(--vbr-widget-typography-font-size-400);
124
- font-weight: 700;
125
- line-height: 1.5rem;
126
- color: var(--vbr-widget-primary-color-500);
127
- }
@@ -1,33 +0,0 @@
1
- h1,
2
- h2,
3
- h3,
4
- ul,
5
- li,
6
- p,
7
- dl,
8
- dt,
9
- dd {
10
- margin: 0;
11
- padding: 0;
12
- }
13
-
14
- button {
15
- font-family: inherit;
16
- font-size: 100%;
17
- font-weight: inherit;
18
- line-height: inherit;
19
- color: inherit;
20
- margin: 0;
21
- padding: 0;
22
-
23
- border-width: 0;
24
- -webkit-appearance: button;
25
- background-color: transparent;
26
- background-image: none;
27
- cursor: pointer;
28
- }
29
-
30
- ol,
31
- ul {
32
- list-style: none;
33
- }
@@ -1,10 +0,0 @@
1
- .mjsz-vbr-table-responsive {
2
- container-name: table-wrapper;
3
- container-type: inline-size;
4
-
5
- width: 100%;
6
- overflow-x: auto;
7
- }
8
- .mjsz-vbr-table-responsive table {
9
- width: 100%;
10
- }
@@ -1,14 +0,0 @@
1
- .mjsz-vbr-standings-selector dl {
2
- display: grid;
3
- grid-template-columns: 1fr auto;
4
- grid-template-areas: 'title selector' 'subtitle subtitle';
5
- }
6
- .mjsz-vbr-standings-selector dt {
7
- grid-area: title;
8
- }
9
- .mjsz-vbr-standings-selector dd {
10
- grid-area: subtitle;
11
- }
12
- .mjsz-vbr-standings-selector .is-championship-selector {
13
- grid-area: selector;
14
- }
@@ -1,281 +0,0 @@
1
- /* --vbr-widget-typography-font-size-50
2
- --vbr-widget-typography-font-lineheight-50 */
3
-
4
- .mjsz-vbr-table {
5
- border-collapse: collapse;
6
- border-spacing: 0;
7
- }
8
-
9
- .mjsz-vbr-table table,
10
- .mjsz-vbr-table caption,
11
- .mjsz-vbr-table tbody,
12
- .mjsz-vbr-table tfoot,
13
- .mjsz-vbr-table thead,
14
- .mjsz-vbr-table tr,
15
- .mjsz-vbr-table th,
16
- .mjsz-vbr-table td {
17
- margin: 0;
18
- padding: 0;
19
- border: 0;
20
- font-size: 100%;
21
- font: inherit;
22
- vertical-align: baseline;
23
- }
24
-
25
- .mjsz-vbr-table {
26
- color: var(--vbr-widget-table-color);
27
- background-color: var(--vbr-widget-table-default-bg-color);
28
- }
29
-
30
- .mjsz-vbr-table th {
31
- width: var(--vbr-widget-table-default-column-width);
32
- background-color: var(--vbr-widget-table-header-bg-color);
33
- font-size: var(--vbr-widget-table-header-font-size);
34
- font-weight: 700;
35
- color: var(--vbr-widget-table-header-color);
36
- text-align: center;
37
- }
38
-
39
- .mjsz-vbr-table th:focus-visible,
40
- .mjsz-vbr-table th:hover {
41
- background-color: var(--vbr-widget-table-header-hover-bg-color);
42
- outline: none;
43
- }
44
-
45
- .mjsz-vbr-table th.is-sortable {
46
- position: relative;
47
- cursor: pointer;
48
- }
49
-
50
- .mjsz-vbr-table th.is-sortable .icon-sort {
51
- opacity: 0.5;
52
- }
53
-
54
- .mjsz-vbr-table th.is-active {
55
- background-color: var(--vbr-widget-table-table-header-active-bg-color);
56
- color: var(--vbr-widget-table-header-active-color);
57
- }
58
-
59
- .mjsz-vbr-table th.is-active .icon-sort {
60
- opacity: 1;
61
- }
62
-
63
- .mjsz-vbr-table th.is-asc {
64
- position: relative;
65
- }
66
-
67
- .mjsz-vbr-table th.is-desc {
68
- position: relative;
69
- }
70
-
71
- .mjsz-vbr-table th.is-w-auto {
72
- width: auto;
73
- }
74
-
75
- .mjsz-vbr-table th .is-icon-sort {
76
- width: 11px;
77
- height: 11px;
78
- margin-left: 5px;
79
- }
80
-
81
- .mjsz-vbr-table td {
82
- text-align: center;
83
- }
84
-
85
- .mjsz-vbr-table td.is-active {
86
- font-weight: 700;
87
- color: var(--vbr-widget-table-active-color);
88
- background-color: var(--vbr-widget-table-active-bg-color);
89
- }
90
-
91
- .mjsz-vbr-table td.is-zero {
92
- color: var(--vbr-widget-table-zero-color);
93
- }
94
-
95
- .mjsz-vbr-table td.is-possible-empty:empty:before {
96
- content: '0';
97
- color: var(--vbr-widget-table-zero-color);
98
- }
99
-
100
- .mjsz-vbr-table td .is-text-light,
101
- .mjsz-vbr-table td.is-text-light {
102
- color: var(--vbr-widget-table-cell-light-color);
103
- }
104
-
105
- .mjsz-vbr-table td .is-text-dark,
106
- .mjsz-vbr-table td.is-text-dark {
107
- color: var(--vbr-widget-table-cell-dark-color);
108
- }
109
-
110
- .mjsz-vbr-table td .is-logo-image {
111
- display: inline-block;
112
- vertical-align: middle;
113
- width: var(--vbr-widget-table-cell-logo-size);
114
- height: var(--vbr-widget-table-cell-logo-size);
115
- }
116
-
117
- .mjsz-vbr-table td .is-portrait-image {
118
- display: inline-block;
119
- vertical-align: middle;
120
- width: var(--vbr-widget-table-cell-portrait-size);
121
- height: var(--vbr-widget-table-cell-portrait-size);
122
- object-fit: cover;
123
- object-position: top;
124
- overflow: hidden;
125
- border-radius: 100%;
126
- border: 1px solid var(--vbr-widget-primary-color-100);
127
- }
128
-
129
- .mjsz-vbr-table td .is-portrait-image img {
130
- width: var(--vbr-widget-table-cell-portrait-size);
131
- height: auto;
132
- }
133
-
134
- .mjsz-vbr-table td.is-text-bold {
135
- font-weight: 700;
136
- }
137
-
138
- .mjsz-vbr-table td.is-text-italic {
139
- font-style: italic;
140
- }
141
-
142
- .mjsz-vbr-table td.is-text-xl {
143
- font-size: var(--vbr-widget-typography-font-size-700);
144
- }
145
-
146
- .mjsz-vbr-table td .is-text-accent {
147
- color: var(--vbr-widget-secondary-color-500);
148
- }
149
-
150
- .mjsz-vbr-table td.is-w-auto {
151
- width: auto;
152
- }
153
-
154
- .mjsz-vbr-table td.is-horizontal-content {
155
- display: inline-flex;
156
- align-items: center;
157
- }
158
-
159
- .mjsz-vbr-table td.is-text-positive,
160
- .mjsz-vbr-table td .is-text-positive {
161
- color: var(--vbr-widget-live-game-color);
162
- }
163
-
164
- .mjsz-vbr-table td.is-text-negative,
165
- .mjsz-vbr-table td .is-text-negative {
166
- color: var(--vbr-widget-danger-color-a400);
167
- }
168
-
169
- .mjsz-vbr-table td svg {
170
- width: 16px;
171
- height: 16px;
172
- }
173
-
174
- .mjsz-vbr-table td button {
175
- padding: 3px 3px;
176
- line-height: 0;
177
- border: none;
178
- outline: none;
179
- background-color: transparent;
180
- }
181
-
182
- .mjsz-vbr-table td button:hover {
183
- background-color: var(--vbr-widget-popover-trigger-hover-bg-color);
184
- }
185
-
186
- .mjsz-vbr-table td button:active,
187
- .mjsz-vbr-table td button:focus {
188
- background-color: var(--vbr-widget-popover-trigger-focus-bg-color);
189
- }
190
-
191
- .mjsz-vbr-table td a {
192
- text-decoration: none;
193
- }
194
-
195
- .mjsz-vbr-table td .label {
196
- padding: 3px 6px;
197
- font-size: var(--vbr-widget-typography-font-size-100);
198
- font-weight: 700;
199
- color: var(--vbr-widget-table-label-color);
200
- background-color: var(--vbr-widget-table-label-bg-color);
201
- border-radius: 2px;
202
- }
203
-
204
- .mjsz-vbr-table td .label:not(:last-of-type) {
205
- margin-right: 3px;
206
- }
207
-
208
- .mjsz-vbr-table td a {
209
- color: var(--vbr-widget-link-color);
210
- }
211
-
212
- .mjsz-vbr-table td a:hover {
213
- color: var(--vbr-widget-hover-color);
214
- }
215
-
216
- .mjsz-vbr-table td .is-team-name-long {
217
- display: block;
218
- }
219
-
220
- .mjsz-vbr-table td .is-team-name-short {
221
- display: none;
222
- }
223
-
224
- @container table-wrapper (max-width: 768px) {
225
- .mjsz-vbr-table td .is-team-name-long {
226
- display: none;
227
- }
228
- .mjsz-vbr-table td .is-team-name-short {
229
- display: block;
230
- }
231
- }
232
-
233
- .mjsz-vbr-table th,
234
- .mjsz-vbr-table td {
235
- padding: 8px;
236
- white-space: nowrap;
237
- vertical-align: middle;
238
- }
239
-
240
- .mjsz-vbr-table th.is-text-left, .mjsz-vbr-table td.is-text-left {
241
- text-align: left;
242
- }
243
-
244
- .mjsz-vbr-table th.is-text-right, .mjsz-vbr-table td.is-text-right {
245
- text-align: right;
246
- }
247
-
248
- .mjsz-vbr-table th.is-has-image, .mjsz-vbr-table td.is-has-image {
249
- padding: 0 2px;
250
- }
251
-
252
- .mjsz-vbr-table th .is-duplicated, .mjsz-vbr-table td .is-duplicated {
253
- color: var(--vbr-widget-table-neutral-color);
254
- }
255
-
256
- .mjsz-vbr-table tr.is-highlighted {
257
- color: var(--vbr-widget-danger-color-a400);
258
- }
259
-
260
- .mjsz-vbr-table tr.is-optional {
261
- opacity: 0.5;
262
- }
263
-
264
- .mjsz-vbr-table tr:nth-child(even) {
265
- background-color: var(--vbr-widget-table-stripped-bg-color);
266
- }
267
-
268
- .mjsz-vbr-table tr:nth-child(even) td.is-active {
269
- background-color: var(--vbr-widget-table-active-even-bg-color);
270
- }
271
-
272
- .mjsz-vbr-table tr:focus-within,
273
- .mjsz-vbr-table tr:hover {
274
- color: var(--vbr-widget-table-hover-color);
275
- background-color: var(--vbr-widget-table-hover-bg-color);
276
- }
277
-
278
- .mjsz-vbr-table tr:focus-within td.is-active, .mjsz-vbr-table tr:hover td.is-active {
279
- color: var(--vbr-widget-table-active-hover-color);
280
- background-color: var(--vbr-widget-table-active-hover-bg-color);
281
- }
@@ -1,26 +0,0 @@
1
- /* --vbr-widget-typography-font-size-50
2
- --vbr-widget-typography-font-lineheight-50 */
3
-
4
- .mjsz-vbr-wrapped-grid {
5
- --min-width: 300px;
6
- --max-width: 1fr;
7
-
8
- display: grid;
9
- grid-template-columns: repeat(auto-fill, minmax(var(--min-width), var(--max-width)));
10
- gap: 30px;
11
- padding-block: 20px;
12
- text-align: center;
13
- }
14
-
15
- .mjsz-vbr-wrapped-grid a {
16
- display: flex;
17
- flex-direction: column;
18
- align-items: center;
19
- row-gap: 20px;
20
- }
21
-
22
- .mjsz-vbr-wrapped-grid .is-team-logo {
23
- display: block;
24
- width: 100%;
25
- aspect-ratio: 1;
26
- }