@ethlete/components 1.0.0-next.103 → 1.0.0-next.104
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 +21 -0
- package/design/sdk/foundations/colors/colors.css +46 -0
- package/fesm2022/ethlete-components.mjs +155 -155
- package/fesm2022/ethlete-components.mjs.map +1 -1
- package/generators/generators.json +5 -0
- package/generators/migrate-state-token-names/migration.js +33 -0
- package/generators/migrate-state-token-names/schema.json +26 -0
- package/generators/migrate-state-token-names/state-token-names.js +53 -0
- package/migrations.json +9 -0
- package/package.json +1 -1
- package/src/lib/accordion/accordion.component.css +5 -5
- package/src/lib/bracket/bracket-pick-card.component.css +1 -1
- package/src/lib/bracket/bracket.component.css +11 -1
- package/src/lib/breadcrumb/breadcrumb-overflow.component.css +2 -2
- package/src/lib/breadcrumb/breadcrumb.component.css +4 -0
- package/src/lib/button/button-properties-styles.component.css +19 -19
- package/src/lib/button/button.component.css +4 -4
- package/src/lib/button/fab.component.css +1 -1
- package/src/lib/button/icon-button.component.css +2 -2
- package/src/lib/button/split-button.component.css +2 -2
- package/src/lib/button/text-button.component.css +1 -1
- package/src/lib/button/window-control-button.component.css +2 -2
- package/src/lib/calendar/calendar.component.css +3 -3
- package/src/lib/carousel/carousel-autoplay-styles.component.css +5 -2
- package/src/lib/carousel/carousel.component.css +20 -6
- package/src/lib/chart/bar-chart.component.css +5 -1
- package/src/lib/chart/line-chart.component.css +5 -1
- package/src/lib/chart/sankey-chart.component.css +1 -1
- package/src/lib/chip/chip.component.css +6 -6
- package/src/lib/command-palette/command-palette-item.component.css +1 -1
- package/src/lib/forms/cascader/cascader-breadcrumb-styles.component.css +2 -2
- package/src/lib/forms/cascader/cascader-panel.component.css +8 -4
- package/src/lib/forms/checkbox/checkbox.component.css +2 -2
- package/src/lib/forms/choice-field/choice-field-card-styles.component.css +2 -2
- package/src/lib/forms/dropzone/dropzone-item.component.css +5 -1
- package/src/lib/forms/dropzone/dropzone.component.css +7 -3
- package/src/lib/forms/form-field/form-field-control-suffix-styles.component.css +2 -2
- package/src/lib/forms/form-field/form-field-text-shell-styles.component.css +7 -7
- package/src/lib/forms/form-field/form-field.component.css +2 -2
- package/src/lib/forms/input/number-input.component.css +2 -2
- package/src/lib/forms/input/password-input.component.css +2 -2
- package/src/lib/forms/multi-language-rich-text-editor/tools/multi-language-rich-text-editor-language-tool.component.css +3 -3
- package/src/lib/forms/rating/rating.component.css +2 -2
- package/src/lib/forms/rich-text-editor/rich-text-content-styles.component.css +2 -2
- package/src/lib/forms/rich-text-editor/rich-text-editor-image-editor.component.css +1 -1
- package/src/lib/forms/rich-text-editor/rich-text-editor-token-popup.component.css +1 -1
- package/src/lib/forms/rich-text-editor/tools/rich-text-editor-image-styles.component.css +1 -1
- package/src/lib/forms/rich-text-editor/tools/rich-text-editor-table-styles.component.css +1 -1
- package/src/lib/forms/select/select-extras-styles.component.css +8 -4
- package/src/lib/forms/select/select-option-styles.component.css +8 -8
- package/src/lib/forms/select/select-panel.component.css +1 -1
- package/src/lib/forms/selection-list/checkbox-group/checkbox-group-select-all.component.css +6 -2
- package/src/lib/forms/selection-list/checkbox-group/checkbox-option.component.css +7 -3
- package/src/lib/forms/selection-list/radio-group/radio.component.css +7 -3
- package/src/lib/forms/selection-list/segmented-button-group/segmented-button-group.component.css +1 -1
- package/src/lib/forms/selection-list/segmented-button-group/segmented-button.component.css +5 -5
- package/src/lib/forms/slider/range-slider.component.css +1 -1
- package/src/lib/forms/slider/slider.component.css +1 -1
- package/src/lib/forms/switch/switch.component.css +16 -8
- package/src/lib/kbd/kbd.component.css +1 -1
- package/src/lib/loader/progress-bar/progress-bar.component.css +4 -0
- package/src/lib/match/match-card.component.css +12 -4
- package/src/lib/match/match-participant.component.css +3 -3
- package/src/lib/menu/menu-item-shortcut.component.css +2 -0
- package/src/lib/menu/menu-search-styles.component.css +1 -1
- package/src/lib/menu/menu.component.css +2 -2
- package/src/lib/pagination/pagination.component.css +5 -1
- package/src/lib/scheduler/scheduler-time-grid-view.component.css +1 -1
- package/src/lib/scrollable/headless/scrollable-buttons.component.css +16 -0
- package/src/lib/scrollable/headless/scrollable-masks.component.css +21 -0
- package/src/lib/scrollbar/scrollbar.component.css +3 -3
- package/src/lib/skeleton/skeleton.component.css +8 -2
- package/src/lib/standings/standings-pick.component.css +15 -7
- package/src/lib/standings/standings.component.css +4 -4
- package/src/lib/stream/pip/pip-stage-styles.component.css +4 -2
- package/src/lib/stream/pip/pip-window.component.css +2 -1
- package/src/lib/table/table-expander-cell.component.css +2 -2
- package/src/lib/table/table-reorder-overlay.component.css +1 -1
- package/src/lib/table/table-row-box-styles.component.css +6 -2
- package/src/lib/table/table-sticky-columns-styles.component.css +1 -1
- package/src/lib/table/table.component.css +23 -14
- package/src/lib/tabs/tab-bar-styles.component.css +1 -1
- package/src/lib/time-picker/time-picker.component.css +1 -1
- package/src/lib/tree/tree.component.css +2 -2
- package/types/ethlete-components.d.ts +1 -1
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
initial-value: 150ms;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
@property --et-switch-opacity
|
|
32
|
+
@property --et-switch-disabled-opacity {
|
|
33
33
|
syntax: '<number>';
|
|
34
34
|
inherits: true;
|
|
35
35
|
initial-value: 0.5;
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
outline: none;
|
|
49
49
|
|
|
50
50
|
&[aria-disabled='true'] {
|
|
51
|
-
opacity: var(--et-switch-opacity
|
|
51
|
+
opacity: var(--et-switch-disabled-opacity);
|
|
52
52
|
pointer-events: none;
|
|
53
53
|
cursor: default;
|
|
54
54
|
}
|
|
@@ -58,7 +58,11 @@
|
|
|
58
58
|
width: var(--et-switch-track-width);
|
|
59
59
|
height: var(--et-switch-track-height);
|
|
60
60
|
border-radius: calc(var(--et-switch-track-height) / 2);
|
|
61
|
-
background-color: color-mix(
|
|
61
|
+
background-color: color-mix(
|
|
62
|
+
in srgb,
|
|
63
|
+
var(--et-surface-tint, var(--et-surface-text, currentColor)) 38%,
|
|
64
|
+
transparent
|
|
65
|
+
);
|
|
62
66
|
}
|
|
63
67
|
|
|
64
68
|
:where(et-choice-field[data-error])
|
|
@@ -117,7 +121,7 @@
|
|
|
117
121
|
--et-switch-thumb-size and takes the on-primary color when checked. */
|
|
118
122
|
position: absolute;
|
|
119
123
|
top: calc((var(--et-switch-track-height) - var(--et-switch-thumb-size) + 4px) / 2);
|
|
120
|
-
|
|
124
|
+
inset-inline-start: calc((var(--et-switch-track-height) - var(--et-switch-thumb-size) + 4px) / 2);
|
|
121
125
|
width: calc(var(--et-switch-thumb-size) - 4px);
|
|
122
126
|
height: calc(var(--et-switch-thumb-size) - 4px);
|
|
123
127
|
border-radius: calc(var(--et-switch-thumb-size) / 2);
|
|
@@ -145,7 +149,9 @@
|
|
|
145
149
|
|
|
146
150
|
.et-switch-thumb {
|
|
147
151
|
top: calc((var(--et-switch-track-height) - var(--et-switch-thumb-size)) / 2);
|
|
148
|
-
|
|
152
|
+
inset-inline-start: calc(
|
|
153
|
+
var(--et-switch-track-width) - var(--et-switch-thumb-size) - var(--et-switch-thumb-offset)
|
|
154
|
+
);
|
|
149
155
|
width: var(--et-switch-thumb-size);
|
|
150
156
|
height: var(--et-switch-thumb-size);
|
|
151
157
|
background-color: var(--et-tone-on-fill, white);
|
|
@@ -162,7 +168,9 @@
|
|
|
162
168
|
|
|
163
169
|
&:active:not([aria-disabled='true']):not([data-readonly]) .et-switch-thumb {
|
|
164
170
|
width: calc(var(--et-switch-thumb-size) + 3px);
|
|
165
|
-
|
|
171
|
+
inset-inline-start: calc(
|
|
172
|
+
var(--et-switch-track-width) - var(--et-switch-thumb-size) - 3px - var(--et-switch-thumb-offset)
|
|
173
|
+
);
|
|
166
174
|
}
|
|
167
175
|
}
|
|
168
176
|
|
|
@@ -185,7 +193,7 @@
|
|
|
185
193
|
}
|
|
186
194
|
|
|
187
195
|
.et-switch-thumb {
|
|
188
|
-
|
|
196
|
+
inset-inline-start: calc((var(--et-switch-track-width) - (var(--et-switch-thumb-size) - 4px)) / 2);
|
|
189
197
|
background-color: var(--et-tone-text, currentColor);
|
|
190
198
|
}
|
|
191
199
|
}
|
|
@@ -200,7 +208,7 @@
|
|
|
200
208
|
.et-switch-thumb {
|
|
201
209
|
transition:
|
|
202
210
|
top var(--et-switch-transition-duration) ease,
|
|
203
|
-
|
|
211
|
+
inset-inline-start var(--et-switch-transition-duration) ease,
|
|
204
212
|
width var(--et-switch-transition-duration) ease,
|
|
205
213
|
height var(--et-switch-transition-duration) ease,
|
|
206
214
|
background-color var(--et-switch-transition-duration) ease;
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
padding-inline: var(--et-kbd-key-padding-inline);
|
|
52
52
|
border: 1px solid var(--et-surface-border, rgb(255 255 255 / 0.1));
|
|
53
53
|
border-radius: var(--et-kbd-key-border-radius);
|
|
54
|
-
background: color-mix(in srgb, var(--et-surface-tint, rgb(255 255 255)) 8%, transparent);
|
|
54
|
+
background: color-mix(in srgb, var(--et-surface-tint, var(--et-surface-text, rgb(255 255 255))) 8%, transparent);
|
|
55
55
|
color: var(--et-kbd-color, var(--et-surface-text-muted, rgb(255 255 255 / 0.55)));
|
|
56
56
|
font: inherit;
|
|
57
57
|
font-size: var(--et-kbd-font-size);
|
|
@@ -338,7 +338,7 @@
|
|
|
338
338
|
font-weight: var(--et-match-card-status-font-weight);
|
|
339
339
|
letter-spacing: 0.04em;
|
|
340
340
|
text-transform: uppercase;
|
|
341
|
-
background: color-mix(in srgb, var(--et-surface-tint, gray) 12%, transparent);
|
|
341
|
+
background: color-mix(in srgb, var(--et-surface-tint, var(--et-surface-text, gray)) 12%, transparent);
|
|
342
342
|
border-radius: 4px;
|
|
343
343
|
}
|
|
344
344
|
|
|
@@ -528,7 +528,7 @@
|
|
|
528
528
|
padding-inline: 5px;
|
|
529
529
|
font-variant-numeric: tabular-nums;
|
|
530
530
|
line-height: 18px;
|
|
531
|
-
background: color-mix(in srgb, var(--et-surface-tint, gray) 10%, transparent);
|
|
531
|
+
background: color-mix(in srgb, var(--et-surface-tint, var(--et-surface-text, gray)) 10%, transparent);
|
|
532
532
|
border-radius: 4px;
|
|
533
533
|
}
|
|
534
534
|
|
|
@@ -539,7 +539,15 @@
|
|
|
539
539
|
/* Bare rather than `:where()`-flattened: an interaction state is meant to escalate over the config
|
|
540
540
|
modifiers above it. */
|
|
541
541
|
.et-match-card:where([data-interactive]):hover .et-match-card-content {
|
|
542
|
-
background: color-mix(
|
|
543
|
-
|
|
542
|
+
background: color-mix(
|
|
543
|
+
in srgb,
|
|
544
|
+
var(--et-surface-tint, var(--et-surface-text, gray)) 6%,
|
|
545
|
+
var(--et-surface-background, transparent)
|
|
546
|
+
);
|
|
547
|
+
border-color: color-mix(
|
|
548
|
+
in srgb,
|
|
549
|
+
var(--et-surface-tint, var(--et-surface-text, gray)) 24%,
|
|
550
|
+
var(--et-surface-border, transparent)
|
|
551
|
+
);
|
|
544
552
|
}
|
|
545
553
|
}
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
border: var(--et-match-participant-emblem-border-width) solid
|
|
75
75
|
var(--et-match-participant-emblem-border-color, var(--et-surface-border, currentColor));
|
|
76
76
|
border-radius: var(--et-match-participant-emblem-radius);
|
|
77
|
-
background: color-mix(in srgb, var(--et-surface-tint, gray) 10%, transparent);
|
|
77
|
+
background: color-mix(in srgb, var(--et-surface-tint, var(--et-surface-text, gray)) 10%, transparent);
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
.et-match-participant:where([data-tbd]) .et-match-participant-emblem {
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
inline-size: 100%;
|
|
134
134
|
block-size: 100%;
|
|
135
135
|
overflow: visible;
|
|
136
|
-
fill: color-mix(in srgb, var(--et-surface-tint, gray) 10%, transparent);
|
|
136
|
+
fill: color-mix(in srgb, var(--et-surface-tint, var(--et-surface-text, gray)) 10%, transparent);
|
|
137
137
|
stroke: var(--et-surface-border, currentColor);
|
|
138
138
|
stroke-width: 1.5;
|
|
139
139
|
stroke-linejoin: round;
|
|
@@ -224,7 +224,7 @@
|
|
|
224
224
|
line-height: 16px;
|
|
225
225
|
font-variant-numeric: tabular-nums;
|
|
226
226
|
color: var(--et-surface-text-muted, currentColor);
|
|
227
|
-
background: color-mix(in srgb, var(--et-surface-tint, gray) 12%, transparent);
|
|
227
|
+
background: color-mix(in srgb, var(--et-surface-tint, var(--et-surface-text, gray)) 12%, transparent);
|
|
228
228
|
border-radius: 4px;
|
|
229
229
|
}
|
|
230
230
|
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
padding-inline: var(--et-menu-item-padding-inline);
|
|
51
51
|
border-radius: var(--et-menu-item-border-radius);
|
|
52
52
|
border: 1px solid var(--_et-menu-border);
|
|
53
|
-
background: color-mix(in srgb, var(--et-surface-tint, rgb(255 255 255)) 6%, transparent);
|
|
53
|
+
background: color-mix(in srgb, var(--et-surface-tint, var(--et-surface-text, rgb(255 255 255))) 6%, transparent);
|
|
54
54
|
color: inherit;
|
|
55
55
|
font: inherit;
|
|
56
56
|
outline: none;
|
|
@@ -133,12 +133,12 @@
|
|
|
133
133
|
);
|
|
134
134
|
--_et-menu-item-active-background: color-mix(
|
|
135
135
|
in srgb,
|
|
136
|
-
var(--et-surface-
|
|
136
|
+
var(--et-surface-tint, var(--et-surface-text, rgb(255 255 255))) 12%,
|
|
137
137
|
transparent
|
|
138
138
|
);
|
|
139
139
|
--_et-menu-item-pressed-background: color-mix(
|
|
140
140
|
in srgb,
|
|
141
|
-
var(--et-surface-
|
|
141
|
+
var(--et-surface-tint, var(--et-surface-text, rgb(255 255 255))) 20%,
|
|
142
142
|
transparent
|
|
143
143
|
);
|
|
144
144
|
--_et-menu-muted-color: var(--et-surface-text-muted, rgb(255 255 255 / 0.55));
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
@media (hover: hover) {
|
|
91
91
|
&:not([disabled], [aria-disabled='true']):hover {
|
|
92
92
|
--_et-button-border-color: var(
|
|
93
|
-
--et-pagination-item-border-color
|
|
93
|
+
--et-pagination-item-hover-border-color,
|
|
94
94
|
var(--et-pagination-item-border-color, transparent)
|
|
95
95
|
);
|
|
96
96
|
}
|
|
@@ -182,4 +182,8 @@
|
|
|
182
182
|
.et-pagination-host .et-pagination-button:where([aria-current='page']) {
|
|
183
183
|
--_et-button-shadow: inset 0 0 0 1px light-dark(var(--et-tone-text), transparent);
|
|
184
184
|
}
|
|
185
|
+
|
|
186
|
+
.et-pagination-arrow:dir(rtl) {
|
|
187
|
+
transform: scaleX(-1);
|
|
188
|
+
}
|
|
185
189
|
}
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
block-size: calc(var(--_et-scheduler-time-grid-block-span, 0) * 1%);
|
|
180
180
|
background: var(
|
|
181
181
|
--et-scheduler-time-grid-non-business-background,
|
|
182
|
-
color-mix(in srgb, var(--et-surface-tint, rgb(255 255 255)) 6%, transparent)
|
|
182
|
+
color-mix(in srgb, var(--et-surface-tint, var(--et-surface-text, rgb(255 255 255))) 6%, transparent)
|
|
183
183
|
);
|
|
184
184
|
pointer-events: none;
|
|
185
185
|
}
|
|
@@ -39,6 +39,14 @@
|
|
|
39
39
|
& .et-icon--et-chevron {
|
|
40
40
|
transform: rotate(-90deg);
|
|
41
41
|
}
|
|
42
|
+
|
|
43
|
+
&:dir(rtl) {
|
|
44
|
+
transform: translateX(10px);
|
|
45
|
+
|
|
46
|
+
& .et-icon--et-chevron {
|
|
47
|
+
transform: rotate(90deg);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
42
50
|
}
|
|
43
51
|
|
|
44
52
|
& .et-scrollable-button--end {
|
|
@@ -49,6 +57,14 @@
|
|
|
49
57
|
& .et-icon--et-chevron {
|
|
50
58
|
transform: rotate(90deg);
|
|
51
59
|
}
|
|
60
|
+
|
|
61
|
+
&:dir(rtl) {
|
|
62
|
+
transform: translateX(-10px);
|
|
63
|
+
|
|
64
|
+
& .et-icon--et-chevron {
|
|
65
|
+
transform: rotate(-90deg);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
52
68
|
}
|
|
53
69
|
}
|
|
54
70
|
|
|
@@ -37,6 +37,8 @@
|
|
|
37
37
|
/* Blink counts a scrollbar into a scroll container's mask boxes, so the fade layer stops short of the
|
|
38
38
|
measured scrollbar and a solid layer keeps the scrollbar strip opaque. */
|
|
39
39
|
.et-scrollable.et-scrollable--masked.et-scrollable--can-scroll > .et-scrollable-wrapper > .et-scrollable-container {
|
|
40
|
+
--et-scrollable-start-fade: var(--_et-scrollable-mask-start);
|
|
41
|
+
|
|
40
42
|
mask-image:
|
|
41
43
|
linear-gradient(
|
|
42
44
|
to right,
|
|
@@ -57,11 +59,30 @@
|
|
|
57
59
|
left top,
|
|
58
60
|
right top;
|
|
59
61
|
mask-repeat: no-repeat;
|
|
62
|
+
|
|
63
|
+
&:dir(rtl) {
|
|
64
|
+
mask-image:
|
|
65
|
+
linear-gradient(
|
|
66
|
+
to left,
|
|
67
|
+
transparent 0,
|
|
68
|
+
#000 var(--_et-scrollable-mask-start),
|
|
69
|
+
#000 calc(100% - var(--_et-scrollable-mask-end)),
|
|
70
|
+
transparent 100%
|
|
71
|
+
),
|
|
72
|
+
linear-gradient(#000 0 0), linear-gradient(#000 0 0), linear-gradient(#000 0 0);
|
|
73
|
+
mask-position:
|
|
74
|
+
right top,
|
|
75
|
+
right bottom,
|
|
76
|
+
right top,
|
|
77
|
+
left top;
|
|
78
|
+
}
|
|
60
79
|
}
|
|
61
80
|
|
|
62
81
|
.et-scrollable[direction='vertical'].et-scrollable--masked.et-scrollable--can-scroll
|
|
63
82
|
> .et-scrollable-wrapper
|
|
64
83
|
> .et-scrollable-container {
|
|
84
|
+
--et-scrollable-start-fade: 0px;
|
|
85
|
+
|
|
65
86
|
mask-image:
|
|
66
87
|
linear-gradient(
|
|
67
88
|
to bottom,
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
border-radius: var(--et-scrollbar-thumb-radius);
|
|
79
79
|
background-color: var(
|
|
80
80
|
--et-scrollbar-thumb-color,
|
|
81
|
-
color-mix(in srgb, var(--et-surface-tint, gray) 35%, transparent)
|
|
81
|
+
color-mix(in srgb, var(--et-surface-tint, var(--et-surface-text, gray)) 35%, transparent)
|
|
82
82
|
);
|
|
83
83
|
}
|
|
84
84
|
|
|
@@ -101,8 +101,8 @@
|
|
|
101
101
|
& .et-scrollbar-thumb:hover,
|
|
102
102
|
&.et-scrollbar--dragging .et-scrollbar-thumb {
|
|
103
103
|
background-color: var(
|
|
104
|
-
--et-scrollbar-thumb-active
|
|
105
|
-
color-mix(in srgb, var(--et-surface-tint, gray) 60%, transparent)
|
|
104
|
+
--et-scrollbar-thumb-active,
|
|
105
|
+
color-mix(in srgb, var(--et-surface-tint, var(--et-surface-text, gray)) 60%, transparent)
|
|
106
106
|
);
|
|
107
107
|
}
|
|
108
108
|
}
|
|
@@ -58,7 +58,10 @@
|
|
|
58
58
|
inline-size: stretch;
|
|
59
59
|
block-size: var(--et-skeleton-size, 1em);
|
|
60
60
|
border-radius: var(--et-skeleton-radius);
|
|
61
|
-
background: var(
|
|
61
|
+
background: var(
|
|
62
|
+
--et-skeleton-color,
|
|
63
|
+
color-mix(in srgb, var(--et-surface-tint, var(--et-surface-text, gray)) 12%, transparent)
|
|
64
|
+
);
|
|
62
65
|
}
|
|
63
66
|
|
|
64
67
|
/* `text` is a line of text's height rather than a fixed px, so a bar sits in running copy without
|
|
@@ -113,7 +116,10 @@
|
|
|
113
116
|
background: linear-gradient(
|
|
114
117
|
90deg,
|
|
115
118
|
transparent,
|
|
116
|
-
var(
|
|
119
|
+
var(
|
|
120
|
+
--et-skeleton-highlight-color,
|
|
121
|
+
color-mix(in srgb, var(--et-surface-tint, var(--et-surface-text, gray)) 16%, transparent)
|
|
122
|
+
),
|
|
117
123
|
transparent
|
|
118
124
|
);
|
|
119
125
|
animation: et-skeleton-sweep var(--et-skeleton-duration) ease-in-out infinite;
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
|
|
77
77
|
.et-standings-pick-ghost {
|
|
78
78
|
box-sizing: border-box;
|
|
79
|
-
border: 1.5px dashed color-mix(in srgb, var(--et-surface-tint, gray) 45%, transparent);
|
|
79
|
+
border: 1.5px dashed color-mix(in srgb, var(--et-surface-tint, var(--et-surface-text, gray)) 45%, transparent);
|
|
80
80
|
transition: translate var(--et-standings-pick-preview-duration) ease;
|
|
81
81
|
}
|
|
82
82
|
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
gap: var(--et-standings-pick-gap);
|
|
92
92
|
min-inline-size: 0;
|
|
93
93
|
padding-inline: 8px;
|
|
94
|
-
background: color-mix(in srgb, var(--et-surface-tint, gray) 8%, transparent);
|
|
94
|
+
background: color-mix(in srgb, var(--et-surface-tint, var(--et-surface-text, gray)) 8%, transparent);
|
|
95
95
|
transition:
|
|
96
96
|
background-color 120ms ease,
|
|
97
97
|
box-shadow 120ms ease-out;
|
|
@@ -104,15 +104,19 @@
|
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
.et-standings-pick:where(:not([data-locked])) .et-standings-pick-card:not([data-dragging]):hover {
|
|
107
|
-
background-color: color-mix(in srgb, var(--et-surface-tint, gray) 12%, transparent);
|
|
107
|
+
background-color: color-mix(in srgb, var(--et-surface-tint, var(--et-surface-text, gray)) 12%, transparent);
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
.et-standings-pick:where(:not([data-locked])) .et-standings-pick-card:not([data-dragging]):active,
|
|
111
111
|
.et-standings-pick-list:where([data-dragging]) .et-standings-pick-card:where([data-dragging]) {
|
|
112
112
|
position: relative;
|
|
113
113
|
z-index: 1;
|
|
114
|
-
background-color: color-mix(
|
|
115
|
-
|
|
114
|
+
background-color: color-mix(
|
|
115
|
+
in srgb,
|
|
116
|
+
var(--et-surface-tint, var(--et-surface-text, gray)) 20%,
|
|
117
|
+
var(--et-surface-background, Canvas)
|
|
118
|
+
);
|
|
119
|
+
box-shadow: 0 4px 10px color-mix(in srgb, var(--et-surface-tint, var(--et-surface-text, black)) 15%, transparent);
|
|
116
120
|
transition:
|
|
117
121
|
box-shadow var(--et-standings-pick-preview-duration) ease-out,
|
|
118
122
|
background-color var(--et-standings-pick-preview-duration) ease-out;
|
|
@@ -133,7 +137,11 @@
|
|
|
133
137
|
}
|
|
134
138
|
|
|
135
139
|
.et-standings-pick-list:where([data-dragging]) .et-standings-pick-card:where([data-settling]) {
|
|
136
|
-
background-color: color-mix(
|
|
140
|
+
background-color: color-mix(
|
|
141
|
+
in srgb,
|
|
142
|
+
var(--et-surface-tint, var(--et-surface-text, gray)) 8%,
|
|
143
|
+
var(--et-surface-background, Canvas)
|
|
144
|
+
);
|
|
137
145
|
box-shadow: 0 0 0 transparent;
|
|
138
146
|
transition:
|
|
139
147
|
translate var(--et-standings-pick-drop-duration) var(--et-standings-pick-drop-easing),
|
|
@@ -142,7 +150,7 @@
|
|
|
142
150
|
}
|
|
143
151
|
|
|
144
152
|
.et-standings-pick:where([data-locked]) .et-standings-pick-card {
|
|
145
|
-
background: color-mix(in srgb, var(--et-surface-tint, gray) 5%, transparent);
|
|
153
|
+
background: color-mix(in srgb, var(--et-surface-tint, var(--et-surface-text, gray)) 5%, transparent);
|
|
146
154
|
}
|
|
147
155
|
|
|
148
156
|
.et-standings-pick:where([data-locked]) .et-standings-pick-participant {
|
|
@@ -231,13 +231,13 @@
|
|
|
231
231
|
|
|
232
232
|
@media (hover: hover) {
|
|
233
233
|
&:hover {
|
|
234
|
-
background: color-mix(in srgb, var(--et-surface-tint, gray) 10%, transparent);
|
|
234
|
+
background: color-mix(in srgb, var(--et-surface-tint, var(--et-surface-text, gray)) 10%, transparent);
|
|
235
235
|
color: var(--et-surface-text, currentColor);
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
238
|
|
|
239
239
|
&:active {
|
|
240
|
-
background: color-mix(in srgb, var(--et-surface-tint, gray) 18%, transparent);
|
|
240
|
+
background: color-mix(in srgb, var(--et-surface-tint, var(--et-surface-text, gray)) 18%, transparent);
|
|
241
241
|
}
|
|
242
242
|
|
|
243
243
|
&:focus-visible {
|
|
@@ -267,7 +267,7 @@
|
|
|
267
267
|
}
|
|
268
268
|
|
|
269
269
|
.et-standings-row:where([data-highlighted]) {
|
|
270
|
-
background: color-mix(in srgb, var(--et-surface-tint, gray) 12%, transparent);
|
|
270
|
+
background: color-mix(in srgb, var(--et-surface-tint, var(--et-surface-text, gray)) 12%, transparent);
|
|
271
271
|
}
|
|
272
272
|
|
|
273
273
|
.et-standings-row:where([data-highlighted]) .et-standings-cell {
|
|
@@ -313,7 +313,7 @@
|
|
|
313
313
|
}
|
|
314
314
|
|
|
315
315
|
.et-standings-form-result:where([data-result='loss']) {
|
|
316
|
-
background: color-mix(in srgb, var(--et-surface-tint, gray) 25%, transparent);
|
|
316
|
+
background: color-mix(in srgb, var(--et-surface-tint, var(--et-surface-text, gray)) 25%, transparent);
|
|
317
317
|
}
|
|
318
318
|
|
|
319
319
|
.et-standings-legend {
|
|
@@ -68,12 +68,14 @@
|
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
.et-stream-pip-chrome__stage--grid > .et-stream-pip-chrome__cell:focus-visible::after {
|
|
71
|
-
box-shadow: inset 0 0 0 5px
|
|
71
|
+
box-shadow: inset 0 0 0 5px
|
|
72
|
+
color-mix(in srgb, var(--et-surface-tint, var(--et-surface-text, rgb(255 255 255))) 35%, transparent);
|
|
72
73
|
}
|
|
73
74
|
|
|
74
75
|
@media (hover: hover) {
|
|
75
76
|
.et-stream-pip-chrome__stage--grid > .et-stream-pip-chrome__cell:hover::after {
|
|
76
|
-
box-shadow: inset 0 0 0 5px
|
|
77
|
+
box-shadow: inset 0 0 0 5px
|
|
78
|
+
color-mix(in srgb, var(--et-surface-tint, var(--et-surface-text, rgb(255 255 255))) 35%, transparent);
|
|
77
79
|
}
|
|
78
80
|
}
|
|
79
81
|
|
|
@@ -64,7 +64,8 @@
|
|
|
64
64
|
}
|
|
65
65
|
.et-pip-window__title-bar:focus-visible {
|
|
66
66
|
outline: none;
|
|
67
|
-
box-shadow: inset 0 0 0 2px
|
|
67
|
+
box-shadow: inset 0 0 0 2px
|
|
68
|
+
color-mix(in srgb, var(--et-surface-tint, var(--et-surface-text, rgb(255 255 255))) 60%, transparent);
|
|
68
69
|
}
|
|
69
70
|
|
|
70
71
|
.et-pip-window__title-bar-spacer {
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
|
|
35
35
|
.et-table-expander:hover,
|
|
36
36
|
.et-table-expander:focus-visible {
|
|
37
|
-
background: color-mix(in srgb, var(--et-surface-tint, gray) 12%, transparent);
|
|
37
|
+
background: color-mix(in srgb, var(--et-surface-tint, var(--et-surface-text, gray)) 12%, transparent);
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
.et-table-expander:active {
|
|
41
|
-
background: color-mix(in srgb, var(--et-surface-tint, gray) 24%, transparent);
|
|
41
|
+
background: color-mix(in srgb, var(--et-surface-tint, var(--et-surface-text, gray)) 24%, transparent);
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
/* The shared `et-chevron` points up, and the expander wants it pointing at what it opens: right
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
background: var(--et-surface-background, Canvas);
|
|
37
37
|
border: 1px solid var(--et-surface-border, rgb(128 128 128 / 0.3));
|
|
38
38
|
border-radius: 6px;
|
|
39
|
-
box-shadow: 0 8px 24px color-mix(in srgb, var(--et-surface-tint, black) 18%, transparent);
|
|
39
|
+
box-shadow: 0 8px 24px color-mix(in srgb, var(--et-surface-tint, var(--et-surface-text, black)) 18%, transparent);
|
|
40
40
|
pointer-events: none;
|
|
41
41
|
}
|
|
42
42
|
}
|
|
@@ -34,10 +34,14 @@
|
|
|
34
34
|
--_et-table-row-paint: var(--et-table-row-background, var(--et-surface-background, Canvas));
|
|
35
35
|
--_et-table-row-surface: var(--_et-table-row-paint);
|
|
36
36
|
--_et-table-stripe-solid: var(--_et-table-row-paint);
|
|
37
|
-
--_et-table-row-hover-solid: color-mix(
|
|
37
|
+
--_et-table-row-hover-solid: color-mix(
|
|
38
|
+
in srgb,
|
|
39
|
+
var(--et-surface-tint, var(--et-surface-text, gray)) 8%,
|
|
40
|
+
var(--_et-table-row-paint)
|
|
41
|
+
);
|
|
38
42
|
--_et-table-row-pressed-solid: color-mix(
|
|
39
43
|
in srgb,
|
|
40
|
-
var(--et-surface-
|
|
44
|
+
var(--et-surface-tint, var(--et-surface-text, gray)) 16%,
|
|
41
45
|
var(--_et-table-row-paint)
|
|
42
46
|
);
|
|
43
47
|
--_et-table-inert-row-hover-solid: var(--_et-table-row-paint);
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
@media (hover: hover) {
|
|
47
47
|
.et-table-row:hover .et-table-cell.et-table-sticky-start,
|
|
48
48
|
.et-table-row:hover .et-table-cell.et-table-sticky-end {
|
|
49
|
-
background: var(--et-table-row-hover
|
|
49
|
+
background: var(--et-table-row-hover, var(--_et-table-row-hover-solid));
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
initial-value: 12px;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
@property --et-table-opacity
|
|
14
|
+
@property --et-table-disabled-opacity {
|
|
15
15
|
syntax: '<number>';
|
|
16
16
|
inherits: true;
|
|
17
17
|
initial-value: 0.4;
|
|
@@ -36,11 +36,16 @@
|
|
|
36
36
|
/* The table owns this scroll container, so it owns the scrollbar in it: left to the platform, a
|
|
37
37
|
horizontally scrolling table ends on a wide light-grey slab that no theme reaches. */
|
|
38
38
|
scrollbar-width: thin;
|
|
39
|
-
scrollbar-color: color-mix(in srgb, var(--et-surface-tint, gray) 35%, transparent)
|
|
39
|
+
scrollbar-color: color-mix(in srgb, var(--et-surface-tint, var(--et-surface-text, gray)) 35%, transparent)
|
|
40
|
+
transparent;
|
|
40
41
|
|
|
41
42
|
/* Skin knobs — the flat cell rules read these; each appearance overrides what it needs. The band
|
|
42
43
|
is a subtle neutral tint mixed over the surface so it stays opaque under the sticky header. */
|
|
43
|
-
--_et-table-band: color-mix(
|
|
44
|
+
--_et-table-band: color-mix(
|
|
45
|
+
in srgb,
|
|
46
|
+
var(--et-surface-tint, var(--et-surface-text, gray)) 7%,
|
|
47
|
+
var(--et-surface-background, Canvas)
|
|
48
|
+
);
|
|
44
49
|
/* The opaque paint behind the two bars rows pass under: the sticky header row and the footer bar.
|
|
45
50
|
Both read it, so an app that recolours one cannot leave the other behind. */
|
|
46
51
|
--_et-table-header-bg: var(--et-table-header-background-color, var(--et-surface-background, Canvas));
|
|
@@ -60,20 +65,20 @@
|
|
|
60
65
|
--_et-table-stripe-solid: var(--_et-table-row-surface);
|
|
61
66
|
/* The hover tint, in the same two forms and for the same reason. Read as a knob so an appearance
|
|
62
67
|
can drop it, where a row has nothing to react to. */
|
|
63
|
-
--_et-table-hover-tint: color-mix(in srgb, var(--et-surface-tint, gray) 8%, transparent);
|
|
68
|
+
--_et-table-hover-tint: color-mix(in srgb, var(--et-surface-tint, var(--et-surface-text, gray)) 8%, transparent);
|
|
64
69
|
--_et-table-hover-tint-solid: color-mix(
|
|
65
70
|
in srgb,
|
|
66
|
-
var(--et-surface-
|
|
71
|
+
var(--et-surface-tint, var(--et-surface-text, gray)) 8%,
|
|
67
72
|
var(--_et-table-row-surface)
|
|
68
73
|
);
|
|
69
74
|
--_et-table-row-hover: var(--_et-table-hover-tint);
|
|
70
75
|
--_et-table-row-hover-solid: var(--_et-table-hover-tint-solid);
|
|
71
76
|
/* Held rather than hovered. Twice the hover tint, the same step the library's buttons take, in the
|
|
72
77
|
same two forms as the hover tint and for the same reason. */
|
|
73
|
-
--_et-table-pressed-tint: color-mix(in srgb, var(--et-surface-tint, gray) 16%, transparent);
|
|
78
|
+
--_et-table-pressed-tint: color-mix(in srgb, var(--et-surface-tint, var(--et-surface-text, gray)) 16%, transparent);
|
|
74
79
|
--_et-table-pressed-tint-solid: color-mix(
|
|
75
80
|
in srgb,
|
|
76
|
-
var(--et-surface-
|
|
81
|
+
var(--et-surface-tint, var(--et-surface-text, gray)) 16%,
|
|
77
82
|
var(--_et-table-row-surface)
|
|
78
83
|
);
|
|
79
84
|
--_et-table-row-pressed: var(--_et-table-pressed-tint);
|
|
@@ -115,7 +120,7 @@
|
|
|
115
120
|
classes) - and every rule below composes these, so none of them needs to ask. */
|
|
116
121
|
--_et-table-pin-shadow: var(
|
|
117
122
|
--et-table-pin-shadow-color,
|
|
118
|
-
color-mix(in srgb, var(--et-surface-tint, black) 30%, transparent)
|
|
123
|
+
color-mix(in srgb, var(--et-surface-tint, var(--et-surface-text, black)) 30%, transparent)
|
|
119
124
|
);
|
|
120
125
|
/* Per axis as well, because the two marks answer to different designs: an app that draws its own
|
|
121
126
|
rule at a pinned column's edge takes the inline mark to `transparent` and still wants the block
|
|
@@ -182,8 +187,12 @@
|
|
|
182
187
|
|
|
183
188
|
.et-table-host:where([data-appearance='zebra']) {
|
|
184
189
|
--_et-table-header-bg: var(--et-table-header-background-color, var(--_et-table-band));
|
|
185
|
-
--_et-table-stripe-bg: color-mix(in srgb, var(--et-surface-tint, gray) 4%, transparent);
|
|
186
|
-
--_et-table-stripe-solid: color-mix(
|
|
190
|
+
--_et-table-stripe-bg: color-mix(in srgb, var(--et-surface-tint, var(--et-surface-text, gray)) 4%, transparent);
|
|
191
|
+
--_et-table-stripe-solid: color-mix(
|
|
192
|
+
in srgb,
|
|
193
|
+
var(--et-surface-tint, var(--et-surface-text, gray)) 4%,
|
|
194
|
+
var(--_et-table-row-surface)
|
|
195
|
+
);
|
|
187
196
|
}
|
|
188
197
|
|
|
189
198
|
.et-table-host:where([data-appearance='grid']) {
|
|
@@ -462,7 +471,7 @@
|
|
|
462
471
|
so the public knob can fall back to a theme token (see the theming guide). */
|
|
463
472
|
--_et-table-scroll-fade-color: var(
|
|
464
473
|
--et-table-scroll-fade-color,
|
|
465
|
-
color-mix(in srgb, var(--et-surface-tint, black) 22%, transparent)
|
|
474
|
+
color-mix(in srgb, var(--et-surface-tint, var(--et-surface-text, black)) 22%, transparent)
|
|
466
475
|
);
|
|
467
476
|
}
|
|
468
477
|
|
|
@@ -543,7 +552,7 @@
|
|
|
543
552
|
(A hovered *selected* row keeps its accent instead — see the selection feature's styles.) */
|
|
544
553
|
@media (hover: hover) {
|
|
545
554
|
.et-table-row:hover .et-table-cell {
|
|
546
|
-
background: var(--et-table-row-hover
|
|
555
|
+
background: var(--et-table-row-hover, var(--_et-table-row-hover));
|
|
547
556
|
}
|
|
548
557
|
}
|
|
549
558
|
|
|
@@ -637,7 +646,7 @@
|
|
|
637
646
|
/* Scoped to the cell rather than to the button, so a disabled column that is not sortable - whose
|
|
638
647
|
label is a plain span - dims with the rest of them. */
|
|
639
648
|
.et-table-header-cell:where([data-disabled]) .et-table-header-label {
|
|
640
|
-
opacity: var(--et-table-opacity
|
|
649
|
+
opacity: var(--et-table-disabled-opacity);
|
|
641
650
|
}
|
|
642
651
|
|
|
643
652
|
.et-table-header-label:where(.et-table-header-label--sortable:disabled) {
|
|
@@ -791,7 +800,7 @@
|
|
|
791
800
|
margin-block-start: var(--_et-table-busy-margin-block-start);
|
|
792
801
|
margin-block-end: var(--_et-table-busy-margin-block-end);
|
|
793
802
|
overflow: hidden;
|
|
794
|
-
background: color-mix(in srgb, var(--et-surface-tint, gray) 10%, transparent);
|
|
803
|
+
background: color-mix(in srgb, var(--et-surface-tint, var(--et-surface-text, gray)) 10%, transparent);
|
|
795
804
|
}
|
|
796
805
|
|
|
797
806
|
.et-table-busy-bar.et-table-busy-bar--enter {
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
.et-time-picker-track {
|
|
48
|
-
stroke: color-mix(in srgb, var(--et-surface-tint, currentColor) 14%, transparent);
|
|
48
|
+
stroke: color-mix(in srgb, var(--et-surface-tint, var(--et-surface-text, currentColor)) 14%, transparent);
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
.et-time-picker-arc {
|