@ethlete/components 1.0.0-next.68 → 1.0.0-next.70
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 +55 -0
- package/design/button.ts +57 -0
- package/design/form-field.ts +210 -0
- package/design/select.ts +110 -0
- package/fesm2022/ethlete-components-testing.mjs +3 -1
- package/fesm2022/ethlete-components-testing.mjs.map +1 -1
- package/fesm2022/ethlete-components.mjs +1543 -352
- package/fesm2022/ethlete-components.mjs.map +1 -1
- package/package.json +20 -14
- package/src/lib/accordion/accordion-group.component.css +12 -0
- package/src/lib/accordion/accordion.component.css +185 -0
- package/src/lib/avatar/avatar-group.component.css +31 -0
- package/src/lib/avatar/avatar.component.css +75 -0
- package/src/lib/badge/badge.component.css +111 -0
- package/src/lib/banner/banner.component.css +94 -0
- package/src/lib/bracket/bracket-default-continue.component.css +29 -0
- package/src/lib/bracket/bracket-default-final-match.component.css +76 -0
- package/src/lib/bracket/bracket-default-match.component.css +21 -0
- package/src/lib/bracket/bracket-default-round-header.component.css +36 -0
- package/src/lib/bracket/bracket-participants.component.css +13 -0
- package/src/lib/bracket/bracket-pick-card.component.css +232 -0
- package/src/lib/bracket/bracket-rounds-list.component.css +75 -0
- package/src/lib/bracket/bracket-skeleton.component.css +55 -0
- package/src/lib/bracket/bracket.component.css +102 -0
- package/src/lib/bracket/layouts/swiss/bracket-swiss-styles.component.css +10 -0
- package/src/lib/breadcrumb/breadcrumb-overflow.component.css +38 -0
- package/src/lib/breadcrumb/breadcrumb.component.css +120 -0
- package/src/lib/button/button-properties-styles.component.css +143 -0
- package/src/lib/button/button.component.css +196 -0
- package/src/lib/button/fab.component.css +252 -0
- package/src/lib/button/icon-button.component.css +143 -0
- package/src/lib/button/split-button.component.css +77 -0
- package/src/lib/button/text-button.component.css +140 -0
- package/src/lib/button/window-control-button.component.css +158 -0
- package/src/lib/calendar/calendar-coarse-grid-styles.component.css +29 -0
- package/src/lib/calendar/calendar-comparison-band-styles.component.css +36 -0
- package/src/lib/calendar/calendar-week-numbers-styles.component.css +32 -0
- package/src/lib/calendar/calendar.component.css +366 -0
- package/src/lib/card/card.component.css +39 -0
- package/src/lib/carousel/carousel-autoplay-styles.component.css +166 -0
- package/src/lib/carousel/carousel-transition-styles.component.css +179 -0
- package/src/lib/carousel/carousel.component.css +142 -0
- package/src/lib/chart/bar-chart.component.css +176 -0
- package/src/lib/chart/chart-axis.component.css +40 -0
- package/src/lib/chart/chart-grid.component.css +6 -0
- package/src/lib/chart/chart-legend.component.css +46 -0
- package/src/lib/chart/chart-tooltip.component.css +34 -0
- package/src/lib/chart/line-chart-tooltip.component.css +51 -0
- package/src/lib/chart/line-chart.component.css +234 -0
- package/src/lib/chart/pie-chart.component.css +176 -0
- package/src/lib/chart/sankey-chart.component.css +221 -0
- package/src/lib/chip/chip.component.css +155 -0
- package/src/lib/command-palette/command-palette-item.component.css +94 -0
- package/src/lib/command-palette/command-palette.component.css +100 -0
- package/src/lib/description-list/description-list.component.css +77 -0
- package/src/lib/divider/divider.component.css +36 -0
- package/src/lib/empty-state/empty-state.component.css +73 -0
- package/src/lib/floating-action/floating-action-styles.component.css +78 -0
- package/src/lib/focus-ring/focus-ring-styles.component.css +13 -0
- package/src/lib/forms/cascader/cascader-breadcrumb-styles.component.css +98 -0
- package/src/lib/forms/cascader/cascader-panel.component.css +386 -0
- package/src/lib/forms/cascader/cascader-sheet-styles.component.css +241 -0
- package/src/lib/forms/cascader/cascader.component.css +52 -0
- package/src/lib/forms/checkbox/checkbox.component.css +247 -0
- package/src/lib/forms/choice-field/choice-field-card-styles.component.css +59 -0
- package/src/lib/forms/choice-field/choice-field.component.css +186 -0
- package/src/lib/forms/color-input/color-input.component.css +108 -0
- package/src/lib/forms/color-input/color-picker-panel.component.css +349 -0
- package/src/lib/forms/date-time/date-input/date-input.component.css +35 -0
- package/src/lib/forms/date-time/date-picker-panel.component.css +115 -0
- package/src/lib/forms/date-time/date-range-input/date-range-input.component.css +16 -0
- package/src/lib/forms/date-time/date-range-presets.component.css +60 -0
- package/src/lib/forms/date-time/date-time-input/date-time-input.component.css +151 -0
- package/src/lib/forms/date-time/date-time-range-input/date-time-range-input.component.css +121 -0
- package/src/lib/forms/date-time/duration-input/duration-input.component.css +88 -0
- package/src/lib/forms/date-time/range-input-shell-styles.component.css +55 -0
- package/src/lib/forms/date-time/time-input/time-input.component.css +35 -0
- package/src/lib/forms/date-time/time-range-input/time-range-input.component.css +16 -0
- package/src/lib/forms/dropzone/dropzone-item.component.css +51 -0
- package/src/lib/forms/dropzone/dropzone-preview-styles.component.css +67 -0
- package/src/lib/forms/dropzone/dropzone-readonly-styles.component.css +34 -0
- package/src/lib/forms/dropzone/dropzone.component.css +267 -0
- package/src/lib/forms/form-field/counter.component.css +25 -0
- package/src/lib/forms/form-field/form-field-control-suffix-styles.component.css +116 -0
- package/src/lib/forms/form-field/form-field-rich-text-styles.component.css +31 -0
- package/src/lib/forms/form-field/form-field-suffix-overlap-styles.component.css +66 -0
- package/src/lib/forms/form-field/form-field-text-shell-styles.component.css +312 -0
- package/src/lib/forms/form-field/form-field-textarea-styles.component.css +32 -0
- package/src/lib/forms/form-field/form-field.component.css +328 -0
- package/src/lib/forms/form-field/form-support-styles.component.css +102 -0
- package/src/lib/forms/form-field/headless/label.directive.css +25 -0
- package/src/lib/forms/form-field/hint.component.css +20 -0
- package/src/lib/forms/input/input.component.css +49 -0
- package/src/lib/forms/input/number-input.component.css +128 -0
- package/src/lib/forms/input/password-input.component.css +103 -0
- package/src/lib/forms/multi-language-rich-text-editor/multi-language-rich-text-editor.component.css +8 -0
- package/src/lib/forms/multi-language-rich-text-editor/tools/multi-language-rich-text-editor-language-tool.component.css +104 -0
- package/src/lib/forms/otp-input/otp-input.component.css +194 -0
- package/src/lib/forms/phone-input/phone-input.component.css +126 -0
- package/src/lib/forms/rating/rating.component.css +197 -0
- package/src/lib/forms/rich-text-editor/rich-text-content-styles.component.css +234 -0
- package/src/lib/forms/rich-text-editor/rich-text-editor-floating-toolbar.component.css +90 -0
- package/src/lib/forms/rich-text-editor/rich-text-editor-image-editor.component.css +172 -0
- package/src/lib/forms/rich-text-editor/rich-text-editor-link-editor.component.css +149 -0
- package/src/lib/forms/rich-text-editor/rich-text-editor-token-palette.component.css +18 -0
- package/src/lib/forms/rich-text-editor/rich-text-editor-token-popup.component.css +199 -0
- package/src/lib/forms/rich-text-editor/rich-text-editor.component.css +175 -0
- package/src/lib/forms/rich-text-editor/rich-text-viewer.component.css +6 -0
- package/src/lib/forms/rich-text-editor/tools/rich-text-editor-align-tool.component.css +5 -0
- package/src/lib/forms/rich-text-editor/tools/rich-text-editor-heading-tool.component.css +5 -0
- package/src/lib/forms/rich-text-editor/tools/rich-text-editor-image-styles.component.css +109 -0
- package/src/lib/forms/rich-text-editor/tools/rich-text-editor-table-styles.component.css +21 -0
- package/src/lib/forms/rich-text-editor/tools/rich-text-editor-table-tool.component.css +44 -0
- package/src/lib/forms/select/select-all-option.component.css +14 -0
- package/src/lib/forms/select/select-extras-styles.component.css +143 -0
- package/src/lib/forms/select/select-option-group.component.css +35 -0
- package/src/lib/forms/select/select-option-styles.component.css +137 -0
- package/src/lib/forms/select/select-panel.component.css +112 -0
- package/src/lib/forms/select/select.component.css +180 -0
- package/src/lib/forms/selection-card-styles.component.css +136 -0
- package/src/lib/forms/selection-list/checkbox-group/checkbox-group-select-all.component.css +89 -0
- package/src/lib/forms/selection-list/checkbox-group/checkbox-group.component.css +142 -0
- package/src/lib/forms/selection-list/checkbox-group/checkbox-option.component.css +153 -0
- package/src/lib/forms/selection-list/radio-group/radio-group.component.css +134 -0
- package/src/lib/forms/selection-list/radio-group/radio.component.css +137 -0
- package/src/lib/forms/selection-list/segmented-button-group/segmented-button-group.component.css +149 -0
- package/src/lib/forms/selection-list/segmented-button-group/segmented-button.component.css +180 -0
- package/src/lib/forms/slider/range-slider.component.css +348 -0
- package/src/lib/forms/slider/slider.component.css +342 -0
- package/src/lib/forms/switch/switch.component.css +187 -0
- package/src/lib/forms/tag-input/tag-input.component.css +54 -0
- package/src/lib/forms/textarea/textarea-autosize-styles.component.css +17 -0
- package/src/lib/forms/textarea/textarea.component.css +40 -0
- package/src/lib/grid/grid-debug.component.css +130 -0
- package/src/lib/grid/grid-item-default-actions.component.css +11 -0
- package/src/lib/grid/grid-item.component.css +172 -0
- package/src/lib/grid/grid.component.css +56 -0
- package/src/lib/icon/headless/icon-styles.component.css +7 -0
- package/src/lib/kbd/kbd.component.css +62 -0
- package/src/lib/loader/brand-loader/brand-loader.component.css +130 -0
- package/src/lib/loader/progress-bar/progress-bar.component.css +176 -0
- package/src/lib/loader/spinner/spinner.component.css +216 -0
- package/src/lib/masonry/masonry-styles.component.css +84 -0
- package/src/lib/match/match-card.component.css +441 -0
- package/src/lib/match/match-participant.component.css +137 -0
- package/src/lib/match/match-score.component.css +74 -0
- package/src/lib/menu/menu-group-label.component.css +12 -0
- package/src/lib/menu/menu-item-shortcut.component.css +10 -0
- package/src/lib/menu/menu-item-submenu-icon.component.css +18 -0
- package/src/lib/menu/menu-item.component.css +32 -0
- package/src/lib/menu/menu-search-styles.component.css +56 -0
- package/src/lib/menu/menu-selection-item.component.css +88 -0
- package/src/lib/menu/menu-separator.component.css +9 -0
- package/src/lib/menu/menu.component.css +296 -0
- package/src/lib/notification/notification-stack.component.css +114 -0
- package/src/lib/notification/notification.component.css +271 -0
- package/src/lib/overlay/alert-dialog/alert-dialog.component.css +45 -0
- package/src/lib/overlay/floating-panel-styles.component.css +71 -0
- package/src/lib/overlay/floating-tip-styles.component.css +78 -0
- package/src/lib/overlay/overlay-container.component.css +167 -0
- package/src/lib/overlay/overlay-main-styles.component.css +105 -0
- package/src/lib/overlay/overlay-template-host.component.css +7 -0
- package/src/lib/overlay/routing/overlay-route-header-template-outlet.component.css +36 -0
- package/src/lib/overlay/routing/overlay-router-outlet.component.css +207 -0
- package/src/lib/overlay/routing/overlay-shared-route-template-outlet.component.css +5 -0
- package/src/lib/overlay/sidebar/overlay-sidebar.component.css +16 -0
- package/src/lib/overlay/strategies/anchored-dialog-styles.component.css +51 -0
- package/src/lib/overlay/strategies/dialog-styles.component.css +50 -0
- package/src/lib/overlay/strategies/full-screen-dialog-styles.component.css +83 -0
- package/src/lib/overlay/strategies/overlay-arrow-styles.component.css +112 -0
- package/src/lib/overlay/strategies/overlay-origin-clone.component.css +63 -0
- package/src/lib/overlay/strategies/sheet-styles.component.css +143 -0
- package/src/lib/pagination/page-size-select.component.css +102 -0
- package/src/lib/pagination/pagination.component.css +192 -0
- package/src/lib/picture/picture.component.css +66 -0
- package/src/lib/progress-steps/progress-step.component.css +187 -0
- package/src/lib/progress-steps/progress-steps.component.css +26 -0
- package/src/lib/query-error/query-error.component.css +21 -0
- package/src/lib/scheduler/scheduler-agenda-view.component.css +97 -0
- package/src/lib/scheduler/scheduler-appointment-drag-styles.component.css +56 -0
- package/src/lib/scheduler/scheduler-appointment-styles.component.css +111 -0
- package/src/lib/scheduler/scheduler-edit-color.component.css +16 -0
- package/src/lib/scheduler/scheduler-edit-surface-actions.component.css +14 -0
- package/src/lib/scheduler/scheduler-edit-surface-breadcrumb.component.css +26 -0
- package/src/lib/scheduler/scheduler-edit-surface-children.component.css +57 -0
- package/src/lib/scheduler/scheduler-edit-surface-fields.component.css +11 -0
- package/src/lib/scheduler/scheduler-edit-surface-footer.component.css +7 -0
- package/src/lib/scheduler/scheduler-edit-surface-header.component.css +15 -0
- package/src/lib/scheduler/scheduler-edit-time-range.component.css +11 -0
- package/src/lib/scheduler/scheduler-month-view.component.css +143 -0
- package/src/lib/scheduler/scheduler-time-grid-view.component.css +260 -0
- package/src/lib/scheduler/scheduler.component.css +87 -0
- package/src/lib/scrollable/headless/scrollable-buttons.component.css +122 -0
- package/src/lib/scrollable/headless/scrollable-footer.css +25 -0
- package/src/lib/scrollable/headless/scrollable-masks.component.css +112 -0
- package/src/lib/scrollable/headless/scrollable-navigation.component.css +94 -0
- package/src/lib/scrollable/scrollable.component.css +192 -0
- package/src/lib/scrollbar/scrollbar.component.css +110 -0
- package/src/lib/skeleton/skeleton.component.css +108 -0
- package/src/lib/standings/standings-pick.component.css +172 -0
- package/src/lib/standings/standings.component.css +201 -0
- package/src/lib/stat-tile/stat-tile-sparkline.component.css +49 -0
- package/src/lib/stat-tile/stat-tile.component.css +111 -0
- package/src/lib/stream/pip/pip-chrome.component.css +96 -0
- package/src/lib/stream/pip/pip-player.component.css +40 -0
- package/src/lib/stream/pip/pip-window.component.css +222 -0
- package/src/lib/stream/stream-manager-styles.component.css +10 -0
- package/src/lib/stream/stream-overlay-card-styles.component.css +43 -0
- package/src/lib/stream/stream-player-slot-styles.component.css +14 -0
- package/src/lib/table/table-column-chooser.component.css +17 -0
- package/src/lib/table/table-column-menu-trigger.component.css +31 -0
- package/src/lib/table/table-detail-styles.component.css +103 -0
- package/src/lib/table/table-drag-scroll-styles.component.css +18 -0
- package/src/lib/table/table-expander-cell.component.css +58 -0
- package/src/lib/table/table-filter-trigger.component.css +44 -0
- package/src/lib/table/table-group-header-row.component.css +38 -0
- package/src/lib/table/table-inline-edit-styles.component.css +20 -0
- package/src/lib/table/table-page-sticky-header-styles.component.css +77 -0
- package/src/lib/table/table-reorder-overlay.component.css +42 -0
- package/src/lib/table/table-resize-grip.component.css +65 -0
- package/src/lib/table/table-row-box-styles.component.css +260 -0
- package/src/lib/table/table-select-cell.component.css +89 -0
- package/src/lib/table/table-skeleton-rows.component.css +19 -0
- package/src/lib/table/table-sort-priority-styles.component.css +15 -0
- package/src/lib/table/table-sticky-columns-styles.component.css +80 -0
- package/src/lib/table/table-virtual-scroll-styles.component.css +9 -0
- package/src/lib/table/table.component.css +829 -0
- package/src/lib/tabs/nav-tabs/nav-tab-link-styles.component.css +33 -0
- package/src/lib/tabs/tab-bar-styles.component.css +173 -0
- package/src/lib/tabs/tab-scale-styles.component.css +61 -0
- package/src/lib/time-picker/time-picker.component.css +220 -0
- package/src/lib/timeline/timeline-item.component.css +116 -0
- package/src/lib/timeline/timeline.component.css +7 -0
- package/src/lib/toggletip/toggletip.component.css +83 -0
- package/src/lib/toolbar/toolbar.component.css +40 -0
- package/src/lib/tooltip/tooltip.component.css +64 -0
- package/src/lib/tree/tree.component.css +221 -0
- package/types/ethlete-components-testing.d.ts +1 -1
- package/types/ethlete-components.d.ts +275 -36
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
@property --et-standings-pick-row-height {
|
|
3
|
+
syntax: '<length>';
|
|
4
|
+
inherits: true;
|
|
5
|
+
initial-value: 40px;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
@property --et-standings-pick-gap {
|
|
9
|
+
syntax: '<length>';
|
|
10
|
+
inherits: true;
|
|
11
|
+
initial-value: 4px;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
@property --et-standings-pick-radius {
|
|
15
|
+
syntax: '<length>';
|
|
16
|
+
inherits: true;
|
|
17
|
+
initial-value: 8px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@property --et-standings-pick-font-size {
|
|
21
|
+
syntax: '<length>';
|
|
22
|
+
inherits: true;
|
|
23
|
+
initial-value: 13px;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@property --et-standings-pick-preview-duration {
|
|
27
|
+
syntax: '<time>';
|
|
28
|
+
inherits: true;
|
|
29
|
+
initial-value: 180ms;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.et-standings-pick {
|
|
33
|
+
display: block;
|
|
34
|
+
box-sizing: border-box;
|
|
35
|
+
font-size: var(--et-standings-pick-font-size);
|
|
36
|
+
color: var(--et-surface-color-solid, currentColor);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.et-standings-pick-list {
|
|
40
|
+
display: flex;
|
|
41
|
+
flex-direction: column;
|
|
42
|
+
gap: var(--et-standings-pick-gap);
|
|
43
|
+
margin: 0;
|
|
44
|
+
padding: 0;
|
|
45
|
+
list-style: none;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.et-standings-pick-row {
|
|
49
|
+
display: flex;
|
|
50
|
+
align-items: center;
|
|
51
|
+
gap: var(--et-standings-pick-gap);
|
|
52
|
+
block-size: var(--et-standings-pick-row-height);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.et-standings-pick-position {
|
|
56
|
+
flex: none;
|
|
57
|
+
inline-size: 20px;
|
|
58
|
+
color: var(--et-surface-color-muted-solid, currentColor);
|
|
59
|
+
font-variant-numeric: tabular-nums;
|
|
60
|
+
text-align: center;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.et-standings-pick-card {
|
|
64
|
+
display: flex;
|
|
65
|
+
flex: 1;
|
|
66
|
+
align-items: center;
|
|
67
|
+
gap: var(--et-standings-pick-gap);
|
|
68
|
+
min-inline-size: 0;
|
|
69
|
+
block-size: 100%;
|
|
70
|
+
padding-inline: 8px;
|
|
71
|
+
background: color-mix(in srgb, var(--et-surface-interaction-solid, gray) 8%, transparent);
|
|
72
|
+
border-radius: var(--et-standings-pick-radius);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/* Only while a drag runs: on release the reordered list renders with the transforms already gone, and a
|
|
76
|
+
transition would animate every card back from where the preview had it. */
|
|
77
|
+
.et-standings-pick-list:where([data-dragging]) .et-standings-pick-card {
|
|
78
|
+
transition: translate var(--et-standings-pick-preview-duration) ease;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.et-standings-pick-list:where([data-dragging]) .et-standings-pick-card:where([data-dragging]) {
|
|
82
|
+
position: relative;
|
|
83
|
+
z-index: 1;
|
|
84
|
+
background: color-mix(in srgb, var(--et-surface-interaction-solid, gray) 20%, transparent);
|
|
85
|
+
box-shadow: 0 8px 20px color-mix(in srgb, var(--et-surface-interaction-solid, black) 25%, transparent);
|
|
86
|
+
transition: none;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.et-standings-pick:where([data-locked]) .et-standings-pick-card {
|
|
90
|
+
background: color-mix(in srgb, var(--et-surface-interaction-solid, gray) 5%, transparent);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.et-standings-pick:where([data-locked]) .et-standings-pick-participant {
|
|
94
|
+
color: var(--et-surface-color-muted-solid, currentColor);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.et-standings-pick-participant {
|
|
98
|
+
--et-match-participant-emblem-size: 22px;
|
|
99
|
+
--et-match-participant-gap: 8px;
|
|
100
|
+
--et-match-participant-font-size: var(--et-standings-pick-font-size);
|
|
101
|
+
flex: 1;
|
|
102
|
+
min-inline-size: 0;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.et-standings-pick-mark {
|
|
106
|
+
display: grid;
|
|
107
|
+
flex: none;
|
|
108
|
+
place-items: center;
|
|
109
|
+
min-inline-size: 28px;
|
|
110
|
+
font-variant-numeric: tabular-nums;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.et-standings-pick-handle {
|
|
114
|
+
display: grid;
|
|
115
|
+
flex: none;
|
|
116
|
+
place-items: center;
|
|
117
|
+
inline-size: 24px;
|
|
118
|
+
block-size: 24px;
|
|
119
|
+
padding: 0;
|
|
120
|
+
color: var(--et-surface-color-muted-solid, currentColor);
|
|
121
|
+
background: transparent;
|
|
122
|
+
border: 0;
|
|
123
|
+
border-radius: 6px;
|
|
124
|
+
cursor: grab;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.et-standings-pick-handle:hover {
|
|
128
|
+
color: var(--et-surface-color-solid, currentColor);
|
|
129
|
+
background: color-mix(in srgb, var(--et-surface-interaction-solid, gray) 16%, transparent);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.et-standings-pick-handle:active {
|
|
133
|
+
cursor: grabbing;
|
|
134
|
+
background: color-mix(in srgb, var(--et-surface-interaction-solid, gray) 20%, transparent);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.et-standings-pick-grip {
|
|
138
|
+
inline-size: 12px;
|
|
139
|
+
block-size: 8px;
|
|
140
|
+
background: repeating-linear-gradient(to bottom, currentColor 0 1.5px, transparent 1.5px 3.5px);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.et-standings-pick-cut {
|
|
144
|
+
display: flex;
|
|
145
|
+
align-items: center;
|
|
146
|
+
gap: 6px;
|
|
147
|
+
margin: 0;
|
|
148
|
+
padding-block: calc(var(--et-standings-pick-gap) + 2px);
|
|
149
|
+
padding-inline: 0;
|
|
150
|
+
color: var(--et-surface-color-muted-solid, currentColor);
|
|
151
|
+
font-size: 10px;
|
|
152
|
+
text-transform: uppercase;
|
|
153
|
+
letter-spacing: 0.06em;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.et-standings-pick-cut-line {
|
|
157
|
+
flex: 1;
|
|
158
|
+
block-size: 1px;
|
|
159
|
+
background: var(--et-theme-color-primary-solid, currentColor);
|
|
160
|
+
opacity: 0.5;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.et-standings-pick-cut-label {
|
|
164
|
+
flex: none;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
@media (prefers-reduced-motion: reduce) {
|
|
168
|
+
.et-standings-pick-list:where([data-dragging]) .et-standings-pick-card {
|
|
169
|
+
transition: none;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
}
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
@property --et-standings-row-height {
|
|
3
|
+
syntax: '<length>';
|
|
4
|
+
inherits: true;
|
|
5
|
+
initial-value: 44px;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
@property --et-standings-cell-padding-inline {
|
|
9
|
+
syntax: '<length>';
|
|
10
|
+
inherits: true;
|
|
11
|
+
initial-value: 8px;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
@property --et-standings-zone-bar-width {
|
|
15
|
+
syntax: '<length>';
|
|
16
|
+
inherits: true;
|
|
17
|
+
initial-value: 3px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@property --et-standings-font-size {
|
|
21
|
+
syntax: '<length>';
|
|
22
|
+
inherits: true;
|
|
23
|
+
initial-value: 13px;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.et-standings {
|
|
27
|
+
container-type: inline-size;
|
|
28
|
+
container-name: et-standings;
|
|
29
|
+
display: block;
|
|
30
|
+
box-sizing: border-box;
|
|
31
|
+
color: var(--et-surface-color-solid, currentColor);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.et-standings-content {
|
|
35
|
+
/* The detail columns are the first thing to go when the table runs out of room: a table read sideways
|
|
36
|
+
is worse than a table with fewer columns. */
|
|
37
|
+
--_et-standings-detail-display: none;
|
|
38
|
+
--_et-standings-form-display: none;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@container et-standings (min-inline-size: 560px) {
|
|
42
|
+
.et-standings-content {
|
|
43
|
+
--_et-standings-detail-display: table-cell;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@container et-standings (min-inline-size: 720px) {
|
|
48
|
+
.et-standings-content {
|
|
49
|
+
--_et-standings-form-display: table-cell;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.et-standings-table {
|
|
54
|
+
inline-size: 100%;
|
|
55
|
+
font-size: var(--et-standings-font-size);
|
|
56
|
+
border-collapse: collapse;
|
|
57
|
+
text-align: start;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.et-standings-cell {
|
|
61
|
+
padding-block: 0;
|
|
62
|
+
padding-inline: var(--et-standings-cell-padding-inline);
|
|
63
|
+
font-weight: inherit;
|
|
64
|
+
text-align: end;
|
|
65
|
+
vertical-align: middle;
|
|
66
|
+
white-space: nowrap;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.et-standings-cell:where([data-column='position']) {
|
|
70
|
+
position: relative;
|
|
71
|
+
inline-size: 1px;
|
|
72
|
+
padding-inline-start: calc(var(--et-standings-cell-padding-inline) + var(--et-standings-zone-bar-width));
|
|
73
|
+
color: var(--et-surface-color-muted-solid, currentColor);
|
|
74
|
+
font-variant-numeric: tabular-nums;
|
|
75
|
+
text-align: start;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.et-standings-cell:where([data-column='participant']) {
|
|
79
|
+
inline-size: 100%;
|
|
80
|
+
min-inline-size: 0;
|
|
81
|
+
text-align: start;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.et-standings-cell:where([data-column='detail']) {
|
|
85
|
+
display: var(--_et-standings-detail-display);
|
|
86
|
+
font-variant-numeric: tabular-nums;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.et-standings-cell:where([data-column='form']) {
|
|
90
|
+
display: var(--_et-standings-form-display);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.et-standings-cell:where([data-column='points']) {
|
|
94
|
+
font-weight: 600;
|
|
95
|
+
font-variant-numeric: tabular-nums;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.et-standings-head-row .et-standings-cell {
|
|
99
|
+
block-size: var(--et-standings-row-height);
|
|
100
|
+
color: var(--et-surface-color-muted-solid, currentColor);
|
|
101
|
+
font-size: 11px;
|
|
102
|
+
text-transform: uppercase;
|
|
103
|
+
letter-spacing: 0.04em;
|
|
104
|
+
border-block-end: 1px solid var(--et-surface-border-solid, rgb(255 255 255 / 0.1));
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.et-standings-row .et-standings-cell {
|
|
108
|
+
block-size: var(--et-standings-row-height);
|
|
109
|
+
border-block-end: 1px solid color-mix(in srgb, var(--et-surface-border-solid, gray) 60%, transparent);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
/* A band's colour comes from the theme the row is scoped to, which the consumer names — so "advancing"
|
|
113
|
+
looks like whatever their app decided, and this file names no colour at all. */
|
|
114
|
+
.et-standings-row:where([data-zone]) {
|
|
115
|
+
background: color-mix(in srgb, var(--et-theme-color-primary-solid, transparent) 7%, transparent);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.et-standings-row:where([data-zone]) .et-standings-cell:where([data-column='position'])::before {
|
|
119
|
+
position: absolute;
|
|
120
|
+
inset-block: 0;
|
|
121
|
+
inset-inline-start: 0;
|
|
122
|
+
inline-size: var(--et-standings-zone-bar-width);
|
|
123
|
+
background: var(--et-theme-color-primary-solid, currentColor);
|
|
124
|
+
content: '';
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.et-standings-row:where([data-highlighted]) {
|
|
128
|
+
background: color-mix(in srgb, var(--et-surface-interaction-solid, gray) 12%, transparent);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.et-standings-row:where([data-highlighted]) .et-standings-cell {
|
|
132
|
+
font-weight: 600;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.et-standings-row:where([data-highlighted]) .et-standings-cell:where([data-column='position']) {
|
|
136
|
+
color: var(--et-surface-color-solid, currentColor);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.et-standings-content .et-standings-participant {
|
|
140
|
+
--et-match-participant-emblem-size: 24px;
|
|
141
|
+
--et-match-participant-gap: 8px;
|
|
142
|
+
--et-match-participant-font-size: var(--et-standings-font-size);
|
|
143
|
+
min-inline-size: 0;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.et-standings-form {
|
|
147
|
+
display: flex;
|
|
148
|
+
gap: 3px;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.et-standings-form-result {
|
|
152
|
+
display: inline-grid;
|
|
153
|
+
place-items: center;
|
|
154
|
+
inline-size: 16px;
|
|
155
|
+
block-size: 16px;
|
|
156
|
+
border-radius: 3px;
|
|
157
|
+
font-size: 10px;
|
|
158
|
+
font-weight: 700;
|
|
159
|
+
line-height: 1;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
/* Won / drew / lost, from the surface tokens rather than a green-amber-red this file invents. The letter,
|
|
163
|
+
not the fill, is what tells them apart (WCAG 1.4.1), so it must stay legible on every fill. */
|
|
164
|
+
.et-standings-form-result:where([data-result='win']) {
|
|
165
|
+
color: var(--et-surface-background-solid, white);
|
|
166
|
+
background: var(--et-surface-color-solid, currentColor);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.et-standings-form-result:where([data-result='tie']) {
|
|
170
|
+
background: color-mix(in srgb, var(--et-surface-color-solid, gray) 45%, transparent);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.et-standings-form-result:where([data-result='loss']) {
|
|
174
|
+
background: color-mix(in srgb, var(--et-surface-interaction-solid, gray) 25%, transparent);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.et-standings-legend {
|
|
178
|
+
display: flex;
|
|
179
|
+
flex-wrap: wrap;
|
|
180
|
+
gap: 4px 16px;
|
|
181
|
+
margin: 0;
|
|
182
|
+
padding: 10px var(--et-standings-cell-padding-inline) 0;
|
|
183
|
+
font-size: 11px;
|
|
184
|
+
color: var(--et-surface-color-muted-solid, currentColor);
|
|
185
|
+
list-style: none;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.et-standings-legend-item {
|
|
189
|
+
display: flex;
|
|
190
|
+
align-items: center;
|
|
191
|
+
gap: 6px;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.et-standings-legend-swatch {
|
|
195
|
+
flex: none;
|
|
196
|
+
inline-size: 10px;
|
|
197
|
+
block-size: 3px;
|
|
198
|
+
background: var(--et-theme-color-primary-solid, currentColor);
|
|
199
|
+
border-radius: 2px;
|
|
200
|
+
}
|
|
201
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
@property --et-stat-tile-sparkline-height {
|
|
3
|
+
syntax: '<length>';
|
|
4
|
+
inherits: true;
|
|
5
|
+
initial-value: 32px;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
@property --et-stat-tile-sparkline-line-width {
|
|
9
|
+
syntax: '<length>';
|
|
10
|
+
inherits: true;
|
|
11
|
+
initial-value: 2px;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
@property --et-stat-tile-sparkline-current-size {
|
|
15
|
+
syntax: '<length>';
|
|
16
|
+
inherits: true;
|
|
17
|
+
initial-value: 8px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.et-stat-tile-sparkline {
|
|
21
|
+
display: block;
|
|
22
|
+
block-size: var(--et-stat-tile-sparkline-height);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.et-stat-tile-sparkline-svg {
|
|
26
|
+
display: block;
|
|
27
|
+
inline-size: 100%;
|
|
28
|
+
block-size: 100%;
|
|
29
|
+
overflow: visible;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.et-stat-tile-sparkline-line,
|
|
33
|
+
.et-stat-tile-sparkline-current {
|
|
34
|
+
fill: none;
|
|
35
|
+
vector-effect: non-scaling-stroke;
|
|
36
|
+
stroke-linecap: round;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.et-stat-tile-sparkline-line {
|
|
40
|
+
stroke: var(--et-surface-color-subtle-solid, currentColor);
|
|
41
|
+
stroke-width: var(--et-stat-tile-sparkline-line-width);
|
|
42
|
+
stroke-linejoin: round;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.et-stat-tile-sparkline-current {
|
|
46
|
+
stroke: var(--et-theme-color-primary-solid, currentColor);
|
|
47
|
+
stroke-width: var(--et-stat-tile-sparkline-current-size);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
@property --et-stat-tile-gap {
|
|
3
|
+
syntax: '<length>';
|
|
4
|
+
inherits: true;
|
|
5
|
+
initial-value: 4px;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
@property --et-stat-tile-label-font-size {
|
|
9
|
+
syntax: '<length>';
|
|
10
|
+
inherits: true;
|
|
11
|
+
initial-value: 14px;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
@property --et-stat-tile-value-font-size {
|
|
15
|
+
syntax: '<length>';
|
|
16
|
+
inherits: true;
|
|
17
|
+
initial-value: 28px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@property --et-stat-tile-value-font-weight {
|
|
21
|
+
syntax: '<number>';
|
|
22
|
+
inherits: true;
|
|
23
|
+
initial-value: 600;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@property --et-stat-tile-footer-font-size {
|
|
27
|
+
syntax: '<length>';
|
|
28
|
+
inherits: true;
|
|
29
|
+
initial-value: 13px;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@property --et-stat-tile-sparkline-gap {
|
|
33
|
+
syntax: '<length>';
|
|
34
|
+
inherits: true;
|
|
35
|
+
initial-value: 8px;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.et-stat-tile {
|
|
39
|
+
display: flex;
|
|
40
|
+
flex-direction: column;
|
|
41
|
+
gap: var(--et-stat-tile-gap);
|
|
42
|
+
min-inline-size: 0;
|
|
43
|
+
color: var(--et-surface-color-solid, currentColor);
|
|
44
|
+
line-height: 1.4;
|
|
45
|
+
|
|
46
|
+
> .et-stat-tile-sparkline {
|
|
47
|
+
margin-block-start: calc(var(--et-stat-tile-sparkline-gap) - var(--et-stat-tile-gap));
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&:where([aria-busy='true']) > .et-stat-tile-sparkline {
|
|
51
|
+
visibility: hidden;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.et-stat-tile-label {
|
|
56
|
+
font-size: var(--et-stat-tile-label-font-size);
|
|
57
|
+
color: var(--et-surface-color-muted-solid, currentColor);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.et-stat-tile-value {
|
|
61
|
+
display: block;
|
|
62
|
+
font-size: var(--et-stat-tile-value-font-size);
|
|
63
|
+
font-weight: var(--et-stat-tile-value-font-weight);
|
|
64
|
+
line-height: 1.2;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.et-stat-tile-unit {
|
|
68
|
+
font-size: 0.6em;
|
|
69
|
+
font-weight: 500;
|
|
70
|
+
color: var(--et-surface-color-muted-solid, currentColor);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.et-stat-tile-footer {
|
|
74
|
+
display: block;
|
|
75
|
+
font-size: var(--et-stat-tile-footer-font-size);
|
|
76
|
+
color: var(--et-surface-color-muted-solid, currentColor);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.et-stat-tile-delta {
|
|
80
|
+
display: inline-flex;
|
|
81
|
+
align-items: center;
|
|
82
|
+
gap: 2px;
|
|
83
|
+
font-weight: 600;
|
|
84
|
+
white-space: nowrap;
|
|
85
|
+
|
|
86
|
+
&:where([data-sentiment='good'], [data-sentiment='bad']) {
|
|
87
|
+
color: var(--et-theme-color-ink-solid, currentColor);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.et-stat-tile-delta-icon {
|
|
92
|
+
flex: none;
|
|
93
|
+
inline-size: 0.85em;
|
|
94
|
+
block-size: 0.85em;
|
|
95
|
+
fill: currentColor;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.et-stat-tile-skeleton {
|
|
99
|
+
--et-skeleton-gap: var(--et-stat-tile-gap);
|
|
100
|
+
|
|
101
|
+
> .et-stat-tile-value-skeleton {
|
|
102
|
+
--et-skeleton-size: calc(var(--et-stat-tile-value-font-size) * 1.2);
|
|
103
|
+
inline-size: 60%;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
> .et-stat-tile-delta-skeleton {
|
|
107
|
+
--et-skeleton-size: calc(var(--et-stat-tile-footer-font-size) * 1.4);
|
|
108
|
+
inline-size: 40%;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
et-stream-pip-chrome:not(.et-stream-pip-chrome--grid)
|
|
3
|
+
et-pip-window:not(:has(.et-stream-pip-chrome__cell--featured .et-pip-player--ready)) {
|
|
4
|
+
visibility: hidden;
|
|
5
|
+
pointer-events: none;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
et-stream-pip-chrome.et-stream-pip-chrome--grid
|
|
9
|
+
et-pip-window:not(:has(.et-stream-pip-chrome__cell .et-pip-player--ready)) {
|
|
10
|
+
visibility: hidden;
|
|
11
|
+
pointer-events: none;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.et-stream-pip-chrome__stage {
|
|
15
|
+
position: absolute;
|
|
16
|
+
inset: 0;
|
|
17
|
+
overflow: hidden;
|
|
18
|
+
clip-path: inset(0);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.et-stream-pip-chrome__cell {
|
|
22
|
+
position: absolute;
|
|
23
|
+
top: 0;
|
|
24
|
+
left: 0;
|
|
25
|
+
width: 100%;
|
|
26
|
+
height: 100%;
|
|
27
|
+
transform-origin: 0 0;
|
|
28
|
+
will-change: transform;
|
|
29
|
+
overflow: hidden;
|
|
30
|
+
transform: translate(
|
|
31
|
+
calc(
|
|
32
|
+
((var(--et-cell-col, 1) - 1) + var(--et-cell-exit-h, 0) * var(--et-pip-grid-cols, 1)) /
|
|
33
|
+
var(--et-pip-grid-cols, 1) * 100%
|
|
34
|
+
),
|
|
35
|
+
calc(
|
|
36
|
+
(2 * (var(--et-cell-row, 1) - 1) + var(--et-pip-grid-cols, 1) - var(--et-pip-grid-rows, 1)) /
|
|
37
|
+
(2 * var(--et-pip-grid-cols, 1)) * 100% + var(--et-cell-exit-v, 0) * 100%
|
|
38
|
+
)
|
|
39
|
+
)
|
|
40
|
+
scale(calc(1 / var(--et-pip-grid-cols, 1)), calc(1 / var(--et-pip-grid-cols, 1)));
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
et-stream-pip-chrome:not(.et-stream-pip-chrome--grid) .et-stream-pip-chrome__cell--featured {
|
|
44
|
+
transform: none;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
et-stream-pip-chrome:not(.et-stream-pip-chrome--grid)
|
|
48
|
+
.et-stream-pip-chrome__cell:not(.et-stream-pip-chrome__cell--featured) {
|
|
49
|
+
transform: translate(calc(var(--et-cell-exit-h, 0) * 100%), calc(var(--et-cell-exit-v, 0) * 100%));
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
et-stream-pip-chrome.et-stream-pip-chrome--grid .et-stream-pip-chrome__cell {
|
|
53
|
+
cursor: pointer;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.et-stream-pip-chrome__cell::after {
|
|
57
|
+
content: '';
|
|
58
|
+
position: absolute;
|
|
59
|
+
inset: 0;
|
|
60
|
+
z-index: 2;
|
|
61
|
+
box-shadow: inset 0 0 0 5px transparent;
|
|
62
|
+
transition: box-shadow 0.15s;
|
|
63
|
+
pointer-events: none;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
et-stream-pip-chrome.et-stream-pip-chrome--grid .et-stream-pip-chrome__cell::after {
|
|
67
|
+
pointer-events: auto;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
et-stream-pip-chrome.et-stream-pip-chrome--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);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
@media (hover: hover) {
|
|
76
|
+
et-stream-pip-chrome.et-stream-pip-chrome--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);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
et-stream-pip-chrome.et-stream-pip-chrome--grid .et-stream-pip-chrome__cell:focus-visible {
|
|
83
|
+
outline: none;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
et-stream-pip-chrome.et-stream-pip-chrome--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));
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
et-pip-player iframe {
|
|
92
|
+
width: 100% !important;
|
|
93
|
+
height: 100% !important;
|
|
94
|
+
display: block;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
et-pip-player {
|
|
3
|
+
position: relative;
|
|
4
|
+
display: flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
width: 100%;
|
|
8
|
+
height: 100%;
|
|
9
|
+
container-type: size;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
et-pip-player > :not(.et-pip-player__thumb-wrapper) {
|
|
13
|
+
flex: none;
|
|
14
|
+
display: block !important;
|
|
15
|
+
width: min(100cqw, 100cqh * var(--et-pip-player-ratio, calc(16 / 9))) !important;
|
|
16
|
+
height: min(100cqh, 100cqw / var(--et-pip-player-ratio, calc(16 / 9))) !important;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.et-pip-player__thumb-wrapper {
|
|
20
|
+
position: absolute;
|
|
21
|
+
inset: 0;
|
|
22
|
+
z-index: 1;
|
|
23
|
+
pointer-events: none;
|
|
24
|
+
transition: opacity 0.25s ease;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.et-pip-player__thumb-wrapper--hidden {
|
|
28
|
+
opacity: 0;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.et-pip-player__preview-thumb {
|
|
32
|
+
position: absolute;
|
|
33
|
+
inset: 0;
|
|
34
|
+
width: 100%;
|
|
35
|
+
height: 100%;
|
|
36
|
+
object-fit: cover;
|
|
37
|
+
pointer-events: none;
|
|
38
|
+
display: block;
|
|
39
|
+
}
|
|
40
|
+
}
|