@vuu-ui/vuu-layout 0.8.23-debug → 0.8.23

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/index.css CHANGED
@@ -1,862 +1,2 @@
1
- /* src/dock-layout/Drawer.css */
2
- .vuuDrawer {
3
- --drawer-leading-edge-border: solid 1px var(--salt-container-primary-borderColor, none);
4
- --vuu-close-icon-svg: var(--svg-chevron-double-right);
5
- transition: flex-basis;
6
- transition-duration: var(--drawer-transition-duration);
7
- position: relative;
8
- z-index: 1;
9
- flex-basis: 0;
10
- flex-grow: 1;
11
- flex-shrink: 1;
12
- min-width: 0;
13
- min-height: 0;
14
- display: flex;
15
- }
16
- .vuuDrawer-peekaboo {
17
- flex-basis: var(--drawer-peek-size);
18
- flex-grow: 0;
19
- flex-shrink: 0;
20
- }
21
- .vuuDrawer-inline.vuuDrawer-open {
22
- flex-basis: var(--drawer-size);
23
- flex-grow: 0;
24
- flex-shrink: 0;
25
- }
26
- .vuuDrawer-liner {
27
- background-color: var(--drawer-bg);
28
- overflow: hidden;
29
- position: relative;
30
- }
31
- .vuuDrawer-content {
32
- height: 100%;
33
- overflow: hidden;
34
- position: absolute;
35
- top: 0;
36
- right: var(--drawer-peek-size);
37
- transition: right;
38
- transition-duration: var(--drawer-transition-duration);
39
- width: 100%;
40
- flex: 1 1 100%;
41
- }
42
- .vuuDrawer-open .vuuDrawer-content {
43
- right: 0;
44
- }
45
- .vuuDrawer-left {
46
- border-right: var(--drawer-leading-edge-border);
47
- }
48
- .vuuDrawer-right {
49
- border-left: var(--drawer-leading-edge-border);
50
- }
51
- .vuuDrawer-top {
52
- border-bottom: var(--drawer-leading-edge-border);
53
- }
54
- .vuuDrawer-bottom {
55
- border-top: var(--drawer-leading-edge-border);
56
- }
57
- .vuuDrawer-left .vuuDrawer-liner,
58
- .vuuDrawer-right .vuuDrawer-liner {
59
- height: 100%;
60
- transition: width;
61
- }
62
- .vuuDrawer-top .vuuDrawer-liner,
63
- .vuuDrawer-bottom .vuuDrawer-liner {
64
- width: 100%;
65
- transition: height;
66
- }
67
- .vuuDrawer-inline .vuuDrawer-liner {
68
- width: 100%;
69
- height: 100%;
70
- }
71
- .vuuDrawer-over .vuuDrawer-liner {
72
- position: absolute;
73
- transition-duration: 0.4s;
74
- }
75
- .vuuDrawer-over.vuuDrawer-left .vuuDrawer-liner {
76
- top: 0;
77
- left: 0;
78
- width: 0;
79
- }
80
- .vuuDrawer-over.vuuDrawer-right .vuuDrawer-liner {
81
- top: 0;
82
- right: 0;
83
- width: 0;
84
- }
85
- .vuuDrawer-over.vuuDrawer-top .vuuDrawer-liner {
86
- height: 0;
87
- top: 0;
88
- left: 0;
89
- }
90
- .vuuDrawer-over.vuuDrawer-bottom .vuuDrawer-liner {
91
- bottom: 0;
92
- height: 0;
93
- left: 0;
94
- }
95
- .vuuDrawer-left.vuuDrawer-over.vuuDrawer-peekaboo .vuuDrawer-liner,
96
- .vuuDrawer-right.vuuDrawer-over.vuuDrawer-peekaboo .vuuDrawer-liner {
97
- width: var(--drawer-peek-size);
98
- }
99
- .vuuDrawer-top.vuuDrawer-over.vuuDrawer-peekaboo .vuuDrawer-liner,
100
- .vuuDrawer-bottom.vuuDrawer-over.vuuDrawer-peekaboo .vuuDrawer-liner {
101
- height: var(--drawer-peek-size);
102
- }
103
- .vuuDrawer-left.vuuDrawer-over.vuuDrawer-open .vuuDrawer-liner,
104
- .vuuDrawer-right.vuuDrawer-over.vuuDrawer-open .vuuDrawer-liner {
105
- width: var(--drawer-size);
106
- }
107
- .vuuDrawer-top.vuuDrawer-over.vuuDrawer-open .vuuDrawer-liner,
108
- .vuuDrawer-bottom.vuuDrawer-over.vuuDrawer-open .vuuDrawer-liner {
109
- height: var(--drawer-size);
110
- }
111
- .vuuDrawer-top,
112
- .vuuDrawer-left {
113
- order: 0;
114
- }
115
- .vuuDrawer-bottom,
116
- .vuuDrawer-right {
117
- order: 99;
118
- }
119
- .vuuDrawer-left,
120
- .vuuDrawer-right {
121
- flex-direction: column;
122
- }
123
- .vuuToggleButton-container {
124
- --saltButton-height: 28px;
125
- --saltButton-width: 28px;
126
- --vuu-icon-size: 12px;
127
- flex: 0 0 28px;
128
- }
129
- .vuuDrawer-open {
130
- --vuu-close-icon-svg: var(--svg-chevron-double-left);
131
- }
132
-
133
- /* src/dock-layout/DockLayout.css */
134
- .vuuDockLayout {
135
- --chest-bg: var(--hw-chest-bg, inherit);
136
- --drawer-bg: var(--hw-drawer-bg, inherit);
137
- --drawer-size: var(--hw-drawer-size, 200px);
138
- --drawer-peek-size: var(--hw-drawer-peek-size, 32px);
139
- --drawer-transition-duration: var(--hw-drawer-transition-duration, 0.4s);
140
- background-color: var(--chest-bg);
141
- display: flex;
142
- }
143
- .vuuDockLayout-horizontal {
144
- flex-direction: row;
145
- }
146
- .vuuDockLayout-vertical {
147
- flex-direction: column;
148
- }
149
- .vuuDockLayout-content {
150
- background-color: var(--chest-bg);
151
- flex-grow: 1;
152
- flex-shrink: 1;
153
- overflow: hidden;
154
- display: flex;
155
- align-items: center;
156
- justify-content: center;
157
- }
158
- .vuuDockLayout-horizontal .vuuDockLayout-content {
159
- flex-basis: 100%;
160
- }
161
- .vuuDockLayout-vertical .vuuDockLayout-content {
162
- flex-basis: 100%;
163
- }
164
-
165
- /* src/Component.css */
166
-
167
- /* src/drag-drop/DropMenu.css */
168
- .vuuDropMenu {
169
- margin-left: -50%;
170
- margin-bottom: -50%;
171
- background-color: white;
172
- border: solid 1px var(--grey40);
173
- display: inline-flex;
174
- justify-content: center;
175
- align-items: center;
176
- padding: 3px;
177
- border-radius: 3px;
178
- }
179
- .vuuDropMenu-left,
180
- .vuuDropMenu-right {
181
- flex-direction: column;
182
- }
183
- .vuuDropMenu-bottom {
184
- transform: translate(0, -30px);
185
- }
186
- .vuuDropMenu-right {
187
- transform: translate(-20px, 0);
188
- }
189
- .vuuDropMenu-item {
190
- --vuu-icon-size: 20px;
191
- width: 32px;
192
- height: 32px;
193
- background-color: var(--grey20);
194
- border-bottom: solid 1px var(--grey40);
195
- cursor: pointer;
196
- display: flex;
197
- align-items: center;
198
- justify-content: center;
199
- }
200
- .vuuDropMenu-item .Icon {
201
- transform: scale(1.25);
202
- transform-origin: center center;
203
- }
204
- .vuuDropMenu-left .vuuDropMenu-item .hwIcon {
205
- transform: scale(1.25) rotate(180deg);
206
- transform-origin: center center;
207
- }
208
- .vuuDropMenu-top .vuuDropMenu-item .hwIcon {
209
- transform: scale(1.25) rotate(270deg);
210
- transform-origin: center center;
211
- }
212
- .vuuDropMenu-bottom .vuuDropMenu-item .hwIcon {
213
- transform: scale(1.25) rotate(90deg);
214
- transform-origin: center center;
215
- }
216
- .vuuDropMenu-item .hwIcon-path {
217
- fill: grey;
218
- }
219
- .vuuDropMenu-item:hover {
220
- background-color: rgba(200, 200, 200, 0.5);
221
- }
222
- .vuuDropMenu-item:hover .hwIcon-path-2 {
223
- fill: blue;
224
- }
225
- .vuuDropMenu-item:last-child {
226
- border-bottom: none;
227
- }
228
-
229
- /* src/drag-drop/DropTargetRenderer.css */
230
- #hw-drag-canvas {
231
- visibility: hidden;
232
- z-index: 10;
233
- position: absolute;
234
- top: 0px;
235
- left: 0;
236
- right: 0;
237
- bottom: 0;
238
- background-color: transparent;
239
- }
240
- #hw-drag-canvas > svg {
241
- position: absolute;
242
- }
243
- .drawing #hw-drag-canvas {
244
- visibility: visible;
245
- }
246
- path.drop-target {
247
- stroke: blue;
248
- stroke-width: 4px;
249
- fill: transparent;
250
- }
251
- path.drop-target.centre {
252
- stroke: red;
253
- }
254
- #vuu-drop-outline {
255
- fill: rgba(0, 0, 255, .3);
256
- stroke: none;
257
- stroke-dasharray: 4 2;
258
- }
259
- #hw-drop-guides {
260
- fill: none;
261
- stroke: rgba(0, 0, 0, 0.3);
262
- stroke-dasharray: 2 3;
263
- }
264
-
265
- /* src/DraggableLayout.css */
266
- .DraggableLayout {
267
- display: inline-block;
268
- outline: none;
269
- }
270
- [data-dragging=true] {
271
- position: absolute !important;
272
- z-index: 100;
273
- }
274
- .vuuSimpleDraggableWrapper {
275
- background-color: white;
276
- box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.2);
277
- }
278
- .vuuSimpleDraggableWrapper > * {
279
- height: 100%;
280
- width: 100%;
281
- }
282
-
283
- /* src/layout-header/Header.css */
284
- .vuuHeader {
285
- --saltButton-height: 24px;
286
- --saltButton-width: 24px;
287
- }
288
- .salt-density-high .vuuHeader {
289
- --saltToolbarField-marginTop: 0;
290
- }
291
-
292
- /* src/layout-view/View.css */
293
- .vuuView {
294
- border-color: var(--vuuView-borderColor, var(--salt-container-primary-borderColor));
295
- border-width: var(--vuuView-borderWidth, 1px);
296
- border-style: var(--vuuView-borderStyle, none);
297
- display: flex;
298
- flex-direction: column;
299
- margin: var(--vuuView-margin, 0px);
300
- min-height: 50px;
301
- min-width: 50px;
302
- outline: none;
303
- overflow: hidden;
304
- position: relative;
305
- }
306
- .vuuView.focus-visible:after {
307
- content: "";
308
- position: absolute;
309
- top: 0;
310
- left: 0;
311
- right: 0;
312
- bottom: 0;
313
- border: dotted cornflowerblue 2px;
314
- }
315
- .vuuView.dragging {
316
- box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
317
- }
318
- .vuuView-main {
319
- display: flex;
320
- flex-direction: var(--vuuView-flexDirection, column);
321
- flex-wrap: var(--vuuView-flex-wrap, nowrap);
322
- flex: 1;
323
- justify-content: var(--vuuView-justify, flex-start);
324
- overflow: hidden;
325
- position: relative;
326
- }
327
- .vuuView-main > * {
328
- flex-basis: auto;
329
- flex-grow: var(--vuuView-flex-grow, 1);
330
- flex-shrink: var(--vuuView-flex-shrink, 1);
331
- }
332
- .vuuView-collapsed .vuuView-main {
333
- display: none;
334
- }
335
- .vuuView-collapsed + .Splitter {
336
- display: none;
337
- }
338
- .vuuView-collapsed .Toolbar-vertical {
339
- border-right: solid 1px var(--grey40);
340
- }
341
- .vuuView-collapsed .Toolbar-vertical .toolbar-title {
342
- display: none;
343
- }
344
-
345
- /* src/placeholder/LayoutStartPanel.css */
346
- .vuuLayoutStartPanel {
347
- align-items: center;
348
- flex: 0 0 auto !important;
349
- display: flex;
350
- flex-direction: column;
351
- font-weight: 700;
352
- gap: 12px;
353
- }
354
- .vuuLayoutStartPanel-title {
355
- color: var(--vuu-color-gray-80);
356
- font-size: 28px;
357
- line-height: 1.5;
358
- text-align: center;
359
- }
360
- .vuuLayoutStartPanel-text {
361
- color: var(--vuu-color-gray-50);
362
- font-size: 18px;
363
- line-height: 1.5;
364
- max-width: 460px;
365
- }
366
- .vuuLayoutStartPanel-addButton {
367
- --vuu-icon-size: 20px;
368
- --saltButton-borderRadius: 28px !important;
369
- --saltButton-height: 56px;
370
- --saltButton-width: 56px;
371
- box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
372
- }
373
-
374
- /* src/placeholder/Placeholder.css */
375
- .vuuPlaceholder {
376
- --vuuView-justify: center;
377
- align-items: center;
378
- display: flex;
379
- flex-basis: 0;
380
- flex-grow: 1;
381
- flex-shrink: 1;
382
- }
383
- .vuuPlaceholder-nested {
384
- background-color: red;
385
- }
386
- .vuuPlaceholder-shim {
387
- flex-grow: 0;
388
- flex-shrink: 0;
389
- }
390
-
391
- /* src/flexbox/Splitter.css */
392
- .vuuSplitter {
393
- --splitter-background: var(--salt-separable-secondary-borderColor);
394
- --splitter-borderColor: var(--salt-separable-secondary-borderColor);
395
- --splitter-borderStyle: none;
396
- --splitter-borderWidth: 0;
397
- --splitter-size: 3px;
398
- align-items: center;
399
- background-color: var(--splitter-background);
400
- border-color: var(--splitter-borderColor);
401
- border-style: var(--splitter-borderStyle);
402
- border-width: var(--splitter-borderWidth);
403
- box-sizing: border-box;
404
- display: flex;
405
- justify-content: center;
406
- position: relative;
407
- outline: none;
408
- z-index: 1;
409
- }
410
- .vuuSplitter:hover {
411
- --splitter-background: var(--salt-separable-primary-borderColor);
412
- }
413
- .vuuSplitter-active {
414
- --splitter-background: var(--salt-separable-primary-borderColor);
415
- }
416
- .vuuSplitter-column {
417
- cursor: ns-resize;
418
- height: var(--splitter-size);
419
- }
420
- .vuuSplitter:not(.vuuSplitter-column) {
421
- cursor: ew-resize;
422
- width: var(--splitter-size);
423
- }
424
- .vuuSplitter:before {
425
- border: none;
426
- border-radius: 0;
427
- content: "";
428
- display: block;
429
- padding: 0;
430
- }
431
- .vuuSplitter-grab-zone {
432
- position: absolute;
433
- background-color: rgba(255, 0, 0, 0.01);
434
- cursor: inherit;
435
- }
436
- .vuuSplitter-column .vuuSplitter-grab-zone {
437
- left: 0;
438
- right: 0;
439
- top: -5px;
440
- bottom: -5px;
441
- }
442
- .vuuSplitter:not(.vuuSplitter-column) .vuuSplitter-grab-zone {
443
- left: -5px;
444
- right: -5px;
445
- top: 0;
446
- bottom: 0;
447
- }
448
- .vuuSplitter-active:not(.vuuSplitter-column) .vuuSplitter-grab-zone {
449
- background-color: rgba(255, 255, 255, .05);
450
- left: -150px;
451
- right: -150px;
452
- }
453
- .vuuSplitter:not(.vuuSplitter-column):before {
454
- width: 1px;
455
- height: 10px;
456
- background:
457
- linear-gradient(
458
- to bottom,
459
- var(--grey900) 10%,
460
- transparent 10%,
461
- transparent 30%,
462
- var(--grey900) 30%,
463
- var(--grey900) 40%,
464
- transparent 40%,
465
- transparent 60%,
466
- var(--grey900) 60%,
467
- var(--grey900) 70%,
468
- transparent 70%,
469
- transparent 90%,
470
- var(--grey900) 90%);
471
- }
472
- .vuuSplitter-active.vuuSplitter-column:before {
473
- background:
474
- linear-gradient(
475
- to right,
476
- #ffffff 10%,
477
- transparent 10%,
478
- transparent 30%,
479
- #ffffff 30%,
480
- #ffffff 40%,
481
- transparent 40%,
482
- transparent 60%,
483
- #ffffff 60%,
484
- #ffffff 70%,
485
- transparent 70%,
486
- transparent 90%,
487
- #ffffff 90%);
488
- }
489
- .vuuSplitter-active:not(.vuuSplitter-column):before {
490
- background:
491
- linear-gradient(
492
- to bottom,
493
- #ffffff 10%,
494
- transparent 10%,
495
- transparent 30%,
496
- #ffffff 30%,
497
- #ffffff 40%,
498
- transparent 40%,
499
- transparent 60%,
500
- #ffffff 60%,
501
- #ffffff 70%,
502
- transparent 70%,
503
- transparent 90%,
504
- #ffffff 90%);
505
- }
506
- .vuuSplitter-column:before {
507
- width: 10px;
508
- height: 1px;
509
- background:
510
- linear-gradient(
511
- to right,
512
- var(--grey900) 10%,
513
- transparent 10%,
514
- transparent 30%,
515
- var(--grey900) 30%,
516
- var(--grey900) 40%,
517
- transparent 40%,
518
- transparent 60%,
519
- var(--grey900) 60%,
520
- var(--grey900) 70%,
521
- transparent 70%,
522
- transparent 90%,
523
- var(--grey900) 90%);
524
- }
525
-
526
- /* src/flexbox/Flexbox.css */
527
- :root {
528
- --hw-space-unit: 4px;
529
- --hw-flex-gap: 3;
530
- --hw-fluid-grid-col-bg: rgba(200, 200, 200, 0.3);
531
- }
532
- .hwFlexbox {
533
- background-color: var(--container1-background);
534
- box-sizing: border-box;
535
- display: flex;
536
- gap: calc(var(--spacing) * var(--space));
537
- min-height: 0;
538
- min-width: 0;
539
- overflow: hidden;
540
- }
541
- .hwFlexbox-column {
542
- flex-direction: column;
543
- }
544
- .hwFlexbox-row {
545
- flex-direction: row;
546
- }
547
- .hwFlexbox > .Splitter {
548
- flex-basis: auto;
549
- flex-grow: 0;
550
- flex-shrink: 0;
551
- }
552
- .hwFlexbox.full-page {
553
- height: 100vh;
554
- width: 100vw;
555
- }
556
- .flex-fill {
557
- border-color: red;
558
- flex: 0;
559
- flex-grow: 1;
560
- flex-shrink: 1;
561
- }
562
- .vuuView.flex-fill {
563
- border-color: red;
564
- }
565
-
566
- /* src/flexbox/FluidGrid.css */
567
- :root {
568
- --hw-space-unit: 4px;
569
- --hw-fluid-grid-col-bg: rgba(252, 209, 232, 0.7);
570
- }
571
- .hwFluidGrid {
572
- --gap: var(--gutter-width);
573
- display: flex;
574
- gap: calc(var(--grid-gap) * var(--hw-space-unit));
575
- flex-wrap: wrap;
576
- padding: 0;
577
- }
578
- .hwFluidGrid > * {
579
- --gutter-width: calc(var(--hw-flex-gap) * var(--hw-space-unit));
580
- --gutter-count: calc(var(--parent-col-count) - 1);
581
- --total-gutter-width: calc(var(--gutter-count) * var(--gutter-width));
582
- --available-width: calc(100% - var(--total-gutter-width));
583
- flex-basis: 0;
584
- flex-grow: 1;
585
- flex-shrink: 1;
586
- position: relative;
587
- }
588
- .hwFluidGrid > *:after {
589
- content: "";
590
- position: absolute;
591
- top: 0;
592
- left: 0;
593
- right: 0;
594
- bottom: 0;
595
- border: dashed 2px blue;
596
- }
597
- .hwFluidGrid > [data-xs] {
598
- --internal-gutter-count: calc(var(--col-span) - 1);
599
- --percent-width: calc(var(--col-span) / var(--parent-col-count));
600
- --internal-gutter-width: calc(var(--internal-gutter-count) * var(--gutter-width));
601
- flex-basis: calc(var(--available-width) * var(--percent-width) + var(--internal-gutter-width));
602
- flex-grow: 0;
603
- }
604
- .hwFluidGrid > [data-xs="1"] {
605
- --col-span: 1;
606
- }
607
- .hwFluidGrid > [data-xs="2"] {
608
- --col-span: 2;
609
- }
610
- .hwFluidGrid > [data-xs="3"] {
611
- --col-span: 3;
612
- }
613
- .hwFluidGrid > [data-xs="4"] {
614
- --col-span: 4;
615
- }
616
- .hwFluidGrid > [data-xs="6"] {
617
- --col-span: 6;
618
- }
619
- .hwFluidGrid > [data-xs="8"] {
620
- --col-span: 8;
621
- }
622
- .hwFluidGrid > [data-xs="9"] {
623
- --col-span: 9;
624
- }
625
- .hwFluidGrid > [data-xs="10"] {
626
- --col-span: 10;
627
- }
628
- .hwFluidGrid > [data-xs="11"] {
629
- --col-span: 11;
630
- }
631
- .hwFluidGrid > [data-xs="12"] {
632
- --col-span: 12;
633
- }
634
- @media (min-width: 600px) {
635
- .hwFluidGrid > [data-sm="1"] {
636
- --col-span: 1;
637
- }
638
- .hwFluidGrid > [data-sm="2"] {
639
- --col-span: 2;
640
- }
641
- .hwFluidGrid > [data-sm="3"] {
642
- --col-span: 3;
643
- }
644
- .hwFluidGrid > [data-sm="4"] {
645
- --col-span: 4;
646
- }
647
- .hwFluidGrid > [data-sm="6"] {
648
- --col-span: 6;
649
- }
650
- .hwFluidGrid > [data-sm="8"] {
651
- --col-span: 8;
652
- }
653
- .hwFluidGrid > [data-sm="9"] {
654
- --col-span: 9;
655
- }
656
- .hwFluidGrid > [data-sm="10"] {
657
- --col-span: 10;
658
- }
659
- .hwFluidGrid > [data-sm="11"] {
660
- --col-span: 11;
661
- }
662
- .hwFluidGrid > [data-sm="12"] {
663
- --col-span: 12;
664
- }
665
- }
666
- .hwFluidGrid-show-grid {
667
- --gutter-width: calc(var(--hw-flex-gap) * var(--hw-space-unit));
668
- --grid-gutter-count: calc(var(--grid-col-count, var(--parent-col-count)) - 1);
669
- --grid-total-gutter-width: calc(var(--grid-gutter-count) * var(--gutter-width));
670
- --grid-available-width: calc(100% - var(--grid-total-gutter-width));
671
- --grid-percent-width: calc(1 / var(--grid-col-count, var(--parent-col-count)));
672
- --column-width: calc(var(--grid-available-width) * var(--grid-percent-width));
673
- background:
674
- repeating-linear-gradient(
675
- to right,
676
- var(--hw-fluid-grid-col-bg) 0,
677
- var(--hw-fluid-grid-col-bg) var(--column-width),
678
- white var(--column-width),
679
- white calc(var(--column-width) + var(--gutter-width)));
680
- }
681
-
682
- /* src/palette/Palette.css */
683
- .vuuPalette {
684
- --vuuList-borderStyle: none;
685
- }
686
- .vuuPalette-horizontal {
687
- align-items: center;
688
- display: flex;
689
- }
690
- .vuuPaletteItem {
691
- --vuu-icon-color: var(--salt-text-primary-foreground);
692
- --vuu-icon-left: 0;
693
- --vuu-icon-size: 16px;
694
- --vuu-icon-top: 11px;
695
- --list-item-text-padding: 0 0 0 calc(var(--salt-size-unit) * 3);
696
- border-bottom: solid 1px var(--salt-separable-tertiary-borderColor);
697
- padding-left: 12px;
698
- font-size: 12px;
699
- font-weight: 600;
700
- }
701
- .vuuSimpleDraggableWrapper > .vuuPaletteItem {
702
- --vuu-icon-color: var(--salt-selectable-foreground);
703
- }
704
- .salt-theme .vuuPaletteItem {
705
- font-size: 11px;
706
- font-weight: normal;
707
- }
708
-
709
- /* src/stack/Stack.css */
710
- .vuuTabs {
711
- display: flex;
712
- box-sizing: border-box;
713
- flex-direction: column;
714
- }
715
- .vuuTabs-horizontal {
716
- --vuu-tabs-border-style: none solid none none;
717
- flex-direction: row;
718
- }
719
- .vuuTabs .Toolbar:before {
720
- left: 0;
721
- width: 100%;
722
- bottom: 0;
723
- height: 1px;
724
- content: "";
725
- position: absolute;
726
- background: var(--grey60);
727
- }
728
- .vuuTabs-tabPanel {
729
- display: flex;
730
- flex: 1;
731
- flex-direction: column;
732
- }
733
- .vuuTabs-tabPanel > * {
734
- flex: 1 1 auto;
735
- }
736
- .vuuTabHeader {
737
- --saltTabs-activationIndicator-background: transparent;
738
- --saltToolbarField-marginTop: calc(var(--salt-size-unit) - 1px);
739
- border-color: var(--salt-container-primary-borderColor);
740
- border-style: var(--vuu-tabs-border-style, none none solid none);
741
- border-width: 1px;
742
- }
743
- .vuuTabHeader + .vuuView > .vuuHeader {
744
- height: 0;
745
- overflow: hidden;
746
- }
747
- .Layout-svg-button {
748
- --spacing-medium: 5px;
749
- }
750
-
751
- /* src/tools/devtools-box/layout-configurator.css */
752
- [data-design-mode=true] .Component {
753
- filter: grayscale(100%);
754
- opacity: 0.4;
755
- }
756
- [data-design-mode=true] .Component:after {
757
- color: black;
758
- content: "Component";
759
- height: 12px;
760
- background-color: yellow;
761
- }
762
- .LayoutConfigurator {
763
- --margin-color: #f3cea5;
764
- --border-color: #fddda0;
765
- --padding-color: #c6d092;
766
- --content-color: #8cb6c0;
767
- display: flex;
768
- flex-direction: column;
769
- align-items: stretch;
770
- background-color: var(--margin-color);
771
- }
772
- .LayoutConfigurator .layout-outer {
773
- flex: 1 1 auto;
774
- display: flex;
775
- flex-direction: column;
776
- align-items: stretch;
777
- }
778
- .LayoutBox {
779
- --hw-control-font-size: 13px;
780
- --hw-text-input-bg: rgba(255, 255, 255, 0.3);
781
- --hwTextInput-padding: 3px;
782
- --hw-text-input-position: absolute;
783
- --hwTextInput-width: 30px;
784
- flex: 1 1 auto;
785
- }
786
- .LayoutBox > .layout-top {
787
- flex: 0 0 40px;
788
- padding-left: 12px;
789
- display: flex;
790
- flex-direction: row;
791
- align-items: center;
792
- position: relative;
793
- }
794
- .LayoutBox > .layout-bottom {
795
- flex: 0 0 40px;
796
- position: relative;
797
- display: flex;
798
- flex-direction: row;
799
- align-items: center;
800
- }
801
- .LayoutBox > .layout-inner > .layout-right,
802
- .LayoutBox > .layout-inner > .layout-left {
803
- flex: 0 0 40px;
804
- display: flex;
805
- flex-direction: column;
806
- justify-content: center;
807
- align-items: center;
808
- }
809
- .layout-top,
810
- .layout-bottom {
811
- --hw-text-input-margin: 0 0 0 -15px;
812
- }
813
- .layout-top > .layout-input,
814
- .layout-bottom > .layout-input {
815
- left: 50%;
816
- }
817
- .LayoutBox > .layout-inner {
818
- flex: 1 1 auto;
819
- display: flex;
820
- flex-direction: row;
821
- align-items: stretch;
822
- }
823
- .LayoutBox.layout-margin {
824
- background-color: var(--margin-color);
825
- border: dashed 2px black;
826
- }
827
- .LayoutBox.layout-border {
828
- background-color: var(--border-color);
829
- border: solid 2px black;
830
- }
831
- .LayoutBox.layout-padding {
832
- background-color: var(--padding-color);
833
- border: dashed 2px black;
834
- }
835
- .LayoutBox .layout-content {
836
- flex: 1 1 auto;
837
- background-color: var(--content-color);
838
- border: solid 2px #808080;
839
- }
840
- .LayoutBox .layout-title {
841
- color: #161616;
842
- font-size: 11px;
843
- left: 4px;
844
- line-height: 15px;
845
- position: absolute;
846
- top: 1px;
847
- }
848
-
849
- /* src/tools/devtools-tree/layout-tree-viewer.css */
850
- .hwLayoutTreeViewer {
851
- }
852
- .hwLayoutTreeNode {
853
- cursor: default;
854
- }
855
- .hwLayoutTreeNode:hover {
856
- background-color: rgba(255, 255, 255, 0.2);
857
- }
858
- .hwLayoutTreeNode[aria-selected=true] {
859
- background-color: cornflowerblue;
860
- color: white;
861
- }
1
+ .vuuDrawer{--drawer-leading-edge-border: solid 1px var(--salt-container-primary-borderColor, none);--vuu-close-icon-svg: var(--svg-chevron-double-right);transition:flex-basis;transition-duration:var(--drawer-transition-duration);position:relative;z-index:1;flex-basis:0;flex-grow:1;flex-shrink:1;min-width:0;min-height:0;display:flex}.vuuDrawer-peekaboo{flex-basis:var(--drawer-peek-size);flex-grow:0;flex-shrink:0}.vuuDrawer-inline.vuuDrawer-open{flex-basis:var(--drawer-size);flex-grow:0;flex-shrink:0}.vuuDrawer-liner{background-color:var(--drawer-bg);overflow:hidden;position:relative}.vuuDrawer-content{height:100%;overflow:hidden;position:absolute;top:0;right:var(--drawer-peek-size);transition:right;transition-duration:var(--drawer-transition-duration);width:100%;flex:1 1 100%}.vuuDrawer-open .vuuDrawer-content{right:0}.vuuDrawer-left{border-right:var(--drawer-leading-edge-border)}.vuuDrawer-right{border-left:var(--drawer-leading-edge-border)}.vuuDrawer-top{border-bottom:var(--drawer-leading-edge-border)}.vuuDrawer-bottom{border-top:var(--drawer-leading-edge-border)}.vuuDrawer-left .vuuDrawer-liner,.vuuDrawer-right .vuuDrawer-liner{height:100%;transition:width}.vuuDrawer-top .vuuDrawer-liner,.vuuDrawer-bottom .vuuDrawer-liner{width:100%;transition:height}.vuuDrawer-inline .vuuDrawer-liner{width:100%;height:100%}.vuuDrawer-over .vuuDrawer-liner{position:absolute;transition-duration:.4s}.vuuDrawer-over.vuuDrawer-left .vuuDrawer-liner{top:0;left:0;width:0}.vuuDrawer-over.vuuDrawer-right .vuuDrawer-liner{top:0;right:0;width:0}.vuuDrawer-over.vuuDrawer-top .vuuDrawer-liner{height:0;top:0;left:0}.vuuDrawer-over.vuuDrawer-bottom .vuuDrawer-liner{bottom:0;height:0;left:0}.vuuDrawer-left.vuuDrawer-over.vuuDrawer-peekaboo .vuuDrawer-liner,.vuuDrawer-right.vuuDrawer-over.vuuDrawer-peekaboo .vuuDrawer-liner{width:var(--drawer-peek-size)}.vuuDrawer-top.vuuDrawer-over.vuuDrawer-peekaboo .vuuDrawer-liner,.vuuDrawer-bottom.vuuDrawer-over.vuuDrawer-peekaboo .vuuDrawer-liner{height:var(--drawer-peek-size)}.vuuDrawer-left.vuuDrawer-over.vuuDrawer-open .vuuDrawer-liner,.vuuDrawer-right.vuuDrawer-over.vuuDrawer-open .vuuDrawer-liner{width:var(--drawer-size)}.vuuDrawer-top.vuuDrawer-over.vuuDrawer-open .vuuDrawer-liner,.vuuDrawer-bottom.vuuDrawer-over.vuuDrawer-open .vuuDrawer-liner{height:var(--drawer-size)}.vuuDrawer-top,.vuuDrawer-left{order:0}.vuuDrawer-bottom,.vuuDrawer-right{order:99}.vuuDrawer-left,.vuuDrawer-right{flex-direction:column}.vuuToggleButton-container{--saltButton-height: 28px;--saltButton-width: 28px;--vuu-icon-size: 12px;flex:0 0 28px}.vuuDrawer-open{--vuu-close-icon-svg: var(--svg-chevron-double-left)}.vuuDockLayout{--chest-bg: var(--hw-chest-bg, inherit);--drawer-bg: var(--hw-drawer-bg, inherit);--drawer-size: var(--hw-drawer-size, 200px);--drawer-peek-size: var(--hw-drawer-peek-size, 32px);--drawer-transition-duration: var(--hw-drawer-transition-duration, .4s);background-color:var(--chest-bg);display:flex}.vuuDockLayout-horizontal{flex-direction:row}.vuuDockLayout-vertical{flex-direction:column}.vuuDockLayout-content{background-color:var(--chest-bg);flex-grow:1;flex-shrink:1;overflow:hidden;display:flex;align-items:center;justify-content:center}.vuuDockLayout-horizontal .vuuDockLayout-content,.vuuDockLayout-vertical .vuuDockLayout-content{flex-basis:100%}.vuuDropMenu{margin-left:-50%;margin-bottom:-50%;background-color:#fff;border:solid 1px var(--grey40);display:inline-flex;justify-content:center;align-items:center;padding:3px;border-radius:3px}.vuuDropMenu-left,.vuuDropMenu-right{flex-direction:column}.vuuDropMenu-bottom{transform:translateY(-30px)}.vuuDropMenu-right{transform:translate(-20px)}.vuuDropMenu-item{--vuu-icon-size: 20px;width:32px;height:32px;background-color:var(--grey20);border-bottom:solid 1px var(--grey40);cursor:pointer;display:flex;align-items:center;justify-content:center}.vuuDropMenu-item .Icon{transform:scale(1.25);transform-origin:center center}.vuuDropMenu-left .vuuDropMenu-item .hwIcon{transform:scale(1.25) rotate(180deg);transform-origin:center center}.vuuDropMenu-top .vuuDropMenu-item .hwIcon{transform:scale(1.25) rotate(270deg);transform-origin:center center}.vuuDropMenu-bottom .vuuDropMenu-item .hwIcon{transform:scale(1.25) rotate(90deg);transform-origin:center center}.vuuDropMenu-item .hwIcon-path{fill:gray}.vuuDropMenu-item:hover{background-color:#c8c8c880}.vuuDropMenu-item:hover .hwIcon-path-2{fill:#00f}.vuuDropMenu-item:last-child{border-bottom:none}#hw-drag-canvas{visibility:hidden;z-index:10;position:absolute;top:0;left:0;right:0;bottom:0;background-color:transparent}#hw-drag-canvas>svg{position:absolute}.drawing #hw-drag-canvas{visibility:visible}path.drop-target{stroke:#00f;stroke-width:4px;fill:transparent}path.drop-target.centre{stroke:red}#vuu-drop-outline{fill:#0000ff4d;stroke:none;stroke-dasharray:4 2}#hw-drop-guides{fill:none;stroke:#0000004d;stroke-dasharray:2 3}.DraggableLayout{display:inline-block;outline:none}[data-dragging=true]{position:absolute!important;z-index:100}.vuuSimpleDraggableWrapper{background-color:#fff;box-shadow:0 6px 10px #0003}.vuuSimpleDraggableWrapper>*{height:100%;width:100%}.vuuHeader{--saltButton-height: 24px;--saltButton-width: 24px}.salt-density-high .vuuHeader{--saltToolbarField-marginTop: 0}.vuuView{border-color:var(--vuuView-borderColor, var(--salt-container-primary-borderColor));border-width:var(--vuuView-borderWidth, 1px);border-style:var(--vuuView-borderStyle, none);display:flex;flex-direction:column;margin:var(--vuuView-margin, 0px);min-height:50px;min-width:50px;outline:none;overflow:hidden;position:relative}.vuuView.focus-visible:after{content:"";position:absolute;top:0;left:0;right:0;bottom:0;border:dotted cornflowerblue 2px}.vuuView.dragging{box-shadow:0 6px 12px #0000002d}.vuuView-main{display:flex;flex-direction:var(--vuuView-flexDirection, column);flex-wrap:var(--vuuView-flex-wrap, nowrap);flex:1;justify-content:var(--vuuView-justify, flex-start);overflow:hidden;position:relative}.vuuView-main>*{flex-basis:auto;flex-grow:var(--vuuView-flex-grow, 1);flex-shrink:var(--vuuView-flex-shrink, 1)}.vuuView-collapsed .vuuView-main{display:none}.vuuView-collapsed+.Splitter{display:none}.vuuView-collapsed .Toolbar-vertical{border-right:solid 1px var(--grey40)}.vuuView-collapsed .Toolbar-vertical .toolbar-title{display:none}.vuuLayoutStartPanel{align-items:center;flex:0 0 auto!important;display:flex;flex-direction:column;font-weight:700;gap:12px}.vuuLayoutStartPanel-title{color:var(--vuu-color-gray-80);font-size:28px;line-height:1.5;text-align:center}.vuuLayoutStartPanel-text{color:var(--vuu-color-gray-50);font-size:18px;line-height:1.5;max-width:460px}.vuuLayoutStartPanel-addButton{--vuu-icon-size: 20px;--saltButton-borderRadius: 28px !important;--saltButton-height: 56px;--saltButton-width: 56px;box-shadow:0 4px 4px #00000040}.vuuPlaceholder{--vuuView-justify: center;align-items:center;display:flex;flex-basis:0;flex-grow:1;flex-shrink:1}.vuuPlaceholder-nested{background-color:red}.vuuPlaceholder-shim{flex-grow:0;flex-shrink:0}.vuuSplitter{--splitter-background: var(--salt-separable-secondary-borderColor);--splitter-borderColor: var(--salt-separable-secondary-borderColor);--splitter-borderStyle: none;--splitter-borderWidth: 0;--splitter-size: 3px;align-items:center;background-color:var(--splitter-background);border-color:var(--splitter-borderColor);border-style:var(--splitter-borderStyle);border-width:var(--splitter-borderWidth);box-sizing:border-box;display:flex;justify-content:center;position:relative;outline:none;z-index:1}.vuuSplitter:hover,.vuuSplitter-active{--splitter-background: var(--salt-separable-primary-borderColor)}.vuuSplitter-column{cursor:ns-resize;height:var(--splitter-size)}.vuuSplitter:not(.vuuSplitter-column){cursor:ew-resize;width:var(--splitter-size)}.vuuSplitter:before{border:none;border-radius:0;content:"";display:block;padding:0}.vuuSplitter-grab-zone{position:absolute;background-color:#ff000003;cursor:inherit}.vuuSplitter-column .vuuSplitter-grab-zone{left:0;right:0;top:-5px;bottom:-5px}.vuuSplitter:not(.vuuSplitter-column) .vuuSplitter-grab-zone{left:-5px;right:-5px;top:0;bottom:0}.vuuSplitter-active:not(.vuuSplitter-column) .vuuSplitter-grab-zone{background-color:#ffffff0d;left:-150px;right:-150px}.vuuSplitter:not(.vuuSplitter-column):before{width:1px;height:10px;background:linear-gradient(to bottom,var(--grey900) 10%,transparent 10%,transparent 30%,var(--grey900) 30%,var(--grey900) 40%,transparent 40%,transparent 60%,var(--grey900) 60%,var(--grey900) 70%,transparent 70%,transparent 90%,var(--grey900) 90%)}.vuuSplitter-active.vuuSplitter-column:before{background:linear-gradient(to right,#ffffff 10%,transparent 10%,transparent 30%,#ffffff 30%,#ffffff 40%,transparent 40%,transparent 60%,#ffffff 60%,#ffffff 70%,transparent 70%,transparent 90%,#ffffff 90%)}.vuuSplitter-active:not(.vuuSplitter-column):before{background:linear-gradient(to bottom,#ffffff 10%,transparent 10%,transparent 30%,#ffffff 30%,#ffffff 40%,transparent 40%,transparent 60%,#ffffff 60%,#ffffff 70%,transparent 70%,transparent 90%,#ffffff 90%)}.vuuSplitter-column:before{width:10px;height:1px;background:linear-gradient(to right,var(--grey900) 10%,transparent 10%,transparent 30%,var(--grey900) 30%,var(--grey900) 40%,transparent 40%,transparent 60%,var(--grey900) 60%,var(--grey900) 70%,transparent 70%,transparent 90%,var(--grey900) 90%)}:root{--hw-space-unit: 4px;--hw-flex-gap: 3;--hw-fluid-grid-col-bg: rgba(200, 200, 200, .3)}.hwFlexbox{background-color:var(--container1-background);box-sizing:border-box;display:flex;gap:calc(var(--spacing) * var(--space));min-height:0;min-width:0;overflow:hidden}.hwFlexbox-column{flex-direction:column}.hwFlexbox-row{flex-direction:row}.hwFlexbox>.Splitter{flex-basis:auto;flex-grow:0;flex-shrink:0}.hwFlexbox.full-page{height:100vh;width:100vw}.flex-fill{border-color:red;flex:0;flex-grow:1;flex-shrink:1}.vuuView.flex-fill{border-color:red}:root{--hw-space-unit: 4px;--hw-fluid-grid-col-bg: rgba(252, 209, 232, .7)}.hwFluidGrid{--gap: var(--gutter-width);display:flex;gap:calc(var(--grid-gap) * var(--hw-space-unit));flex-wrap:wrap;padding:0}.hwFluidGrid>*{--gutter-width: calc(var(--hw-flex-gap) * var(--hw-space-unit));--gutter-count: calc(var(--parent-col-count) - 1);--total-gutter-width: calc(var(--gutter-count) * var(--gutter-width));--available-width: calc(100% - var(--total-gutter-width));flex-basis:0;flex-grow:1;flex-shrink:1;position:relative}.hwFluidGrid>*:after{content:"";position:absolute;top:0;left:0;right:0;bottom:0;border:dashed 2px blue}.hwFluidGrid>[data-xs]{--internal-gutter-count: calc(var(--col-span) - 1);--percent-width: calc(var(--col-span) / var(--parent-col-count));--internal-gutter-width: calc(var(--internal-gutter-count) * var(--gutter-width));flex-basis:calc(var(--available-width) * var(--percent-width) + var(--internal-gutter-width));flex-grow:0}.hwFluidGrid>[data-xs="1"]{--col-span: 1}.hwFluidGrid>[data-xs="2"]{--col-span: 2}.hwFluidGrid>[data-xs="3"]{--col-span: 3}.hwFluidGrid>[data-xs="4"]{--col-span: 4}.hwFluidGrid>[data-xs="6"]{--col-span: 6}.hwFluidGrid>[data-xs="8"]{--col-span: 8}.hwFluidGrid>[data-xs="9"]{--col-span: 9}.hwFluidGrid>[data-xs="10"]{--col-span: 10}.hwFluidGrid>[data-xs="11"]{--col-span: 11}.hwFluidGrid>[data-xs="12"]{--col-span: 12}@media (min-width: 600px){.hwFluidGrid>[data-sm="1"]{--col-span: 1}.hwFluidGrid>[data-sm="2"]{--col-span: 2}.hwFluidGrid>[data-sm="3"]{--col-span: 3}.hwFluidGrid>[data-sm="4"]{--col-span: 4}.hwFluidGrid>[data-sm="6"]{--col-span: 6}.hwFluidGrid>[data-sm="8"]{--col-span: 8}.hwFluidGrid>[data-sm="9"]{--col-span: 9}.hwFluidGrid>[data-sm="10"]{--col-span: 10}.hwFluidGrid>[data-sm="11"]{--col-span: 11}.hwFluidGrid>[data-sm="12"]{--col-span: 12}}.hwFluidGrid-show-grid{--gutter-width: calc(var(--hw-flex-gap) * var(--hw-space-unit));--grid-gutter-count: calc(var(--grid-col-count, var(--parent-col-count)) - 1);--grid-total-gutter-width: calc(var(--grid-gutter-count) * var(--gutter-width));--grid-available-width: calc(100% - var(--grid-total-gutter-width));--grid-percent-width: calc(1 / var(--grid-col-count, var(--parent-col-count)));--column-width: calc(var(--grid-available-width) * var(--grid-percent-width));background:repeating-linear-gradient(to right,var(--hw-fluid-grid-col-bg) 0,var(--hw-fluid-grid-col-bg) var(--column-width),white var(--column-width),white calc(var(--column-width) + var(--gutter-width)))}.vuuPalette{--vuuList-borderStyle: none}.vuuPalette-horizontal{align-items:center;display:flex}.vuuPaletteItem{--vuu-icon-color: var(--salt-text-primary-foreground);--vuu-icon-left: 0;--vuu-icon-size: 16px;--vuu-icon-top: 11px;--list-item-text-padding: 0 0 0 calc(var(--salt-size-unit) * 3);border-bottom:solid 1px var(--salt-separable-tertiary-borderColor);padding-left:12px;font-size:12px;font-weight:600}.vuuSimpleDraggableWrapper>.vuuPaletteItem{--vuu-icon-color: var(--salt-selectable-foreground)}.salt-theme .vuuPaletteItem{font-size:11px;font-weight:400}.vuuTabs{display:flex;box-sizing:border-box;flex-direction:column}.vuuTabs-horizontal{--vuu-tabs-border-style: none solid none none;flex-direction:row}.vuuTabs .Toolbar:before{left:0;width:100%;bottom:0;height:1px;content:"";position:absolute;background:var(--grey60)}.vuuTabs-tabPanel{display:flex;flex:1;flex-direction:column}.vuuTabs-tabPanel>*{flex:1 1 auto}.vuuTabHeader{--saltTabs-activationIndicator-background: transparent;--saltToolbarField-marginTop: calc(var(--salt-size-unit) - 1px);border-color:var(--salt-container-primary-borderColor);border-style:var(--vuu-tabs-border-style, none none solid none);border-width:1px}.vuuTabHeader+.vuuView>.vuuHeader{height:0;overflow:hidden}.Layout-svg-button{--spacing-medium: 5px}[data-design-mode=true] .Component{filter:grayscale(100%);opacity:.4}[data-design-mode=true] .Component:after{color:#000;content:"Component";height:12px;background-color:#ff0}.LayoutConfigurator{--margin-color: #f3cea5;--border-color: #fddda0;--padding-color: #c6d092;--content-color: #8cb6c0;display:flex;flex-direction:column;align-items:stretch;background-color:var(--margin-color)}.LayoutConfigurator .layout-outer{flex:1 1 auto;display:flex;flex-direction:column;align-items:stretch}.LayoutBox{--hw-control-font-size: 13px;--hw-text-input-bg: rgba(255, 255, 255, .3);--hwTextInput-padding: 3px;--hw-text-input-position: absolute;--hwTextInput-width: 30px;flex:1 1 auto}.LayoutBox>.layout-top{flex:0 0 40px;padding-left:12px;display:flex;flex-direction:row;align-items:center;position:relative}.LayoutBox>.layout-bottom{flex:0 0 40px;position:relative;display:flex;flex-direction:row;align-items:center}.LayoutBox>.layout-inner>.layout-right,.LayoutBox>.layout-inner>.layout-left{flex:0 0 40px;display:flex;flex-direction:column;justify-content:center;align-items:center}.layout-top,.layout-bottom{--hw-text-input-margin: 0 0 0 -15px}.layout-top>.layout-input,.layout-bottom>.layout-input{left:50%}.LayoutBox>.layout-inner{flex:1 1 auto;display:flex;flex-direction:row;align-items:stretch}.LayoutBox.layout-margin{background-color:var(--margin-color);border:dashed 2px black}.LayoutBox.layout-border{background-color:var(--border-color);border:solid 2px black}.LayoutBox.layout-padding{background-color:var(--padding-color);border:dashed 2px black}.LayoutBox .layout-content{flex:1 1 auto;background-color:var(--content-color);border:solid 2px #808080}.LayoutBox .layout-title{color:#161616;font-size:11px;left:4px;line-height:15px;position:absolute;top:1px}.hwLayoutTreeNode{cursor:default}.hwLayoutTreeNode:hover{background-color:#fff3}.hwLayoutTreeNode[aria-selected=true]{background-color:#6495ed;color:#fff}
862
2
  /*# sourceMappingURL=index.css.map */