@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,271 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
@property --et-notification-border-radius {
|
|
3
|
+
syntax: '<length>';
|
|
4
|
+
inherits: true;
|
|
5
|
+
initial-value: 4px;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
@property --et-notification-padding {
|
|
9
|
+
syntax: '*';
|
|
10
|
+
inherits: true;
|
|
11
|
+
initial-value: 12px 12px 12px 14px;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
@property --et-notification-min-width {
|
|
15
|
+
syntax: '<length>';
|
|
16
|
+
inherits: true;
|
|
17
|
+
initial-value: 300px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@property --et-notification-max-width {
|
|
21
|
+
syntax: '<length>';
|
|
22
|
+
inherits: true;
|
|
23
|
+
initial-value: 420px;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@property --et-notification-shadow {
|
|
27
|
+
syntax: '*';
|
|
28
|
+
inherits: true;
|
|
29
|
+
initial-value:
|
|
30
|
+
0 4px 16px rgb(var(--et-shadow-color-rgb, 0 0 0) / 10%),
|
|
31
|
+
0 0 0 1px rgb(var(--et-shadow-color-rgb, 0 0 0) / 5%);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@property --et-notification-border-width {
|
|
35
|
+
syntax: '<length>';
|
|
36
|
+
inherits: true;
|
|
37
|
+
initial-value: 4px;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
@property --et-notification-font-size {
|
|
41
|
+
syntax: '<length>';
|
|
42
|
+
inherits: true;
|
|
43
|
+
initial-value: 14px;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@property --et-notification-line-height {
|
|
47
|
+
syntax: '<length>';
|
|
48
|
+
inherits: true;
|
|
49
|
+
initial-value: 20px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
@property --et-notification-gap {
|
|
53
|
+
syntax: '<length>';
|
|
54
|
+
inherits: true;
|
|
55
|
+
initial-value: 8px;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
@property --et-notification-title-font-weight {
|
|
59
|
+
syntax: '<number>';
|
|
60
|
+
inherits: true;
|
|
61
|
+
initial-value: 600;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
@property --et-notification-message-font-size {
|
|
65
|
+
syntax: '<length>';
|
|
66
|
+
inherits: true;
|
|
67
|
+
initial-value: 12px;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
@property --et-notification-message-line-height {
|
|
71
|
+
syntax: '<length>';
|
|
72
|
+
inherits: true;
|
|
73
|
+
initial-value: 16px;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
@property --et-notification-message-opacity {
|
|
77
|
+
syntax: '<number>';
|
|
78
|
+
inherits: true;
|
|
79
|
+
initial-value: 0.65;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
@property --et-notification-progress-bar-height {
|
|
83
|
+
syntax: '<length>';
|
|
84
|
+
inherits: true;
|
|
85
|
+
initial-value: 3px;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
@property --et-notification-icon-size {
|
|
89
|
+
syntax: '<length>';
|
|
90
|
+
inherits: true;
|
|
91
|
+
initial-value: 16px;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.et-notification {
|
|
95
|
+
display: block;
|
|
96
|
+
pointer-events: all;
|
|
97
|
+
/* Fades under a swipe. Set inline by the gesture, so the leave/enter rules — which are more
|
|
98
|
+
specific — still win when the notification animates in or out. */
|
|
99
|
+
opacity: var(--_et-notification-swipe-opacity, 1);
|
|
100
|
+
background: var(--et-surface-background-solid, #fff);
|
|
101
|
+
color: var(--et-surface-color-solid, #111);
|
|
102
|
+
border-radius: var(--et-notification-border-radius);
|
|
103
|
+
padding: var(--et-notification-padding);
|
|
104
|
+
box-shadow: var(--et-notification-shadow);
|
|
105
|
+
min-width: var(--et-notification-min-width);
|
|
106
|
+
max-width: var(--et-notification-max-width);
|
|
107
|
+
border-inline-start: var(--et-notification-border-width) solid var(--et-theme-color-primary-solid, #d1d5db);
|
|
108
|
+
font-family: inherit;
|
|
109
|
+
font-size: var(--et-notification-font-size);
|
|
110
|
+
line-height: var(--et-notification-line-height);
|
|
111
|
+
|
|
112
|
+
/* The notification slides in from the inline edge its stack is docked to. `translateX` is
|
|
113
|
+
physical, so the offset carries a sign that flips with the writing direction — same pattern as
|
|
114
|
+
the side-sheet strategies. `--_et-notification-slide-x` picks the edge, the sign picks the
|
|
115
|
+
physical axis for it. */
|
|
116
|
+
--_et-notification-slide-x: 1rem;
|
|
117
|
+
--_et-notification-dir-sign: 1;
|
|
118
|
+
|
|
119
|
+
&:dir(rtl) {
|
|
120
|
+
--_et-notification-dir-sign: -1;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
&.et-animation-enter-from {
|
|
124
|
+
opacity: 0;
|
|
125
|
+
transform: translateX(calc(var(--_et-notification-slide-x) * var(--_et-notification-dir-sign)));
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
&.et-animation-enter-active {
|
|
129
|
+
transition:
|
|
130
|
+
opacity 200ms ease,
|
|
131
|
+
transform 200ms ease;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
&.et-animation-leave-active {
|
|
135
|
+
transition:
|
|
136
|
+
opacity 200ms ease,
|
|
137
|
+
transform 200ms ease;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
&.et-animation-leave-to {
|
|
141
|
+
opacity: 0;
|
|
142
|
+
transform: translateX(calc(var(--_et-notification-slide-x) * var(--_et-notification-dir-sign)));
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
/* A notification thrown away by the swipe gesture leaves in the direction it was thrown, from
|
|
147
|
+
wherever the finger left it. `!important` is what lets the leave transition override the
|
|
148
|
+
gesture's own inline transform — the same mechanism the sheet overlays use. */
|
|
149
|
+
.et-notification[data-swiped-away] {
|
|
150
|
+
&.et-animation-leave-to {
|
|
151
|
+
transform: translateX(var(--_et-notification-swipe-exit-x, 0px)) !important;
|
|
152
|
+
opacity: 0;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/* start positions: slide in/out from the inline-start edge */
|
|
157
|
+
.et-notification-stack[data-position='bottom-start'] .et-notification,
|
|
158
|
+
.et-notification-stack[data-position='top-start'] .et-notification {
|
|
159
|
+
--_et-notification-slide-x: -1rem;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
/* bottom-center: slide in/out upward from below */
|
|
163
|
+
.et-notification-stack[data-position='bottom-center'] .et-notification {
|
|
164
|
+
&.et-animation-enter-from,
|
|
165
|
+
&.et-animation-leave-to {
|
|
166
|
+
transform: translateY(1rem);
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
/* top-center: slide in/out downward from above */
|
|
171
|
+
.et-notification-stack[data-position='top-center'] .et-notification {
|
|
172
|
+
&.et-animation-enter-from,
|
|
173
|
+
&.et-animation-leave-to {
|
|
174
|
+
transform: translateY(-1rem);
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.et-notification-header {
|
|
179
|
+
display: flex;
|
|
180
|
+
align-items: center;
|
|
181
|
+
justify-content: space-between;
|
|
182
|
+
gap: var(--et-notification-gap);
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.et-notification-spinner {
|
|
186
|
+
flex-shrink: 0;
|
|
187
|
+
--et-spinner-color: var(--et-theme-color-primary-solid, currentColor);
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
/* The status glyph reads in the status color, which the manager's `statusColorMapping` resolves —
|
|
191
|
+
the same source the spinner and the accent border use. */
|
|
192
|
+
.et-notification-icon {
|
|
193
|
+
flex-shrink: 0;
|
|
194
|
+
width: var(--et-notification-icon-size);
|
|
195
|
+
height: var(--et-notification-icon-size);
|
|
196
|
+
color: var(--et-theme-color-primary-solid, currentColor);
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.et-notification-title {
|
|
200
|
+
flex: 1;
|
|
201
|
+
font-weight: var(--et-notification-title-font-weight);
|
|
202
|
+
font-size: var(--et-notification-font-size);
|
|
203
|
+
line-height: var(--et-notification-line-height);
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.et-notification-dismiss-btn {
|
|
207
|
+
flex-shrink: 0;
|
|
208
|
+
opacity: 0.4;
|
|
209
|
+
transition: opacity 120ms ease;
|
|
210
|
+
|
|
211
|
+
@media (hover: hover) {
|
|
212
|
+
&:hover {
|
|
213
|
+
opacity: 0.8;
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.et-notification-message {
|
|
219
|
+
margin: 0.4rem 0 0;
|
|
220
|
+
color: var(--et-surface-color-muted-solid, inherit);
|
|
221
|
+
opacity: var(--et-notification-message-opacity);
|
|
222
|
+
font-size: var(--et-notification-message-font-size);
|
|
223
|
+
line-height: var(--et-notification-message-line-height);
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.et-notification-progress-bar {
|
|
227
|
+
margin-top: 0.8rem;
|
|
228
|
+
color: var(--et-theme-color-primary-solid, currentColor);
|
|
229
|
+
--et-progress-bar-height: var(--et-notification-progress-bar-height);
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.et-notification-footer {
|
|
233
|
+
display: flex;
|
|
234
|
+
align-items: center;
|
|
235
|
+
gap: 1.2rem;
|
|
236
|
+
margin-top: 0.8rem;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
/* The quieter half of an action pair: same shape as the primary action, neutral instead of accented.
|
|
240
|
+
Scoped through `.et-notification` to outweigh the text button's own `color` — the two stylesheets
|
|
241
|
+
share a layer, so their relative order depends on which component renders first. */
|
|
242
|
+
.et-notification .et-notification-secondary-action {
|
|
243
|
+
color: var(--et-surface-color-muted-solid, inherit);
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
/* The stack goes edge to edge below this width (see `notification-stack.component.css`), so the card
|
|
247
|
+
drops the bounds that would keep it a corner card and fills it. */
|
|
248
|
+
@media (max-width: 480px) {
|
|
249
|
+
.et-notification {
|
|
250
|
+
min-width: 0;
|
|
251
|
+
max-width: none;
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
@media (prefers-reduced-motion: reduce) {
|
|
256
|
+
.et-notification {
|
|
257
|
+
&.et-animation-enter-from {
|
|
258
|
+
transform: none;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
&.et-animation-enter-active,
|
|
262
|
+
&.et-animation-leave-active {
|
|
263
|
+
transition: opacity 200ms ease;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
&.et-animation-leave-to {
|
|
267
|
+
transform: none;
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
@property --et-alert-dialog-title-font-size {
|
|
3
|
+
syntax: '<length>';
|
|
4
|
+
inherits: true;
|
|
5
|
+
initial-value: 18px;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
@property --et-alert-dialog-message-font-size {
|
|
9
|
+
syntax: '<length>';
|
|
10
|
+
inherits: true;
|
|
11
|
+
initial-value: 14px;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
@property --et-alert-dialog-actions-gap {
|
|
15
|
+
syntax: '<length>';
|
|
16
|
+
inherits: true;
|
|
17
|
+
initial-value: 8px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.et-alert-dialog {
|
|
21
|
+
--et-overlay-body-min-block-size: 0px;
|
|
22
|
+
|
|
23
|
+
color: var(--et-surface-color-solid, currentColor);
|
|
24
|
+
|
|
25
|
+
.et-alert-dialog-title {
|
|
26
|
+
margin: 0;
|
|
27
|
+
font-size: var(--et-alert-dialog-title-font-size);
|
|
28
|
+
font-weight: 600;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.et-alert-dialog-message {
|
|
32
|
+
margin: 0;
|
|
33
|
+
font-size: var(--et-alert-dialog-message-font-size);
|
|
34
|
+
color: var(--et-surface-color-muted-solid, currentColor);
|
|
35
|
+
white-space: pre-line;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.et-alert-dialog-actions {
|
|
39
|
+
display: flex;
|
|
40
|
+
flex-wrap: wrap;
|
|
41
|
+
justify-content: flex-end;
|
|
42
|
+
gap: var(--et-alert-dialog-actions-gap);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
.et-overlay.et-with-default-animation.et-floating-panel {
|
|
3
|
+
&.et-animation-enter-from,
|
|
4
|
+
&.et-animation-leave-to {
|
|
5
|
+
opacity: 0;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
&.et-animation-enter-active {
|
|
9
|
+
transition:
|
|
10
|
+
transform var(--et-floating-panel-enter-duration, 200ms) ease,
|
|
11
|
+
opacity var(--et-floating-panel-enter-duration, 200ms) ease;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&.et-animation-leave-active {
|
|
15
|
+
transition:
|
|
16
|
+
transform var(--et-floating-panel-leave-duration, 140ms) ease,
|
|
17
|
+
opacity var(--et-floating-panel-leave-duration, 140ms) ease;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.et-floating-panel[data-overlay-placement^='top'] {
|
|
22
|
+
&.et-animation-enter-from,
|
|
23
|
+
&.et-animation-leave-to {
|
|
24
|
+
transform: translate3d(var(--et-overlay-anchored-x, 0px), var(--et-overlay-anchored-y, 0px), 0)
|
|
25
|
+
translateY(var(--et-floating-panel-distance, 0.4rem)) !important;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.et-floating-panel[data-overlay-placement^='right'] {
|
|
30
|
+
&.et-animation-enter-from,
|
|
31
|
+
&.et-animation-leave-to {
|
|
32
|
+
transform: translate3d(var(--et-overlay-anchored-x, 0px), var(--et-overlay-anchored-y, 0px), 0)
|
|
33
|
+
translateX(calc(var(--et-floating-panel-distance, 0.4rem) * -1)) !important;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.et-floating-panel[data-overlay-placement^='bottom'] {
|
|
38
|
+
&.et-animation-enter-from,
|
|
39
|
+
&.et-animation-leave-to {
|
|
40
|
+
transform: translate3d(var(--et-overlay-anchored-x, 0px), var(--et-overlay-anchored-y, 0px), 0)
|
|
41
|
+
translateY(calc(var(--et-floating-panel-distance, 0.4rem) * -1)) !important;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.et-floating-panel[data-overlay-placement^='left'] {
|
|
46
|
+
&.et-animation-enter-from,
|
|
47
|
+
&.et-animation-leave-to {
|
|
48
|
+
transform: translate3d(var(--et-overlay-anchored-x, 0px), var(--et-overlay-anchored-y, 0px), 0)
|
|
49
|
+
translateX(var(--et-floating-panel-distance, 0.4rem)) !important;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
@media (prefers-reduced-motion: reduce) {
|
|
54
|
+
.et-overlay.et-with-default-animation.et-floating-panel {
|
|
55
|
+
&.et-animation-enter-active {
|
|
56
|
+
transition: opacity var(--et-floating-panel-enter-duration, 200ms) ease;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&.et-animation-leave-active {
|
|
60
|
+
transition: opacity var(--et-floating-panel-leave-duration, 140ms) ease;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.et-floating-panel[data-overlay-placement] {
|
|
65
|
+
&.et-animation-enter-from,
|
|
66
|
+
&.et-animation-leave-to {
|
|
67
|
+
transform: translate3d(var(--et-overlay-anchored-x, 0px), var(--et-overlay-anchored-y, 0px), 0) !important;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
.et-overlay.et-overlay--tooltip,
|
|
3
|
+
.et-overlay.et-overlay--toggletip {
|
|
4
|
+
overflow: visible;
|
|
5
|
+
background: transparent;
|
|
6
|
+
box-shadow: none;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.et-overlay--tooltip,
|
|
10
|
+
.et-overlay--toggletip {
|
|
11
|
+
--et-floating-panel-enter-duration: 200ms;
|
|
12
|
+
--et-floating-panel-leave-duration: 140ms;
|
|
13
|
+
--et-floating-panel-distance: 0.45rem;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.et-tooltip,
|
|
17
|
+
.et-toggletip {
|
|
18
|
+
--_et-floating-tip-background: var(--et-surface-background-solid, rgb(32 32 32));
|
|
19
|
+
--_et-floating-tip-color: var(--et-surface-color-solid, rgb(244 244 245));
|
|
20
|
+
--_et-floating-tip-border: var(--et-surface-border-solid, rgb(255 255 255 / 0.1));
|
|
21
|
+
--_et-floating-tip-shadow: var(
|
|
22
|
+
--et-anchored-panel-shadow,
|
|
23
|
+
0 10px 24px rgb(var(--et-shadow-color-rgb, 0 0 0) / 0.16)
|
|
24
|
+
);
|
|
25
|
+
--_et-floating-tip-radius: 16px;
|
|
26
|
+
--_et-floating-tip-max-width: min(34ch, calc(100vw - 24px));
|
|
27
|
+
|
|
28
|
+
position: relative;
|
|
29
|
+
display: block;
|
|
30
|
+
inline-size: max-content;
|
|
31
|
+
max-inline-size: var(--_et-floating-tip-max-width);
|
|
32
|
+
color: var(--_et-floating-tip-color);
|
|
33
|
+
font-family: var(--et-font-family, inherit);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.et-tooltip__surface,
|
|
37
|
+
.et-toggletip__surface {
|
|
38
|
+
position: relative;
|
|
39
|
+
z-index: 1;
|
|
40
|
+
display: block;
|
|
41
|
+
max-inline-size: var(--_et-floating-tip-max-width);
|
|
42
|
+
border-radius: var(--_et-floating-tip-radius);
|
|
43
|
+
border: 1px solid var(--_et-floating-tip-border);
|
|
44
|
+
background: var(--_et-floating-tip-background);
|
|
45
|
+
color: var(--_et-floating-tip-color);
|
|
46
|
+
box-shadow: var(--_et-floating-tip-shadow);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.et-tooltip__content,
|
|
50
|
+
.et-toggletip__content {
|
|
51
|
+
position: relative;
|
|
52
|
+
z-index: 1;
|
|
53
|
+
display: grid;
|
|
54
|
+
|
|
55
|
+
:where(p) {
|
|
56
|
+
margin: 0;
|
|
57
|
+
opacity: 0.88;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
:where(a) {
|
|
61
|
+
color: inherit;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
:where(strong) {
|
|
65
|
+
display: block;
|
|
66
|
+
font-size: 14px;
|
|
67
|
+
font-weight: 700;
|
|
68
|
+
line-height: 18px;
|
|
69
|
+
letter-spacing: -0.02em;
|
|
70
|
+
opacity: 1;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.et-tooltip__text,
|
|
75
|
+
.et-toggletip__text {
|
|
76
|
+
margin: 0;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
.et-overlay {
|
|
3
|
+
--et-overlay-padding-inline: 16px;
|
|
4
|
+
--et-overlay-padding-block: 16px;
|
|
5
|
+
|
|
6
|
+
--et-overlay-header-padding-block-end: 16px;
|
|
7
|
+
--et-overlay-body-padding-block: 0;
|
|
8
|
+
--et-overlay-footer-padding-block-start: 16px;
|
|
9
|
+
|
|
10
|
+
--et-overlay-body-divider-color: var(--et-surface-border-solid, #565656);
|
|
11
|
+
|
|
12
|
+
--et-overlay-body-min-block-size: 100px;
|
|
13
|
+
|
|
14
|
+
/* Default pane chrome for the "boxed" overlay kinds (dialog / anchored-dialog / sheets).
|
|
15
|
+
Surface-themed so the pane matches whatever elevation the container forces onto itself, with
|
|
16
|
+
a static fallback for theme-less setups. Kept as tokens so a specific overlay (e.g. the RTE
|
|
17
|
+
link editor, the date-picker sheet) can override radius/border per instance. Anchored/centered
|
|
18
|
+
panes are deliberately excluded — their content paints its own surface. */
|
|
19
|
+
--et-overlay-surface-background: var(--et-surface-background-solid, rgb(32 32 32));
|
|
20
|
+
--et-overlay-surface-color: var(--et-surface-color-solid, rgb(244 244 245));
|
|
21
|
+
--et-overlay-surface-border-color: var(--et-surface-border-solid, rgb(255 255 255 / 0.1));
|
|
22
|
+
--et-overlay-surface-border-width: 0.1rem;
|
|
23
|
+
--_et-overlay-radius: var(--et-overlay-radius, 1.6rem);
|
|
24
|
+
|
|
25
|
+
position: relative;
|
|
26
|
+
display: grid;
|
|
27
|
+
grid-template-rows: minmax(0, 1fr);
|
|
28
|
+
overflow: hidden;
|
|
29
|
+
pointer-events: all;
|
|
30
|
+
outline: none;
|
|
31
|
+
box-sizing: border-box;
|
|
32
|
+
|
|
33
|
+
/* the content root is whichever child isn't the (optional) drag handle or arrow, so this
|
|
34
|
+
still resolves correctly regardless of which of those are present */
|
|
35
|
+
> :not(.et-overlay-container-drag-handle):not(.et-overlay-arrow) {
|
|
36
|
+
overflow: auto;
|
|
37
|
+
border-radius: inherit;
|
|
38
|
+
|
|
39
|
+
&:not(.et-overlay-main) {
|
|
40
|
+
display: grid;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&:not(.et-overlay-main):has(.et-overlay-router-outlet-host) {
|
|
44
|
+
grid-template-columns: minmax(0, 1fr);
|
|
45
|
+
grid-template-rows: minmax(0, 1fr);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&:not(.et-overlay-main):has(.et-overlay-sidebar--visible) {
|
|
49
|
+
grid-template-columns: auto minmax(0, 1fr);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&.et-overlay--anchored,
|
|
54
|
+
&.et-overlay--centered {
|
|
55
|
+
overflow: visible;
|
|
56
|
+
background: transparent;
|
|
57
|
+
|
|
58
|
+
> :not(.et-overlay-container-drag-handle):not(.et-overlay-arrow) {
|
|
59
|
+
display: block;
|
|
60
|
+
overflow: visible;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/* Boxed overlays get a themed surface on the pane itself; content inherits the radius via the
|
|
65
|
+
content-root rule above, and the anchored-dialog arrow reads the pane's real background/border
|
|
66
|
+
so it matches. */
|
|
67
|
+
&.et-overlay--dialog,
|
|
68
|
+
&.et-overlay--anchored-dialog,
|
|
69
|
+
&.et-overlay--full-screen-dialog,
|
|
70
|
+
&.et-overlay--bottom-sheet,
|
|
71
|
+
&.et-overlay--top-sheet,
|
|
72
|
+
&.et-overlay--left-sheet,
|
|
73
|
+
&.et-overlay--right-sheet {
|
|
74
|
+
background-color: var(--et-overlay-surface-background);
|
|
75
|
+
color: var(--et-overlay-surface-color);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&.et-overlay--dialog,
|
|
79
|
+
&.et-overlay--anchored-dialog {
|
|
80
|
+
border: var(--et-overlay-surface-border-width) solid var(--et-overlay-surface-border-color);
|
|
81
|
+
border-radius: var(--_et-overlay-radius);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/* Anchored popover sits tight against its trigger, so a slightly smaller radius reads better. */
|
|
85
|
+
&.et-overlay--anchored-dialog {
|
|
86
|
+
--_et-overlay-radius: var(--et-overlay-radius, 1.2rem);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/* Sheets are docked to one viewport edge: border everything but the docked edge and round only
|
|
90
|
+
the two exposed corners. */
|
|
91
|
+
&.et-overlay--bottom-sheet {
|
|
92
|
+
border: var(--et-overlay-surface-border-width) solid var(--et-overlay-surface-border-color);
|
|
93
|
+
border-block-end: none;
|
|
94
|
+
border-start-start-radius: var(--_et-overlay-radius);
|
|
95
|
+
border-start-end-radius: var(--_et-overlay-radius);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
&.et-overlay--top-sheet {
|
|
99
|
+
border: var(--et-overlay-surface-border-width) solid var(--et-overlay-surface-border-color);
|
|
100
|
+
border-block-start: none;
|
|
101
|
+
border-end-start-radius: var(--_et-overlay-radius);
|
|
102
|
+
border-end-end-radius: var(--_et-overlay-radius);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/* Side sheets span the full viewport height, so their block edges sit flush against the top and
|
|
106
|
+
bottom of the screen — border only the exposed inner edge. */
|
|
107
|
+
&.et-overlay--left-sheet {
|
|
108
|
+
border-inline-end: var(--et-overlay-surface-border-width) solid var(--et-overlay-surface-border-color);
|
|
109
|
+
border-start-end-radius: var(--_et-overlay-radius);
|
|
110
|
+
border-end-end-radius: var(--_et-overlay-radius);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
&.et-overlay--right-sheet {
|
|
114
|
+
border-inline-start: var(--et-overlay-surface-border-width) solid var(--et-overlay-surface-border-color);
|
|
115
|
+
border-start-start-radius: var(--_et-overlay-radius);
|
|
116
|
+
border-end-start-radius: var(--_et-overlay-radius);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
&.et-overlay--bottom-sheet:has(> .et-overlay-container-drag-handle) {
|
|
120
|
+
grid-template-rows: auto minmax(0, 1fr);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
&.et-overlay--bottom-sheet .et-overlay-container-drag-handle {
|
|
124
|
+
display: flex;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
&:has(.et-overlay-main) {
|
|
128
|
+
overflow: visible;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.et-overlay-container-drag-handle {
|
|
133
|
+
block-size: var(--_et-overlay-drag-handle-block-size);
|
|
134
|
+
margin-block: var(--_et-overlay-drag-handle-block-margin);
|
|
135
|
+
display: none;
|
|
136
|
+
justify-content: center;
|
|
137
|
+
|
|
138
|
+
&::before {
|
|
139
|
+
content: '';
|
|
140
|
+
position: static;
|
|
141
|
+
inline-size: var(--_et-overlay-drag-handle-inline-size);
|
|
142
|
+
block-size: var(--_et-overlay-drag-handle-block-size);
|
|
143
|
+
background-color: var(--_et-overlay-drag-handle-color);
|
|
144
|
+
border-radius: var(--_et-overlay-drag-handle-radius);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.et-overlay-runtime-backdrop {
|
|
149
|
+
--et-overlay-backdrop-color: rgb(var(--et-scrim-color-rgb, 0 0 0) / 0.32);
|
|
150
|
+
|
|
151
|
+
background-color: var(--et-overlay-backdrop-color);
|
|
152
|
+
opacity: 0;
|
|
153
|
+
transition: opacity 200ms linear;
|
|
154
|
+
|
|
155
|
+
&.et-overlay-backdrop--visible {
|
|
156
|
+
opacity: 1;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.et-overlay-backdrop--hidden {
|
|
161
|
+
display: none !important;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.et-force-invisible {
|
|
165
|
+
visibility: hidden !important;
|
|
166
|
+
}
|
|
167
|
+
}
|