@ethlete/components 1.0.0-next.69 → 1.0.0-next.71
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 +35 -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 +830 -108
- 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 +172 -7
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
/* Registered so keyframes interpolate it; inherits so slide content can read it. */
|
|
3
|
+
@property --et-carousel-slide-progress {
|
|
4
|
+
syntax: '<number>';
|
|
5
|
+
inherits: true;
|
|
6
|
+
initial-value: 0;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@property --et-carousel-wipe-shift {
|
|
10
|
+
syntax: '<length>';
|
|
11
|
+
inherits: true;
|
|
12
|
+
initial-value: 125px;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@property --et-carousel-wipe-dim {
|
|
16
|
+
syntax: '<number>';
|
|
17
|
+
inherits: true;
|
|
18
|
+
initial-value: 0.5;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@property --et-carousel-wipe-dim-color {
|
|
22
|
+
syntax: '<color>';
|
|
23
|
+
inherits: true;
|
|
24
|
+
initial-value: #000;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/* Each effect exists twice: composited keyframes on the scroll-driven view timeline, and a `calc()` fallback
|
|
28
|
+
over the inherited progress property for the JS driver (no scroll timeline, e.g. Firefox). Animating the
|
|
29
|
+
inherited property restyles each slide's subtree every frame, so the composited path must not read it. */
|
|
30
|
+
|
|
31
|
+
@keyframes et-carousel-slide-progress {
|
|
32
|
+
from {
|
|
33
|
+
--et-carousel-slide-progress: -1;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
to {
|
|
37
|
+
--et-carousel-slide-progress: 1;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/* `dim` — the slides either side of the current one recede, so the carousel reads as a focused row rather
|
|
42
|
+
than a strip that happens to scroll. The endpoints are the `calc()` rules' values at progress ±1
|
|
43
|
+
(`1 - 0.65` and `1 - 0.08`) and the midpoint is centred, so the two drivers are the same effect. */
|
|
44
|
+
@keyframes et-carousel-dim {
|
|
45
|
+
from,
|
|
46
|
+
to {
|
|
47
|
+
opacity: 0.35;
|
|
48
|
+
scale: 0.92;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
50% {
|
|
52
|
+
opacity: 1;
|
|
53
|
+
scale: 1;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
@keyframes et-carousel-wipe-content {
|
|
58
|
+
from {
|
|
59
|
+
translate: calc((var(--et-carousel-wipe-shift) - 50cqw - 50%));
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
to {
|
|
63
|
+
translate: calc(50cqw + 50% - var(--et-carousel-wipe-shift));
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/* A veil's opacity instead of `filter: brightness()`, which repaints the whole slide every frame. */
|
|
68
|
+
@keyframes et-carousel-wipe-veil {
|
|
69
|
+
from,
|
|
70
|
+
to {
|
|
71
|
+
opacity: calc(1 - var(--et-carousel-wipe-dim));
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
50% {
|
|
75
|
+
opacity: 0;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/* ─── What `wipe` needs whichever driver is running ───────────────────────────────────────────────────
|
|
80
|
+
|
|
81
|
+
Ahead of the drivers on purpose: everything here is `:where()`-flattened, so the two blocks below can only
|
|
82
|
+
override the veil's resting `opacity` by coming after it.
|
|
83
|
+
|
|
84
|
+
Gated on one slide per view, because that is the only layout the effect means anything in: with the
|
|
85
|
+
content pinned to the track, a slide whose box is only partly on screen at rest would have its content
|
|
86
|
+
sitting outside that box and would show as blank. A peeking layout wants `dim`. */
|
|
87
|
+
:where([data-transition-driver='scroll-timeline'], [data-transition-driver='js']):where([data-transition='wipe'])
|
|
88
|
+
:where([item-size='full']) {
|
|
89
|
+
/* `50cqw` in the content's displacement is half of *this*. */
|
|
90
|
+
container-type: inline-size;
|
|
91
|
+
|
|
92
|
+
& .et-carousel-item {
|
|
93
|
+
position: relative;
|
|
94
|
+
overflow: clip;
|
|
95
|
+
contain: paint;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
& .et-carousel-item::after {
|
|
99
|
+
content: '';
|
|
100
|
+
position: absolute;
|
|
101
|
+
inset: 0;
|
|
102
|
+
background: var(--et-carousel-wipe-dim-color);
|
|
103
|
+
opacity: 0;
|
|
104
|
+
pointer-events: none;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/* ─── Driver 1 of 2: scroll-driven, composited ────────────────────────────────────────────────────────
|
|
109
|
+
|
|
110
|
+
No JavaScript at all. Each slide names a view progress timeline, and the effects animate along it — so
|
|
111
|
+
they follow a finger through a drag rather than stepping when some "active" flag flips. `cover 0%` is the
|
|
112
|
+
moment the slide's leading edge reaches the far side of the scrollport and `cover 100%` the moment its
|
|
113
|
+
trailing edge leaves the near side, which puts the midpoint exactly at centred.
|
|
114
|
+
|
|
115
|
+
The timeline is *named* rather than each element using its own `view()` because `wipe` animates two
|
|
116
|
+
descendants of the slide, and one of them is the element being translated — its own view timeline would
|
|
117
|
+
then depend on the transform the timeline is driving.
|
|
118
|
+
|
|
119
|
+
`etCarousel` has already feature-detected this and only asks for the driver where it exists; the
|
|
120
|
+
`@supports` is here so that forcing `transitionDriver="scroll-timeline"` on a browser without it degrades
|
|
121
|
+
to a plain scroll rather than running the keyframes on the document timeline and flashing every slide
|
|
122
|
+
once. */
|
|
123
|
+
@supports (animation-timeline: view(inline)) {
|
|
124
|
+
:where([data-transition-driver='scroll-timeline']) {
|
|
125
|
+
& .et-carousel-item {
|
|
126
|
+
view-timeline-name: --et-carousel-slide;
|
|
127
|
+
view-timeline-axis: inline;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
& .et-carousel-item,
|
|
131
|
+
& .et-carousel-item::after,
|
|
132
|
+
& .et-carousel-slide-content {
|
|
133
|
+
animation-timeline: --et-carousel-slide;
|
|
134
|
+
animation-range: cover 0% cover 100%;
|
|
135
|
+
animation-timing-function: linear;
|
|
136
|
+
animation-fill-mode: both;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
&:where([data-transition='custom']) .et-carousel-item {
|
|
140
|
+
animation-name: et-carousel-slide-progress;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
&:where([data-transition='dim']) .et-carousel-item {
|
|
144
|
+
animation-name: et-carousel-dim;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
&:where([data-transition='wipe']) :where([item-size='full']) {
|
|
148
|
+
& .et-carousel-item::after {
|
|
149
|
+
animation-name: et-carousel-wipe-veil;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
& .et-carousel-slide-content {
|
|
153
|
+
animation-name: et-carousel-wipe-content;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
:where([data-transition-driver='js']) {
|
|
160
|
+
& .et-carousel-item {
|
|
161
|
+
--_et-carousel-slide-distance: abs(var(--et-carousel-slide-progress));
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
&:where([data-transition='dim']) .et-carousel-item {
|
|
165
|
+
opacity: calc(1 - 0.65 * var(--_et-carousel-slide-distance));
|
|
166
|
+
scale: calc(1 - 0.08 * var(--_et-carousel-slide-distance));
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
&:where([data-transition='wipe']) :where([item-size='full']) {
|
|
170
|
+
& .et-carousel-item::after {
|
|
171
|
+
opacity: calc((1 - var(--et-carousel-wipe-dim)) * var(--_et-carousel-slide-distance));
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
& .et-carousel-slide-content {
|
|
175
|
+
translate: calc(var(--et-carousel-slide-progress) * (50cqw + 50% - var(--et-carousel-wipe-shift)));
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
@property --et-carousel-gap {
|
|
3
|
+
syntax: '<length>';
|
|
4
|
+
inherits: true;
|
|
5
|
+
initial-value: 12px;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
@property --et-carousel-dot-size {
|
|
9
|
+
syntax: '<length>';
|
|
10
|
+
inherits: true;
|
|
11
|
+
initial-value: 8px;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/* The dot's tap target, kept at a comfortable size while the dot itself stays small. */
|
|
15
|
+
@property --et-carousel-dot-target-size {
|
|
16
|
+
syntax: '<length>';
|
|
17
|
+
inherits: true;
|
|
18
|
+
initial-value: 24px;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/* How far the track's edges fade out where slides are cut off by them. Set it to `0px` for a hard cut. */
|
|
22
|
+
@property --et-carousel-edge-fade {
|
|
23
|
+
syntax: '<length>';
|
|
24
|
+
inherits: true;
|
|
25
|
+
initial-value: 32px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.et-carousel {
|
|
29
|
+
display: flex;
|
|
30
|
+
flex-direction: column;
|
|
31
|
+
gap: var(--et-carousel-gap);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.et-carousel-track {
|
|
35
|
+
display: block;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.et-carousel:where([data-slide-align='center']) .et-carousel-track:not([item-size='full']) {
|
|
39
|
+
mask-image: linear-gradient(
|
|
40
|
+
to right,
|
|
41
|
+
transparent 0,
|
|
42
|
+
black var(--et-carousel-edge-fade),
|
|
43
|
+
black calc(100% - var(--et-carousel-edge-fade)),
|
|
44
|
+
transparent 100%
|
|
45
|
+
);
|
|
46
|
+
|
|
47
|
+
&:where([direction='vertical']) {
|
|
48
|
+
mask-image: linear-gradient(
|
|
49
|
+
to bottom,
|
|
50
|
+
transparent 0,
|
|
51
|
+
black var(--et-carousel-edge-fade),
|
|
52
|
+
black calc(100% - var(--et-carousel-edge-fade)),
|
|
53
|
+
transparent 100%
|
|
54
|
+
);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.et-carousel-slide-content {
|
|
59
|
+
display: block;
|
|
60
|
+
block-size: 100%;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.et-carousel-controls {
|
|
64
|
+
display: flex;
|
|
65
|
+
align-items: center;
|
|
66
|
+
justify-content: center;
|
|
67
|
+
gap: 4px;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.et-carousel-control {
|
|
71
|
+
&:where([aria-disabled='true']) {
|
|
72
|
+
opacity: 0.4;
|
|
73
|
+
cursor: default;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.et-carousel-control-icon {
|
|
78
|
+
inline-size: 14px;
|
|
79
|
+
block-size: 14px;
|
|
80
|
+
|
|
81
|
+
&:where(.et-carousel-control-icon--previous) {
|
|
82
|
+
rotate: -90deg;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
&:where(.et-carousel-control-icon--next) {
|
|
86
|
+
rotate: 90deg;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.et-carousel-dots {
|
|
91
|
+
display: flex;
|
|
92
|
+
align-items: center;
|
|
93
|
+
justify-content: center;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.et-carousel-dot {
|
|
97
|
+
display: grid;
|
|
98
|
+
place-items: center;
|
|
99
|
+
inline-size: var(--et-carousel-dot-target-size);
|
|
100
|
+
block-size: var(--et-carousel-dot-target-size);
|
|
101
|
+
padding: 0;
|
|
102
|
+
border: 0;
|
|
103
|
+
border-radius: 50%;
|
|
104
|
+
background: transparent;
|
|
105
|
+
cursor: pointer;
|
|
106
|
+
-webkit-tap-highlight-color: transparent;
|
|
107
|
+
|
|
108
|
+
&::before {
|
|
109
|
+
content: '';
|
|
110
|
+
inline-size: var(--et-carousel-dot-size);
|
|
111
|
+
block-size: var(--et-carousel-dot-size);
|
|
112
|
+
border-radius: 50%;
|
|
113
|
+
background: color-mix(in srgb, var(--et-surface-interaction-solid, gray) 35%, transparent);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
&:hover::before {
|
|
117
|
+
background: color-mix(in srgb, var(--et-surface-interaction-solid, gray) 55%, transparent);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
&:where([data-active])::before {
|
|
121
|
+
background: var(--et-theme-color-primary-solid, currentColor);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/* Spelled out because the plain `:hover` above outranks a `:where()`-flattened selector, so without this
|
|
125
|
+
the accent dot went grey under the pointer — the one dot that must never look unselected. */
|
|
126
|
+
&:where([data-active]):hover::before {
|
|
127
|
+
background: var(--et-theme-color-primary-solid, currentColor);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.et-carousel:where(.et-carousel--can-animate) {
|
|
132
|
+
& .et-carousel-dot::before {
|
|
133
|
+
transition:
|
|
134
|
+
background-color 160ms var(--ease-3, ease-out),
|
|
135
|
+
scale 220ms var(--ease-3, ease-out);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
& .et-carousel-dot {
|
|
139
|
+
transition: outline-color 160ms var(--ease-3, ease-out);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
@property --et-bar-chart-font-size {
|
|
3
|
+
syntax: '<length>';
|
|
4
|
+
inherits: true;
|
|
5
|
+
initial-value: 12px;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
@property --et-bar-chart-axis-gap {
|
|
9
|
+
syntax: '<length>';
|
|
10
|
+
inherits: true;
|
|
11
|
+
initial-value: 8px;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
@property --et-bar-chart-enter-duration {
|
|
15
|
+
syntax: '<time>';
|
|
16
|
+
inherits: true;
|
|
17
|
+
initial-value: 400ms;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.et-bar-chart {
|
|
21
|
+
display: block;
|
|
22
|
+
position: relative;
|
|
23
|
+
font-size: var(--et-bar-chart-font-size);
|
|
24
|
+
line-height: 1.4;
|
|
25
|
+
color: var(--et-surface-color-muted-solid, currentColor);
|
|
26
|
+
|
|
27
|
+
.et-bar-chart-legend {
|
|
28
|
+
margin-block-end: calc(var(--et-bar-chart-axis-gap) * 1.5);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
:where([etBarChartTitle]) {
|
|
32
|
+
margin-block: 0 calc(var(--et-bar-chart-axis-gap) * 1.5);
|
|
33
|
+
font-size: 1.25em;
|
|
34
|
+
font-weight: 600;
|
|
35
|
+
line-height: 1.3;
|
|
36
|
+
color: var(--et-surface-color-solid, currentColor);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
:where([etBarChartNote]) {
|
|
40
|
+
margin-block: calc(var(--et-bar-chart-axis-gap) * 1.5) 0;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.et-bar-chart-figure {
|
|
45
|
+
display: grid;
|
|
46
|
+
grid-template-columns: auto minmax(0, 1fr);
|
|
47
|
+
grid-template-areas:
|
|
48
|
+
'value-axis plot'
|
|
49
|
+
'. category-axis';
|
|
50
|
+
column-gap: var(--et-bar-chart-axis-gap);
|
|
51
|
+
row-gap: var(--et-bar-chart-axis-gap);
|
|
52
|
+
padding-block-start: 0.7em;
|
|
53
|
+
|
|
54
|
+
.et-bar-chart-value-axis {
|
|
55
|
+
grid-area: value-axis;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.et-bar-chart-category-axis {
|
|
59
|
+
grid-area: category-axis;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.et-bar-chart-plot {
|
|
63
|
+
grid-area: plot;
|
|
64
|
+
min-inline-size: 0;
|
|
65
|
+
|
|
66
|
+
.et-bar-chart-svg {
|
|
67
|
+
display: block;
|
|
68
|
+
overflow: visible;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.et-bar-chart-empty {
|
|
73
|
+
grid-area: plot;
|
|
74
|
+
display: flex;
|
|
75
|
+
align-items: center;
|
|
76
|
+
justify-content: center;
|
|
77
|
+
box-sizing: border-box;
|
|
78
|
+
padding: var(--et-bar-chart-axis-gap);
|
|
79
|
+
text-align: center;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
&:where([data-orientation='horizontal']) {
|
|
83
|
+
grid-template-columns: fit-content(40%) minmax(0, 1fr);
|
|
84
|
+
grid-template-areas:
|
|
85
|
+
'category-axis plot'
|
|
86
|
+
'. value-axis';
|
|
87
|
+
padding-block-start: 0;
|
|
88
|
+
padding-inline-end: 1.5em;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.et-bar-chart-bar {
|
|
93
|
+
--_et-bar-chart-color: color-mix(
|
|
94
|
+
in oklab,
|
|
95
|
+
var(--et-theme-color-primary-solid, currentColor) var(--_et-chart-accent-mix, 100%),
|
|
96
|
+
var(--et-surface-background-solid, transparent)
|
|
97
|
+
);
|
|
98
|
+
--_et-bar-chart-column-tint: color-mix(in srgb, var(--et-surface-interaction-solid, currentColor) 6%, transparent);
|
|
99
|
+
--_et-bar-chart-mark-tint: color-mix(
|
|
100
|
+
in srgb,
|
|
101
|
+
var(--_et-bar-chart-color) 85%,
|
|
102
|
+
var(--et-surface-background-solid, transparent)
|
|
103
|
+
);
|
|
104
|
+
|
|
105
|
+
outline: none;
|
|
106
|
+
|
|
107
|
+
.et-bar-chart-bar-target {
|
|
108
|
+
fill: transparent;
|
|
109
|
+
stroke: transparent;
|
|
110
|
+
stroke-width: 2px;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.et-bar-chart-bar-anchor {
|
|
114
|
+
fill: none;
|
|
115
|
+
pointer-events: none;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.et-bar-chart-bar-mark {
|
|
119
|
+
fill: var(--_et-bar-chart-color);
|
|
120
|
+
transform-box: view-box;
|
|
121
|
+
transform-origin: 0 var(--_et-bar-chart-baseline);
|
|
122
|
+
animation: et-bar-chart-bar-enter var(--et-bar-chart-enter-duration) cubic-bezier(0.2, 0, 0, 1) backwards;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
&:focus-visible {
|
|
126
|
+
.et-bar-chart-bar-target {
|
|
127
|
+
fill: var(--_et-bar-chart-column-tint);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.et-bar-chart-bar-mark {
|
|
131
|
+
fill: var(--_et-bar-chart-mark-tint);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
@media (hover: hover) {
|
|
136
|
+
&:hover {
|
|
137
|
+
.et-bar-chart-bar-target {
|
|
138
|
+
fill: var(--_et-bar-chart-column-tint);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.et-bar-chart-bar-mark {
|
|
142
|
+
fill: var(--_et-bar-chart-mark-tint);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
&:focus-visible .et-bar-chart-bar-target {
|
|
148
|
+
stroke: var(--_et-bar-chart-color);
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.et-bar-chart-figure:where([data-orientation='horizontal']) .et-bar-chart-bar-mark {
|
|
153
|
+
transform-origin: var(--_et-bar-chart-baseline) 0;
|
|
154
|
+
animation-name: et-bar-chart-bar-enter-horizontal;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
@keyframes et-bar-chart-bar-enter {
|
|
158
|
+
from {
|
|
159
|
+
transform: scaleY(0);
|
|
160
|
+
opacity: 0;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
@keyframes et-bar-chart-bar-enter-horizontal {
|
|
165
|
+
from {
|
|
166
|
+
transform: scaleX(0);
|
|
167
|
+
opacity: 0;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
@media (prefers-reduced-motion: reduce) {
|
|
172
|
+
.et-bar-chart-bar .et-bar-chart-bar-mark {
|
|
173
|
+
animation: none;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
.et-chart-axis {
|
|
3
|
+
display: grid;
|
|
4
|
+
min-inline-size: 0;
|
|
5
|
+
font-variant-numeric: tabular-nums;
|
|
6
|
+
white-space: nowrap;
|
|
7
|
+
|
|
8
|
+
.et-chart-axis-label {
|
|
9
|
+
grid-area: 1 / 1;
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
text-overflow: ellipsis;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&:where([data-orientation='horizontal']) {
|
|
15
|
+
justify-items: start;
|
|
16
|
+
|
|
17
|
+
.et-chart-axis-label {
|
|
18
|
+
translate: calc(var(--_et-chart-axis-position) - 50%) 0;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.et-chart-axis-label:where([data-extent]) {
|
|
22
|
+
box-sizing: border-box;
|
|
23
|
+
inline-size: var(--_et-chart-axis-extent);
|
|
24
|
+
padding-inline: 2px;
|
|
25
|
+
text-align: center;
|
|
26
|
+
translate: calc(var(--_et-chart-axis-position) - var(--_et-chart-axis-extent) / 2) 0;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&:where([data-orientation='vertical']) {
|
|
31
|
+
justify-items: end;
|
|
32
|
+
align-items: start;
|
|
33
|
+
|
|
34
|
+
.et-chart-axis-label {
|
|
35
|
+
max-inline-size: 100%;
|
|
36
|
+
translate: 0 calc(var(--_et-chart-axis-position) - 50%);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
.et-chart-legend {
|
|
3
|
+
display: block;
|
|
4
|
+
|
|
5
|
+
.et-chart-legend-list {
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-wrap: wrap;
|
|
8
|
+
column-gap: 16px;
|
|
9
|
+
row-gap: 4px;
|
|
10
|
+
margin: 0;
|
|
11
|
+
padding: 0;
|
|
12
|
+
list-style: none;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.et-chart-legend-item {
|
|
16
|
+
display: flex;
|
|
17
|
+
align-items: center;
|
|
18
|
+
gap: 6px;
|
|
19
|
+
min-inline-size: 0;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.et-chart-legend-swatch {
|
|
23
|
+
flex: none;
|
|
24
|
+
inline-size: 10px;
|
|
25
|
+
block-size: 10px;
|
|
26
|
+
border-radius: 2px;
|
|
27
|
+
background: color-mix(
|
|
28
|
+
in oklab,
|
|
29
|
+
var(--et-theme-color-primary-solid, currentColor) var(--_et-chart-accent-mix, 100%),
|
|
30
|
+
var(--et-surface-background-solid, transparent)
|
|
31
|
+
);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.et-chart-legend-label {
|
|
35
|
+
overflow: hidden;
|
|
36
|
+
text-overflow: ellipsis;
|
|
37
|
+
white-space: nowrap;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&:where([data-mark='line']) .et-chart-legend-swatch {
|
|
41
|
+
inline-size: 12px;
|
|
42
|
+
block-size: 2px;
|
|
43
|
+
border-radius: 1px;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
.et-chart-tooltip {
|
|
3
|
+
display: flex;
|
|
4
|
+
align-items: baseline;
|
|
5
|
+
gap: 6px;
|
|
6
|
+
|
|
7
|
+
.et-chart-tooltip-key {
|
|
8
|
+
flex: none;
|
|
9
|
+
align-self: center;
|
|
10
|
+
inline-size: 12px;
|
|
11
|
+
block-size: 2px;
|
|
12
|
+
border-radius: 1px;
|
|
13
|
+
background: color-mix(
|
|
14
|
+
in oklab,
|
|
15
|
+
var(--et-theme-color-primary-solid, currentColor) var(--_et-chart-accent-mix, 100%),
|
|
16
|
+
var(--et-surface-background-solid, transparent)
|
|
17
|
+
);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.et-chart-tooltip-value {
|
|
21
|
+
font-variant-numeric: tabular-nums;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.et-chart-tooltip-series,
|
|
25
|
+
.et-chart-tooltip-label {
|
|
26
|
+
opacity: 0.75;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.et-chart-tooltip-series + .et-chart-tooltip-label::before {
|
|
30
|
+
content: '·' / '';
|
|
31
|
+
margin-inline-end: 6px;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
.et-line-chart-tooltip {
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
gap: 4px;
|
|
6
|
+
|
|
7
|
+
.et-line-chart-tooltip-label {
|
|
8
|
+
opacity: 0.75;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.et-line-chart-tooltip-list {
|
|
12
|
+
display: grid;
|
|
13
|
+
grid-template-columns: auto 1fr auto;
|
|
14
|
+
column-gap: 6px;
|
|
15
|
+
row-gap: 2px;
|
|
16
|
+
margin: 0;
|
|
17
|
+
padding: 0;
|
|
18
|
+
list-style: none;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.et-line-chart-tooltip-row {
|
|
22
|
+
display: grid;
|
|
23
|
+
grid-column: 1 / -1;
|
|
24
|
+
grid-template-columns: subgrid;
|
|
25
|
+
align-items: baseline;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.et-line-chart-tooltip-key {
|
|
29
|
+
grid-column: 1;
|
|
30
|
+
align-self: center;
|
|
31
|
+
inline-size: 12px;
|
|
32
|
+
block-size: 2px;
|
|
33
|
+
border-radius: 1px;
|
|
34
|
+
background: color-mix(
|
|
35
|
+
in oklab,
|
|
36
|
+
var(--et-theme-color-primary-solid, currentColor) var(--_et-chart-accent-mix, 100%),
|
|
37
|
+
var(--et-surface-background-solid, transparent)
|
|
38
|
+
);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.et-line-chart-tooltip-series {
|
|
42
|
+
grid-column: 2;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.et-line-chart-tooltip-value {
|
|
46
|
+
grid-column: 3;
|
|
47
|
+
font-variant-numeric: tabular-nums;
|
|
48
|
+
text-align: end;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|