@miragon/modeler-shell 0.0.0-stage → 0.2.0
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/API.md +2869 -0
- package/LICENSE +21 -0
- package/README.md +566 -2
- package/THIRD_PARTY_NOTICES.md +52 -0
- package/dist/appearance-BBaM_4bD.d.ts +323 -0
- package/dist/appearance-D3FUcbu6.d.cts +53 -0
- package/dist/appearance-D3FUcbu6.d.ts +53 -0
- package/dist/appearance-XX3JC3pI.d.cts +323 -0
- package/dist/chunk-66HCSJNY.js +2792 -0
- package/dist/chunk-66HCSJNY.js.map +1 -0
- package/dist/chunk-KYDG5DMX.js +136 -0
- package/dist/chunk-KYDG5DMX.js.map +1 -0
- package/dist/chunk-N4QXFF3A.js +23 -0
- package/dist/chunk-N4QXFF3A.js.map +1 -0
- package/dist/chunk-OADW3GPA.js +785 -0
- package/dist/chunk-OADW3GPA.js.map +1 -0
- package/dist/core.cjs +873 -0
- package/dist/core.cjs.map +1 -0
- package/dist/core.d.cts +246 -0
- package/dist/core.d.ts +246 -0
- package/dist/core.js +131 -0
- package/dist/core.js.map +1 -0
- package/dist/diagram-js.cjs +1147 -0
- package/dist/diagram-js.cjs.map +1 -0
- package/dist/diagram-js.d.cts +170 -0
- package/dist/diagram-js.d.ts +170 -0
- package/dist/diagram-js.js +879 -0
- package/dist/diagram-js.js.map +1 -0
- package/dist/index.cjs +3632 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +29 -0
- package/dist/index.d.ts +29 -0
- package/dist/index.js +143 -0
- package/dist/index.js.map +1 -0
- package/dist/protocol-DhYBakWL.d.cts +15 -0
- package/dist/protocol-IeW8bf4f.d.ts +15 -0
- package/dist/shell.css +1603 -0
- package/dist/testing-vscode-stub.cjs +332 -0
- package/dist/testing-vscode-stub.cjs.map +1 -0
- package/dist/testing-vscode-stub.d.cts +65 -0
- package/dist/testing-vscode-stub.d.ts +65 -0
- package/dist/testing-vscode-stub.js +154 -0
- package/dist/testing-vscode-stub.js.map +1 -0
- package/dist/testing.cjs +4663 -0
- package/dist/testing.cjs.map +1 -0
- package/dist/testing.d.cts +231 -0
- package/dist/testing.d.ts +231 -0
- package/dist/testing.js +4483 -0
- package/dist/testing.js.map +1 -0
- package/dist/toasts-Bp0REqdq.d.cts +142 -0
- package/dist/toasts-Bp0REqdq.d.ts +142 -0
- package/dist/types-CnRrINRs.d.cts +445 -0
- package/dist/types-PuDZczzy.d.ts +445 -0
- package/dist/vscode-extension.cjs +215 -0
- package/dist/vscode-extension.cjs.map +1 -0
- package/dist/vscode-extension.d.cts +103 -0
- package/dist/vscode-extension.d.ts +103 -0
- package/dist/vscode-extension.js +24 -0
- package/dist/vscode-extension.js.map +1 -0
- package/dist/vscode-webview.cjs +3561 -0
- package/dist/vscode-webview.cjs.map +1 -0
- package/dist/vscode-webview.d.cts +84 -0
- package/dist/vscode-webview.d.ts +84 -0
- package/dist/vscode-webview.js +259 -0
- package/dist/vscode-webview.js.map +1 -0
- package/package.json +145 -4
- package/src/core/appearance.ts +104 -0
- package/src/core/feedback/appearance.ts +141 -0
- package/src/core/feedback/problems.ts +23 -0
- package/src/core/feedback/toasts.ts +118 -0
- package/src/core/fit.ts +220 -0
- package/src/core/index.ts +127 -0
- package/src/core/keymap.ts +295 -0
- package/src/core/layout.ts +69 -0
- package/src/core/messages.ts +159 -0
- package/src/core/sizes.ts +85 -0
- package/src/core/types.ts +106 -0
- package/src/core/web-chrome/bottom-row.ts +37 -0
- package/src/core/web-chrome/drop.ts +78 -0
- package/src/core/web-chrome/top-row.ts +66 -0
- package/src/core/zoom.ts +74 -0
- package/src/core.ts +2 -0
- package/src/diagram-js/connect.ts +75 -0
- package/src/diagram-js/index.ts +16 -0
- package/src/diagram-js/module.ts +20 -0
- package/src/diagram-js/palette-skin.ts +267 -0
- package/src/diagram-js/palette.css +269 -0
- package/src/diagram-js/service.ts +243 -0
- package/src/diagram-js/types.ts +67 -0
- package/src/diagram-js/viewport.ts +583 -0
- package/src/diagram-js.ts +2 -0
- package/src/dom/buttons.css +124 -0
- package/src/dom/element.ts +51 -0
- package/src/dom/feedback/appearance.ts +184 -0
- package/src/dom/feedback/feedback.css +435 -0
- package/src/dom/feedback/problems-popover.ts +287 -0
- package/src/dom/feedback/toasts.ts +431 -0
- package/src/dom/hint.ts +51 -0
- package/src/dom/icons.ts +309 -0
- package/src/dom/index.ts +42 -0
- package/src/dom/inspector.ts +35 -0
- package/src/dom/keys.ts +67 -0
- package/src/dom/ledger.ts +87 -0
- package/src/dom/legend.ts +85 -0
- package/src/dom/menu.ts +404 -0
- package/src/dom/mount.ts +731 -0
- package/src/dom/problems.ts +73 -0
- package/src/dom/shell-dom.css +969 -0
- package/src/dom/status.ts +72 -0
- package/src/dom/tooltip.ts +237 -0
- package/src/dom/types.ts +459 -0
- package/src/dom/web/drop-zone.ts +181 -0
- package/src/dom/web/empty-state.ts +144 -0
- package/src/dom/web/legal.ts +75 -0
- package/src/dom/web/menu-groups.ts +69 -0
- package/src/dom/web/primary.ts +124 -0
- package/src/dom/web/web.css +386 -0
- package/src/dom/zoom-panel.ts +154 -0
- package/src/index.ts +3 -0
- package/src/shell.css +9 -0
- package/src/testing/case-tools.ts +164 -0
- package/src/testing/cases.ts +1077 -0
- package/src/testing/checks.ts +868 -0
- package/src/testing/facts.ts +641 -0
- package/src/testing/geometry.ts +652 -0
- package/src/testing/harness.ts +187 -0
- package/src/testing/index.ts +19 -0
- package/src/testing/page-tools.ts +457 -0
- package/src/testing/page.ts +27 -0
- package/src/testing/vscode-stub.ts +237 -0
- package/src/testing/web-cases.ts +913 -0
- package/src/testing/web-checks.ts +1049 -0
- package/src/testing/web-facts.ts +713 -0
- package/src/testing-vscode-stub.ts +2 -0
- package/src/testing.ts +2 -0
- package/src/vscode/extension/html.ts +107 -0
- package/src/vscode/extension/index.ts +8 -0
- package/src/vscode/extension/reveal.ts +9 -0
- package/src/vscode/extension/theme-bridge.ts +85 -0
- package/src/vscode/extension/types.ts +36 -0
- package/src/vscode/protocol.ts +31 -0
- package/src/vscode/webview/appearance.ts +141 -0
- package/src/vscode/webview/index.ts +8 -0
- package/src/vscode/webview/mount.ts +88 -0
- package/src/vscode/webview/state.ts +116 -0
- package/src/vscode-extension.ts +2 -0
- package/src/vscode-webview.ts +2 -0
package/dist/shell.css
ADDED
|
@@ -0,0 +1,1603 @@
|
|
|
1
|
+
/* src/dom/shell-dom.css */
|
|
2
|
+
.cd-shell,
|
|
3
|
+
html.cd-shell-document {
|
|
4
|
+
--modeler-shell-font:
|
|
5
|
+
"Geist Variable",
|
|
6
|
+
"Geist",
|
|
7
|
+
ui-sans-serif,
|
|
8
|
+
system-ui,
|
|
9
|
+
-apple-system,
|
|
10
|
+
"Segoe UI",
|
|
11
|
+
sans-serif;
|
|
12
|
+
--modeler-shell-font-mono:
|
|
13
|
+
"Geist Mono Variable",
|
|
14
|
+
"Geist Mono",
|
|
15
|
+
ui-monospace,
|
|
16
|
+
monospace;
|
|
17
|
+
}
|
|
18
|
+
.cd-shell {
|
|
19
|
+
position: relative;
|
|
20
|
+
overflow: hidden;
|
|
21
|
+
container: cd-shell / size;
|
|
22
|
+
isolation: isolate;
|
|
23
|
+
color: var(--cd-ui-text);
|
|
24
|
+
font: 400 13px/1.5 var(--modeler-shell-font);
|
|
25
|
+
-webkit-font-smoothing: antialiased;
|
|
26
|
+
}
|
|
27
|
+
:where(html.cd-shell-document body > .cd-shell) {
|
|
28
|
+
height: 100%;
|
|
29
|
+
}
|
|
30
|
+
.cd-shell > .cd-shell-canvas {
|
|
31
|
+
position: absolute;
|
|
32
|
+
inset: 0;
|
|
33
|
+
z-index: 0;
|
|
34
|
+
isolation: isolate;
|
|
35
|
+
overflow: hidden;
|
|
36
|
+
}
|
|
37
|
+
:where(.cd-shell-canvas) {
|
|
38
|
+
background-color: var(--cd-ui-grund);
|
|
39
|
+
}
|
|
40
|
+
:where(.cd-shell) :where(button, input, select, textarea) {
|
|
41
|
+
font: inherit;
|
|
42
|
+
color: inherit;
|
|
43
|
+
}
|
|
44
|
+
:where(.cd-shell) :is(.cd-shell-layer, .cd-shell-island, .cd-shell-menu, .cd-shell-menu-group, .cd-shell-status, .cd-shell-hint, .cd-shell-inspector, .cd-shell-legend-header, .cd-shell-legend-body, .cd-shell-tooltip, .cd-shell-menu-trigger, .cd-shell-target, .cd-shell-menu-item, .cd-shell-menu-item-label, .cd-shell-menu-shortcut, .cd-shell-menu-heading, .cd-shell-problems, .cd-shell-problems-text, .cd-shell-legend-close, .cd-shell-legend-title, .cd-shell-hint-text, .cd-shell-hint-action, .cd-shell-status-text, .cd-shell-tooltip-label, .cd-shell-kbd) {
|
|
45
|
+
color: inherit;
|
|
46
|
+
font: inherit;
|
|
47
|
+
letter-spacing: normal;
|
|
48
|
+
word-spacing: normal;
|
|
49
|
+
text-transform: none;
|
|
50
|
+
text-indent: 0;
|
|
51
|
+
text-shadow: none;
|
|
52
|
+
}
|
|
53
|
+
.cd-shell-layer {
|
|
54
|
+
position: absolute;
|
|
55
|
+
inset: 0;
|
|
56
|
+
z-index: var(--cd-shell-ebene-aufklapper);
|
|
57
|
+
pointer-events: none;
|
|
58
|
+
}
|
|
59
|
+
.cd-shell :is(.cd-shell-island, .cd-shell-status, .cd-shell-hint, .cd-shell-inspector, .cd-shell-menu, .cd-shell-tooltip, .cd-shell-kbd)[hidden] {
|
|
60
|
+
display: none;
|
|
61
|
+
}
|
|
62
|
+
.cd-shell-island {
|
|
63
|
+
position: absolute;
|
|
64
|
+
z-index: var(--cd-shell-ebene-inseln);
|
|
65
|
+
box-sizing: border-box;
|
|
66
|
+
margin: 0;
|
|
67
|
+
color: var(--cd-ui-text);
|
|
68
|
+
background: color-mix(in srgb, var(--cd-ui-flaeche-hoch) var(--cd-ui-chrome-deckkraft), transparent);
|
|
69
|
+
-webkit-backdrop-filter: blur(8px);
|
|
70
|
+
backdrop-filter: blur(8px);
|
|
71
|
+
border: 1px solid var(--cd-ui-linie);
|
|
72
|
+
border-radius: var(--cd-radius-md);
|
|
73
|
+
box-shadow: var(--cd-shadow-1);
|
|
74
|
+
user-select: none;
|
|
75
|
+
-webkit-user-select: none;
|
|
76
|
+
}
|
|
77
|
+
.cd-shell :is(.cd-shell-menu-trigger, .cd-shell-target, .cd-shell-menu-item-icon, .cd-shell-menu-item-end, .cd-shell-problems-icon, .cd-shell-status-icon, .cd-shell-legend-close) svg {
|
|
78
|
+
display: block;
|
|
79
|
+
flex: none;
|
|
80
|
+
}
|
|
81
|
+
.cd-shell :is(.cd-shell-menu-trigger, .cd-shell-target, .cd-shell-menu-item, .cd-shell-problems, .cd-shell-legend-close, .cd-shell-hint-action):focus {
|
|
82
|
+
outline: none;
|
|
83
|
+
}
|
|
84
|
+
.cd-shell :is(.cd-shell-menu-trigger, .cd-shell-target, .cd-shell-menu-item, .cd-shell-problems, .cd-shell-legend-close, .cd-shell-hint-action):focus-visible {
|
|
85
|
+
outline: 2px solid var(--cd-ui-fokus);
|
|
86
|
+
outline-offset: 2px;
|
|
87
|
+
}
|
|
88
|
+
.cd-shell :is(.cd-shell-menu-item, .cd-shell-zoom .cd-shell-target):focus-visible {
|
|
89
|
+
outline-offset: -2px;
|
|
90
|
+
}
|
|
91
|
+
.cd-shell-canvas .djs-container > svg:focus {
|
|
92
|
+
outline: none;
|
|
93
|
+
}
|
|
94
|
+
.cd-shell-canvas .djs-container > svg:focus-visible {
|
|
95
|
+
outline: 2px solid var(--cd-ui-fokus);
|
|
96
|
+
outline-offset: -2px;
|
|
97
|
+
}
|
|
98
|
+
.cd-shell-menu-trigger {
|
|
99
|
+
top: var(--cd-shell-rand);
|
|
100
|
+
left: var(--cd-shell-rand);
|
|
101
|
+
z-index: var(--cd-shell-ebene-reihe);
|
|
102
|
+
display: grid;
|
|
103
|
+
place-items: center;
|
|
104
|
+
width: var(--cd-shell-zeile);
|
|
105
|
+
height: var(--cd-shell-zeile);
|
|
106
|
+
padding: 0;
|
|
107
|
+
cursor: pointer;
|
|
108
|
+
transition: background-color var(--cd-motion-fast) var(--cd-ease), color var(--cd-motion-fast) var(--cd-ease);
|
|
109
|
+
}
|
|
110
|
+
.cd-shell-menu-trigger:hover,
|
|
111
|
+
.cd-shell-menu-trigger:active,
|
|
112
|
+
.cd-shell-menu-trigger[aria-expanded=true] {
|
|
113
|
+
color: var(--cd-ui-interaktion);
|
|
114
|
+
background: var(--cd-ui-hover);
|
|
115
|
+
}
|
|
116
|
+
.cd-shell-menu {
|
|
117
|
+
position: absolute;
|
|
118
|
+
top: calc(var(--cd-shell-rand) + var(--cd-shell-zeile) + var(--cd-shell-luecke));
|
|
119
|
+
left: var(--cd-shell-rand);
|
|
120
|
+
box-sizing: border-box;
|
|
121
|
+
display: flex;
|
|
122
|
+
flex-direction: column;
|
|
123
|
+
min-width: min(var(--cd-shell-menue-breite), 100cqw - 2 * var(--cd-shell-rand));
|
|
124
|
+
max-width: min(320px, 100cqw - 2 * var(--cd-shell-rand));
|
|
125
|
+
max-height: calc(100cqh - 72px);
|
|
126
|
+
overflow-y: auto;
|
|
127
|
+
overscroll-behavior: contain;
|
|
128
|
+
margin: 0;
|
|
129
|
+
padding: 6px;
|
|
130
|
+
color: var(--cd-ui-text);
|
|
131
|
+
background: var(--cd-ui-flaeche-hoch);
|
|
132
|
+
border: 1px solid var(--cd-ui-linie);
|
|
133
|
+
border-radius: var(--cd-radius-md);
|
|
134
|
+
box-shadow: var(--cd-shadow-3);
|
|
135
|
+
pointer-events: auto;
|
|
136
|
+
user-select: none;
|
|
137
|
+
-webkit-user-select: none;
|
|
138
|
+
animation: cd-shell-drop-in var(--cd-motion-fast) var(--cd-ease-out);
|
|
139
|
+
}
|
|
140
|
+
.cd-shell-menu-item {
|
|
141
|
+
box-sizing: border-box;
|
|
142
|
+
display: flex;
|
|
143
|
+
flex: none;
|
|
144
|
+
align-items: center;
|
|
145
|
+
gap: 12px;
|
|
146
|
+
width: 100%;
|
|
147
|
+
min-height: var(--cd-shell-eintrag);
|
|
148
|
+
margin: 0;
|
|
149
|
+
padding: 8px 12px;
|
|
150
|
+
color: var(--cd-ui-text);
|
|
151
|
+
font: inherit;
|
|
152
|
+
font-size: 13px;
|
|
153
|
+
font-weight: 400;
|
|
154
|
+
line-height: 1.5;
|
|
155
|
+
text-align: left;
|
|
156
|
+
background: transparent;
|
|
157
|
+
border: 0;
|
|
158
|
+
border-radius: var(--cd-radius-sm);
|
|
159
|
+
cursor: pointer;
|
|
160
|
+
transition: background-color var(--cd-motion-fast) var(--cd-ease);
|
|
161
|
+
}
|
|
162
|
+
.cd-shell-menu-item:hover,
|
|
163
|
+
.cd-shell-menu-item:focus-visible {
|
|
164
|
+
background: var(--cd-ui-hover);
|
|
165
|
+
}
|
|
166
|
+
.cd-shell-menu-item-icon {
|
|
167
|
+
display: grid;
|
|
168
|
+
flex: none;
|
|
169
|
+
place-items: center;
|
|
170
|
+
width: 16px;
|
|
171
|
+
height: 16px;
|
|
172
|
+
}
|
|
173
|
+
.cd-shell-menu-item-label {
|
|
174
|
+
flex: 1 1 auto;
|
|
175
|
+
min-width: 0;
|
|
176
|
+
}
|
|
177
|
+
.cd-shell-menu-item-end {
|
|
178
|
+
display: flex;
|
|
179
|
+
flex: none;
|
|
180
|
+
align-items: center;
|
|
181
|
+
margin-left: auto;
|
|
182
|
+
}
|
|
183
|
+
.cd-shell-menu-shortcut {
|
|
184
|
+
color: var(--cd-ui-text-leise);
|
|
185
|
+
font-family: var(--modeler-shell-font-mono);
|
|
186
|
+
font-size: 13px;
|
|
187
|
+
}
|
|
188
|
+
.cd-shell-menu-check {
|
|
189
|
+
color: var(--cd-ui-text);
|
|
190
|
+
}
|
|
191
|
+
.cd-shell-menu-item[aria-checked=false] .cd-shell-menu-check {
|
|
192
|
+
visibility: hidden;
|
|
193
|
+
}
|
|
194
|
+
.cd-shell-menu-item[data-danger] .cd-shell-menu-item-icon {
|
|
195
|
+
color: var(--cd-ui-danger);
|
|
196
|
+
}
|
|
197
|
+
.cd-shell-menu-item[aria-disabled=true] {
|
|
198
|
+
color: var(--cd-ui-text-leise);
|
|
199
|
+
cursor: not-allowed;
|
|
200
|
+
}
|
|
201
|
+
.cd-shell-menu-item[aria-disabled=true]:hover,
|
|
202
|
+
.cd-shell-menu-item[aria-disabled=true]:focus-visible {
|
|
203
|
+
background: transparent;
|
|
204
|
+
}
|
|
205
|
+
.cd-shell-menu-item[aria-disabled=true] :is(.cd-shell-menu-item-icon, .cd-shell-menu-check) {
|
|
206
|
+
color: inherit;
|
|
207
|
+
}
|
|
208
|
+
.cd-shell-menu-separator {
|
|
209
|
+
flex: none;
|
|
210
|
+
height: 1px;
|
|
211
|
+
margin: 4px 8px;
|
|
212
|
+
background: var(--cd-ui-linie);
|
|
213
|
+
}
|
|
214
|
+
.cd-shell-menu-group {
|
|
215
|
+
display: flex;
|
|
216
|
+
flex: none;
|
|
217
|
+
flex-direction: column;
|
|
218
|
+
}
|
|
219
|
+
.cd-shell-menu-heading {
|
|
220
|
+
padding: 8px 12px 4px;
|
|
221
|
+
color: var(--cd-ui-text-leise);
|
|
222
|
+
font-size: 13px;
|
|
223
|
+
font-weight: 600;
|
|
224
|
+
line-height: 1.5;
|
|
225
|
+
}
|
|
226
|
+
.cd-shell-tooltip {
|
|
227
|
+
position: absolute;
|
|
228
|
+
top: 0;
|
|
229
|
+
left: 0;
|
|
230
|
+
box-sizing: border-box;
|
|
231
|
+
width: max-content;
|
|
232
|
+
max-width: min(280px, 100cqw - 2 * var(--cd-shell-rand));
|
|
233
|
+
margin: 0;
|
|
234
|
+
padding: 3px 8px;
|
|
235
|
+
color: var(--cd-ui-text);
|
|
236
|
+
font: 400 13px/20px var(--modeler-shell-font);
|
|
237
|
+
white-space: normal;
|
|
238
|
+
background: var(--cd-ui-flaeche-hoch);
|
|
239
|
+
border: 1px solid var(--cd-ui-linie);
|
|
240
|
+
border-radius: var(--cd-radius-sm);
|
|
241
|
+
box-shadow: var(--cd-shadow-2);
|
|
242
|
+
pointer-events: none;
|
|
243
|
+
user-select: none;
|
|
244
|
+
-webkit-user-select: none;
|
|
245
|
+
}
|
|
246
|
+
.cd-shell-tooltip .cd-shell-kbd {
|
|
247
|
+
margin-left: 6px;
|
|
248
|
+
}
|
|
249
|
+
.cd-shell-kbd,
|
|
250
|
+
html.cd-shell-document kbd {
|
|
251
|
+
display: inline;
|
|
252
|
+
margin: 0;
|
|
253
|
+
padding: 1px 6px;
|
|
254
|
+
color: var(--cd-ui-text-leise);
|
|
255
|
+
font: 400 13px/16px var(--modeler-shell-font-mono);
|
|
256
|
+
text-shadow: none;
|
|
257
|
+
vertical-align: baseline;
|
|
258
|
+
background: var(--cd-ui-grund);
|
|
259
|
+
border: 1px solid var(--cd-ui-linie);
|
|
260
|
+
border-radius: var(--cd-radius-sm);
|
|
261
|
+
box-shadow: none;
|
|
262
|
+
}
|
|
263
|
+
.cd-shell-zoom {
|
|
264
|
+
right: var(--cd-shell-rand);
|
|
265
|
+
bottom: var(--cd-shell-rand);
|
|
266
|
+
display: flex;
|
|
267
|
+
align-items: center;
|
|
268
|
+
gap: 2px;
|
|
269
|
+
height: var(--cd-shell-zeile);
|
|
270
|
+
padding: 3px;
|
|
271
|
+
}
|
|
272
|
+
.cd-shell-target {
|
|
273
|
+
box-sizing: border-box;
|
|
274
|
+
display: inline-grid;
|
|
275
|
+
flex: none;
|
|
276
|
+
place-items: center;
|
|
277
|
+
width: var(--cd-shell-ziel);
|
|
278
|
+
height: var(--cd-shell-ziel);
|
|
279
|
+
margin: 0;
|
|
280
|
+
padding: 0;
|
|
281
|
+
color: var(--cd-ui-text);
|
|
282
|
+
background: transparent;
|
|
283
|
+
border: 0;
|
|
284
|
+
border-radius: var(--cd-radius-sm);
|
|
285
|
+
cursor: pointer;
|
|
286
|
+
transition: background-color var(--cd-motion-fast) var(--cd-ease), color var(--cd-motion-fast) var(--cd-ease);
|
|
287
|
+
}
|
|
288
|
+
.cd-shell-target:hover {
|
|
289
|
+
color: var(--cd-ui-interaktion);
|
|
290
|
+
background: var(--cd-ui-hover);
|
|
291
|
+
}
|
|
292
|
+
.cd-shell-zoom-readout {
|
|
293
|
+
width: auto;
|
|
294
|
+
min-width: 56px;
|
|
295
|
+
padding: 0 4px;
|
|
296
|
+
font-size: 13px;
|
|
297
|
+
font-weight: 600;
|
|
298
|
+
font-variant-numeric: tabular-nums;
|
|
299
|
+
line-height: 1;
|
|
300
|
+
white-space: nowrap;
|
|
301
|
+
}
|
|
302
|
+
.cd-shell-zoom-readout:hover {
|
|
303
|
+
color: var(--cd-ui-text);
|
|
304
|
+
}
|
|
305
|
+
.cd-shell-target[aria-disabled=true],
|
|
306
|
+
.cd-shell-target[aria-disabled=true]:hover {
|
|
307
|
+
color: var(--cd-ui-text-leise);
|
|
308
|
+
background: transparent;
|
|
309
|
+
cursor: not-allowed;
|
|
310
|
+
}
|
|
311
|
+
.cd-shell-zoom-separator {
|
|
312
|
+
flex: none;
|
|
313
|
+
align-self: stretch;
|
|
314
|
+
width: 1px;
|
|
315
|
+
margin: 4px 2px;
|
|
316
|
+
background: var(--cd-ui-linie);
|
|
317
|
+
}
|
|
318
|
+
.cd-shell-problems {
|
|
319
|
+
left: var(--cd-shell-rand);
|
|
320
|
+
bottom: var(--cd-shell-rand);
|
|
321
|
+
display: inline-flex;
|
|
322
|
+
align-items: center;
|
|
323
|
+
gap: var(--cd-shell-luecke);
|
|
324
|
+
height: var(--cd-shell-zeile);
|
|
325
|
+
padding: 0 16px;
|
|
326
|
+
font: inherit;
|
|
327
|
+
font-size: 13px;
|
|
328
|
+
line-height: 1.5;
|
|
329
|
+
white-space: nowrap;
|
|
330
|
+
border-radius: var(--cd-radius-pill);
|
|
331
|
+
cursor: pointer;
|
|
332
|
+
transition: background-color var(--cd-motion-fast) var(--cd-ease);
|
|
333
|
+
}
|
|
334
|
+
.cd-shell-problems:hover {
|
|
335
|
+
background: var(--cd-ui-hover);
|
|
336
|
+
}
|
|
337
|
+
.cd-shell-problems[data-severity=danger] .cd-shell-problems-icon {
|
|
338
|
+
color: var(--cd-ui-danger);
|
|
339
|
+
}
|
|
340
|
+
.cd-shell-problems[data-severity=warning] .cd-shell-problems-icon {
|
|
341
|
+
color: var(--cd-ui-warning);
|
|
342
|
+
}
|
|
343
|
+
.cd-shell[data-cd-shell-host=web] .cd-shell-problems {
|
|
344
|
+
bottom: calc(var(--cd-shell-rand) + var(--modeler-shell-legal-height, 20px) + var(--cd-shell-luecke));
|
|
345
|
+
}
|
|
346
|
+
.cd-shell-status {
|
|
347
|
+
position: absolute;
|
|
348
|
+
top: var(--cd-shell-frei);
|
|
349
|
+
left: 50%;
|
|
350
|
+
translate: -50% 0;
|
|
351
|
+
z-index: var(--cd-shell-ebene-inseln);
|
|
352
|
+
box-sizing: border-box;
|
|
353
|
+
display: flex;
|
|
354
|
+
align-items: flex-start;
|
|
355
|
+
gap: var(--cd-shell-luecke);
|
|
356
|
+
width: max-content;
|
|
357
|
+
max-width: min(560px, 100cqw - 2 * var(--cd-shell-rand));
|
|
358
|
+
margin: 0;
|
|
359
|
+
padding: 12px 16px;
|
|
360
|
+
overflow: hidden;
|
|
361
|
+
color: var(--cd-ui-text);
|
|
362
|
+
font-size: 13px;
|
|
363
|
+
line-height: 1.5;
|
|
364
|
+
background: var(--cd-ui-danger-flaeche);
|
|
365
|
+
border: 1px solid var(--cd-ui-danger);
|
|
366
|
+
border-radius: var(--cd-radius-md);
|
|
367
|
+
box-shadow: var(--cd-shadow-2);
|
|
368
|
+
user-select: none;
|
|
369
|
+
-webkit-user-select: none;
|
|
370
|
+
animation: cd-shell-drop-in var(--cd-motion-base) var(--cd-ease-out);
|
|
371
|
+
}
|
|
372
|
+
.cd-shell-status::before {
|
|
373
|
+
content: "";
|
|
374
|
+
position: absolute;
|
|
375
|
+
top: 0;
|
|
376
|
+
bottom: 0;
|
|
377
|
+
left: 0;
|
|
378
|
+
width: 4px;
|
|
379
|
+
background: var(--cd-ui-danger);
|
|
380
|
+
}
|
|
381
|
+
.cd-shell-status-icon {
|
|
382
|
+
flex: none;
|
|
383
|
+
margin-top: 2px;
|
|
384
|
+
color: var(--cd-ui-danger);
|
|
385
|
+
}
|
|
386
|
+
.cd-shell-status-text {
|
|
387
|
+
margin: 0;
|
|
388
|
+
}
|
|
389
|
+
.cd-shell-status[data-severity=warning] {
|
|
390
|
+
background: var(--cd-ui-warning-flaeche);
|
|
391
|
+
border-color: var(--cd-ui-warning);
|
|
392
|
+
}
|
|
393
|
+
.cd-shell-status[data-severity=warning]::before {
|
|
394
|
+
background: var(--cd-ui-warning);
|
|
395
|
+
}
|
|
396
|
+
.cd-shell-status[data-severity=warning] .cd-shell-status-icon {
|
|
397
|
+
color: var(--cd-ui-warning);
|
|
398
|
+
}
|
|
399
|
+
.cd-shell[data-palette=second-row] .cd-shell-status {
|
|
400
|
+
top: calc(var(--cd-shell-frei) + var(--cd-shell-zeile) + var(--cd-shell-rand));
|
|
401
|
+
}
|
|
402
|
+
@container cd-shell (width > 760px) {
|
|
403
|
+
.cd-shell[data-inspector=open] .cd-shell-status {
|
|
404
|
+
left: calc((100cqw - var(--cd-shell-inspector-breite) - var(--cd-shell-rand)) / 2);
|
|
405
|
+
max-width: min(560px, 100cqw - var(--cd-shell-inspector-breite) - 3 * var(--cd-shell-rand));
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
.cd-shell-hint {
|
|
409
|
+
position: absolute;
|
|
410
|
+
inset: var(--cd-shell-einpassen-oben) var(--cd-shell-einpassen-seite) var(--cd-shell-einpassen-unten);
|
|
411
|
+
z-index: var(--cd-shell-ebene-inseln);
|
|
412
|
+
display: flex;
|
|
413
|
+
flex-direction: column;
|
|
414
|
+
align-items: center;
|
|
415
|
+
justify-content: center;
|
|
416
|
+
gap: 12px;
|
|
417
|
+
text-align: center;
|
|
418
|
+
pointer-events: none;
|
|
419
|
+
user-select: none;
|
|
420
|
+
-webkit-user-select: none;
|
|
421
|
+
}
|
|
422
|
+
.cd-shell[data-palette=second-row] .cd-shell-hint {
|
|
423
|
+
top: var(--cd-shell-einpassen-oben-schmal);
|
|
424
|
+
}
|
|
425
|
+
.cd-shell-hint-text {
|
|
426
|
+
margin: 0;
|
|
427
|
+
color: var(--cd-ui-text-leise);
|
|
428
|
+
font-size: 13px;
|
|
429
|
+
line-height: 1.5;
|
|
430
|
+
}
|
|
431
|
+
.cd-shell-hint-action {
|
|
432
|
+
box-sizing: border-box;
|
|
433
|
+
display: inline-flex;
|
|
434
|
+
align-items: center;
|
|
435
|
+
justify-content: center;
|
|
436
|
+
height: var(--cd-shell-eintrag);
|
|
437
|
+
margin: 0;
|
|
438
|
+
padding: 0 16px;
|
|
439
|
+
color: var(--cd-ui-text);
|
|
440
|
+
font: inherit;
|
|
441
|
+
font-size: 13px;
|
|
442
|
+
font-weight: 600;
|
|
443
|
+
line-height: 1;
|
|
444
|
+
white-space: nowrap;
|
|
445
|
+
background: transparent;
|
|
446
|
+
border: 1px solid transparent;
|
|
447
|
+
border-radius: var(--cd-radius-md);
|
|
448
|
+
cursor: pointer;
|
|
449
|
+
pointer-events: auto;
|
|
450
|
+
transition: background-color var(--cd-motion-fast) var(--cd-ease);
|
|
451
|
+
}
|
|
452
|
+
.cd-shell-hint-action:hover {
|
|
453
|
+
background: var(--cd-ui-hover);
|
|
454
|
+
}
|
|
455
|
+
.cd-shell-legend {
|
|
456
|
+
--modeler-shell-legend-bottom: var(--cd-shell-rand);
|
|
457
|
+
--modeler-shell-legend-min-bottom: 0px;
|
|
458
|
+
--modeler-shell-legend-top: var(--cd-shell-frei);
|
|
459
|
+
left: var(--cd-shell-rand);
|
|
460
|
+
bottom: max(var(--modeler-shell-legend-bottom), var(--modeler-shell-legend-min-bottom));
|
|
461
|
+
min-width: 184px;
|
|
462
|
+
max-height: calc(100cqh - var(--modeler-shell-legend-top) - max(var(--modeler-shell-legend-bottom), var(--modeler-shell-legend-min-bottom)) - var(--cd-shell-rand));
|
|
463
|
+
overflow-y: auto;
|
|
464
|
+
overscroll-behavior: contain;
|
|
465
|
+
padding: 8px 12px 12px 16px;
|
|
466
|
+
box-shadow: var(--cd-shadow-2);
|
|
467
|
+
animation: cd-shell-rise-in var(--cd-motion-base) var(--cd-ease-out);
|
|
468
|
+
}
|
|
469
|
+
.cd-shell[data-problems=shown] .cd-shell-legend {
|
|
470
|
+
--modeler-shell-legend-bottom: calc(var(--cd-shell-rand) + var(--cd-shell-zeile) + var(--cd-shell-luecke));
|
|
471
|
+
}
|
|
472
|
+
.cd-shell[data-cd-shell-host=web] .cd-shell-legend {
|
|
473
|
+
--modeler-shell-legend-bottom: calc( var(--cd-shell-rand) + var(--modeler-shell-legal-height, 20px) + var(--cd-shell-luecke) );
|
|
474
|
+
}
|
|
475
|
+
.cd-shell[data-cd-shell-host=web][data-problems=shown] .cd-shell-legend {
|
|
476
|
+
--modeler-shell-legend-bottom: calc( var(--cd-shell-rand) + var(--modeler-shell-legal-height, 20px) + var(--cd-shell-luecke) + var(--cd-shell-zeile) + var(--cd-shell-luecke) );
|
|
477
|
+
}
|
|
478
|
+
.cd-shell[data-palette=second-row] .cd-shell-legend {
|
|
479
|
+
--modeler-shell-legend-top: calc(var(--cd-shell-frei) + var(--cd-shell-zeile) + var(--cd-shell-rand));
|
|
480
|
+
}
|
|
481
|
+
@container cd-shell (max-width: 440px) {
|
|
482
|
+
.cd-shell-legend {
|
|
483
|
+
--modeler-shell-legend-min-bottom: calc( var(--cd-shell-rand) + var(--cd-shell-zeile) + var(--cd-shell-luecke) );
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
.cd-shell-legend-header {
|
|
487
|
+
display: flex;
|
|
488
|
+
align-items: center;
|
|
489
|
+
justify-content: space-between;
|
|
490
|
+
gap: var(--cd-shell-luecke);
|
|
491
|
+
margin: 0 -4px 4px 0;
|
|
492
|
+
}
|
|
493
|
+
.cd-shell-legend-title {
|
|
494
|
+
margin: 0;
|
|
495
|
+
font-size: 13px;
|
|
496
|
+
font-weight: 600;
|
|
497
|
+
line-height: 1.5;
|
|
498
|
+
}
|
|
499
|
+
.cd-shell-legend-close {
|
|
500
|
+
box-sizing: border-box;
|
|
501
|
+
display: grid;
|
|
502
|
+
flex: none;
|
|
503
|
+
place-items: center;
|
|
504
|
+
width: 28px;
|
|
505
|
+
height: 28px;
|
|
506
|
+
margin: 0;
|
|
507
|
+
padding: 0;
|
|
508
|
+
color: var(--cd-ui-text);
|
|
509
|
+
background: transparent;
|
|
510
|
+
border: 0;
|
|
511
|
+
border-radius: var(--cd-radius-sm);
|
|
512
|
+
cursor: pointer;
|
|
513
|
+
transition: background-color var(--cd-motion-fast) var(--cd-ease), color var(--cd-motion-fast) var(--cd-ease);
|
|
514
|
+
}
|
|
515
|
+
.cd-shell-legend-close:hover {
|
|
516
|
+
color: var(--cd-ui-interaktion);
|
|
517
|
+
background: var(--cd-ui-hover);
|
|
518
|
+
}
|
|
519
|
+
.cd-shell-legend-body {
|
|
520
|
+
display: flex;
|
|
521
|
+
flex-direction: column;
|
|
522
|
+
gap: 4px;
|
|
523
|
+
}
|
|
524
|
+
.cd-shell-legend-row {
|
|
525
|
+
display: flex;
|
|
526
|
+
align-items: center;
|
|
527
|
+
gap: var(--cd-shell-luecke);
|
|
528
|
+
min-height: 24px;
|
|
529
|
+
color: var(--cd-ui-text);
|
|
530
|
+
font-size: 13px;
|
|
531
|
+
line-height: 1.5;
|
|
532
|
+
}
|
|
533
|
+
.cd-shell-legend-preview {
|
|
534
|
+
display: inline-grid;
|
|
535
|
+
flex: none;
|
|
536
|
+
place-items: center;
|
|
537
|
+
width: 24px;
|
|
538
|
+
height: 24px;
|
|
539
|
+
}
|
|
540
|
+
.cd-shell-legend-separator {
|
|
541
|
+
flex: none;
|
|
542
|
+
height: 1px;
|
|
543
|
+
margin: 4px 0;
|
|
544
|
+
background: var(--cd-ui-linie);
|
|
545
|
+
border: 0;
|
|
546
|
+
}
|
|
547
|
+
.cd-shell-inspector {
|
|
548
|
+
position: absolute;
|
|
549
|
+
top: var(--cd-shell-frei);
|
|
550
|
+
right: var(--cd-shell-rand);
|
|
551
|
+
z-index: var(--cd-shell-ebene-inspector);
|
|
552
|
+
box-sizing: border-box;
|
|
553
|
+
width: var(--cd-shell-inspector-breite);
|
|
554
|
+
max-height: calc(100cqh - 2 * var(--cd-shell-frei));
|
|
555
|
+
overflow-y: auto;
|
|
556
|
+
overscroll-behavior: contain;
|
|
557
|
+
margin: 0;
|
|
558
|
+
padding: 16px;
|
|
559
|
+
color: var(--cd-ui-text);
|
|
560
|
+
background: var(--cd-ui-flaeche-hoch);
|
|
561
|
+
border: 1px solid var(--cd-ui-linie);
|
|
562
|
+
border-radius: var(--cd-radius-lg);
|
|
563
|
+
box-shadow: var(--cd-shadow-2);
|
|
564
|
+
animation: cd-shell-drop-in var(--cd-motion-fast) var(--cd-ease-out);
|
|
565
|
+
}
|
|
566
|
+
@container cd-shell (max-width: 760px) {
|
|
567
|
+
.cd-shell-inspector {
|
|
568
|
+
top: auto;
|
|
569
|
+
left: var(--cd-shell-rand);
|
|
570
|
+
bottom: var(--cd-shell-rand);
|
|
571
|
+
width: auto;
|
|
572
|
+
max-height: 45cqh;
|
|
573
|
+
animation: cd-shell-rise-in var(--cd-motion-base) var(--cd-ease-out);
|
|
574
|
+
}
|
|
575
|
+
.cd-shell[data-inspector=open] :is(.cd-shell-zoom, .cd-shell-problems, .cd-shell-legend) {
|
|
576
|
+
visibility: hidden;
|
|
577
|
+
}
|
|
578
|
+
.cd-shell-status {
|
|
579
|
+
top: calc(var(--cd-shell-frei) + var(--cd-shell-zeile) + var(--cd-shell-rand));
|
|
580
|
+
}
|
|
581
|
+
.cd-shell-hint {
|
|
582
|
+
top: var(--cd-shell-einpassen-oben-schmal);
|
|
583
|
+
}
|
|
584
|
+
.cd-shell-legend {
|
|
585
|
+
--modeler-shell-legend-top: calc(var(--cd-shell-frei) + var(--cd-shell-zeile) + var(--cd-shell-rand));
|
|
586
|
+
}
|
|
587
|
+
}
|
|
588
|
+
@keyframes cd-shell-drop-in {
|
|
589
|
+
from {
|
|
590
|
+
opacity: 0;
|
|
591
|
+
transform: translateY(-4px);
|
|
592
|
+
}
|
|
593
|
+
}
|
|
594
|
+
@keyframes cd-shell-rise-in {
|
|
595
|
+
from {
|
|
596
|
+
opacity: 0;
|
|
597
|
+
transform: translateY(8px);
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
@media (prefers-reduced-motion: reduce) {
|
|
601
|
+
.cd-shell,
|
|
602
|
+
.cd-shell *,
|
|
603
|
+
.cd-shell *::before,
|
|
604
|
+
.cd-shell *::after {
|
|
605
|
+
animation-duration: 0.001ms !important;
|
|
606
|
+
animation-iteration-count: 1 !important;
|
|
607
|
+
transition-duration: 0.001ms !important;
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
html.cd-shell-reduce-motion .cd-shell,
|
|
611
|
+
html.cd-shell-reduce-motion .cd-shell *,
|
|
612
|
+
html.cd-shell-reduce-motion .cd-shell *::before,
|
|
613
|
+
html.cd-shell-reduce-motion .cd-shell *::after {
|
|
614
|
+
animation-duration: 0.001ms !important;
|
|
615
|
+
animation-iteration-count: 1 !important;
|
|
616
|
+
transition-duration: 0.001ms !important;
|
|
617
|
+
}
|
|
618
|
+
html.cd-shell-no-transition,
|
|
619
|
+
html.cd-shell-no-transition *,
|
|
620
|
+
html.cd-shell-no-transition *::before,
|
|
621
|
+
html.cd-shell-no-transition *::after {
|
|
622
|
+
transition: none !important;
|
|
623
|
+
}
|
|
624
|
+
.cd-shell:is([data-cd-kontrast=hoch], [data-cd-kontrast=hoch] *) :is(.cd-shell-island, .cd-shell-menu, .cd-shell-tooltip, .cd-shell-status, .cd-shell-inspector) {
|
|
625
|
+
box-shadow: none;
|
|
626
|
+
}
|
|
627
|
+
.cd-shell:is([data-cd-kontrast=hoch], [data-cd-kontrast=hoch] *) :is(.cd-shell-menu-trigger, .cd-shell-target, .cd-shell-menu-item, .cd-shell-problems, .cd-shell-legend-close, .cd-shell-hint-action):focus-visible {
|
|
628
|
+
outline-width: 3px;
|
|
629
|
+
}
|
|
630
|
+
.cd-shell:is([data-cd-kontrast=hoch], [data-cd-kontrast=hoch] *) :is(.cd-shell-menu-item, .cd-shell-zoom .cd-shell-target):focus-visible {
|
|
631
|
+
outline-offset: -3px;
|
|
632
|
+
}
|
|
633
|
+
.cd-shell:is([data-cd-kontrast=hoch], [data-cd-kontrast=hoch] *) .cd-shell-canvas .djs-container > svg:focus-visible {
|
|
634
|
+
outline-width: 3px;
|
|
635
|
+
outline-offset: -3px;
|
|
636
|
+
}
|
|
637
|
+
@media (forced-colors: active) {
|
|
638
|
+
.cd-shell :is(.cd-shell-island, .cd-shell-menu, .cd-shell-tooltip, .cd-shell-status, .cd-shell-inspector) {
|
|
639
|
+
border-color: CanvasText;
|
|
640
|
+
}
|
|
641
|
+
.cd-shell-status::before,
|
|
642
|
+
.cd-shell :is(.cd-shell-menu-separator, .cd-shell-zoom-separator, .cd-shell-legend-separator) {
|
|
643
|
+
forced-color-adjust: none;
|
|
644
|
+
background: CanvasText;
|
|
645
|
+
}
|
|
646
|
+
.cd-shell :is(.cd-shell-menu-trigger, .cd-shell-target, .cd-shell-menu-item, .cd-shell-problems, .cd-shell-legend-close, .cd-shell-hint-action):focus-visible {
|
|
647
|
+
outline-color: Highlight;
|
|
648
|
+
}
|
|
649
|
+
.cd-shell :is(.cd-shell-menu-trigger, .cd-shell-target)[aria-pressed=true] {
|
|
650
|
+
forced-color-adjust: none;
|
|
651
|
+
box-shadow: inset 0 0 0 2px Highlight;
|
|
652
|
+
}
|
|
653
|
+
.cd-shell .cd-shell-canvas .djs-container > svg:focus-visible {
|
|
654
|
+
outline-color: Highlight;
|
|
655
|
+
}
|
|
656
|
+
.cd-shell :is(.cd-shell-target, .cd-shell-menu-item)[aria-disabled=true] {
|
|
657
|
+
color: GrayText;
|
|
658
|
+
}
|
|
659
|
+
}
|
|
660
|
+
html.cd-shell-document,
|
|
661
|
+
html.cd-shell-document body {
|
|
662
|
+
height: 100%;
|
|
663
|
+
margin: 0;
|
|
664
|
+
padding: 0;
|
|
665
|
+
overflow: hidden;
|
|
666
|
+
color: var(--cd-ui-text);
|
|
667
|
+
font: 400 13px/1.5 var(--modeler-shell-font);
|
|
668
|
+
background: var(--cd-ui-grund);
|
|
669
|
+
}
|
|
670
|
+
html.cd-shell-document {
|
|
671
|
+
scrollbar-color: var(--cd-ui-kontur) transparent;
|
|
672
|
+
}
|
|
673
|
+
:where(html.cd-shell-document) :where(button, input, select, textarea) {
|
|
674
|
+
font: inherit;
|
|
675
|
+
color: inherit;
|
|
676
|
+
}
|
|
677
|
+
html.cd-shell-document code {
|
|
678
|
+
padding: 0;
|
|
679
|
+
color: inherit;
|
|
680
|
+
font-family: var(--modeler-shell-font-mono);
|
|
681
|
+
font-size: inherit;
|
|
682
|
+
background: transparent;
|
|
683
|
+
border-radius: 0;
|
|
684
|
+
}
|
|
685
|
+
html.cd-shell-document a,
|
|
686
|
+
html.cd-shell-document a:hover,
|
|
687
|
+
html.cd-shell-document a:visited {
|
|
688
|
+
color: var(--cd-ui-link);
|
|
689
|
+
}
|
|
690
|
+
html.cd-shell-document :where(a, input, select, textarea):focus {
|
|
691
|
+
outline: none;
|
|
692
|
+
}
|
|
693
|
+
html.cd-shell-document :where(a, input, select, textarea, button, summary):focus-visible {
|
|
694
|
+
outline: 2px solid var(--cd-ui-fokus);
|
|
695
|
+
outline-offset: 2px;
|
|
696
|
+
}
|
|
697
|
+
html.cd-shell-document[data-cd-kontrast=hoch] :where(a, input, select, textarea, button, summary):focus-visible {
|
|
698
|
+
outline-width: 3px;
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
/* src/dom/buttons.css */
|
|
702
|
+
.cd-shell-button {
|
|
703
|
+
box-sizing: border-box;
|
|
704
|
+
display: inline-flex;
|
|
705
|
+
flex: none;
|
|
706
|
+
align-items: center;
|
|
707
|
+
justify-content: center;
|
|
708
|
+
gap: var(--cd-shell-luecke);
|
|
709
|
+
height: var(--cd-shell-eintrag);
|
|
710
|
+
margin: 0;
|
|
711
|
+
padding: 0 16px;
|
|
712
|
+
color: var(--cd-ui-text);
|
|
713
|
+
font: inherit;
|
|
714
|
+
font-size: 13px;
|
|
715
|
+
font-weight: 600;
|
|
716
|
+
line-height: 1;
|
|
717
|
+
letter-spacing: normal;
|
|
718
|
+
text-transform: none;
|
|
719
|
+
white-space: nowrap;
|
|
720
|
+
background: transparent;
|
|
721
|
+
border: 1px solid transparent;
|
|
722
|
+
border-radius: var(--cd-radius-md);
|
|
723
|
+
cursor: pointer;
|
|
724
|
+
user-select: none;
|
|
725
|
+
-webkit-user-select: none;
|
|
726
|
+
transition:
|
|
727
|
+
background-color var(--cd-motion-fast) var(--cd-ease),
|
|
728
|
+
border-color var(--cd-motion-fast) var(--cd-ease),
|
|
729
|
+
box-shadow var(--cd-motion-fast) var(--cd-ease),
|
|
730
|
+
color var(--cd-motion-fast) var(--cd-ease),
|
|
731
|
+
transform var(--cd-motion-fast) var(--cd-ease);
|
|
732
|
+
}
|
|
733
|
+
.cd-shell-button[hidden] {
|
|
734
|
+
display: none;
|
|
735
|
+
}
|
|
736
|
+
.cd-shell-button svg {
|
|
737
|
+
display: block;
|
|
738
|
+
flex: none;
|
|
739
|
+
}
|
|
740
|
+
.cd-shell-button[data-variant=primary] {
|
|
741
|
+
color: var(--cd-weiss);
|
|
742
|
+
background: var(--cd-blau);
|
|
743
|
+
box-shadow: var(--cd-shadow-1);
|
|
744
|
+
}
|
|
745
|
+
.cd-shell-button[data-variant=primary]:is(:hover, :active):not([aria-disabled=true]) {
|
|
746
|
+
background: var(--cd-blau-link);
|
|
747
|
+
box-shadow: var(--cd-shadow-2);
|
|
748
|
+
transform: translateY(-1px);
|
|
749
|
+
}
|
|
750
|
+
.cd-shell-button[data-variant=ghost]:is(:hover, :active):not([aria-disabled=true]) {
|
|
751
|
+
background: var(--cd-ui-hover);
|
|
752
|
+
}
|
|
753
|
+
.cd-shell-button[aria-disabled=true] {
|
|
754
|
+
color: var(--cd-ui-text-leise);
|
|
755
|
+
cursor: not-allowed;
|
|
756
|
+
}
|
|
757
|
+
.cd-shell-button[data-variant=primary][aria-disabled=true] {
|
|
758
|
+
background: var(--cd-ui-hover);
|
|
759
|
+
border-color: var(--cd-ui-linie);
|
|
760
|
+
box-shadow: none;
|
|
761
|
+
}
|
|
762
|
+
.cd-shell-button:focus {
|
|
763
|
+
outline: none;
|
|
764
|
+
}
|
|
765
|
+
.cd-shell-button:focus-visible {
|
|
766
|
+
outline: 2px solid var(--cd-ui-fokus);
|
|
767
|
+
outline-offset: 2px;
|
|
768
|
+
}
|
|
769
|
+
@media (prefers-reduced-motion: reduce) {
|
|
770
|
+
.cd-shell .cd-shell-button[data-variant]:is(:hover, :active) {
|
|
771
|
+
transform: none;
|
|
772
|
+
}
|
|
773
|
+
}
|
|
774
|
+
html.cd-shell-reduce-motion .cd-shell .cd-shell-button[data-variant]:is(:hover, :active) {
|
|
775
|
+
transform: none;
|
|
776
|
+
}
|
|
777
|
+
.cd-shell:is([data-cd-kontrast=hoch], [data-cd-kontrast=hoch] *) .cd-shell-button {
|
|
778
|
+
box-shadow: none;
|
|
779
|
+
}
|
|
780
|
+
.cd-shell:is([data-cd-kontrast=hoch], [data-cd-kontrast=hoch] *) .cd-shell-button:focus-visible {
|
|
781
|
+
outline-width: 3px;
|
|
782
|
+
}
|
|
783
|
+
@media (forced-colors: active) {
|
|
784
|
+
.cd-shell .cd-shell-button {
|
|
785
|
+
border-color: ButtonText;
|
|
786
|
+
}
|
|
787
|
+
.cd-shell .cd-shell-button:focus-visible {
|
|
788
|
+
outline-color: Highlight;
|
|
789
|
+
}
|
|
790
|
+
.cd-shell .cd-shell-button[aria-disabled=true] {
|
|
791
|
+
color: GrayText;
|
|
792
|
+
border-color: GrayText;
|
|
793
|
+
}
|
|
794
|
+
}
|
|
795
|
+
|
|
796
|
+
/* src/dom/web/web.css */
|
|
797
|
+
:where(.cd-shell) :is(.cd-shell-primary, .cd-shell-primary-label, .cd-shell-legal, .cd-shell-legal a, .cd-shell-empty-state, .cd-shell-empty-state-title, .cd-shell-empty-state-text, .cd-shell-empty-state-hint, .cd-shell-empty-state-open, .cd-shell-empty-state-key, .cd-shell-empty-state .cd-shell-button, .cd-shell-drop-zone-chip) {
|
|
798
|
+
letter-spacing: normal;
|
|
799
|
+
word-spacing: normal;
|
|
800
|
+
text-transform: none;
|
|
801
|
+
text-indent: 0;
|
|
802
|
+
text-shadow: none;
|
|
803
|
+
}
|
|
804
|
+
.cd-shell .cd-shell-primary {
|
|
805
|
+
position: absolute;
|
|
806
|
+
top: var(--cd-shell-rand);
|
|
807
|
+
right: var(--cd-shell-rand);
|
|
808
|
+
z-index: var(--cd-shell-ebene-reihe);
|
|
809
|
+
height: var(--cd-shell-zeile);
|
|
810
|
+
padding: 0 16px;
|
|
811
|
+
}
|
|
812
|
+
.cd-shell .cd-shell-primary[data-collapsed] {
|
|
813
|
+
width: var(--cd-shell-zeile);
|
|
814
|
+
padding: 0;
|
|
815
|
+
}
|
|
816
|
+
.cd-shell-primary-label[hidden] {
|
|
817
|
+
display: none;
|
|
818
|
+
}
|
|
819
|
+
.cd-shell-legal {
|
|
820
|
+
position: absolute;
|
|
821
|
+
left: var(--cd-shell-rand);
|
|
822
|
+
bottom: var(--cd-shell-rand);
|
|
823
|
+
z-index: var(--cd-shell-ebene-inseln);
|
|
824
|
+
box-sizing: border-box;
|
|
825
|
+
display: flex;
|
|
826
|
+
flex-wrap: wrap;
|
|
827
|
+
align-items: center;
|
|
828
|
+
column-gap: 6px;
|
|
829
|
+
row-gap: 0;
|
|
830
|
+
min-height: 20px;
|
|
831
|
+
max-width: calc(100cqw - 2 * var(--cd-shell-rand));
|
|
832
|
+
margin: 0;
|
|
833
|
+
padding: 0 8px;
|
|
834
|
+
color: var(--cd-ui-text-leise);
|
|
835
|
+
font-size: 13px;
|
|
836
|
+
font-weight: 400;
|
|
837
|
+
line-height: 20px;
|
|
838
|
+
white-space: nowrap;
|
|
839
|
+
background: color-mix(in srgb, var(--cd-ui-flaeche-hoch) var(--cd-ui-chrome-deckkraft), transparent);
|
|
840
|
+
-webkit-backdrop-filter: blur(8px);
|
|
841
|
+
backdrop-filter: blur(8px);
|
|
842
|
+
border: 0;
|
|
843
|
+
border-radius: var(--cd-radius-sm);
|
|
844
|
+
box-shadow: none;
|
|
845
|
+
user-select: none;
|
|
846
|
+
-webkit-user-select: none;
|
|
847
|
+
}
|
|
848
|
+
.cd-shell-legal[hidden] {
|
|
849
|
+
display: none;
|
|
850
|
+
}
|
|
851
|
+
.cd-shell-legal > * {
|
|
852
|
+
flex: none;
|
|
853
|
+
}
|
|
854
|
+
.cd-shell-legal-item {
|
|
855
|
+
display: inline-flex;
|
|
856
|
+
align-items: center;
|
|
857
|
+
gap: 6px;
|
|
858
|
+
}
|
|
859
|
+
.cd-shell .cd-shell-legal a,
|
|
860
|
+
.cd-shell .cd-shell-legal a:visited {
|
|
861
|
+
color: var(--cd-ui-link);
|
|
862
|
+
font: inherit;
|
|
863
|
+
text-decoration: none;
|
|
864
|
+
border-radius: 2px;
|
|
865
|
+
}
|
|
866
|
+
.cd-shell .cd-shell-legal a:hover {
|
|
867
|
+
color: var(--cd-ui-link);
|
|
868
|
+
text-decoration: underline;
|
|
869
|
+
}
|
|
870
|
+
.cd-shell .cd-shell-legal a:focus {
|
|
871
|
+
outline: none;
|
|
872
|
+
}
|
|
873
|
+
.cd-shell .cd-shell-legal a:focus-visible {
|
|
874
|
+
text-decoration: underline;
|
|
875
|
+
outline: 2px solid var(--cd-ui-fokus);
|
|
876
|
+
outline-offset: 2px;
|
|
877
|
+
}
|
|
878
|
+
.cd-shell-empty-state {
|
|
879
|
+
position: absolute;
|
|
880
|
+
top: 50%;
|
|
881
|
+
left: 50%;
|
|
882
|
+
translate: -50% -50%;
|
|
883
|
+
z-index: var(--cd-shell-ebene-inseln);
|
|
884
|
+
box-sizing: border-box;
|
|
885
|
+
display: flex;
|
|
886
|
+
flex-direction: column;
|
|
887
|
+
align-items: center;
|
|
888
|
+
gap: 16px;
|
|
889
|
+
width: min(400px, 100cqw - 2 * var(--cd-shell-rand));
|
|
890
|
+
max-height: calc(100cqh - 2 * var(--cd-shell-rand));
|
|
891
|
+
overflow-y: auto;
|
|
892
|
+
overscroll-behavior: contain;
|
|
893
|
+
margin: 0;
|
|
894
|
+
padding: 32px 40px;
|
|
895
|
+
color: var(--cd-ui-text);
|
|
896
|
+
font-size: 13px;
|
|
897
|
+
line-height: 1.5;
|
|
898
|
+
text-align: center;
|
|
899
|
+
background: color-mix(in srgb, var(--cd-ui-flaeche-hoch) var(--cd-ui-chrome-deckkraft), transparent);
|
|
900
|
+
-webkit-backdrop-filter: blur(8px);
|
|
901
|
+
backdrop-filter: blur(8px);
|
|
902
|
+
border: 1px solid var(--cd-ui-linie);
|
|
903
|
+
border-radius: var(--cd-radius-lg);
|
|
904
|
+
box-shadow: var(--cd-shadow-2);
|
|
905
|
+
user-select: none;
|
|
906
|
+
-webkit-user-select: none;
|
|
907
|
+
animation: cd-shell-rise-in var(--cd-motion-base) var(--cd-ease-out);
|
|
908
|
+
}
|
|
909
|
+
.cd-shell-empty-state[hidden] {
|
|
910
|
+
display: none;
|
|
911
|
+
}
|
|
912
|
+
.cd-shell-empty-state-mark {
|
|
913
|
+
display: block;
|
|
914
|
+
flex: none;
|
|
915
|
+
width: 64px;
|
|
916
|
+
height: 64px;
|
|
917
|
+
margin: 0;
|
|
918
|
+
}
|
|
919
|
+
.cd-shell .cd-shell-empty-state-title {
|
|
920
|
+
margin: 0;
|
|
921
|
+
color: var(--cd-ui-text);
|
|
922
|
+
font-size: 21px;
|
|
923
|
+
font-weight: 600;
|
|
924
|
+
line-height: 1.3;
|
|
925
|
+
}
|
|
926
|
+
.cd-shell .cd-shell-empty-state-text {
|
|
927
|
+
margin: 0;
|
|
928
|
+
color: var(--cd-ui-text-leise);
|
|
929
|
+
font-size: 16px;
|
|
930
|
+
font-weight: 400;
|
|
931
|
+
line-height: 1.6;
|
|
932
|
+
}
|
|
933
|
+
.cd-shell-empty-state-actions {
|
|
934
|
+
display: flex;
|
|
935
|
+
flex-wrap: wrap;
|
|
936
|
+
justify-content: center;
|
|
937
|
+
gap: var(--cd-shell-luecke);
|
|
938
|
+
}
|
|
939
|
+
.cd-shell .cd-shell-empty-state-hint {
|
|
940
|
+
margin: 0;
|
|
941
|
+
color: var(--cd-ui-text-leise);
|
|
942
|
+
font-size: 13px;
|
|
943
|
+
font-weight: 400;
|
|
944
|
+
line-height: 1.5;
|
|
945
|
+
}
|
|
946
|
+
.cd-shell .cd-shell-empty-state-open {
|
|
947
|
+
display: inline;
|
|
948
|
+
margin: 0;
|
|
949
|
+
padding: 0;
|
|
950
|
+
color: var(--cd-ui-link);
|
|
951
|
+
font: inherit;
|
|
952
|
+
text-decoration: none;
|
|
953
|
+
background: transparent;
|
|
954
|
+
border: 0;
|
|
955
|
+
border-radius: 2px;
|
|
956
|
+
cursor: pointer;
|
|
957
|
+
}
|
|
958
|
+
.cd-shell .cd-shell-empty-state-open:hover {
|
|
959
|
+
text-decoration: underline;
|
|
960
|
+
}
|
|
961
|
+
.cd-shell .cd-shell-empty-state-open:focus {
|
|
962
|
+
outline: none;
|
|
963
|
+
}
|
|
964
|
+
.cd-shell .cd-shell-empty-state-open:focus-visible {
|
|
965
|
+
text-decoration: underline;
|
|
966
|
+
outline: 2px solid var(--cd-ui-fokus);
|
|
967
|
+
outline-offset: 2px;
|
|
968
|
+
}
|
|
969
|
+
.cd-shell-empty-state-open-item {
|
|
970
|
+
white-space: nowrap;
|
|
971
|
+
}
|
|
972
|
+
.cd-shell .cd-shell-empty-state-key {
|
|
973
|
+
color: var(--cd-ui-text-leise);
|
|
974
|
+
font-family: var(--modeler-shell-font-mono);
|
|
975
|
+
font-size: 13px;
|
|
976
|
+
}
|
|
977
|
+
.cd-shell[data-cd-shell-host=web][data-empty-state=shown] :is(.cd-shell-menu-trigger, .cd-shell-primary, .djs-palette, .cd-shell-zoom, .cd-shell-problems, .cd-shell-legend, .cd-shell-status, .cd-shell-hint, .cd-shell-inspector) {
|
|
978
|
+
visibility: hidden;
|
|
979
|
+
}
|
|
980
|
+
.cd-shell[data-cd-shell-host=web][data-zoom-row=raised] .cd-shell-zoom {
|
|
981
|
+
bottom: calc(var(--cd-shell-rand) + var(--modeler-shell-legal-height, 20px) + var(--cd-shell-luecke));
|
|
982
|
+
}
|
|
983
|
+
@container cd-shell (max-width: 440px) {
|
|
984
|
+
.cd-shell[data-cd-shell-host=web][data-zoom-row=raised] .cd-shell-legend {
|
|
985
|
+
--modeler-shell-legend-min-bottom: calc( var(--cd-shell-rand) + var(--modeler-shell-legal-height, 20px) + var(--cd-shell-luecke) + var(--cd-shell-zeile) + var(--cd-shell-luecke) );
|
|
986
|
+
}
|
|
987
|
+
}
|
|
988
|
+
.cd-shell-drop-zone {
|
|
989
|
+
position: absolute;
|
|
990
|
+
inset: var(--cd-shell-rand);
|
|
991
|
+
box-sizing: border-box;
|
|
992
|
+
display: grid;
|
|
993
|
+
place-items: center;
|
|
994
|
+
margin: 0;
|
|
995
|
+
padding: var(--cd-shell-rand);
|
|
996
|
+
background: var(--cd-ui-hover);
|
|
997
|
+
border: 2px dashed var(--cd-ui-interaktion);
|
|
998
|
+
border-radius: var(--cd-radius-lg);
|
|
999
|
+
box-shadow: 0 0 0 var(--cd-shell-rand) var(--cd-ui-grund);
|
|
1000
|
+
pointer-events: none;
|
|
1001
|
+
user-select: none;
|
|
1002
|
+
-webkit-user-select: none;
|
|
1003
|
+
}
|
|
1004
|
+
.cd-shell-drop-zone[hidden] {
|
|
1005
|
+
display: none;
|
|
1006
|
+
}
|
|
1007
|
+
.cd-shell-drop-zone[data-state=forbidden] {
|
|
1008
|
+
background: var(--cd-ui-danger-flaeche);
|
|
1009
|
+
border-color: var(--cd-ui-danger);
|
|
1010
|
+
}
|
|
1011
|
+
.cd-shell-drop-zone-chip {
|
|
1012
|
+
box-sizing: border-box;
|
|
1013
|
+
max-width: 100%;
|
|
1014
|
+
padding: 7px 16px;
|
|
1015
|
+
color: var(--cd-ui-text);
|
|
1016
|
+
font-size: 13px;
|
|
1017
|
+
font-weight: 600;
|
|
1018
|
+
line-height: 20px;
|
|
1019
|
+
text-align: center;
|
|
1020
|
+
background: var(--cd-ui-flaeche-hoch);
|
|
1021
|
+
border: 1px solid var(--cd-ui-linie);
|
|
1022
|
+
border-radius: var(--cd-radius-md);
|
|
1023
|
+
box-shadow: var(--cd-shadow-2);
|
|
1024
|
+
}
|
|
1025
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1026
|
+
.cd-shell .cd-shell-empty-state {
|
|
1027
|
+
animation: none;
|
|
1028
|
+
}
|
|
1029
|
+
}
|
|
1030
|
+
html.cd-shell-reduce-motion .cd-shell .cd-shell-empty-state {
|
|
1031
|
+
animation: none;
|
|
1032
|
+
}
|
|
1033
|
+
.cd-shell:is([data-cd-kontrast=hoch], [data-cd-kontrast=hoch] *) :is(.cd-shell-empty-state, .cd-shell-drop-zone-chip) {
|
|
1034
|
+
box-shadow: none;
|
|
1035
|
+
}
|
|
1036
|
+
.cd-shell:is([data-cd-kontrast=hoch], [data-cd-kontrast=hoch] *) :is(.cd-shell-legal a, .cd-shell-empty-state-open) {
|
|
1037
|
+
text-decoration: underline;
|
|
1038
|
+
}
|
|
1039
|
+
.cd-shell:is([data-cd-kontrast=hoch], [data-cd-kontrast=hoch] *) :is(.cd-shell-legal a, .cd-shell-empty-state-open):focus-visible {
|
|
1040
|
+
outline-width: 3px;
|
|
1041
|
+
}
|
|
1042
|
+
@media (forced-colors: active) {
|
|
1043
|
+
.cd-shell .cd-shell-empty-state,
|
|
1044
|
+
.cd-shell .cd-shell-drop-zone-chip {
|
|
1045
|
+
border-color: CanvasText;
|
|
1046
|
+
}
|
|
1047
|
+
.cd-shell :is(.cd-shell-legal a, .cd-shell-empty-state-open) {
|
|
1048
|
+
text-decoration: underline;
|
|
1049
|
+
}
|
|
1050
|
+
.cd-shell :is(.cd-shell-legal a, .cd-shell-empty-state-open):focus-visible {
|
|
1051
|
+
outline-color: Highlight;
|
|
1052
|
+
}
|
|
1053
|
+
.cd-shell .cd-shell-drop-zone {
|
|
1054
|
+
forced-color-adjust: none;
|
|
1055
|
+
background: Canvas;
|
|
1056
|
+
border-color: Highlight;
|
|
1057
|
+
box-shadow: 0 0 0 var(--cd-shell-rand) Canvas;
|
|
1058
|
+
}
|
|
1059
|
+
.cd-shell .cd-shell-drop-zone[data-state=forbidden] {
|
|
1060
|
+
border-color: CanvasText;
|
|
1061
|
+
border-style: dotted;
|
|
1062
|
+
}
|
|
1063
|
+
.cd-shell .cd-shell-drop-zone-chip {
|
|
1064
|
+
color: CanvasText;
|
|
1065
|
+
background: Canvas;
|
|
1066
|
+
box-shadow: none;
|
|
1067
|
+
}
|
|
1068
|
+
}
|
|
1069
|
+
|
|
1070
|
+
/* src/dom/feedback/feedback.css */
|
|
1071
|
+
:where(.cd-shell) :is(.cd-shell-toasts, .cd-shell-toast, .cd-shell-toast-text, .cd-shell-toast-close, .cd-shell-problems-popover, .cd-shell-problems-popover-title, .cd-shell-problems-list, .cd-shell-problem, .cd-shell-problem-message, .cd-shell-problem-location) {
|
|
1072
|
+
color: inherit;
|
|
1073
|
+
font: inherit;
|
|
1074
|
+
letter-spacing: normal;
|
|
1075
|
+
word-spacing: normal;
|
|
1076
|
+
text-transform: none;
|
|
1077
|
+
text-indent: 0;
|
|
1078
|
+
text-shadow: none;
|
|
1079
|
+
}
|
|
1080
|
+
.cd-shell-toasts {
|
|
1081
|
+
position: absolute;
|
|
1082
|
+
top: auto;
|
|
1083
|
+
right: 0;
|
|
1084
|
+
bottom: var(--cd-shell-rand);
|
|
1085
|
+
left: 0;
|
|
1086
|
+
z-index: var(--cd-shell-ebene-toast);
|
|
1087
|
+
box-sizing: border-box;
|
|
1088
|
+
display: flex;
|
|
1089
|
+
flex-direction: column;
|
|
1090
|
+
align-items: center;
|
|
1091
|
+
gap: var(--cd-shell-luecke);
|
|
1092
|
+
width: min(480px, 100cqw - 2 * var(--cd-shell-rand));
|
|
1093
|
+
height: auto;
|
|
1094
|
+
min-height: 0;
|
|
1095
|
+
max-height: none;
|
|
1096
|
+
margin: 0 auto;
|
|
1097
|
+
padding: 0;
|
|
1098
|
+
overflow: visible;
|
|
1099
|
+
color: var(--cd-ui-text);
|
|
1100
|
+
background: transparent;
|
|
1101
|
+
border: 0;
|
|
1102
|
+
pointer-events: none;
|
|
1103
|
+
}
|
|
1104
|
+
.cd-shell-toasts:empty {
|
|
1105
|
+
display: none;
|
|
1106
|
+
}
|
|
1107
|
+
.cd-shell-toasts[popover]:not(:popover-open) {
|
|
1108
|
+
display: none;
|
|
1109
|
+
}
|
|
1110
|
+
.cd-shell-toast {
|
|
1111
|
+
--modeler-shell-toast-status: var(--cd-ui-info);
|
|
1112
|
+
position: relative;
|
|
1113
|
+
box-sizing: border-box;
|
|
1114
|
+
display: flex;
|
|
1115
|
+
flex: none;
|
|
1116
|
+
align-items: center;
|
|
1117
|
+
gap: var(--cd-shell-luecke);
|
|
1118
|
+
max-width: 100%;
|
|
1119
|
+
min-height: var(--cd-shell-zeile);
|
|
1120
|
+
margin: 0;
|
|
1121
|
+
padding: 4px 4px 4px 16px;
|
|
1122
|
+
overflow: hidden;
|
|
1123
|
+
color: var(--cd-ui-text);
|
|
1124
|
+
font-size: 13px;
|
|
1125
|
+
font-weight: 400;
|
|
1126
|
+
line-height: 1.5;
|
|
1127
|
+
text-align: left;
|
|
1128
|
+
background: var(--cd-ui-flaeche-hoch);
|
|
1129
|
+
border: 1px solid var(--cd-ui-linie);
|
|
1130
|
+
border-radius: var(--cd-radius-md);
|
|
1131
|
+
box-shadow: var(--cd-shadow-3);
|
|
1132
|
+
pointer-events: auto;
|
|
1133
|
+
user-select: none;
|
|
1134
|
+
-webkit-user-select: none;
|
|
1135
|
+
animation: cd-shell-toast-in var(--cd-motion-base) var(--cd-ease-out);
|
|
1136
|
+
}
|
|
1137
|
+
.cd-shell-toast[data-status=success] {
|
|
1138
|
+
--modeler-shell-toast-status: var(--cd-ui-success);
|
|
1139
|
+
}
|
|
1140
|
+
.cd-shell-toast[data-status=warning] {
|
|
1141
|
+
--modeler-shell-toast-status: var(--cd-ui-warning);
|
|
1142
|
+
}
|
|
1143
|
+
.cd-shell-toast[data-status=danger] {
|
|
1144
|
+
--modeler-shell-toast-status: var(--cd-ui-danger);
|
|
1145
|
+
}
|
|
1146
|
+
.cd-shell-toast::before {
|
|
1147
|
+
content: "";
|
|
1148
|
+
position: absolute;
|
|
1149
|
+
top: 0;
|
|
1150
|
+
bottom: 0;
|
|
1151
|
+
left: 0;
|
|
1152
|
+
width: 4px;
|
|
1153
|
+
background: var(--modeler-shell-toast-status);
|
|
1154
|
+
}
|
|
1155
|
+
.cd-shell-toast-dot {
|
|
1156
|
+
flex: none;
|
|
1157
|
+
width: 8px;
|
|
1158
|
+
height: 8px;
|
|
1159
|
+
background: var(--modeler-shell-toast-status);
|
|
1160
|
+
border-radius: var(--cd-radius-pill);
|
|
1161
|
+
}
|
|
1162
|
+
.cd-shell-toast-text {
|
|
1163
|
+
flex: 1 1 auto;
|
|
1164
|
+
min-width: 0;
|
|
1165
|
+
margin: 0;
|
|
1166
|
+
padding: 6px 0;
|
|
1167
|
+
color: var(--cd-ui-text);
|
|
1168
|
+
font-size: 13px;
|
|
1169
|
+
line-height: 1.5;
|
|
1170
|
+
overflow-wrap: anywhere;
|
|
1171
|
+
}
|
|
1172
|
+
.cd-shell-toast .cd-shell-toast-action {
|
|
1173
|
+
height: var(--cd-shell-ziel);
|
|
1174
|
+
}
|
|
1175
|
+
.cd-shell-toast-close {
|
|
1176
|
+
box-sizing: border-box;
|
|
1177
|
+
display: inline-grid;
|
|
1178
|
+
flex: none;
|
|
1179
|
+
place-items: center;
|
|
1180
|
+
width: var(--cd-shell-ziel);
|
|
1181
|
+
height: var(--cd-shell-ziel);
|
|
1182
|
+
margin: 0;
|
|
1183
|
+
padding: 0;
|
|
1184
|
+
color: var(--cd-ui-text);
|
|
1185
|
+
background: transparent;
|
|
1186
|
+
border: 0;
|
|
1187
|
+
border-radius: var(--cd-radius-sm);
|
|
1188
|
+
cursor: pointer;
|
|
1189
|
+
transition: background-color var(--cd-motion-fast) var(--cd-ease), color var(--cd-motion-fast) var(--cd-ease);
|
|
1190
|
+
}
|
|
1191
|
+
.cd-shell-toast-close:hover {
|
|
1192
|
+
color: var(--cd-ui-interaktion);
|
|
1193
|
+
background: var(--cd-ui-hover);
|
|
1194
|
+
}
|
|
1195
|
+
.cd-shell-toast-close svg {
|
|
1196
|
+
display: block;
|
|
1197
|
+
flex: none;
|
|
1198
|
+
}
|
|
1199
|
+
.cd-shell-toast[data-leaving] {
|
|
1200
|
+
pointer-events: none;
|
|
1201
|
+
animation: cd-shell-toast-out var(--cd-motion-base) var(--cd-ease) forwards;
|
|
1202
|
+
}
|
|
1203
|
+
@keyframes cd-shell-toast-in {
|
|
1204
|
+
from {
|
|
1205
|
+
opacity: 0;
|
|
1206
|
+
transform: translateY(8px);
|
|
1207
|
+
}
|
|
1208
|
+
}
|
|
1209
|
+
@keyframes cd-shell-toast-out {
|
|
1210
|
+
to {
|
|
1211
|
+
opacity: 0;
|
|
1212
|
+
transform: translateY(8px);
|
|
1213
|
+
}
|
|
1214
|
+
}
|
|
1215
|
+
.cd-shell-live {
|
|
1216
|
+
position: absolute;
|
|
1217
|
+
width: 1px;
|
|
1218
|
+
height: 1px;
|
|
1219
|
+
margin: -1px;
|
|
1220
|
+
padding: 0;
|
|
1221
|
+
overflow: hidden;
|
|
1222
|
+
clip-path: inset(50%);
|
|
1223
|
+
white-space: nowrap;
|
|
1224
|
+
border: 0;
|
|
1225
|
+
pointer-events: none;
|
|
1226
|
+
}
|
|
1227
|
+
.cd-shell-problems-popover {
|
|
1228
|
+
--modeler-shell-problems-bottom: calc( var(--cd-shell-rand) + var(--cd-shell-zeile) + var(--cd-shell-luecke) );
|
|
1229
|
+
position: absolute;
|
|
1230
|
+
left: var(--cd-shell-rand);
|
|
1231
|
+
bottom: var(--modeler-shell-problems-bottom);
|
|
1232
|
+
box-sizing: border-box;
|
|
1233
|
+
display: flex;
|
|
1234
|
+
flex-direction: column;
|
|
1235
|
+
width: min(320px, 100cqw - 2 * var(--cd-shell-rand));
|
|
1236
|
+
max-height: min(320px, 100cqh - var(--modeler-shell-problems-bottom) - var(--cd-shell-rand));
|
|
1237
|
+
margin: 0;
|
|
1238
|
+
padding: 6px;
|
|
1239
|
+
color: var(--cd-ui-text);
|
|
1240
|
+
font-size: 13px;
|
|
1241
|
+
font-weight: 400;
|
|
1242
|
+
line-height: 1.5;
|
|
1243
|
+
background: var(--cd-ui-flaeche-hoch);
|
|
1244
|
+
border: 1px solid var(--cd-ui-linie);
|
|
1245
|
+
border-radius: var(--cd-radius-md);
|
|
1246
|
+
box-shadow: var(--cd-shadow-3);
|
|
1247
|
+
pointer-events: auto;
|
|
1248
|
+
user-select: none;
|
|
1249
|
+
-webkit-user-select: none;
|
|
1250
|
+
animation: cd-shell-problems-in var(--cd-motion-fast) var(--cd-ease-out);
|
|
1251
|
+
}
|
|
1252
|
+
.cd-shell[data-cd-shell-host=web] .cd-shell-problems-popover {
|
|
1253
|
+
--modeler-shell-problems-bottom: calc( var(--cd-shell-rand) + var(--modeler-shell-legal-height, 20px) + var(--cd-shell-luecke) + var(--cd-shell-zeile) + var(--cd-shell-luecke) );
|
|
1254
|
+
}
|
|
1255
|
+
.cd-shell-problems-popover[hidden] {
|
|
1256
|
+
display: none;
|
|
1257
|
+
}
|
|
1258
|
+
.cd-shell-problems-popover:focus {
|
|
1259
|
+
outline: none;
|
|
1260
|
+
}
|
|
1261
|
+
.cd-shell-problems-popover:focus-visible {
|
|
1262
|
+
outline: 2px solid var(--cd-ui-fokus);
|
|
1263
|
+
outline-offset: -2px;
|
|
1264
|
+
}
|
|
1265
|
+
.cd-shell-problems-popover-title {
|
|
1266
|
+
flex: none;
|
|
1267
|
+
margin: 0;
|
|
1268
|
+
padding: 8px 12px 4px;
|
|
1269
|
+
color: var(--cd-ui-text);
|
|
1270
|
+
font-size: 13px;
|
|
1271
|
+
font-weight: 600;
|
|
1272
|
+
line-height: 1.5;
|
|
1273
|
+
}
|
|
1274
|
+
.cd-shell-problems-list {
|
|
1275
|
+
flex: 1 1 auto;
|
|
1276
|
+
min-height: 0;
|
|
1277
|
+
margin: 0;
|
|
1278
|
+
padding: 0;
|
|
1279
|
+
overflow-y: auto;
|
|
1280
|
+
overscroll-behavior: contain;
|
|
1281
|
+
list-style: none;
|
|
1282
|
+
}
|
|
1283
|
+
.cd-shell-problems-list > li {
|
|
1284
|
+
display: block;
|
|
1285
|
+
margin: 0;
|
|
1286
|
+
padding: 0;
|
|
1287
|
+
list-style: none;
|
|
1288
|
+
}
|
|
1289
|
+
.cd-shell-problem {
|
|
1290
|
+
box-sizing: border-box;
|
|
1291
|
+
display: grid;
|
|
1292
|
+
grid-template-columns: 16px minmax(0, 1fr);
|
|
1293
|
+
column-gap: 12px;
|
|
1294
|
+
align-items: start;
|
|
1295
|
+
width: 100%;
|
|
1296
|
+
min-height: var(--cd-shell-eintrag);
|
|
1297
|
+
margin: 0;
|
|
1298
|
+
padding: 8px 12px;
|
|
1299
|
+
color: var(--cd-ui-text);
|
|
1300
|
+
font-size: 13px;
|
|
1301
|
+
font-weight: 400;
|
|
1302
|
+
line-height: 1.5;
|
|
1303
|
+
text-align: left;
|
|
1304
|
+
background: transparent;
|
|
1305
|
+
border: 0;
|
|
1306
|
+
border-radius: var(--cd-radius-sm);
|
|
1307
|
+
}
|
|
1308
|
+
button.cd-shell-problem {
|
|
1309
|
+
cursor: pointer;
|
|
1310
|
+
transition: background-color var(--cd-motion-fast) var(--cd-ease);
|
|
1311
|
+
}
|
|
1312
|
+
button.cd-shell-problem:hover,
|
|
1313
|
+
button.cd-shell-problem:focus-visible {
|
|
1314
|
+
background: var(--cd-ui-hover);
|
|
1315
|
+
}
|
|
1316
|
+
.cd-shell-problem-icon {
|
|
1317
|
+
display: grid;
|
|
1318
|
+
grid-row: 1 / span 2;
|
|
1319
|
+
place-items: center;
|
|
1320
|
+
width: 16px;
|
|
1321
|
+
height: 16px;
|
|
1322
|
+
margin-top: 2px;
|
|
1323
|
+
}
|
|
1324
|
+
.cd-shell-problem-icon svg {
|
|
1325
|
+
display: block;
|
|
1326
|
+
flex: none;
|
|
1327
|
+
}
|
|
1328
|
+
.cd-shell-problem[data-severity=error] .cd-shell-problem-icon {
|
|
1329
|
+
color: var(--cd-ui-danger);
|
|
1330
|
+
}
|
|
1331
|
+
.cd-shell-problem[data-severity=warning] .cd-shell-problem-icon {
|
|
1332
|
+
color: var(--cd-ui-warning);
|
|
1333
|
+
}
|
|
1334
|
+
.cd-shell-problem-message {
|
|
1335
|
+
grid-column: 2;
|
|
1336
|
+
color: var(--cd-ui-text);
|
|
1337
|
+
overflow-wrap: anywhere;
|
|
1338
|
+
}
|
|
1339
|
+
.cd-shell-problem-location {
|
|
1340
|
+
grid-column: 2;
|
|
1341
|
+
color: var(--cd-ui-text-leise);
|
|
1342
|
+
overflow-wrap: anywhere;
|
|
1343
|
+
}
|
|
1344
|
+
@keyframes cd-shell-problems-in {
|
|
1345
|
+
from {
|
|
1346
|
+
opacity: 0;
|
|
1347
|
+
transform: translateY(4px);
|
|
1348
|
+
}
|
|
1349
|
+
}
|
|
1350
|
+
.cd-shell :is(.cd-shell-toast-close, .cd-shell-problem):focus {
|
|
1351
|
+
outline: none;
|
|
1352
|
+
}
|
|
1353
|
+
.cd-shell :is(.cd-shell-toast-close, .cd-shell-toast-action, .cd-shell-problem):focus-visible {
|
|
1354
|
+
outline: 2px solid var(--cd-ui-fokus);
|
|
1355
|
+
outline-offset: -2px;
|
|
1356
|
+
}
|
|
1357
|
+
.cd-shell:is([data-cd-kontrast=hoch], [data-cd-kontrast=hoch] *) :is(.cd-shell-toast, .cd-shell-problems-popover) {
|
|
1358
|
+
box-shadow: none;
|
|
1359
|
+
}
|
|
1360
|
+
.cd-shell:is([data-cd-kontrast=hoch], [data-cd-kontrast=hoch] *) :is(.cd-shell-toast-close, .cd-shell-toast-action, .cd-shell-problem, .cd-shell-problems-popover):focus-visible {
|
|
1361
|
+
outline-width: 3px;
|
|
1362
|
+
outline-offset: -3px;
|
|
1363
|
+
}
|
|
1364
|
+
@media (forced-colors: active) {
|
|
1365
|
+
.cd-shell :is(.cd-shell-toast, .cd-shell-problems-popover) {
|
|
1366
|
+
border-color: CanvasText;
|
|
1367
|
+
}
|
|
1368
|
+
.cd-shell .cd-shell-toast::before,
|
|
1369
|
+
.cd-shell .cd-shell-toast-dot {
|
|
1370
|
+
forced-color-adjust: none;
|
|
1371
|
+
background: CanvasText;
|
|
1372
|
+
}
|
|
1373
|
+
.cd-shell :is(.cd-shell-toast-close, .cd-shell-toast-action, .cd-shell-problem, .cd-shell-problems-popover):focus-visible {
|
|
1374
|
+
outline-color: Highlight;
|
|
1375
|
+
}
|
|
1376
|
+
.cd-shell button.cd-shell-problem:hover:not(:focus-visible) {
|
|
1377
|
+
outline: 1px solid Highlight;
|
|
1378
|
+
outline-offset: -1px;
|
|
1379
|
+
}
|
|
1380
|
+
}
|
|
1381
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1382
|
+
.cd-shell :is(.cd-shell-toast, .cd-shell-problems-popover) {
|
|
1383
|
+
animation: none;
|
|
1384
|
+
}
|
|
1385
|
+
}
|
|
1386
|
+
html.cd-shell-reduce-motion .cd-shell :is(.cd-shell-toast, .cd-shell-problems-popover) {
|
|
1387
|
+
animation: none;
|
|
1388
|
+
}
|
|
1389
|
+
|
|
1390
|
+
/* src/diagram-js/palette.css */
|
|
1391
|
+
.djs-palette[data-chrome=palette] {
|
|
1392
|
+
--modeler-shell-palette-focus-width: 2px;
|
|
1393
|
+
--modeler-shell-palette-focus-offset: 2px;
|
|
1394
|
+
--modeler-shell-palette-focus-offset-pressed: 2px;
|
|
1395
|
+
position: absolute;
|
|
1396
|
+
top: var(--cd-shell-rand);
|
|
1397
|
+
left: 50%;
|
|
1398
|
+
z-index: 110;
|
|
1399
|
+
display: flex;
|
|
1400
|
+
align-items: center;
|
|
1401
|
+
box-sizing: border-box;
|
|
1402
|
+
width: auto;
|
|
1403
|
+
height: var(--cd-shell-zeile);
|
|
1404
|
+
padding: 3px;
|
|
1405
|
+
border: 1px solid var(--cd-ui-linie);
|
|
1406
|
+
border-radius: var(--cd-radius-md);
|
|
1407
|
+
background: color-mix(in srgb, var(--cd-ui-flaeche-hoch) var(--cd-ui-chrome-deckkraft), transparent);
|
|
1408
|
+
-webkit-backdrop-filter: blur(8px);
|
|
1409
|
+
backdrop-filter: blur(8px);
|
|
1410
|
+
box-shadow: var(--cd-shadow-1);
|
|
1411
|
+
color: var(--cd-ui-text);
|
|
1412
|
+
transform: translateX(-50%);
|
|
1413
|
+
white-space: nowrap;
|
|
1414
|
+
-webkit-user-select: none;
|
|
1415
|
+
user-select: none;
|
|
1416
|
+
}
|
|
1417
|
+
.djs-palette[data-chrome=palette].two-column.open {
|
|
1418
|
+
width: auto;
|
|
1419
|
+
}
|
|
1420
|
+
.djs-palette[data-chrome=palette] .djs-palette-toggle,
|
|
1421
|
+
.djs-palette[data-chrome=palette] .djs-palette-entries::after {
|
|
1422
|
+
display: none;
|
|
1423
|
+
}
|
|
1424
|
+
.djs-palette[data-chrome=palette] .djs-palette-entries,
|
|
1425
|
+
.djs-palette[data-chrome=palette]:not(.open) .djs-palette-entries {
|
|
1426
|
+
display: flex;
|
|
1427
|
+
flex: none;
|
|
1428
|
+
align-items: center;
|
|
1429
|
+
}
|
|
1430
|
+
.djs-palette[data-chrome=palette] .group {
|
|
1431
|
+
position: relative;
|
|
1432
|
+
display: flex;
|
|
1433
|
+
flex: none;
|
|
1434
|
+
align-items: center;
|
|
1435
|
+
gap: 2px;
|
|
1436
|
+
}
|
|
1437
|
+
.djs-palette[data-chrome=palette] .group + .group {
|
|
1438
|
+
margin-left: 8px;
|
|
1439
|
+
padding-left: 9px;
|
|
1440
|
+
}
|
|
1441
|
+
.djs-palette[data-chrome=palette] .group + .group::before {
|
|
1442
|
+
content: "";
|
|
1443
|
+
position: absolute;
|
|
1444
|
+
top: 4px;
|
|
1445
|
+
bottom: 4px;
|
|
1446
|
+
left: 0;
|
|
1447
|
+
width: 1px;
|
|
1448
|
+
background: var(--cd-ui-linie);
|
|
1449
|
+
}
|
|
1450
|
+
.djs-palette[data-chrome=palette] .separator {
|
|
1451
|
+
flex: none;
|
|
1452
|
+
align-self: stretch;
|
|
1453
|
+
width: 1px;
|
|
1454
|
+
height: auto;
|
|
1455
|
+
margin: 4px 6px;
|
|
1456
|
+
padding: 0;
|
|
1457
|
+
border: 0;
|
|
1458
|
+
background: var(--cd-ui-linie);
|
|
1459
|
+
}
|
|
1460
|
+
.djs-palette[data-chrome=palette] .entry {
|
|
1461
|
+
position: relative;
|
|
1462
|
+
display: flex;
|
|
1463
|
+
flex: none;
|
|
1464
|
+
align-items: center;
|
|
1465
|
+
justify-content: center;
|
|
1466
|
+
box-sizing: border-box;
|
|
1467
|
+
width: var(--cd-shell-ziel);
|
|
1468
|
+
height: var(--cd-shell-ziel);
|
|
1469
|
+
margin: 0;
|
|
1470
|
+
padding: 0;
|
|
1471
|
+
float: none;
|
|
1472
|
+
border: 0;
|
|
1473
|
+
border-radius: var(--cd-radius-sm);
|
|
1474
|
+
background: transparent;
|
|
1475
|
+
color: var(--cd-ui-text);
|
|
1476
|
+
font-size: 24px;
|
|
1477
|
+
line-height: 1;
|
|
1478
|
+
text-align: center;
|
|
1479
|
+
cursor: default;
|
|
1480
|
+
transition:
|
|
1481
|
+
background-color var(--cd-motion-fast) var(--cd-ease),
|
|
1482
|
+
color var(--cd-motion-fast) var(--cd-ease),
|
|
1483
|
+
box-shadow var(--cd-motion-fast) var(--cd-ease);
|
|
1484
|
+
}
|
|
1485
|
+
.djs-palette[data-chrome=palette] .entry > img,
|
|
1486
|
+
.djs-palette[data-chrome=palette] .entry > svg {
|
|
1487
|
+
display: block;
|
|
1488
|
+
flex: none;
|
|
1489
|
+
max-width: 100%;
|
|
1490
|
+
max-height: 100%;
|
|
1491
|
+
}
|
|
1492
|
+
.djs-palette[data-chrome=palette] .group[data-group=tools] .entry > svg,
|
|
1493
|
+
.djs-palette[data-chrome=palette] .group[data-group=tools] .entry::before,
|
|
1494
|
+
.djs-palette[data-chrome=palette] .entry[data-action$=-tool] > svg,
|
|
1495
|
+
.djs-palette[data-chrome=palette] .entry[data-action$=-tool]::before {
|
|
1496
|
+
color: inherit;
|
|
1497
|
+
}
|
|
1498
|
+
.djs-palette[data-chrome=palette] .entry:hover {
|
|
1499
|
+
background: var(--cd-ui-hover);
|
|
1500
|
+
color: var(--cd-ui-interaktion);
|
|
1501
|
+
}
|
|
1502
|
+
.djs-palette[data-chrome=palette] .entry.highlighted-entry {
|
|
1503
|
+
color: var(--cd-ui-text) !important;
|
|
1504
|
+
}
|
|
1505
|
+
.djs-palette[data-chrome=palette] .entry.highlighted-entry:hover {
|
|
1506
|
+
color: var(--cd-ui-interaktion) !important;
|
|
1507
|
+
}
|
|
1508
|
+
.djs-palette[data-chrome=palette] .entry[aria-pressed=true] {
|
|
1509
|
+
background: var(--cd-ui-hover);
|
|
1510
|
+
box-shadow: inset 0 0 0 2px var(--cd-ui-interaktion);
|
|
1511
|
+
color: var(--cd-ui-text);
|
|
1512
|
+
}
|
|
1513
|
+
.djs-palette[data-chrome=palette] .entry[aria-pressed=true]:hover {
|
|
1514
|
+
color: var(--cd-ui-interaktion);
|
|
1515
|
+
}
|
|
1516
|
+
.djs-palette[data-chrome=palette] .entry:focus {
|
|
1517
|
+
outline: none;
|
|
1518
|
+
}
|
|
1519
|
+
.djs-palette[data-chrome=palette] .entry:focus-visible {
|
|
1520
|
+
outline: var(--modeler-shell-palette-focus-width) solid var(--cd-ui-fokus);
|
|
1521
|
+
outline-offset: var(--modeler-shell-palette-focus-offset);
|
|
1522
|
+
}
|
|
1523
|
+
.djs-palette[data-chrome=palette] .entry[aria-pressed=true]:focus-visible {
|
|
1524
|
+
outline-offset: var(--modeler-shell-palette-focus-offset-pressed);
|
|
1525
|
+
}
|
|
1526
|
+
.djs-palette[data-chrome=palette] .entry[aria-disabled=true],
|
|
1527
|
+
.djs-palette[data-chrome=palette] .entry[aria-disabled=true]:hover {
|
|
1528
|
+
background: transparent;
|
|
1529
|
+
color: var(--cd-ui-text-leise);
|
|
1530
|
+
cursor: not-allowed;
|
|
1531
|
+
}
|
|
1532
|
+
.djs-palette[data-chrome=palette] .entry.highlighted-entry[aria-disabled=true] {
|
|
1533
|
+
color: var(--cd-ui-text-leise) !important;
|
|
1534
|
+
}
|
|
1535
|
+
.djs-palette[data-chrome=palette] .entry[aria-disabled=true] > *,
|
|
1536
|
+
.djs-palette[data-chrome=palette] .entry[aria-disabled=true]::before {
|
|
1537
|
+
filter: grayscale(1);
|
|
1538
|
+
}
|
|
1539
|
+
[data-cd-kontrast=hoch] .djs-palette[data-chrome=palette] {
|
|
1540
|
+
--modeler-shell-palette-focus-width: 3px;
|
|
1541
|
+
box-shadow: none;
|
|
1542
|
+
}
|
|
1543
|
+
.cd-shell[data-palette=second-row] .djs-palette[data-chrome=palette] {
|
|
1544
|
+
--modeler-shell-palette-focus-offset: calc(-1 * var(--modeler-shell-palette-focus-width));
|
|
1545
|
+
--modeler-shell-palette-focus-offset-pressed: calc(-3px - var(--modeler-shell-palette-focus-width));
|
|
1546
|
+
top: var(--cd-shell-frei);
|
|
1547
|
+
max-width: calc(100cqw - 2 * var(--cd-shell-rand));
|
|
1548
|
+
overflow-x: auto;
|
|
1549
|
+
overflow-y: hidden;
|
|
1550
|
+
overscroll-behavior-x: contain;
|
|
1551
|
+
scrollbar-width: none;
|
|
1552
|
+
}
|
|
1553
|
+
.cd-shell[data-palette=second-row] .djs-palette[data-chrome=palette]::-webkit-scrollbar {
|
|
1554
|
+
display: none;
|
|
1555
|
+
}
|
|
1556
|
+
@container cd-shell (max-width: 760px) {
|
|
1557
|
+
.djs-palette[data-chrome=palette] {
|
|
1558
|
+
--modeler-shell-palette-focus-offset: calc(-1 * var(--modeler-shell-palette-focus-width));
|
|
1559
|
+
--modeler-shell-palette-focus-offset-pressed: calc(-3px - var(--modeler-shell-palette-focus-width));
|
|
1560
|
+
top: var(--cd-shell-frei);
|
|
1561
|
+
max-width: calc(100cqw - 2 * var(--cd-shell-rand));
|
|
1562
|
+
overflow-x: auto;
|
|
1563
|
+
overflow-y: hidden;
|
|
1564
|
+
overscroll-behavior-x: contain;
|
|
1565
|
+
scrollbar-width: none;
|
|
1566
|
+
}
|
|
1567
|
+
.djs-palette[data-chrome=palette]::-webkit-scrollbar {
|
|
1568
|
+
display: none;
|
|
1569
|
+
}
|
|
1570
|
+
}
|
|
1571
|
+
@media (forced-colors: active) {
|
|
1572
|
+
.djs-palette[data-chrome=palette] {
|
|
1573
|
+
border-color: CanvasText;
|
|
1574
|
+
}
|
|
1575
|
+
.djs-palette[data-chrome=palette] .group + .group::before,
|
|
1576
|
+
.djs-palette[data-chrome=palette] .separator {
|
|
1577
|
+
forced-color-adjust: none;
|
|
1578
|
+
background: CanvasText;
|
|
1579
|
+
}
|
|
1580
|
+
.djs-palette[data-chrome=palette] .entry:focus-visible {
|
|
1581
|
+
outline-color: Highlight;
|
|
1582
|
+
}
|
|
1583
|
+
.djs-palette[data-chrome=palette] .entry[aria-pressed=true],
|
|
1584
|
+
.djs-palette[data-chrome=palette] .entry[aria-pressed=true]:hover {
|
|
1585
|
+
forced-color-adjust: none;
|
|
1586
|
+
background: Canvas;
|
|
1587
|
+
color: CanvasText;
|
|
1588
|
+
box-shadow: inset 0 0 0 2px Highlight;
|
|
1589
|
+
}
|
|
1590
|
+
.djs-palette[data-chrome=palette] .entry[aria-disabled=true] {
|
|
1591
|
+
color: GrayText;
|
|
1592
|
+
}
|
|
1593
|
+
}
|
|
1594
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1595
|
+
.djs-palette[data-chrome=palette] .entry {
|
|
1596
|
+
transition: none;
|
|
1597
|
+
}
|
|
1598
|
+
}
|
|
1599
|
+
html.cd-shell-reduce-motion .djs-palette[data-chrome=palette] .entry {
|
|
1600
|
+
transition: none;
|
|
1601
|
+
}
|
|
1602
|
+
|
|
1603
|
+
/* src/shell.css */
|