@ethlete/components 1.0.0-next.100 → 1.0.0-next.102
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 +45 -0
- package/design/banner.ts +1 -1
- package/design/breadcrumb.ts +0 -1
- package/design/button.ts +0 -2
- package/design/card.ts +1 -1
- package/design/dialog.ts +1 -7
- package/design/grid.ts +3 -3
- package/design/masonry.ts +3 -3
- package/design/menu.ts +5 -3
- package/design/notification.ts +0 -1
- package/design/scheduler.ts +1 -1
- package/design/sdk/components/accent-on-light/accent-on-light.css +5 -5
- package/design/sdk/components/accordion/accordion.css +3 -3
- package/design/sdk/components/action-sheet/action-sheet.css +13 -13
- package/design/sdk/components/action-sheet/action-sheet.ts +5 -3
- package/design/sdk/components/anchored-dialog/anchored-dialog.css +5 -5
- package/design/sdk/components/avatar/avatar.css +3 -3
- package/design/sdk/components/badge/badge.css +3 -3
- package/design/sdk/components/banner/banner.css +4 -4
- package/design/sdk/components/bracket/bracket.css +8 -11
- package/design/sdk/components/breadcrumb/breadcrumb.css +4 -4
- package/design/sdk/components/button/button.css +3 -13
- package/design/sdk/components/calendar/calendar.css +7 -7
- package/design/sdk/components/card/card.css +4 -4
- package/design/sdk/components/carousel/carousel.css +6 -6
- package/design/sdk/components/chart/chart.css +8 -8
- package/design/sdk/components/checkbox/checkbox.css +2 -2
- package/design/sdk/components/chip/chip.css +4 -4
- package/design/sdk/components/copy-button/copy-button.css +3 -3
- package/design/sdk/components/description-list/description-list.css +2 -2
- package/design/sdk/components/dialog/dialog.css +4 -4
- package/design/sdk/components/divider/divider.css +2 -2
- package/design/sdk/components/empty-state/empty-state.css +4 -4
- package/design/sdk/components/floating-action/floating-action.css +4 -4
- package/design/sdk/components/grid/grid.css +4 -4
- package/design/sdk/components/input/input.css +13 -22
- package/design/sdk/components/kbd/kbd.css +2 -2
- package/design/sdk/components/loader/loader.css +6 -6
- package/design/sdk/components/masonry/masonry.css +2 -2
- package/design/sdk/components/match/match.css +5 -8
- package/design/sdk/components/menu/menu.css +2 -2
- package/design/sdk/components/menu/menu.ts +2 -2
- package/design/sdk/components/notification/notification.css +6 -6
- package/design/sdk/components/otp-input/otp-input.css +8 -8
- package/design/sdk/components/pagination/pagination.css +2 -2
- package/design/sdk/components/picture/picture.css +5 -5
- package/design/sdk/components/progress-steps/progress-steps.css +6 -6
- package/design/sdk/components/query-error/query-error.css +5 -11
- package/design/sdk/components/radio-group/radio-group.css +2 -2
- package/design/sdk/components/scheduler/scheduler.css +9 -15
- package/design/sdk/components/scrollable/scrollable.css +5 -5
- package/design/sdk/components/scrollbar/scrollbar.css +3 -3
- package/design/sdk/components/select/select.css +1 -1
- package/design/sdk/components/skeleton/skeleton.css +2 -2
- package/design/sdk/components/slider/slider.css +8 -13
- package/design/sdk/components/standings/standings.css +7 -8
- package/design/sdk/components/stat-tile/stat-tile.css +3 -3
- package/design/sdk/components/stream/stream.css +7 -13
- package/design/sdk/components/table/table.css +13 -13
- package/design/sdk/components/tabs/tabs.css +2 -2
- package/design/sdk/components/textarea/textarea.css +13 -22
- package/design/sdk/components/timeline/timeline.css +4 -4
- package/design/sdk/components/toolbar/toolbar.css +6 -6
- package/design/sdk/components/tooltip/tooltip.css +3 -3
- package/design/sdk/components/tooltip/tooltip.ts +1 -1
- package/design/sdk/components/tree/selected-tint.css +3 -3
- package/design/sdk/foundations/colors/colors.css +363 -421
- package/design/sdk/foundations/colors/colors.ts +27 -25
- package/design/sdk/foundations/colors/shared/contrast.ts +10 -10
- package/design/sdk/foundations/elevation/elevation.css +2 -2
- package/design/sdk/foundations/elevation/elevation.ts +1 -1
- package/design/sdk/foundations/elevation/shared/elevation/scene.css +16 -11
- package/design/sdk/ready.json +4 -109
- package/design/tabs.ts +1 -1
- package/design/toggletip.ts +85 -0
- package/fesm2022/ethlete-components.mjs +725 -417
- package/fesm2022/ethlete-components.mjs.map +1 -1
- package/generators/generators.json +10 -0
- package/generators/migrate-overlay-and-column-api/column-visibility-host.js +102 -0
- package/generators/migrate-overlay-and-column-api/migration.js +39 -0
- package/generators/migrate-overlay-and-column-api/overlay-and-column-api.js +18 -0
- package/generators/migrate-overlay-and-column-api/overlay-result.js +399 -0
- package/generators/migrate-overlay-and-column-api/schema.json +26 -0
- package/generators/migrate-overlay-and-column-api/source-scan.js +171 -0
- package/generators/migrate-tabs-active-underline/migration.js +31 -0
- package/generators/migrate-tabs-active-underline/schema.json +26 -0
- package/generators/migrate-tabs-active-underline/tabs-active-underline.js +46 -0
- package/migrations.json +18 -0
- package/package.json +2 -2
- package/src/lib/accordion/accordion.component.css +10 -11
- package/src/lib/avatar/avatar-group.component.css +1 -1
- package/src/lib/avatar/avatar.component.css +3 -3
- package/src/lib/badge/badge.component.css +13 -9
- package/src/lib/banner/banner.component.css +5 -5
- package/src/lib/bracket/bracket-default-continue.component.css +2 -2
- package/src/lib/bracket/bracket-default-final-match.component.css +6 -6
- package/src/lib/bracket/bracket-default-round-header.component.css +2 -2
- package/src/lib/bracket/bracket-default-section-title.component.css +1 -1
- package/src/lib/bracket/bracket-pick-card.component.css +21 -21
- package/src/lib/bracket/bracket-rounds-list.component.css +1 -1
- package/src/lib/bracket/bracket.component.css +2 -2
- package/src/lib/bracket/layouts/swiss/bracket-swiss-round-header.component.css +65 -0
- package/src/lib/bracket/layouts/swiss/bracket-swiss-styles.component.css +5 -1
- package/src/lib/breadcrumb/breadcrumb-overflow.component.css +3 -3
- package/src/lib/breadcrumb/breadcrumb.component.css +5 -6
- package/src/lib/button/button-properties-styles.component.css +12 -12
- package/src/lib/button/button.component.css +52 -35
- package/src/lib/button/fab.component.css +17 -20
- package/src/lib/button/icon-button.component.css +15 -19
- package/src/lib/button/split-button.component.css +11 -14
- package/src/lib/button/text-button.component.css +1 -1
- package/src/lib/button/window-control-button.component.css +21 -32
- package/src/lib/calendar/calendar-comparison-band-styles.component.css +1 -1
- package/src/lib/calendar/calendar-week-numbers-styles.component.css +3 -3
- package/src/lib/calendar/calendar.component.css +21 -23
- package/src/lib/card/card.component.css +5 -5
- package/src/lib/carousel/carousel-autoplay-styles.component.css +2 -8
- package/src/lib/carousel/carousel.component.css +7 -19
- package/src/lib/chart/bar-chart.component.css +6 -6
- package/src/lib/chart/chart-grid.component.css +1 -1
- package/src/lib/chart/chart-legend.component.css +2 -2
- package/src/lib/chart/chart-tooltip.component.css +2 -2
- package/src/lib/chart/line-chart-tooltip.component.css +2 -2
- package/src/lib/chart/line-chart.component.css +11 -11
- package/src/lib/chart/pie-chart.component.css +8 -8
- package/src/lib/chart/sankey-chart.component.css +13 -13
- package/src/lib/chip/chip.component.css +15 -17
- package/src/lib/command-palette/command-palette-item.component.css +5 -5
- package/src/lib/command-palette/command-palette.component.css +3 -3
- package/src/lib/description-list/description-list.component.css +2 -2
- package/src/lib/divider/divider.component.css +2 -2
- package/src/lib/empty-state/empty-state.component.css +4 -4
- package/src/lib/floating-action/floating-action-styles.component.css +3 -3
- package/src/lib/focus-ring/focus-ring-styles.component.css +1 -1
- package/src/lib/forms/cascader/cascader-breadcrumb-styles.component.css +8 -8
- package/src/lib/forms/cascader/cascader-panel.component.css +27 -24
- package/src/lib/forms/cascader/cascader-sheet-styles.component.css +3 -3
- package/src/lib/forms/cascader/cascader.component.css +1 -1
- package/src/lib/forms/checkbox/checkbox.component.css +26 -39
- package/src/lib/forms/choice-field/choice-field-card-styles.component.css +3 -3
- package/src/lib/forms/choice-field/choice-field.component.css +7 -7
- package/src/lib/forms/color-input/color-input.component.css +2 -3
- package/src/lib/forms/color-input/color-picker-panel.component.css +16 -15
- package/src/lib/forms/date-time/date-input/date-input.component.css +1 -1
- package/src/lib/forms/date-time/date-picker-panel.component.css +8 -5
- package/src/lib/forms/date-time/date-range-presets.component.css +2 -2
- package/src/lib/forms/date-time/date-time-input/date-time-input.component.css +4 -4
- package/src/lib/forms/date-time/date-time-range-input/date-time-range-input.component.css +3 -3
- package/src/lib/forms/date-time/duration-input/duration-input.component.css +3 -3
- package/src/lib/forms/date-time/range-input-shell-styles.component.css +2 -2
- package/src/lib/forms/date-time/time-input/time-input.component.css +1 -1
- package/src/lib/forms/description/description.component.css +1 -1
- package/src/lib/forms/dropzone/dropzone-crop.component.css +8 -8
- package/src/lib/forms/dropzone/dropzone-item.component.css +5 -5
- package/src/lib/forms/dropzone/dropzone-preview-styles.component.css +5 -5
- package/src/lib/forms/dropzone/dropzone-readonly-styles.component.css +1 -1
- package/src/lib/forms/dropzone/dropzone-row-styles.component.css +3 -3
- package/src/lib/forms/dropzone/dropzone.component.css +20 -22
- package/src/lib/forms/form-field/counter.component.css +2 -2
- package/src/lib/forms/form-field/form-field-control-suffix-styles.component.css +12 -14
- package/src/lib/forms/form-field/form-field-suffix-overlap-styles.component.css +1 -1
- package/src/lib/forms/form-field/form-field-text-shell-styles.component.css +22 -35
- package/src/lib/forms/form-field/form-field.component.css +9 -10
- package/src/lib/forms/form-field/form-support-styles.component.css +2 -2
- package/src/lib/forms/form-field/headless/label.directive.css +2 -2
- package/src/lib/forms/form-field/hint.component.css +2 -2
- package/src/lib/forms/input/input.component.css +1 -1
- package/src/lib/forms/input/number-input.component.css +5 -5
- package/src/lib/forms/input/password-input.component.css +7 -8
- package/src/lib/forms/multi-language-rich-text-editor/tools/multi-language-rich-text-editor-language-tool.component.css +7 -10
- package/src/lib/forms/otp-input/otp-input.component.css +11 -15
- package/src/lib/forms/phone-input/phone-input.component.css +4 -5
- package/src/lib/forms/rating/rating.component.css +8 -9
- package/src/lib/forms/rich-text-editor/rich-text-content-styles.component.css +6 -6
- package/src/lib/forms/rich-text-editor/rich-text-editor-floating-toolbar.component.css +7 -4
- package/src/lib/forms/rich-text-editor/rich-text-editor-image-editor.component.css +6 -6
- package/src/lib/forms/rich-text-editor/rich-text-editor-link-editor.component.css +4 -4
- package/src/lib/forms/rich-text-editor/rich-text-editor-token-popup.component.css +12 -9
- package/src/lib/forms/rich-text-editor/rich-text-editor.component.css +6 -8
- package/src/lib/forms/rich-text-editor/tools/rich-text-editor-image-styles.component.css +7 -7
- package/src/lib/forms/rich-text-editor/tools/rich-text-editor-table-styles.component.css +2 -2
- package/src/lib/forms/rich-text-editor/tools/rich-text-editor-table-tool.component.css +4 -4
- package/src/lib/forms/select/select-extras-styles.component.css +10 -13
- package/src/lib/forms/select/select-option-group.component.css +2 -2
- package/src/lib/forms/select/select-option-styles.component.css +6 -6
- package/src/lib/forms/select/select-panel.component.css +13 -10
- package/src/lib/forms/select/select.component.css +4 -4
- package/src/lib/forms/selection-card-styles.component.css +10 -14
- package/src/lib/forms/selection-list/checkbox-group/checkbox-group-select-all.component.css +11 -21
- package/src/lib/forms/selection-list/checkbox-group/checkbox-group.component.css +4 -4
- package/src/lib/forms/selection-list/checkbox-group/checkbox-option.component.css +11 -21
- package/src/lib/forms/selection-list/radio-group/radio-group.component.css +4 -4
- package/src/lib/forms/selection-list/radio-group/radio.component.css +10 -20
- package/src/lib/forms/selection-list/segmented-button-group/segmented-button-group.component.css +7 -7
- package/src/lib/forms/selection-list/segmented-button-group/segmented-button.component.css +16 -15
- package/src/lib/forms/slider/range-slider.component.css +18 -24
- package/src/lib/forms/slider/slider.component.css +18 -24
- package/src/lib/forms/switch/switch.component.css +19 -22
- package/src/lib/forms/tag-input/tag-input.component.css +1 -1
- package/src/lib/forms/textarea/textarea.component.css +1 -1
- package/src/lib/grid/grid-debug.component.css +18 -18
- package/src/lib/grid/grid-item-default-actions.component.css +2 -2
- package/src/lib/grid/grid-item.component.css +3 -4
- package/src/lib/grid/grid.component.css +2 -2
- package/src/lib/kbd/kbd.component.css +3 -3
- package/src/lib/loader/brand-loader/brand-loader.component.css +3 -3
- package/src/lib/loader/progress-bar/progress-bar.component.css +1 -1
- package/src/lib/loader/spinner/spinner-styles.component.css +1 -1
- package/src/lib/match/match-card.component.css +18 -29
- package/src/lib/match/match-participant.component.css +11 -11
- package/src/lib/match/match-score.component.css +1 -1
- package/src/lib/match/match-scoreline.component.css +3 -3
- package/src/lib/menu/menu-group-label.component.css +1 -1
- package/src/lib/menu/menu-item-shortcut.component.css +1 -1
- package/src/lib/menu/menu-item-submenu-icon.component.css +1 -1
- package/src/lib/menu/menu-search-styles.component.css +3 -3
- package/src/lib/menu/menu-selection-item.component.css +2 -2
- package/src/lib/menu/menu-separator.component.css +1 -1
- package/src/lib/menu/menu.component.css +13 -10
- package/src/lib/notification/notification.component.css +10 -10
- package/src/lib/overlay/alert-dialog/alert-dialog.component.css +2 -2
- package/src/lib/overlay/floating-tip-styles.component.css +4 -4
- package/src/lib/overlay/overlay-container.component.css +9 -6
- package/src/lib/overlay/strategies/overlay-arrow-styles.component.css +2 -2
- package/src/lib/overlay/strategies/sheet-styles.component.css +2 -2
- package/src/lib/pagination/pagination.component.css +9 -10
- package/src/lib/progress-steps/progress-step.component.css +19 -19
- package/src/lib/query-error/query-error.component.css +1 -1
- package/src/lib/scheduler/scheduler-agenda-view.component.css +8 -8
- package/src/lib/scheduler/scheduler-appointment-drag-styles.component.css +4 -1
- package/src/lib/scheduler/scheduler-appointment-styles.component.css +12 -10
- package/src/lib/scheduler/scheduler-edit-color.component.css +2 -2
- package/src/lib/scheduler/scheduler-edit-surface-breadcrumb.component.css +2 -2
- package/src/lib/scheduler/scheduler-edit-surface-children.component.css +4 -4
- package/src/lib/scheduler/scheduler-month-view.component.css +16 -18
- package/src/lib/scheduler/scheduler-time-grid-view.component.css +24 -26
- package/src/lib/scheduler/scheduler.component.css +1 -1
- package/src/lib/scrollable/headless/scrollable-buttons.component.css +55 -6
- package/src/lib/scrollable/headless/scrollable-masks.component.css +2 -2
- package/src/lib/scrollable/headless/scrollable-navigation.component.css +2 -2
- package/src/lib/scrollbar/scrollbar.component.css +2 -2
- package/src/lib/skeleton/skeleton.component.css +2 -8
- package/src/lib/standings/standings-pick.component.css +13 -21
- package/src/lib/standings/standings.component.css +24 -30
- package/src/lib/stat-tile/stat-tile-sparkline.component.css +2 -2
- package/src/lib/stat-tile/stat-tile.component.css +5 -5
- package/src/lib/stream/consent/stream-consent.component.css +2 -2
- package/src/lib/stream/error/stream-player-error.component.css +2 -2
- package/src/lib/stream/loading/stream-player-loading.component.css +3 -3
- package/src/lib/stream/pip/pip-slot-placeholder.component.css +2 -2
- package/src/lib/stream/pip/pip-stage-styles.component.css +3 -6
- package/src/lib/stream/pip/pip-window.component.css +4 -5
- package/src/lib/stream/stream-overlay-card-styles.component.css +4 -4
- package/src/lib/stream/stream-player-slot-styles.component.css +1 -1
- package/src/lib/table/table-column-menu-trigger.component.css +1 -1
- package/src/lib/table/table-expander-cell.component.css +2 -2
- package/src/lib/table/table-filter-trigger.component.css +4 -4
- package/src/lib/table/table-group-header-row.component.css +1 -1
- package/src/lib/table/table-reorder-overlay.component.css +4 -4
- package/src/lib/table/table-resize-grip.component.css +4 -5
- package/src/lib/table/table-row-box-styles.component.css +7 -11
- package/src/lib/table/table-select-cell.component.css +7 -7
- package/src/lib/table/table-sort-priority-styles.component.css +1 -1
- package/src/lib/table/table.component.css +37 -49
- package/src/lib/tabs/tab-bar-styles.component.css +44 -8
- package/src/lib/time-picker/time-picker.component.css +16 -25
- package/src/lib/timeline/timeline-item.component.css +7 -10
- package/src/lib/timeline/timeline.component.css +1 -1
- package/src/lib/toggletip/toggletip.component.css +6 -1
- package/src/lib/toolbar/toolbar.component.css +1 -1
- package/src/lib/tooltip/tooltip.component.css +4 -4
- package/src/lib/tree/tree.component.css +18 -18
- package/types/ethlete-components.d.ts +85 -28
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
& .et-scrollable-button:where(:not([data-variant='filled'])) {
|
|
78
|
-
color: var(--et-surface-
|
|
78
|
+
color: var(--et-surface-control-text, currentColor);
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
&.et-scrollable--can-scroll:not(.et-scrollable--is-at-start) {
|
|
@@ -102,14 +102,63 @@
|
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
&.et-scrollable--can-scroll:
|
|
106
|
-
&
|
|
107
|
-
|
|
108
|
-
|
|
105
|
+
&.et-scrollable--can-scroll:has(> .et-scrollable-wrapper > .et-scrollable-buttons--inside) {
|
|
106
|
+
& > .et-scrollable-wrapper > .et-scrollable-container {
|
|
107
|
+
--_et-scrollable-button-space: clamp(0px, var(--et-scrollable-buttons-end-space), 50%);
|
|
108
|
+
--_et-scrollable-start-clip: 0px;
|
|
109
|
+
--_et-scrollable-end-clip: 0px;
|
|
110
|
+
--_et-scrollable-scrollbar-edge: calc(100% - var(--_et-scrollable-scrollbar-size, 0px));
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
&:not(.et-scrollable--is-at-start) > .et-scrollable-wrapper > .et-scrollable-container {
|
|
114
|
+
--_et-scrollable-start-clip: var(--_et-scrollable-button-space);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
&:not(.et-scrollable--is-at-end) > .et-scrollable-wrapper > .et-scrollable-container {
|
|
118
|
+
--_et-scrollable-end-clip: var(--_et-scrollable-button-space);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
/* Clip only the content area. Padding changes can clamp the scroll offset at the end,
|
|
122
|
+
and insetting the scrollport itself can move the items or trim the native scrollbar. */
|
|
123
|
+
&:is([direction='horizontal'], :not([direction])) > .et-scrollable-wrapper > .et-scrollable-container {
|
|
124
|
+
--_et-scrollable-left-clip: var(--_et-scrollable-start-clip);
|
|
125
|
+
--_et-scrollable-right-clip: calc(100% - var(--_et-scrollable-end-clip));
|
|
126
|
+
|
|
127
|
+
clip-path: polygon(
|
|
128
|
+
var(--_et-scrollable-left-clip) 0,
|
|
129
|
+
var(--_et-scrollable-right-clip) 0,
|
|
130
|
+
var(--_et-scrollable-right-clip) var(--_et-scrollable-scrollbar-edge),
|
|
131
|
+
100% var(--_et-scrollable-scrollbar-edge),
|
|
132
|
+
100% 100%,
|
|
133
|
+
0 100%,
|
|
134
|
+
0 var(--_et-scrollable-scrollbar-edge),
|
|
135
|
+
var(--_et-scrollable-left-clip) var(--_et-scrollable-scrollbar-edge)
|
|
136
|
+
);
|
|
137
|
+
|
|
138
|
+
&:dir(rtl) {
|
|
139
|
+
--_et-scrollable-left-clip: var(--_et-scrollable-end-clip);
|
|
140
|
+
--_et-scrollable-right-clip: calc(100% - var(--_et-scrollable-start-clip));
|
|
141
|
+
}
|
|
109
142
|
}
|
|
110
143
|
|
|
111
144
|
&[direction='vertical'] > .et-scrollable-wrapper > .et-scrollable-container {
|
|
112
|
-
|
|
145
|
+
--_et-scrollable-scrollbar-outer-edge: 100%;
|
|
146
|
+
|
|
147
|
+
clip-path: polygon(
|
|
148
|
+
var(--_et-scrollable-scrollbar-outer-edge) 0,
|
|
149
|
+
var(--_et-scrollable-scrollbar-edge) 0,
|
|
150
|
+
var(--_et-scrollable-scrollbar-edge) var(--_et-scrollable-start-clip),
|
|
151
|
+
calc(100% - var(--_et-scrollable-scrollbar-outer-edge)) var(--_et-scrollable-start-clip),
|
|
152
|
+
calc(100% - var(--_et-scrollable-scrollbar-outer-edge)) calc(100% - var(--_et-scrollable-end-clip)),
|
|
153
|
+
var(--_et-scrollable-scrollbar-edge) calc(100% - var(--_et-scrollable-end-clip)),
|
|
154
|
+
var(--_et-scrollable-scrollbar-edge) 100%,
|
|
155
|
+
var(--_et-scrollable-scrollbar-outer-edge) 100%
|
|
156
|
+
);
|
|
157
|
+
|
|
158
|
+
&:dir(rtl) {
|
|
159
|
+
--_et-scrollable-scrollbar-outer-edge: 0%;
|
|
160
|
+
--_et-scrollable-scrollbar-edge: var(--_et-scrollable-scrollbar-size, 0px);
|
|
161
|
+
}
|
|
113
162
|
}
|
|
114
163
|
}
|
|
115
164
|
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
& .et-scrollable-mask {
|
|
135
135
|
inset-block: 0;
|
|
136
136
|
inline-size: 0;
|
|
137
|
-
border-inline-start: 1px solid var(--et-surface-border
|
|
137
|
+
border-inline-start: 1px solid var(--et-surface-border, #404040);
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
& .et-scrollable-mask--start {
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
& .et-scrollable-mask {
|
|
151
151
|
inset-inline: 0;
|
|
152
152
|
block-size: 0;
|
|
153
|
-
border-block-start: 1px solid var(--et-surface-border
|
|
153
|
+
border-block-start: 1px solid var(--et-surface-border, #404040);
|
|
154
154
|
}
|
|
155
155
|
|
|
156
156
|
& .et-scrollable-mask--start {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
background-color: transparent;
|
|
19
19
|
|
|
20
20
|
&.et-scrollable-navigation-item--active::after {
|
|
21
|
-
background-color: light-dark(var(--et-
|
|
21
|
+
background-color: light-dark(var(--et-tone-text), var(--et-tone-fill));
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
&::after {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
inline-size: 50%;
|
|
28
28
|
block-size: 50%;
|
|
29
29
|
border-radius: 50%;
|
|
30
|
-
background-color: var(--et-surface-
|
|
30
|
+
background-color: var(--et-surface-control-text, #4b4b4b);
|
|
31
31
|
opacity: 0.3;
|
|
32
32
|
transform: scale(0);
|
|
33
33
|
}
|
|
@@ -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-
|
|
81
|
+
color-mix(in srgb, var(--et-surface-tint, gray) 35%, transparent)
|
|
82
82
|
);
|
|
83
83
|
}
|
|
84
84
|
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
&.et-scrollbar--dragging .et-scrollbar-thumb {
|
|
103
103
|
background-color: var(
|
|
104
104
|
--et-scrollbar-thumb-active-color,
|
|
105
|
-
color-mix(in srgb, var(--et-surface-
|
|
105
|
+
color-mix(in srgb, var(--et-surface-tint, gray) 60%, transparent)
|
|
106
106
|
);
|
|
107
107
|
}
|
|
108
108
|
}
|
|
@@ -58,10 +58,7 @@
|
|
|
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(
|
|
62
|
-
--et-skeleton-color,
|
|
63
|
-
color-mix(in srgb, var(--et-surface-interaction-solid, gray) 12%, transparent)
|
|
64
|
-
);
|
|
61
|
+
background: var(--et-skeleton-color, color-mix(in srgb, var(--et-surface-tint, gray) 12%, transparent));
|
|
65
62
|
}
|
|
66
63
|
|
|
67
64
|
/* `text` is a line of text's height rather than a fixed px, so a bar sits in running copy without
|
|
@@ -116,10 +113,7 @@
|
|
|
116
113
|
background: linear-gradient(
|
|
117
114
|
90deg,
|
|
118
115
|
transparent,
|
|
119
|
-
var(
|
|
120
|
-
--et-skeleton-highlight-color,
|
|
121
|
-
color-mix(in srgb, var(--et-surface-interaction-solid, gray) 16%, transparent)
|
|
122
|
-
),
|
|
116
|
+
var(--et-skeleton-highlight-color, color-mix(in srgb, var(--et-surface-tint, gray) 16%, transparent)),
|
|
123
117
|
transparent
|
|
124
118
|
);
|
|
125
119
|
animation: et-skeleton-sweep var(--et-skeleton-duration) ease-in-out infinite;
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
display: block;
|
|
41
41
|
box-sizing: border-box;
|
|
42
42
|
font-size: var(--et-standings-pick-font-size);
|
|
43
|
-
color: var(--et-surface-
|
|
43
|
+
color: var(--et-surface-text, currentColor);
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
.et-standings-pick-list {
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
.et-standings-pick-position {
|
|
64
|
-
color: var(--et-surface-
|
|
64
|
+
color: var(--et-surface-text-muted, currentColor);
|
|
65
65
|
font-variant-numeric: tabular-nums;
|
|
66
66
|
text-align: center;
|
|
67
67
|
}
|
|
@@ -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-
|
|
79
|
+
border: 1.5px dashed color-mix(in srgb, var(--et-surface-tint, 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-
|
|
94
|
+
background: color-mix(in srgb, var(--et-surface-tint, gray) 8%, transparent);
|
|
95
95
|
transition:
|
|
96
96
|
background-color 120ms ease,
|
|
97
97
|
box-shadow 120ms ease-out;
|
|
@@ -104,19 +104,15 @@
|
|
|
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-
|
|
107
|
+
background-color: color-mix(in srgb, var(--et-surface-tint, 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
|
-
|
|
116
|
-
var(--et-surface-interaction-solid, gray) 20%,
|
|
117
|
-
var(--et-surface-background-solid, Canvas)
|
|
118
|
-
);
|
|
119
|
-
box-shadow: 0 4px 10px color-mix(in srgb, var(--et-surface-interaction-solid, black) 15%, transparent);
|
|
114
|
+
background-color: color-mix(in srgb, var(--et-surface-tint, gray) 20%, var(--et-surface-background, Canvas));
|
|
115
|
+
box-shadow: 0 4px 10px color-mix(in srgb, var(--et-surface-tint, black) 15%, transparent);
|
|
120
116
|
transition:
|
|
121
117
|
box-shadow var(--et-standings-pick-preview-duration) ease-out,
|
|
122
118
|
background-color var(--et-standings-pick-preview-duration) ease-out;
|
|
@@ -137,11 +133,7 @@
|
|
|
137
133
|
}
|
|
138
134
|
|
|
139
135
|
.et-standings-pick-list:where([data-dragging]) .et-standings-pick-card:where([data-settling]) {
|
|
140
|
-
background-color: color-mix(
|
|
141
|
-
in srgb,
|
|
142
|
-
var(--et-surface-interaction-solid, gray) 8%,
|
|
143
|
-
var(--et-surface-background-solid, Canvas)
|
|
144
|
-
);
|
|
136
|
+
background-color: color-mix(in srgb, var(--et-surface-tint, gray) 8%, var(--et-surface-background, Canvas));
|
|
145
137
|
box-shadow: 0 0 0 transparent;
|
|
146
138
|
transition:
|
|
147
139
|
translate var(--et-standings-pick-drop-duration) var(--et-standings-pick-drop-easing),
|
|
@@ -150,11 +142,11 @@
|
|
|
150
142
|
}
|
|
151
143
|
|
|
152
144
|
.et-standings-pick:where([data-locked]) .et-standings-pick-card {
|
|
153
|
-
background: color-mix(in srgb, var(--et-surface-
|
|
145
|
+
background: color-mix(in srgb, var(--et-surface-tint, gray) 5%, transparent);
|
|
154
146
|
}
|
|
155
147
|
|
|
156
148
|
.et-standings-pick:where([data-locked]) .et-standings-pick-participant {
|
|
157
|
-
color: var(--et-surface-
|
|
149
|
+
color: var(--et-surface-text-muted, currentColor);
|
|
158
150
|
}
|
|
159
151
|
|
|
160
152
|
.et-standings-pick-participant {
|
|
@@ -176,7 +168,7 @@
|
|
|
176
168
|
.et-standings-pick-grip {
|
|
177
169
|
flex: none;
|
|
178
170
|
margin-inline-end: 6px;
|
|
179
|
-
color: var(--et-surface-
|
|
171
|
+
color: var(--et-surface-text-muted, currentColor);
|
|
180
172
|
inline-size: 12px;
|
|
181
173
|
block-size: 8px;
|
|
182
174
|
background: repeating-linear-gradient(to bottom, currentColor 0 1.5px, transparent 1.5px 3.5px);
|
|
@@ -189,7 +181,7 @@
|
|
|
189
181
|
margin: 0;
|
|
190
182
|
padding-block: calc(var(--et-standings-pick-gap) + 2px);
|
|
191
183
|
padding-inline: 0;
|
|
192
|
-
color: var(--et-surface-
|
|
184
|
+
color: var(--et-surface-text-muted, currentColor);
|
|
193
185
|
font-size: 10px;
|
|
194
186
|
text-transform: uppercase;
|
|
195
187
|
letter-spacing: 0.06em;
|
|
@@ -198,7 +190,7 @@
|
|
|
198
190
|
.et-standings-pick-cut-line {
|
|
199
191
|
flex: 1;
|
|
200
192
|
block-size: 1px;
|
|
201
|
-
background: light-dark(var(--et-
|
|
193
|
+
background: light-dark(var(--et-tone-text), var(--et-tone-fill));
|
|
202
194
|
opacity: 0.5;
|
|
203
195
|
}
|
|
204
196
|
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
container-name: et-standings;
|
|
47
47
|
display: block;
|
|
48
48
|
box-sizing: border-box;
|
|
49
|
-
color: var(--et-surface-
|
|
49
|
+
color: var(--et-surface-text, currentColor);
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
.et-standings-content {
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
.et-standings-cell:where([data-column='position']) {
|
|
88
88
|
inline-size: 1px;
|
|
89
89
|
padding-inline-start: calc(var(--et-standings-cell-padding-inline) + var(--et-standings-zone-bar-width));
|
|
90
|
-
color: var(--et-surface-
|
|
90
|
+
color: var(--et-surface-text-muted, currentColor);
|
|
91
91
|
font-variant-numeric: tabular-nums;
|
|
92
92
|
text-align: start;
|
|
93
93
|
}
|
|
@@ -119,16 +119,16 @@
|
|
|
119
119
|
|
|
120
120
|
.et-standings-head-row .et-standings-cell {
|
|
121
121
|
block-size: var(--et-standings-row-height);
|
|
122
|
-
color: var(--et-surface-
|
|
122
|
+
color: var(--et-surface-text-muted, currentColor);
|
|
123
123
|
font-size: 11px;
|
|
124
124
|
text-transform: uppercase;
|
|
125
125
|
letter-spacing: 0.04em;
|
|
126
|
-
border-block-end: 1px solid var(--et-surface-border
|
|
126
|
+
border-block-end: 1px solid var(--et-surface-border, rgb(255 255 255 / 0.1));
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
.et-standings-row .et-standings-cell {
|
|
130
130
|
block-size: var(--et-standings-row-height);
|
|
131
|
-
border-block-end: 1px solid color-mix(in srgb, var(--et-surface-border
|
|
131
|
+
border-block-end: 1px solid color-mix(in srgb, var(--et-surface-border, gray) 60%, transparent);
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
/* A band's colour comes from the theme the row is scoped to, which the consumer names — so "advancing"
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
.et-standings-row:where([data-zone]) {
|
|
137
137
|
background: color-mix(
|
|
138
138
|
in srgb,
|
|
139
|
-
var(--et-
|
|
139
|
+
var(--et-tone-fill, transparent) calc(7% * var(--et-standings-zone-strength, 1)),
|
|
140
140
|
transparent
|
|
141
141
|
);
|
|
142
142
|
}
|
|
@@ -145,8 +145,7 @@
|
|
|
145
145
|
box-shadow: inset var(--et-standings-zone-bar-width) 0 0
|
|
146
146
|
color-mix(
|
|
147
147
|
in srgb,
|
|
148
|
-
light-dark(var(--et-
|
|
149
|
-
calc(100% * var(--et-standings-zone-strength, 1)),
|
|
148
|
+
light-dark(var(--et-tone-text), var(--et-tone-fill)) calc(100% * var(--et-standings-zone-strength, 1)),
|
|
150
149
|
transparent
|
|
151
150
|
);
|
|
152
151
|
|
|
@@ -154,8 +153,7 @@
|
|
|
154
153
|
box-shadow: inset calc(var(--et-standings-zone-bar-width) * -1) 0 0
|
|
155
154
|
color-mix(
|
|
156
155
|
in srgb,
|
|
157
|
-
light-dark(var(--et-
|
|
158
|
-
calc(100% * var(--et-standings-zone-strength, 1)),
|
|
156
|
+
light-dark(var(--et-tone-text), var(--et-tone-fill)) calc(100% * var(--et-standings-zone-strength, 1)),
|
|
159
157
|
transparent
|
|
160
158
|
);
|
|
161
159
|
}
|
|
@@ -164,7 +162,7 @@
|
|
|
164
162
|
.et-standings-detail:where([data-zone]) {
|
|
165
163
|
background: color-mix(
|
|
166
164
|
in srgb,
|
|
167
|
-
var(--et-
|
|
165
|
+
var(--et-tone-fill, transparent) calc(7% * var(--et-standings-zone-strength, 1)),
|
|
168
166
|
transparent
|
|
169
167
|
);
|
|
170
168
|
}
|
|
@@ -173,8 +171,7 @@
|
|
|
173
171
|
box-shadow: inset var(--et-standings-zone-bar-width) 0 0
|
|
174
172
|
color-mix(
|
|
175
173
|
in srgb,
|
|
176
|
-
light-dark(var(--et-
|
|
177
|
-
calc(100% * var(--et-standings-zone-strength, 1)),
|
|
174
|
+
light-dark(var(--et-tone-text), var(--et-tone-fill)) calc(100% * var(--et-standings-zone-strength, 1)),
|
|
178
175
|
transparent
|
|
179
176
|
);
|
|
180
177
|
|
|
@@ -182,8 +179,7 @@
|
|
|
182
179
|
box-shadow: inset calc(var(--et-standings-zone-bar-width) * -1) 0 0
|
|
183
180
|
color-mix(
|
|
184
181
|
in srgb,
|
|
185
|
-
light-dark(var(--et-
|
|
186
|
-
calc(100% * var(--et-standings-zone-strength, 1)),
|
|
182
|
+
light-dark(var(--et-tone-text), var(--et-tone-fill)) calc(100% * var(--et-standings-zone-strength, 1)),
|
|
187
183
|
transparent
|
|
188
184
|
);
|
|
189
185
|
}
|
|
@@ -229,24 +225,23 @@
|
|
|
229
225
|
border: 0;
|
|
230
226
|
border-radius: 6px;
|
|
231
227
|
background: transparent;
|
|
232
|
-
color: var(--et-surface-
|
|
228
|
+
color: var(--et-surface-text-muted, currentColor);
|
|
233
229
|
cursor: pointer;
|
|
234
230
|
vertical-align: middle;
|
|
235
231
|
|
|
236
232
|
@media (hover: hover) {
|
|
237
233
|
&:hover {
|
|
238
|
-
background: color-mix(in srgb, var(--et-surface-
|
|
239
|
-
color: var(--et-surface-
|
|
234
|
+
background: color-mix(in srgb, var(--et-surface-tint, gray) 10%, transparent);
|
|
235
|
+
color: var(--et-surface-text, currentColor);
|
|
240
236
|
}
|
|
241
237
|
}
|
|
242
238
|
|
|
243
239
|
&:active {
|
|
244
|
-
background: color-mix(in srgb, var(--et-surface-
|
|
240
|
+
background: color-mix(in srgb, var(--et-surface-tint, gray) 18%, transparent);
|
|
245
241
|
}
|
|
246
242
|
|
|
247
243
|
&:focus-visible {
|
|
248
|
-
outline: 2px solid
|
|
249
|
-
light-dark(var(--et-theme-color-ink-solid, currentColor), var(--et-theme-color-primary-solid, currentColor));
|
|
244
|
+
outline: 2px solid light-dark(var(--et-tone-text, currentColor), var(--et-tone-fill, currentColor));
|
|
250
245
|
outline-offset: -2px;
|
|
251
246
|
}
|
|
252
247
|
|
|
@@ -272,7 +267,7 @@
|
|
|
272
267
|
}
|
|
273
268
|
|
|
274
269
|
.et-standings-row:where([data-highlighted]) {
|
|
275
|
-
background: color-mix(in srgb, var(--et-surface-
|
|
270
|
+
background: color-mix(in srgb, var(--et-surface-tint, gray) 12%, transparent);
|
|
276
271
|
}
|
|
277
272
|
|
|
278
273
|
.et-standings-row:where([data-highlighted]) .et-standings-cell {
|
|
@@ -280,7 +275,7 @@
|
|
|
280
275
|
}
|
|
281
276
|
|
|
282
277
|
.et-standings-row:where([data-highlighted]) .et-standings-cell:where([data-column='position']) {
|
|
283
|
-
color: var(--et-surface-
|
|
278
|
+
color: var(--et-surface-text, currentColor);
|
|
284
279
|
}
|
|
285
280
|
|
|
286
281
|
.et-standings-content .et-standings-participant {
|
|
@@ -309,16 +304,16 @@
|
|
|
309
304
|
/* Won / drew / lost, from the surface tokens rather than a green-amber-red this file invents. The letter,
|
|
310
305
|
not the fill, is what tells them apart (WCAG 1.4.1), so it must stay legible on every fill. */
|
|
311
306
|
.et-standings-form-result:where([data-result='win']) {
|
|
312
|
-
color: var(--et-surface-background
|
|
313
|
-
background: var(--et-surface-
|
|
307
|
+
color: var(--et-surface-background, white);
|
|
308
|
+
background: var(--et-surface-text, currentColor);
|
|
314
309
|
}
|
|
315
310
|
|
|
316
311
|
.et-standings-form-result:where([data-result='tie']) {
|
|
317
|
-
background: color-mix(in srgb, var(--et-surface-
|
|
312
|
+
background: color-mix(in srgb, var(--et-surface-text, gray) 25%, transparent);
|
|
318
313
|
}
|
|
319
314
|
|
|
320
315
|
.et-standings-form-result:where([data-result='loss']) {
|
|
321
|
-
background: color-mix(in srgb, var(--et-surface-
|
|
316
|
+
background: color-mix(in srgb, var(--et-surface-tint, gray) 25%, transparent);
|
|
322
317
|
}
|
|
323
318
|
|
|
324
319
|
.et-standings-legend {
|
|
@@ -328,7 +323,7 @@
|
|
|
328
323
|
margin: 0;
|
|
329
324
|
padding: 10px var(--et-standings-cell-padding-inline) 0;
|
|
330
325
|
font-size: 11px;
|
|
331
|
-
color: var(--et-surface-
|
|
326
|
+
color: var(--et-surface-text-muted, currentColor);
|
|
332
327
|
list-style: none;
|
|
333
328
|
}
|
|
334
329
|
|
|
@@ -344,8 +339,7 @@
|
|
|
344
339
|
block-size: 3px;
|
|
345
340
|
background: color-mix(
|
|
346
341
|
in srgb,
|
|
347
|
-
light-dark(var(--et-
|
|
348
|
-
calc(100% * var(--et-standings-zone-strength, 1)),
|
|
342
|
+
light-dark(var(--et-tone-text), var(--et-tone-fill)) calc(100% * var(--et-standings-zone-strength, 1)),
|
|
349
343
|
transparent
|
|
350
344
|
);
|
|
351
345
|
border-radius: 2px;
|
|
@@ -37,13 +37,13 @@
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
.et-stat-tile-sparkline-line {
|
|
40
|
-
stroke: var(--et-surface-
|
|
40
|
+
stroke: var(--et-surface-text-subtle, currentColor);
|
|
41
41
|
stroke-width: var(--et-stat-tile-sparkline-line-width);
|
|
42
42
|
stroke-linejoin: round;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
.et-stat-tile-sparkline-current {
|
|
46
|
-
stroke: var(--et-
|
|
46
|
+
stroke: var(--et-tone-text, currentColor);
|
|
47
47
|
stroke-width: var(--et-stat-tile-sparkline-current-size);
|
|
48
48
|
}
|
|
49
49
|
}
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
flex-direction: column;
|
|
47
47
|
gap: var(--et-stat-tile-gap);
|
|
48
48
|
min-inline-size: 0;
|
|
49
|
-
color: var(--et-surface-
|
|
49
|
+
color: var(--et-surface-text, currentColor);
|
|
50
50
|
line-height: 1.4;
|
|
51
51
|
|
|
52
52
|
> .et-stat-tile-sparkline {
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
|
|
76
76
|
.et-stat-tile-label {
|
|
77
77
|
font-size: var(--et-stat-tile-label-font-size);
|
|
78
|
-
color: var(--et-surface-
|
|
78
|
+
color: var(--et-surface-text-muted, currentColor);
|
|
79
79
|
text-transform: var(--et-stat-tile-label-text-transform, none);
|
|
80
80
|
letter-spacing: var(--et-stat-tile-label-letter-spacing);
|
|
81
81
|
}
|
|
@@ -90,13 +90,13 @@
|
|
|
90
90
|
.et-stat-tile-unit {
|
|
91
91
|
font-size: 0.6em;
|
|
92
92
|
font-weight: 500;
|
|
93
|
-
color: var(--et-surface-
|
|
93
|
+
color: var(--et-surface-text-muted, currentColor);
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
.et-stat-tile-footer {
|
|
97
97
|
display: block;
|
|
98
98
|
font-size: var(--et-stat-tile-footer-font-size);
|
|
99
|
-
color: var(--et-surface-
|
|
99
|
+
color: var(--et-surface-text-muted, currentColor);
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
.et-stat-tile-delta {
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
white-space: nowrap;
|
|
108
108
|
|
|
109
109
|
&:where([data-sentiment='good'], [data-sentiment='bad']) {
|
|
110
|
-
color: var(--et-
|
|
110
|
+
color: var(--et-tone-text, currentColor);
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
|
|
@@ -71,8 +71,8 @@
|
|
|
71
71
|
justify-content: center;
|
|
72
72
|
width: 100%;
|
|
73
73
|
height: 100%;
|
|
74
|
-
background: var(--et-surface-background
|
|
75
|
-
color: var(--et-surface-
|
|
74
|
+
background: var(--et-surface-background, inherit);
|
|
75
|
+
color: var(--et-surface-text, inherit);
|
|
76
76
|
container-type: size;
|
|
77
77
|
}
|
|
78
78
|
|
|
@@ -71,8 +71,8 @@
|
|
|
71
71
|
display: flex;
|
|
72
72
|
align-items: center;
|
|
73
73
|
justify-content: center;
|
|
74
|
-
background: var(--et-surface-background
|
|
75
|
-
color: var(--et-surface-
|
|
74
|
+
background: var(--et-surface-background, inherit);
|
|
75
|
+
color: var(--et-surface-text, inherit);
|
|
76
76
|
z-index: 1;
|
|
77
77
|
container-type: size;
|
|
78
78
|
}
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
display: flex;
|
|
6
6
|
align-items: center;
|
|
7
7
|
justify-content: center;
|
|
8
|
-
background: var(--et-surface-background
|
|
9
|
-
color: var(--et-surface-
|
|
8
|
+
background: var(--et-surface-background, inherit);
|
|
9
|
+
color: var(--et-surface-text, inherit);
|
|
10
10
|
z-index: 1;
|
|
11
11
|
|
|
12
12
|
.et-spinner {
|
|
13
|
-
--et-spinner-color: light-dark(var(--et-
|
|
13
|
+
--et-spinner-color: light-dark(var(--et-tone-text), var(--et-tone-fill));
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
display: flex;
|
|
52
52
|
align-items: center;
|
|
53
53
|
justify-content: center;
|
|
54
|
-
background: var(--et-surface-background
|
|
55
|
-
color: var(--et-surface-
|
|
54
|
+
background: var(--et-surface-background, inherit);
|
|
55
|
+
color: var(--et-surface-text, inherit);
|
|
56
56
|
z-index: 20;
|
|
57
57
|
}
|
|
58
58
|
|
|
@@ -68,14 +68,12 @@
|
|
|
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
|
|
72
|
-
color-mix(in srgb, var(--et-surface-interaction-solid, rgb(255 255 255)) 35%, transparent);
|
|
71
|
+
box-shadow: inset 0 0 0 5px color-mix(in srgb, var(--et-surface-tint, rgb(255 255 255)) 35%, transparent);
|
|
73
72
|
}
|
|
74
73
|
|
|
75
74
|
@media (hover: hover) {
|
|
76
75
|
.et-stream-pip-chrome__stage--grid > .et-stream-pip-chrome__cell:hover::after {
|
|
77
|
-
box-shadow: inset 0 0 0 5px
|
|
78
|
-
color-mix(in srgb, var(--et-surface-interaction-solid, rgb(255 255 255)) 35%, transparent);
|
|
76
|
+
box-shadow: inset 0 0 0 5px color-mix(in srgb, var(--et-surface-tint, rgb(255 255 255)) 35%, transparent);
|
|
79
77
|
}
|
|
80
78
|
}
|
|
81
79
|
|
|
@@ -84,8 +82,7 @@
|
|
|
84
82
|
}
|
|
85
83
|
|
|
86
84
|
.et-stream-pip-chrome__stage--grid > .et-stream-pip-chrome__cell--featured::after {
|
|
87
|
-
box-shadow: inset 0 0 0 5px
|
|
88
|
-
var(--et-stream-pip-chrome-featured-ring-color, var(--et-theme-color-primary-solid, #3b82f6));
|
|
85
|
+
box-shadow: inset 0 0 0 5px var(--et-stream-pip-chrome-featured-ring-color, var(--et-tone-fill, #3b82f6));
|
|
89
86
|
}
|
|
90
87
|
|
|
91
88
|
et-pip-player iframe {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
display: flex;
|
|
27
27
|
flex-direction: column;
|
|
28
28
|
touch-action: none;
|
|
29
|
-
color: var(--et-surface-
|
|
29
|
+
color: var(--et-surface-text, inherit);
|
|
30
30
|
--et-resize-handles-side-top: var(--et-pip-title-bar-h);
|
|
31
31
|
|
|
32
32
|
&::after {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
display: block;
|
|
35
35
|
position: absolute;
|
|
36
36
|
inset: var(--et-pip-title-bar-h) 0 0;
|
|
37
|
-
background: var(--et-pip-bg, color-mix(in srgb, var(--et-surface-background
|
|
37
|
+
background: var(--et-pip-bg, color-mix(in srgb, var(--et-surface-background, rgb(0 0 0)) 60%, transparent));
|
|
38
38
|
backdrop-filter: blur(var(--et-pip-backdrop-blur));
|
|
39
39
|
z-index: -1;
|
|
40
40
|
transition: inset 0.2s ease;
|
|
@@ -64,8 +64,7 @@
|
|
|
64
64
|
}
|
|
65
65
|
.et-pip-window__title-bar:focus-visible {
|
|
66
66
|
outline: none;
|
|
67
|
-
box-shadow: inset 0 0 0 2px
|
|
68
|
-
color-mix(in srgb, var(--et-surface-interaction-solid, rgb(255 255 255)) 60%, transparent);
|
|
67
|
+
box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--et-surface-tint, rgb(255 255 255)) 60%, transparent);
|
|
69
68
|
}
|
|
70
69
|
|
|
71
70
|
.et-pip-window__title-bar-spacer {
|
|
@@ -162,7 +161,7 @@
|
|
|
162
161
|
et-pip-window .et-resize-handle::before {
|
|
163
162
|
content: '';
|
|
164
163
|
position: absolute;
|
|
165
|
-
background: color-mix(in srgb, var(--et-surface-
|
|
164
|
+
background: color-mix(in srgb, var(--et-surface-text, rgb(255 255 255)) 65%, transparent);
|
|
166
165
|
border-radius: 3px;
|
|
167
166
|
opacity: 0;
|
|
168
167
|
transition: opacity 0.15s 0s;
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
overflow: auto;
|
|
15
15
|
border-radius: var(--et-stream-overlay-card-border-radius, 0px);
|
|
16
16
|
text-align: center;
|
|
17
|
-
background: var(--et-surface-background
|
|
17
|
+
background: var(--et-surface-background, inherit);
|
|
18
18
|
container-type: size;
|
|
19
19
|
}
|
|
20
20
|
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
.et-pip-slot-placeholder-icon {
|
|
45
45
|
width: var(--et-stream-overlay-card-icon-size, 36px);
|
|
46
46
|
height: var(--et-stream-overlay-card-icon-size, 36px);
|
|
47
|
-
color: var(--et-surface-
|
|
47
|
+
color: var(--et-surface-text-subtle, currentColor);
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
.et-stream-consent-heading,
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
font-weight: var(--et-stream-overlay-card-heading-weight, 600);
|
|
55
55
|
line-height: var(--et-stream-overlay-card-heading-line-height, 122%);
|
|
56
56
|
letter-spacing: var(--et-stream-overlay-card-heading-letter-spacing, 0.2px);
|
|
57
|
-
color: var(--et-surface-
|
|
57
|
+
color: var(--et-surface-text, currentColor);
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
.et-stream-consent-description,
|
|
@@ -64,6 +64,6 @@
|
|
|
64
64
|
font-size: var(--et-stream-overlay-card-description-size, 14px);
|
|
65
65
|
font-weight: var(--et-stream-overlay-card-description-weight, 400);
|
|
66
66
|
line-height: var(--et-stream-overlay-card-description-line-height, 150%);
|
|
67
|
-
color: var(--et-surface-
|
|
67
|
+
color: var(--et-surface-text-muted, currentColor);
|
|
68
68
|
}
|
|
69
69
|
}
|
|
@@ -13,6 +13,6 @@
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.et-stream-player-slot .et-button:where([data-variant='filled']) {
|
|
16
|
-
--et-button-shadow: inset 0 0 0 1px light-dark(var(--et-
|
|
16
|
+
--et-button-shadow: inset 0 0 0 1px light-dark(var(--et-tone-text), transparent);
|
|
17
17
|
}
|
|
18
18
|
}
|