dsh-workspace-browser 0.4.13 → 0.4.18

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/src/browser.css CHANGED
@@ -1,439 +1,472 @@
1
- [data-dwb-grid] > :not(.dwb-mount) { display: none; }
2
- .dwb-mount[hidden] { display: none; }
3
- .dwb-toolbar-mount[hidden], .dwb-address-mount[hidden] { display: none; }
4
-
5
- @property --dwb-reveal-size {
6
- syntax: '<length>';
7
- inherits: true;
8
- initial-value: 0px;
9
- }
10
-
11
- [data-dwb-layout] {
12
- --dwb-edge-end: 9px;
13
- --dwb-content-start: 14px;
14
- --dwb-list-item-padding: 8px;
15
- --dwb-nav-width: 95px;
16
- --dwb-tile-start: calc(var(--dwb-content-start) - var(--dwb-list-item-padding));
17
- --dwb-heading-opacity: 1;
18
- --dwb-heading-visibility: visible;
19
- --dwb-heading-hide-delay: 0ms;
20
- --dwb-reveal-height: 40px;
21
- --dwb-reveal-delay: 0ms;
22
- --dwb-reveal-size: 0px;
23
- --dwb-control-opacity: 0;
24
- --dwb-control-visibility: hidden;
25
- --dwb-fade-duration: 42.5ms;
26
- --dwb-visibility-delay: 42.5ms;
27
- container-type: inline-size;
28
- min-block-size: 0;
29
- position: relative;
30
- transition: --dwb-reveal-size 95ms ease var(--dwb-reveal-delay);
31
- }
32
-
33
- [data-dwb-layout]:is([data-dwb-reveal-held], [data-dwb-reveal-hover], :has(> .dwb-toolbar-mount .dwb-nav-buttons :focus-visible, > [data-dwb-header] :focus-visible, > .dwb-address-mount :focus-visible)) {
34
- --dwb-reveal-delay: 50ms;
35
- --dwb-reveal-size: var(--dwb-reveal-height);
36
- --dwb-heading-opacity: 0;
37
- --dwb-heading-visibility: hidden;
38
- --dwb-heading-hide-delay: 117.5ms;
39
- --dwb-control-opacity: 1;
40
- --dwb-control-visibility: visible;
41
- --dwb-fade-duration: 67.5ms;
42
- --dwb-visibility-delay: var(--dwb-reveal-delay);
43
- }
44
-
45
- [data-slot='sidebar.workspaces'] [data-dwb-layout] > [data-dwb-grid] {
46
- margin-inline: 0;
47
- padding-inline: 0;
48
- flex: 1 1 0;
49
- min-block-size: 0;
50
- display: block;
51
- overflow: hidden;
52
- overflow-y: auto;
53
- overscroll-behavior-y: contain;
54
- }
55
-
56
- .dwb-heading[hidden], [data-dwb-replaced-heading] { display: none; }
57
- .dwb-heading {
58
- display: flex;
59
- align-items: center;
60
- gap: 4px;
61
- max-width: calc(100cqi - var(--dsh-sidebar-row-padding, 12px) - 104px);
62
- min-width: 0;
63
- flex: none;
64
- white-space: nowrap;
65
- line-height: 20px;
66
- height: 22px;
67
- position: absolute;
68
- top: 21px;
69
- inset-inline-start: var(--dwb-content-start);
70
- z-index: 3;
71
- pointer-events: none;
72
- }
73
-
74
- .dwb-heading:has(> .dwb-notifications) {
75
- /* Center the 22px dot in the same 23px slot as the back arrow. */
76
- inset-inline-start: calc(var(--dwb-tile-start) + 0.5px);
77
- }
78
-
79
- .dwb-heading-name {
80
- overflow: hidden;
81
- text-overflow: ellipsis;
82
- translate: 0 var(--dwb-reveal-size);
83
- opacity: var(--dwb-heading-opacity);
84
- visibility: var(--dwb-heading-visibility);
85
- transition: opacity 67.5ms ease var(--dwb-reveal-delay), visibility 0s linear var(--dwb-heading-hide-delay);
86
- }
87
-
88
- [data-dwb-header]:has(button[aria-expanded='true']) .dwb-heading-name { display: none; }
89
-
90
- [data-slot='sidebar.workspaces'] [data-dwb-layout] > .dwb-toolbar-mount + [data-dwb-header] {
91
- margin-block-start: 0;
92
- }
93
-
94
- [data-slot='sidebar.workspaces'] [data-dwb-layout] > [data-dwb-header]:has(button[aria-expanded='true']) {
95
- padding-inline-start: calc(var(--dwb-tile-start) + var(--dwb-nav-width));
96
- }
97
-
98
- [data-slot='sidebar.workspaces'] [data-dwb-layout] > [data-dwb-header]:not(:has(button[aria-expanded='true'])) {
99
- margin-inline-end: 0;
100
- /* The native header reserves one 4px gap after its tool group. */
101
- padding-inline-end: calc(var(--dwb-edge-end) - 4px);
102
- }
103
-
104
- .dwb-menu-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
105
- .dwb-menu-label svg { flex: none; }
106
-
107
- /* In this grouping mode, only the new grouping row carries a check. */
108
- [data-dwb-selected] .dwb-native-group > svg:last-child { visibility: hidden; }
109
-
110
- .dwb-browser {
111
- min-width: 0;
112
- padding: 0 0 10px;
113
- color: var(--dsw-alias-label-primary);
114
- font-size: 13px;
115
- }
116
-
117
- .dwb-toolbar-mount { flex: none; }
118
- .dwb-reveal-zone {
119
- min-height: 2px;
120
- padding-block-end: 2px;
121
- }
122
-
123
- .dwb-address-mount {
124
- flex: none;
125
- block-size: var(--dwb-reveal-size);
126
- }
127
-
128
- .dwb-reveal-control {
129
- visibility: var(--dwb-control-visibility);
130
- opacity: var(--dwb-control-opacity);
131
- transition: opacity var(--dwb-fade-duration) ease var(--dwb-reveal-delay),
132
- visibility 0s linear var(--dwb-visibility-delay);
133
- }
134
-
135
- @media (prefers-reduced-motion: reduce) {
136
- .dwb-reveal-control, .dwb-heading-name, [data-dwb-layout] { transition: none; }
137
- }
138
-
139
- .dwb-divider {
140
- position: relative;
141
- width: 100cqi;
142
- height: 12px;
143
- touch-action: none;
144
- }
145
-
146
- .dwb-divider[role='separator'] { cursor: row-resize; }
147
-
148
- .dwb-divider::before {
149
- content: '';
150
- position: absolute;
151
- inset: 50% 0 auto;
152
- transform: translateY(-50%);
153
- pointer-events: none;
154
- border-top: 0.5px solid var(--dsw-alias-border-l3);
155
- }
156
-
157
- [data-dwb-resized-navigation] {
158
- height: var(--dwb-navigation-height);
159
- min-height: 0;
160
- overflow-y: auto;
161
- scrollbar-width: thin;
162
- flex-shrink: 0;
163
- }
164
-
165
- [data-dwb-resized-navigation] > * { flex-shrink: 0; }
166
-
167
- .dwb-nav-buttons {
168
- position: absolute;
169
- top: 19px;
170
- inset-inline-start: var(--dwb-tile-start);
171
- z-index: 2;
172
- display: flex;
173
- gap: 1px;
174
- }
175
-
176
- .dwb-nav-buttons .dwb-nav-button {
177
- width: 23px;
178
- height: 26px;
179
- padding: 0;
180
- justify-content: center;
181
- }
182
-
183
- .dwb-nav-buttons .dwb-nav-button:disabled { cursor: default; }
184
-
185
- .dwb-path {
186
- position: absolute;
187
- top: calc(59px - var(--dwb-reveal-height));
188
- translate: 0 var(--dwb-reveal-size);
189
- inset-inline-start: var(--dwb-tile-start);
190
- width: calc(100cqi - var(--dwb-tile-start) - var(--dwb-edge-end));
191
- z-index: 2;
192
- box-sizing: border-box;
193
- display: flex;
194
- align-items: center;
195
- gap: 2px;
196
- min-width: 0;
197
- height: 30px;
198
- padding: 0 5px;
199
- overflow-x: auto;
200
- scrollbar-width: none;
201
- border: 0.5px solid var(--dsw-alias-border-l3);
202
- border-radius: var(--dsw-radius-md);
203
- background: var(--dsw-alias-bg-layer-1);
204
- }
205
-
206
- .dwb-crumb {
207
- display: inline-flex;
208
- flex: none;
209
- align-items: center;
210
- gap: 2px;
211
- white-space: nowrap;
212
- }
213
-
214
- .dwb-crumb button { min-height: 24px; height: 24px; padding-inline: 4px; font-size: 12px; }
215
- .dwb-current { padding: 0 4px; }
216
- .dwb-indicator { flex: none; color: var(--dsw-alias-label-tertiary); }
217
-
218
- .dwb-list {
219
- box-sizing: border-box;
220
- display: grid;
221
- grid-template-columns: repeat(auto-fill, minmax(min(100%, 76px), 1fr));
222
- gap: 4px 5px;
223
- list-style: none;
224
- width: calc(100cqi - var(--dwb-edge-end));
225
- margin: 8px 0 0;
226
- padding-inline: var(--dwb-tile-start) 0;
227
- }
228
-
229
- .dwb-list[data-dwb-display='icons'] { align-items: start; }
230
- .dwb-list > li { min-width: 0; position: relative; }
231
- .dwb-list > li[data-dwb-drop]::after {
232
- content: '';
233
- pointer-events: none;
234
- position: absolute;
235
- z-index: 1;
236
- border-radius: 2px;
237
- background: var(--dsw-alias-state-business-primary, #3975ea);
238
- }
239
- .dwb-list[data-dwb-display='icons'] > li[data-dwb-drop]::after { inset-block: 0; width: 2px; }
240
- .dwb-list[data-dwb-display='icons'] > li[data-dwb-drop='before']::after { inset-inline-start: -2px; }
241
- .dwb-list[data-dwb-display='icons'] > li[data-dwb-drop='after']::after { inset-inline-end: -2px; }
242
- .dwb-list[data-dwb-display='list'] > li[data-dwb-drop]::after { inset-inline: 0; height: 2px; }
243
- .dwb-list[data-dwb-display='list'] > li[data-dwb-drop='before']::after { inset-block-start: 0; }
244
- .dwb-list[data-dwb-display='list'] > li[data-dwb-drop='after']::after { inset-block-end: 0; }
245
-
246
- .dwb-list .dwb-tile {
247
- position: relative;
248
- width: 100%;
249
- height: auto;
250
- padding: 9px 4px 5px;
251
- flex-direction: column;
252
- justify-content: flex-start;
253
- gap: 5px;
254
- border-radius: var(--dsw-radius-md);
255
- font-size: 12px;
256
- font-weight: 400;
257
- line-height: 15px;
258
- color: var(--dsw-alias-label-primary);
259
- user-select: none;
260
- }
261
-
262
- .dwb-list .dwb-tile {
263
- --dwb-tile-fill: transparent;
264
- background: var(--dwb-tile-fill);
265
- }
266
-
267
- .dwb-list .dwb-tile[data-dwb-guide] { --dwb-tile-fill: #F1F3F5; }
268
- :where([data-ds-dark-theme]) .dwb-list .dwb-tile[data-dwb-guide] { --dwb-tile-fill: var(--dsw-alias-bg-layer-2); }
269
-
270
- @media (hover: hover) {
271
- .dwb-list .dwb-tile:hover { --dwb-tile-fill: var(--dsw-alias-interactive-bg-hover); }
272
- }
273
-
274
- .dwb-list .dwb-tile[aria-pressed='true'] { --dwb-tile-fill: var(--dsw-alias-interactive-bg-hover); }
275
-
276
- .dwb-list .dwb-tile[aria-current] {
277
- --dwb-tile-fill: var(--dsw-alias-interactive-bg-active);
278
- }
279
-
280
- .dwb-list .dwb-tile:is(:hover, :active):not(:disabled) { background: var(--dwb-tile-fill); }
281
-
282
- .dwb-tile-icon {
283
- position: relative;
284
- display: flex;
285
- align-items: center;
286
- justify-content: center;
287
- color: var(--dsw-alias-label-secondary);
288
- }
289
-
290
- .dwb-tile[aria-current] .dwb-tile-icon { color: var(--dsw-alias-state-business-primary, var(--dsw-alias-label-primary)); }
291
- .dwb-tile-icon img { display: block; object-fit: contain; }
292
- .dwb-session-icon {
293
- display: block;
294
- background: #C3C3C3;
295
- mask: center / contain no-repeat;
296
- }
297
- .dwb-tile[aria-current] .dwb-session-icon { background: #61666B; }
298
- :where([data-ds-dark-theme]) .dwb-session-icon { background: rgba(255, 255, 255, 0.45); }
299
- :where([data-ds-dark-theme]) .dwb-tile[aria-current] .dwb-session-icon { background: rgba(255, 255, 255, 0.85); }
300
-
301
- .dwb-label {
302
- display: -webkit-box;
303
- -webkit-box-orient: vertical;
304
- -webkit-line-clamp: 2;
305
- width: 100%;
306
- overflow: hidden;
307
- overflow-wrap: anywhere;
308
- white-space: normal;
309
- text-align: center;
310
- }
311
-
312
- .dwb-status { margin: 10px 8px; color: var(--dsw-alias-label-secondary); }
313
-
314
- .dwb-menu-icon { display: block; object-fit: contain; }
315
-
316
- .dwb-list[data-dwb-display='list'] { grid-template-columns: minmax(0, 1fr); gap: 0; }
317
-
318
- .dwb-list[data-dwb-display='list'] .dwb-tile {
319
- height: 32px;
320
- padding: 0 var(--dwb-list-item-padding);
321
- flex-direction: row;
322
- align-items: center;
323
- gap: 8px;
324
- font-size: 14px;
325
- }
326
-
327
- .dwb-list[data-dwb-display='list'] .dwb-tile-icon { flex: none; }
328
- .dwb-list[data-dwb-display='list'] .dwb-label {
329
- display: block;
330
- text-align: start;
331
- white-space: nowrap;
332
- text-overflow: ellipsis;
333
- }
334
-
335
- .dwb-notifications { display: inline-flex; align-items: center; flex: none; gap: 2px; }
336
- .dwb-notification { display: inline-flex; }
337
- .dwb-notification[data-dwb-notification='done'] {
338
- --dsw-alias-state-done-primary: #48AD00;
339
- --dsw-alias-state-success-primary: #48AD00;
340
- }
341
- .dwb-notification:is([data-dwb-notification='error'], [data-dwb-notification='warning']) {
342
- animation: dwb-notification-pulse 1.2s ease-in-out infinite;
343
- }
344
-
345
- .dwb-tile-status, .dwb-status-marks {
346
- display: flex;
347
- align-items: center;
348
- justify-content: flex-end;
349
- flex-wrap: wrap;
350
- gap: 2px 4px;
351
- color: var(--dsw-alias-label-secondary);
352
- }
353
- .dwb-tile-status:empty { display: none; }
354
- .dwb-running {
355
- display: inline-flex;
356
- flex: none;
357
- align-items: center;
358
- justify-content: center;
359
- min-block-size: 16px;
360
- padding-inline: 4px;
361
- border-radius: 4px;
362
- background: #D1E4C2;
363
- color: #3D9300;
364
- font-size: 11px;
365
- font-weight: 700;
366
- line-height: 14px;
367
- white-space: nowrap;
368
- }
369
- :where([data-ds-dark-theme]) .dwb-running {
370
- background: rgba(61, 147, 0, 0.24);
371
- color: #7ED04B;
372
- }
373
- .dwb-running[data-dwb-running-count] {
374
- box-sizing: border-box;
375
- aspect-ratio: 1;
376
- block-size: 16px;
377
- min-inline-size: 16px;
378
- }
379
- .dwb-row-mark { display: inline-flex; flex: none; }
380
- .dwb-tile-status .dwb-notifications { flex-direction: row-reverse; flex-wrap: wrap; justify-content: flex-start; max-inline-size: 100%; }
381
-
382
- .dwb-list[data-dwb-display='icons'] .dwb-tile-status {
383
- --dwb-corner-inset: 3px;
384
- position: absolute;
385
- inset: var(--dwb-corner-inset) var(--dwb-corner-inset) auto;
386
- justify-content: flex-start;
387
- flex-wrap: nowrap;
388
- pointer-events: none;
389
- z-index: 1;
390
- }
391
- .dwb-list[data-dwb-display='icons'] .dwb-running {
392
- border-radius: max(0px, calc(var(--dsw-radius-md) - var(--dwb-corner-inset)));
393
- }
394
- .dwb-list[data-dwb-display='icons'] .dwb-tile-status > .dwb-notifications {
395
- flex: 0 1 auto;
396
- min-inline-size: 0;
397
- justify-content: flex-end;
398
- order: -1;
399
- max-block-size: 24px;
400
- overflow: hidden;
401
- }
402
- .dwb-tile[data-dwb-kind='folder'] .dwb-tile-status,
403
- .dwb-tile[data-dwb-kind='folder'] .dwb-notifications {
404
- gap: 4px;
405
- }
406
- .dwb-tile[data-dwb-kind='folder'] .dwb-notification,
407
- .dwb-list[data-dwb-display='icons'] .dwb-tile .dwb-notification {
408
- /* StateDot paints the middle 60% of its 22px box. Space the visible circles. */
409
- position: relative;
410
- flex: none;
411
- inline-size: 13.2px;
412
- block-size: 22px;
413
- }
414
- .dwb-tile[data-dwb-kind='folder'] .dwb-notification > [data-state],
415
- .dwb-list[data-dwb-display='icons'] .dwb-tile .dwb-notification > [data-state] {
416
- position: absolute;
417
- left: calc(50% - 11px);
418
- }
419
- .dwb-list[data-dwb-display='icons'] .dwb-tile-status:has(> .dwb-notifications) {
420
- inset-inline-start: calc(var(--dsw-radius-md) - 6.6px);
421
- inset-block-start: calc(var(--dsw-radius-md) - 11px);
422
- }
423
- .dwb-list[data-dwb-display='icons'] .dwb-status-marks {
424
- flex: none;
425
- margin-inline-start: auto;
426
- max-inline-size: 50%;
427
- max-block-size: 24px;
428
- overflow: hidden;
429
- }
430
- .dwb-list[data-dwb-display='list'] .dwb-tile-status {
431
- flex: none;
432
- max-inline-size: 60%;
433
- max-block-size: 100%;
434
- overflow-y: auto;
435
- scrollbar-width: none;
436
- }
437
-
438
- @keyframes dwb-notification-pulse { 50% { opacity: 0.35; } }
439
- @media (prefers-reduced-motion: reduce) { .dwb-notification[data-dwb-notification] { animation: none; } }
1
+ [data-dwb-grid] > :not(.dwb-mount) { display: none; }
2
+ .dwb-mount[hidden] { display: none; }
3
+ .dwb-toolbar-mount[hidden], .dwb-address-mount[hidden] { display: none; }
4
+
5
+ @property --dwb-reveal-size {
6
+ syntax: '<length>';
7
+ inherits: true;
8
+ initial-value: 0px;
9
+ }
10
+
11
+ [data-dwb-layout] {
12
+ --dwb-edge-end: 9px;
13
+ --dwb-content-start: 14px;
14
+ --dwb-list-item-padding: 8px;
15
+ --dwb-nav-width: 95px;
16
+ --dwb-tile-start: calc(var(--dwb-content-start) - var(--dwb-list-item-padding));
17
+ --dwb-heading-opacity: 1;
18
+ --dwb-heading-visibility: visible;
19
+ --dwb-heading-hide-delay: 0ms;
20
+ --dwb-reveal-height: 40px;
21
+ --dwb-reveal-delay: 0ms;
22
+ --dwb-reveal-size: 0px;
23
+ --dwb-control-opacity: 0;
24
+ --dwb-control-visibility: hidden;
25
+ --dwb-fade-duration: 42.5ms;
26
+ --dwb-visibility-delay: 42.5ms;
27
+ container-type: inline-size;
28
+ min-block-size: 0;
29
+ position: relative;
30
+ transition: --dwb-reveal-size 95ms ease var(--dwb-reveal-delay);
31
+ }
32
+
33
+ [data-dwb-layout]:is([data-dwb-reveal-held], [data-dwb-reveal-hover], :has(> .dwb-toolbar-mount .dwb-nav-buttons :focus-visible, > [data-dwb-header] :focus-visible, > .dwb-address-mount :focus-visible)) {
34
+ --dwb-reveal-delay: 50ms;
35
+ --dwb-reveal-size: var(--dwb-reveal-height);
36
+ --dwb-heading-opacity: 0;
37
+ --dwb-heading-visibility: hidden;
38
+ --dwb-heading-hide-delay: 117.5ms;
39
+ --dwb-control-opacity: 1;
40
+ --dwb-control-visibility: visible;
41
+ --dwb-fade-duration: 67.5ms;
42
+ --dwb-visibility-delay: var(--dwb-reveal-delay);
43
+ }
44
+
45
+ /* DSH's shared scrollport normally sizes its workspace row to its content.
46
+ Give the browser's own scroll area the remaining height in folder mode. */
47
+ [data-sidebar-scrollport]:has([data-dwb-grid]) {
48
+ grid-template-rows: 8px max-content 2px minmax(0, 1fr);
49
+ overflow: hidden;
50
+ }
51
+
52
+ [data-sidebar-scrollport] [data-dwb-layout]:has(> [data-dwb-grid]) {
53
+ flex: 1 1 0;
54
+ }
55
+
56
+ [data-slot='sidebar.workspaces'] [data-dwb-layout] > [data-dwb-grid] {
57
+ margin-inline: 0;
58
+ padding-inline: 0;
59
+ flex: 1 1 0;
60
+ min-block-size: 0;
61
+ display: block;
62
+ overflow: hidden;
63
+ overflow-y: auto;
64
+ overscroll-behavior-y: contain;
65
+ }
66
+
67
+ .dwb-heading[hidden], [data-dwb-replaced-heading] { display: none; }
68
+ .dwb-heading {
69
+ display: flex;
70
+ align-items: center;
71
+ gap: 4px;
72
+ max-width: calc(100cqi - var(--dsh-sidebar-row-padding, 12px) - 104px);
73
+ min-width: 0;
74
+ flex: none;
75
+ white-space: nowrap;
76
+ line-height: 20px;
77
+ height: 22px;
78
+ position: absolute;
79
+ top: 21px;
80
+ inset-inline-start: var(--dwb-content-start);
81
+ z-index: 3;
82
+ pointer-events: none;
83
+ }
84
+
85
+ .dwb-heading:has(> .dwb-notifications) {
86
+ /* Center the 22px dot in the same 23px slot as the back arrow. */
87
+ inset-inline-start: calc(var(--dwb-tile-start) + 0.5px);
88
+ }
89
+
90
+ .dwb-heading-name {
91
+ overflow: hidden;
92
+ text-overflow: ellipsis;
93
+ translate: 0 var(--dwb-reveal-size);
94
+ opacity: var(--dwb-heading-opacity);
95
+ visibility: var(--dwb-heading-visibility);
96
+ transition: opacity 67.5ms ease var(--dwb-reveal-delay), visibility 0s linear var(--dwb-heading-hide-delay);
97
+ }
98
+
99
+ [data-dwb-header]:has(button[aria-expanded='true']) .dwb-heading-name { display: none; }
100
+
101
+ [data-slot='sidebar.workspaces'] [data-dwb-layout] > .dwb-toolbar-mount + [data-dwb-header] {
102
+ margin-block-start: 0;
103
+ }
104
+
105
+ [data-slot='sidebar.workspaces'] [data-dwb-layout] > [data-dwb-header]:has(button[aria-expanded='true']) {
106
+ padding-inline-start: calc(var(--dwb-tile-start) + var(--dwb-nav-width));
107
+ }
108
+
109
+ [data-slot='sidebar.workspaces'] [data-dwb-layout] > [data-dwb-header]:not(:has(button[aria-expanded='true'])) {
110
+ margin-inline-end: 0;
111
+ /* The native header reserves one 4px gap after its tool group. */
112
+ padding-inline-end: calc(var(--dwb-edge-end) - 4px);
113
+ }
114
+
115
+ .dwb-menu-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
116
+ .dwb-menu-label svg { flex: none; }
117
+
118
+ /* In this grouping mode, only the new grouping row carries a check. */
119
+ [data-dwb-selected] .dwb-native-group > svg:last-child { visibility: hidden; }
120
+
121
+ .dwb-browser {
122
+ min-width: 0;
123
+ padding: 0 0 10px;
124
+ color: var(--dsw-alias-label-primary);
125
+ font-size: 13px;
126
+ }
127
+
128
+ .dwb-toolbar-mount { flex: none; }
129
+ .dwb-reveal-zone {
130
+ min-height: 2px;
131
+ padding-block-end: 2px;
132
+ }
133
+
134
+ .dwb-address-mount {
135
+ flex: none;
136
+ block-size: var(--dwb-reveal-size);
137
+ }
138
+
139
+ .dwb-reveal-control {
140
+ visibility: var(--dwb-control-visibility);
141
+ opacity: var(--dwb-control-opacity);
142
+ transition: opacity var(--dwb-fade-duration) ease var(--dwb-reveal-delay),
143
+ visibility 0s linear var(--dwb-visibility-delay);
144
+ }
145
+
146
+ @media (prefers-reduced-motion: reduce) {
147
+ .dwb-reveal-control, .dwb-heading-name, [data-dwb-layout] { transition: none; }
148
+ }
149
+
150
+ .dwb-divider {
151
+ position: relative;
152
+ width: 100cqi;
153
+ height: 12px;
154
+ touch-action: none;
155
+ }
156
+
157
+ .dwb-divider[role='separator'] { cursor: row-resize; }
158
+
159
+ .dwb-divider::before {
160
+ content: '';
161
+ position: absolute;
162
+ inset: 50% 0 auto;
163
+ transform: translateY(-50%);
164
+ pointer-events: none;
165
+ border-top: 0.5px solid var(--dsw-alias-border-l3);
166
+ }
167
+
168
+ [data-dwb-resized-navigation] {
169
+ height: var(--dwb-navigation-height);
170
+ min-height: 0;
171
+ overflow-y: auto;
172
+ scrollbar-width: thin;
173
+ flex-shrink: 0;
174
+ }
175
+
176
+ [data-dwb-resized-navigation] > * { flex-shrink: 0; }
177
+
178
+ .dwb-nav-buttons {
179
+ position: absolute;
180
+ top: 19px;
181
+ inset-inline-start: var(--dwb-tile-start);
182
+ z-index: 2;
183
+ display: flex;
184
+ gap: 1px;
185
+ }
186
+
187
+ .dwb-nav-buttons .dwb-nav-button {
188
+ width: 23px;
189
+ height: 26px;
190
+ padding: 0;
191
+ justify-content: center;
192
+ }
193
+
194
+ .dwb-nav-buttons .dwb-nav-button:disabled { cursor: default; }
195
+
196
+ .dwb-path {
197
+ position: absolute;
198
+ top: calc(59px - var(--dwb-reveal-height));
199
+ translate: 0 var(--dwb-reveal-size);
200
+ inset-inline-start: var(--dwb-tile-start);
201
+ width: calc(100cqi - var(--dwb-tile-start) - var(--dwb-edge-end));
202
+ z-index: 2;
203
+ box-sizing: border-box;
204
+ display: flex;
205
+ align-items: center;
206
+ gap: 2px;
207
+ min-width: 0;
208
+ height: 30px;
209
+ padding: 0 5px;
210
+ overflow-x: auto;
211
+ scrollbar-width: none;
212
+ border: 0.5px solid var(--dsw-alias-border-l3);
213
+ border-radius: var(--dsw-radius-md);
214
+ background: var(--dsw-alias-bg-layer-1);
215
+ }
216
+
217
+ .dwb-crumb {
218
+ display: inline-flex;
219
+ flex: none;
220
+ align-items: center;
221
+ gap: 2px;
222
+ white-space: nowrap;
223
+ }
224
+
225
+ .dwb-crumb button { min-height: 24px; height: 24px; padding-inline: 4px; font-size: 12px; }
226
+ .dwb-current { padding: 0 4px; }
227
+ .dwb-indicator { flex: none; color: var(--dsw-alias-label-tertiary); }
228
+
229
+ .dwb-list {
230
+ box-sizing: border-box;
231
+ display: grid;
232
+ grid-template-columns: repeat(auto-fill, minmax(min(100%, 76px), 1fr));
233
+ gap: 4px 5px;
234
+ list-style: none;
235
+ width: calc(100cqi - var(--dwb-edge-end));
236
+ margin: 8px 0 0;
237
+ padding-inline: var(--dwb-tile-start) 0;
238
+ }
239
+
240
+ .dwb-list[data-dwb-display='icons'] { align-items: start; }
241
+ .dwb-list > li { min-width: 0; position: relative; }
242
+ .dwb-list > li[data-dwb-drop]::after {
243
+ content: '';
244
+ pointer-events: none;
245
+ position: absolute;
246
+ z-index: 1;
247
+ border-radius: 2px;
248
+ background: var(--dsw-alias-state-business-primary, #3975ea);
249
+ }
250
+ .dwb-list[data-dwb-display='icons'] > li[data-dwb-drop]::after { inset-block: 0; width: 2px; }
251
+ .dwb-list[data-dwb-display='icons'] > li[data-dwb-drop='before']::after { inset-inline-start: -2px; }
252
+ .dwb-list[data-dwb-display='icons'] > li[data-dwb-drop='after']::after { inset-inline-end: -2px; }
253
+ .dwb-list[data-dwb-display='list'] > li[data-dwb-drop]::after { inset-inline: 0; height: 2px; }
254
+ .dwb-list[data-dwb-display='list'] > li[data-dwb-drop='before']::after { inset-block-start: 0; }
255
+ .dwb-list[data-dwb-display='list'] > li[data-dwb-drop='after']::after { inset-block-end: 0; }
256
+ .dwb-list[data-dwb-lifted='true'] .dwb-tile { cursor: grabbing; }
257
+
258
+ .dwb-list .dwb-tile {
259
+ position: relative;
260
+ width: 100%;
261
+ height: auto;
262
+ padding: 9px 4px 5px;
263
+ flex-direction: column;
264
+ justify-content: flex-start;
265
+ gap: 5px;
266
+ border-radius: var(--dsw-radius-md);
267
+ font-size: 12px;
268
+ font-weight: 400;
269
+ line-height: 15px;
270
+ color: var(--dsw-alias-label-primary);
271
+ user-select: none;
272
+ }
273
+
274
+ .dwb-list .dwb-tile {
275
+ --dwb-tile-fill: transparent;
276
+ background: var(--dwb-tile-fill);
277
+ }
278
+
279
+ .dwb-list .dwb-tile[data-dwb-guide] { --dwb-tile-fill: #F1F3F5; }
280
+ :where([data-ds-dark-theme]) .dwb-list .dwb-tile[data-dwb-guide] { --dwb-tile-fill: var(--dsw-alias-bg-layer-2); }
281
+
282
+ @media (hover: hover) {
283
+ .dwb-list .dwb-tile:hover { --dwb-tile-fill: var(--dsw-alias-interactive-bg-hover); }
284
+ }
285
+
286
+ .dwb-list .dwb-tile[aria-pressed='true'] { --dwb-tile-fill: var(--dsw-alias-interactive-bg-hover); }
287
+
288
+ .dwb-list .dwb-tile[aria-current] {
289
+ --dwb-tile-fill: var(--dsw-alias-interactive-bg-active);
290
+ }
291
+
292
+ .dwb-list .dwb-tile:is(:hover, :active):not(:disabled) { background: var(--dwb-tile-fill); }
293
+
294
+ .dwb-tile-icon {
295
+ position: relative;
296
+ display: flex;
297
+ align-items: center;
298
+ justify-content: center;
299
+ color: var(--dsw-alias-label-secondary);
300
+ }
301
+
302
+ .dwb-tile[aria-current] .dwb-tile-icon { color: var(--dsw-alias-state-business-primary, var(--dsw-alias-label-primary)); }
303
+ .dwb-tile-icon img { display: block; object-fit: contain; }
304
+ .dwb-session-icon {
305
+ display: block;
306
+ background: #C3C3C3;
307
+ mask: center / contain no-repeat;
308
+ }
309
+ .dwb-tile[aria-current] .dwb-session-icon { background: #61666B; }
310
+ :where([data-ds-dark-theme]) .dwb-session-icon { background: rgba(255, 255, 255, 0.45); }
311
+ :where([data-ds-dark-theme]) .dwb-tile[aria-current] .dwb-session-icon { background: rgba(255, 255, 255, 0.85); }
312
+
313
+ .dwb-label {
314
+ display: -webkit-box;
315
+ -webkit-box-orient: vertical;
316
+ -webkit-line-clamp: 2;
317
+ width: 100%;
318
+ overflow: hidden;
319
+ overflow-wrap: anywhere;
320
+ white-space: normal;
321
+ text-align: center;
322
+ }
323
+
324
+ .dwb-status { margin: 10px 8px; color: var(--dsw-alias-label-secondary); }
325
+
326
+ .dwb-menu-icon { display: block; object-fit: contain; }
327
+
328
+ .dwb-list[data-dwb-display='list'] { grid-template-columns: minmax(0, 1fr); gap: 0; }
329
+
330
+ .dwb-list[data-dwb-display='list'] .dwb-tile {
331
+ height: 32px;
332
+ padding: 0 var(--dwb-list-item-padding);
333
+ flex-direction: row;
334
+ align-items: center;
335
+ gap: 8px;
336
+ font-size: 14px;
337
+ }
338
+
339
+ .dwb-list[data-dwb-display='list'] .dwb-tile-icon { flex: none; }
340
+ .dwb-list[data-dwb-display='list'] .dwb-label {
341
+ display: block;
342
+ text-align: start;
343
+ white-space: nowrap;
344
+ text-overflow: ellipsis;
345
+ }
346
+
347
+ .dwb-notifications { display: inline-flex; align-items: center; flex: none; gap: 2px; }
348
+ .dwb-notification { display: inline-flex; }
349
+ .dwb-notification[data-dwb-notification='done'] {
350
+ --dsw-alias-state-done-primary: #48AD00;
351
+ --dsw-alias-state-success-primary: #48AD00;
352
+ }
353
+ .dwb-notification:is([data-dwb-notification='error'], [data-dwb-notification='warning']) {
354
+ animation: dwb-notification-pulse 1.2s ease-in-out infinite;
355
+ }
356
+
357
+ .dwb-tile-status, .dwb-status-marks {
358
+ display: flex;
359
+ align-items: center;
360
+ justify-content: flex-end;
361
+ flex-wrap: wrap;
362
+ gap: 2px 4px;
363
+ color: var(--dsw-alias-label-secondary);
364
+ }
365
+ .dwb-tile-status:empty { display: none; }
366
+ .dwb-running {
367
+ display: inline-flex;
368
+ flex: none;
369
+ align-items: center;
370
+ justify-content: center;
371
+ min-block-size: 16px;
372
+ padding-inline: 4px;
373
+ border-radius: 4px;
374
+ background: #D1E4C2;
375
+ color: #3D9300;
376
+ font-size: 11px;
377
+ font-weight: 700;
378
+ line-height: 14px;
379
+ white-space: nowrap;
380
+ }
381
+ :where([data-ds-dark-theme]) .dwb-running {
382
+ background: rgba(61, 147, 0, 0.24);
383
+ color: #7ED04B;
384
+ }
385
+ .dwb-running[data-dwb-running-count] {
386
+ box-sizing: border-box;
387
+ aspect-ratio: 1;
388
+ block-size: 16px;
389
+ min-inline-size: 16px;
390
+ }
391
+ .dwb-row-mark { display: inline-flex; flex: none; }
392
+ .dwb-tile-status .dwb-notifications { flex-direction: row-reverse; flex-wrap: wrap; justify-content: flex-start; max-inline-size: 100%; }
393
+
394
+ .dwb-list[data-dwb-display='icons'] .dwb-tile-status {
395
+ --dwb-corner-inset: 3px;
396
+ position: absolute;
397
+ inset: var(--dwb-corner-inset) var(--dwb-corner-inset) auto;
398
+ justify-content: flex-start;
399
+ flex-wrap: nowrap;
400
+ pointer-events: none;
401
+ z-index: 1;
402
+ }
403
+ .dwb-list[data-dwb-display='icons'] .dwb-running {
404
+ border-radius: max(0px, calc(var(--dsw-radius-md) - var(--dwb-corner-inset)));
405
+ }
406
+ .dwb-list[data-dwb-display='icons'] .dwb-tile-status > .dwb-notifications {
407
+ flex: 0 1 auto;
408
+ min-inline-size: 0;
409
+ justify-content: flex-end;
410
+ order: -1;
411
+ max-block-size: 24px;
412
+ overflow: hidden;
413
+ }
414
+ .dwb-tile[data-dwb-kind='folder'] .dwb-tile-status,
415
+ .dwb-tile[data-dwb-kind='folder'] .dwb-notifications {
416
+ gap: 4px;
417
+ }
418
+ .dwb-tile[data-dwb-kind='folder'] .dwb-notification,
419
+ .dwb-list[data-dwb-display='icons'] .dwb-tile .dwb-notification {
420
+ /* StateDot paints the middle 60% of its 22px box. Space the visible circles. */
421
+ position: relative;
422
+ flex: none;
423
+ inline-size: 13.2px;
424
+ block-size: 22px;
425
+ }
426
+ .dwb-tile[data-dwb-kind='folder'] .dwb-notification > [data-state],
427
+ .dwb-list[data-dwb-display='icons'] .dwb-tile .dwb-notification > [data-state] {
428
+ position: absolute;
429
+ left: calc(50% - 11px);
430
+ }
431
+ .dwb-list[data-dwb-display='icons'] .dwb-tile-status:has(> .dwb-notifications) {
432
+ inset-inline-start: calc(var(--dsw-radius-md) - 6.6px);
433
+ inset-block-start: calc(var(--dsw-radius-md) - 11px);
434
+ }
435
+ .dwb-list[data-dwb-display='icons'] .dwb-status-marks {
436
+ flex: none;
437
+ margin-inline-start: auto;
438
+ max-inline-size: 50%;
439
+ max-block-size: 24px;
440
+ overflow: hidden;
441
+ }
442
+ .dwb-list[data-dwb-display='list'] .dwb-tile-status {
443
+ flex: none;
444
+ max-inline-size: 60%;
445
+ max-block-size: 100%;
446
+ overflow-y: auto;
447
+ scrollbar-width: none;
448
+ }
449
+
450
+ @keyframes dwb-notification-pulse { 50% { opacity: 0.35; } }
451
+ @media (prefers-reduced-motion: reduce) { .dwb-notification[data-dwb-notification] { animation: none; } }
452
+
453
+ .dwb-settings {
454
+ width: min(400px, calc(100vw - 48px));
455
+ box-sizing: border-box;
456
+ padding: 24px;
457
+ border: 1px solid var(--dsw-alias-border-l3);
458
+ border-radius: var(--dsw-radius-md, 12px);
459
+ color: var(--dsw-alias-label-primary);
460
+ background: var(--dsw-alias-bg-layer-1);
461
+ font: inherit;
462
+ }
463
+ .dwb-settings::backdrop { background: rgb(0 0 0 / 25%); }
464
+ .dwb-settings h2 { margin: 0 0 24px; font-size: 18px; }
465
+ .dwb-settings fieldset { border: 0; padding: 0; margin: 0 0 24px; }
466
+ .dwb-settings legend { padding: 0; margin-bottom: 12px; }
467
+ .dwb-settings label { display: inline-flex; align-items: center; gap: 6px; margin-inline-end: 24px; }
468
+
469
+ .dwb-group-row { display: flex; align-items: center; gap: 2px; }
470
+ .dwb-group-row > :first-child { flex: 1; min-width: 0; }
471
+ .dwb-group-row .dwb-group-settings { flex: none; width: 28px; height: 28px; padding: 0; justify-content: center; }
472
+ .dwb-group-settings img { display: block; }