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

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,767 +1,2 @@
1
- /* src/chest-of-drawers/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/chest-of-drawers/Chest.css */
134
- .hwChest {
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
- .hwChest-horizontal {
144
- flex-direction: row;
145
- }
146
- .hwChest-vertical {
147
- flex-direction: column;
148
- }
149
- .hwChest-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
- .hwChest-horizontal .hwChest-content {
159
- flex-basis: 100%;
160
- }
161
- .hwChest-vertical .hwChest-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: 1;
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/placeholder/Placeholder.css */
284
- .vuuPlaceholder {
285
- flex-basis: 0;
286
- flex-grow: 1;
287
- flex-shrink: 1;
288
- }
289
- .vuuPlaceholder-shim {
290
- flex-grow: 0;
291
- flex-shrink: 0;
292
- }
293
-
294
- /* src/flexbox/Splitter.css */
295
- .Splitter {
296
- --splitter-size: 3px;
297
- --splitter-border-width: 4px;
298
- --splitter-border-style: none;
299
- --splitter-border-color: white;
300
- align-items: center;
301
- background-color: var(--grey60);
302
- border-color: var(--splitter-border-color);
303
- border-style: var(--splitter-border-style);
304
- box-sizing: border-box;
305
- display: flex;
306
- justify-content: center;
307
- position: relative;
308
- outline: none;
309
- z-index: 1;
310
- }
311
- .Splitter:hover {
312
- background-color: var(--grey40);
313
- }
314
- .active.Splitter {
315
- background-color: var(--blue500);
316
- }
317
- .Splitter.column {
318
- cursor: ns-resize;
319
- height: var(--splitter-size);
320
- border-width: var(--splitter-border-width) 0;
321
- }
322
- .Splitter:not(.column) {
323
- cursor: ew-resize;
324
- width: var(--splitter-size);
325
- border-width: 0 var(--splitter-border-width);
326
- }
327
- .Splitter:before {
328
- border: none;
329
- border-radius: 0;
330
- content: "";
331
- display: block;
332
- padding: 0;
333
- }
334
- .Splitter .grab-zone {
335
- position: absolute;
336
- background-color: rgba(255, 0, 0, 0.01);
337
- cursor: inherit;
338
- }
339
- .Splitter.column .grab-zone {
340
- left: 0;
341
- right: 0;
342
- top: -5px;
343
- bottom: -5px;
344
- }
345
- .Splitter:not(column) .grab-zone {
346
- left: -5px;
347
- right: -5px;
348
- top: 0;
349
- bottom: 0;
350
- }
351
- .Splitter:not(.column):before {
352
- width: 1px;
353
- height: 10px;
354
- 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%);
355
- }
356
- .active.Splitter.column:before {
357
- 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%);
358
- }
359
- .active.Splitter:not(.column):before {
360
- 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%);
361
- }
362
- .Splitter.column:before {
363
- width: 10px;
364
- height: 1px;
365
- 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%);
366
- }
367
-
368
- /* src/flexbox/Flexbox.css */
369
- :root {
370
- --hw-space-unit: 4px;
371
- --hw-flex-gap: 3;
372
- --hw-fluid-grid-col-bg: rgba(200, 200, 200, 0.3);
373
- }
374
- .hwFlexbox {
375
- background-color: var(--container1-background);
376
- box-sizing: border-box;
377
- display: flex;
378
- gap: calc(var(--spacing) * var(--space));
379
- min-height: 0;
380
- min-width: 0;
381
- overflow: hidden;
382
- }
383
- .hwFlexbox-column {
384
- flex-direction: column;
385
- }
386
- .hwFlexbox-row {
387
- flex-direction: row;
388
- }
389
- .hwFlexbox > .Splitter {
390
- flex-basis: auto;
391
- flex-grow: 0;
392
- flex-shrink: 0;
393
- }
394
- .hwFlexbox.full-page {
395
- height: 100vh;
396
- width: 100vw;
397
- }
398
- .flex-fill {
399
- border-color: red;
400
- flex: 0;
401
- flex-grow: 1;
402
- flex-shrink: 1;
403
- }
404
- .vuuView.flex-fill {
405
- border-color: red;
406
- }
407
-
408
- /* src/flexbox/FluidGrid.css */
409
- :root {
410
- --hw-space-unit: 4px;
411
- --hw-fluid-grid-col-bg: rgba(252, 209, 232, 0.7);
412
- }
413
- .hwFluidGrid {
414
- --gap: var(--gutter-width);
415
- display: flex;
416
- gap: calc(var(--grid-gap) * var(--hw-space-unit));
417
- flex-wrap: wrap;
418
- padding: 0;
419
- }
420
- .hwFluidGrid > * {
421
- --gutter-width: calc(var(--hw-flex-gap) * var(--hw-space-unit));
422
- --gutter-count: calc(var(--parent-col-count) - 1);
423
- --total-gutter-width: calc(var(--gutter-count) * var(--gutter-width));
424
- --available-width: calc(100% - var(--total-gutter-width));
425
- flex-basis: 0;
426
- flex-grow: 1;
427
- flex-shrink: 1;
428
- position: relative;
429
- }
430
- .hwFluidGrid > *:after {
431
- content: "";
432
- position: absolute;
433
- top: 0;
434
- left: 0;
435
- right: 0;
436
- bottom: 0;
437
- border: dashed 2px blue;
438
- }
439
- .hwFluidGrid > [data-xs] {
440
- --internal-gutter-count: calc(var(--col-span) - 1);
441
- --percent-width: calc(var(--col-span) / var(--parent-col-count));
442
- --internal-gutter-width: calc(var(--internal-gutter-count) * var(--gutter-width));
443
- flex-basis: calc(var(--available-width) * var(--percent-width) + var(--internal-gutter-width));
444
- flex-grow: 0;
445
- }
446
- .hwFluidGrid > [data-xs="1"] {
447
- --col-span: 1;
448
- }
449
- .hwFluidGrid > [data-xs="2"] {
450
- --col-span: 2;
451
- }
452
- .hwFluidGrid > [data-xs="3"] {
453
- --col-span: 3;
454
- }
455
- .hwFluidGrid > [data-xs="4"] {
456
- --col-span: 4;
457
- }
458
- .hwFluidGrid > [data-xs="6"] {
459
- --col-span: 6;
460
- }
461
- .hwFluidGrid > [data-xs="8"] {
462
- --col-span: 8;
463
- }
464
- .hwFluidGrid > [data-xs="9"] {
465
- --col-span: 9;
466
- }
467
- .hwFluidGrid > [data-xs="10"] {
468
- --col-span: 10;
469
- }
470
- .hwFluidGrid > [data-xs="11"] {
471
- --col-span: 11;
472
- }
473
- .hwFluidGrid > [data-xs="12"] {
474
- --col-span: 12;
475
- }
476
- @media (min-width: 600px) {
477
- .hwFluidGrid > [data-sm="1"] {
478
- --col-span: 1;
479
- }
480
- .hwFluidGrid > [data-sm="2"] {
481
- --col-span: 2;
482
- }
483
- .hwFluidGrid > [data-sm="3"] {
484
- --col-span: 3;
485
- }
486
- .hwFluidGrid > [data-sm="4"] {
487
- --col-span: 4;
488
- }
489
- .hwFluidGrid > [data-sm="6"] {
490
- --col-span: 6;
491
- }
492
- .hwFluidGrid > [data-sm="8"] {
493
- --col-span: 8;
494
- }
495
- .hwFluidGrid > [data-sm="9"] {
496
- --col-span: 9;
497
- }
498
- .hwFluidGrid > [data-sm="10"] {
499
- --col-span: 10;
500
- }
501
- .hwFluidGrid > [data-sm="11"] {
502
- --col-span: 11;
503
- }
504
- .hwFluidGrid > [data-sm="12"] {
505
- --col-span: 12;
506
- }
507
- }
508
- .hwFluidGrid-show-grid {
509
- --gutter-width: calc(var(--hw-flex-gap) * var(--hw-space-unit));
510
- --grid-gutter-count: calc(var(--grid-col-count, var(--parent-col-count)) - 1);
511
- --grid-total-gutter-width: calc(var(--grid-gutter-count) * var(--gutter-width));
512
- --grid-available-width: calc(100% - var(--grid-total-gutter-width));
513
- --grid-percent-width: calc(1 / var(--grid-col-count, var(--parent-col-count)));
514
- --column-width: calc(var(--grid-available-width) * var(--grid-percent-width));
515
- 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)));
516
- }
517
-
518
- /* src/layout-view/View.css */
519
- .vuuView {
520
- border-color: var(--vuuView-borderColor, var(--salt-container-primary-borderColor));
521
- border-width: var(--vuuView-borderWidth, 1px);
522
- border-style: var(--vuuView-borderStyle, none);
523
- display: flex;
524
- flex-direction: column;
525
- margin: var(--vuuView-margin, 0px);
526
- min-height: 50px;
527
- min-width: 50px;
528
- outline: none;
529
- overflow: hidden;
530
- position: relative;
531
- }
532
- .vuuView.focus-visible:after {
533
- content: "";
534
- position: absolute;
535
- top: 0;
536
- left: 0;
537
- right: 0;
538
- bottom: 0;
539
- border: dotted cornflowerblue 2px;
540
- }
541
- .vuuView.dragging {
542
- box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
543
- }
544
- .vuuView-main {
545
- display: flex;
546
- flex-direction: var(--vuuView-flexDirection, column);
547
- flex-wrap: var(--vuuView-flex-wrap, nowrap);
548
- flex: 1;
549
- overflow: hidden;
550
- position: relative;
551
- }
552
- .vuuView-main > * {
553
- flex-basis: auto;
554
- flex-grow: var(--vuuView-flex-grow, 1);
555
- flex-shrink: var(--vuuView-flex-shrink, 1);
556
- }
557
- .vuuView-collapsed .vuuView-main {
558
- display: none;
559
- }
560
- .vuuView-collapsed + .Splitter {
561
- display: none;
562
- }
563
- .vuuView-collapsed .Toolbar-vertical {
564
- border-right: solid 1px var(--grey40);
565
- }
566
- .vuuView-collapsed .Toolbar-vertical .toolbar-title {
567
- display: none;
568
- }
569
-
570
- /* src/layout-header/Header.css */
571
- .vuuHeader {
572
- --saltToolbar-background: var(--salt-container-tertiary-background);
573
- }
574
- .salt-density-high .vuuHeader {
575
- --saltToolbarField-marginTop: 0;
576
- }
577
-
578
- /* src/palette/Palette.css */
579
- .vuuPalette-horizontal {
580
- align-items: center;
581
- display: flex;
582
- }
583
- .vuuPaletteItem {
584
- --vuu-icon-color: var(--salt-separable-primary-borderColor);
585
- --vuu-icon-inset: calc(50% - 12px) auto auto -3px;
586
- --vuu-icon-height: 24px;
587
- --vuu-icon-width: 24px;
588
- --list-item-text-padding: 0 0 0 calc(var(--salt-size-unit) * 3);
589
- }
590
- .vuuPaletteItem[data-draggable]:after {
591
- height: 22px;
592
- width: 6px;
593
- content: "";
594
- position: absolute;
595
- background-image:
596
- linear-gradient(45deg, rgb(180, 183, 190) 25%, transparent 25%),
597
- linear-gradient(-45deg, rgb(180, 183, 190) 25%, transparent 25%),
598
- linear-gradient(45deg, transparent 75%, rgb(180, 183, 190) 25%),
599
- linear-gradient(-45deg, transparent 75%, rgb(180, 183, 190) 25%);
600
- background-size: 4px 4px;
601
- background-position:
602
- 0 0,
603
- 2px 0,
604
- 2px -2px,
605
- 0 2px;
606
- }
607
- .vuuSimpleDraggableWrapper > .vuuPaletteItem {
608
- --vuu-icon-color: var(--salt-selectable-foreground);
609
- }
610
-
611
- /* src/palette/PaletteSalt.css */
612
- .vuuPalette {
613
- --list-item-header-bg: inherit;
614
- --list-item-header-color: inherit;
615
- --list-item-padding: 0 6px 0 24px;
616
- --list-item-header-twisty-color: black;
617
- --list-item-header-twisty-left: 3px;
618
- --list-item-header-twisty-right: auto;
619
- }
620
-
621
- /* src/stack/Stack.css */
622
- .Tabs {
623
- display: flex;
624
- box-sizing: border-box;
625
- flex-direction: column;
626
- }
627
- .Tabs-horizontal {
628
- flex-direction: row;
629
- }
630
- .Tabs .Toolbar:before {
631
- left: 0;
632
- width: 100%;
633
- bottom: 0;
634
- height: 1px;
635
- content: "";
636
- position: absolute;
637
- background: var(--grey60);
638
- }
639
- .vuuTabHeader {
640
- --saltTabs-activationIndicator-background: transparent;
641
- --saltToolbarField-marginTop: calc(var(--salt-size-unit) - 1px);
642
- border-bottom: solid 1px var(--salt-container-primary-borderColor);
643
- }
644
- .vuuTabHeader + .hwFlexbox,
645
- .vuuTabHeader + * {
646
- flex: 1;
647
- }
648
- .vuuTabHeader + .vuuView > .vuuHeader {
649
- height: 0;
650
- overflow: hidden;
651
- }
652
- .Layout-svg-button {
653
- --spacing-medium: 5px;
654
- }
655
-
656
- /* src/tools/devtools-box/layout-configurator.css */
657
- [data-design-mode=true] .Component {
658
- filter: grayscale(100%);
659
- opacity: 0.4;
660
- }
661
- [data-design-mode=true] .Component:after {
662
- color: black;
663
- content: "Component";
664
- height: 12px;
665
- background-color: yellow;
666
- }
667
- .LayoutConfigurator {
668
- --margin-color: #f3cea5;
669
- --border-color: #fddda0;
670
- --padding-color: #c6d092;
671
- --content-color: #8cb6c0;
672
- display: flex;
673
- flex-direction: column;
674
- align-items: stretch;
675
- background-color: var(--margin-color);
676
- }
677
- .LayoutConfigurator .layout-outer {
678
- flex: 1 1 auto;
679
- display: flex;
680
- flex-direction: column;
681
- align-items: stretch;
682
- }
683
- .LayoutBox {
684
- --hw-control-font-size: 13px;
685
- --hw-text-input-bg: rgba(255, 255, 255, 0.3);
686
- --hwTextInput-padding: 3px;
687
- --hw-text-input-position: absolute;
688
- --hwTextInput-width: 30px;
689
- flex: 1 1 auto;
690
- }
691
- .LayoutBox > .layout-top {
692
- flex: 0 0 40px;
693
- padding-left: 12px;
694
- display: flex;
695
- flex-direction: row;
696
- align-items: center;
697
- position: relative;
698
- }
699
- .LayoutBox > .layout-bottom {
700
- flex: 0 0 40px;
701
- position: relative;
702
- display: flex;
703
- flex-direction: row;
704
- align-items: center;
705
- }
706
- .LayoutBox > .layout-inner > .layout-right,
707
- .LayoutBox > .layout-inner > .layout-left {
708
- flex: 0 0 40px;
709
- display: flex;
710
- flex-direction: column;
711
- justify-content: center;
712
- align-items: center;
713
- }
714
- .layout-top,
715
- .layout-bottom {
716
- --hw-text-input-margin: 0 0 0 -15px;
717
- }
718
- .layout-top > .layout-input,
719
- .layout-bottom > .layout-input {
720
- left: 50%;
721
- }
722
- .LayoutBox > .layout-inner {
723
- flex: 1 1 auto;
724
- display: flex;
725
- flex-direction: row;
726
- align-items: stretch;
727
- }
728
- .LayoutBox.layout-margin {
729
- background-color: var(--margin-color);
730
- border: dashed 2px black;
731
- }
732
- .LayoutBox.layout-border {
733
- background-color: var(--border-color);
734
- border: solid 2px black;
735
- }
736
- .LayoutBox.layout-padding {
737
- background-color: var(--padding-color);
738
- border: dashed 2px black;
739
- }
740
- .LayoutBox .layout-content {
741
- flex: 1 1 auto;
742
- background-color: var(--content-color);
743
- border: solid 2px #808080;
744
- }
745
- .LayoutBox .layout-title {
746
- color: #161616;
747
- font-size: 11px;
748
- left: 4px;
749
- line-height: 15px;
750
- position: absolute;
751
- top: 1px;
752
- }
753
-
754
- /* src/tools/devtools-tree/layout-tree-viewer.css */
755
- .hwLayoutTreeViewer {
756
- }
757
- .hwLayoutTreeNode {
758
- cursor: default;
759
- }
760
- .hwLayoutTreeNode:hover {
761
- background-color: rgba(255, 255, 255, 0.2);
762
- }
763
- .hwLayoutTreeNode[aria-selected=true] {
764
- background-color: cornflowerblue;
765
- color: white;
766
- }
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)}.hwChest{--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}.hwChest-horizontal{flex-direction:row}.hwChest-vertical{flex-direction:column}.hwChest-content{background-color:var(--chest-bg);flex-grow:1;flex-shrink:1;overflow:hidden;display:flex;align-items:center;justify-content:center}.hwChest-horizontal .hwChest-content,.hwChest-vertical .hwChest-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:1;position:absolute;top:0px;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%}.vuuPlaceholder{flex-basis:0;flex-grow:1;flex-shrink:1}.vuuPlaceholder-shim{flex-grow:0;flex-shrink:0}.Splitter{--splitter-size: 3px;--splitter-border-width: 4px;--splitter-border-style: none;--splitter-border-color: white;align-items:center;background-color:var(--grey60);border-color:var(--splitter-border-color);border-style:var(--splitter-border-style);box-sizing:border-box;display:flex;justify-content:center;position:relative;outline:none;z-index:1}.Splitter:hover{background-color:var(--grey40)}.active.Splitter{background-color:var(--blue500)}.Splitter.column{cursor:ns-resize;height:var(--splitter-size);border-width:var(--splitter-border-width) 0}.Splitter:not(.column){cursor:ew-resize;width:var(--splitter-size);border-width:0 var(--splitter-border-width)}.Splitter:before{border:none;border-radius:0;content:"";display:block;padding:0}.Splitter .grab-zone{position:absolute;background-color:#ff000003;cursor:inherit}.Splitter.column .grab-zone{left:0;right:0;top:-5px;bottom:-5px}.Splitter:not(column) .grab-zone{left:-5px;right:-5px;top:0;bottom:0}.Splitter:not(.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%)}.active.Splitter.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%)}.active.Splitter:not(.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%)}.Splitter.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)))}.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;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}.vuuHeader{--saltToolbar-background: var(--salt-container-tertiary-background)}.salt-density-high .vuuHeader{--saltToolbarField-marginTop: 0}.vuuPalette-horizontal{align-items:center;display:flex}.vuuPaletteItem{--vuu-icon-color: var(--salt-separable-primary-borderColor);--vuu-icon-inset:calc(50% - 12px) auto auto -3px;--vuu-icon-height: 24px;--vuu-icon-width: 24px;--list-item-text-padding: 0 0 0 calc(var(--salt-size-unit) * 3)}.vuuPaletteItem[data-draggable]:after{height:22px;width:6px;content:"";position:absolute;background-image:linear-gradient(45deg,rgb(180,183,190) 25%,transparent 25%),linear-gradient(-45deg,rgb(180,183,190) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,rgb(180,183,190) 25%),linear-gradient(-45deg,transparent 75%,rgb(180,183,190) 25%);background-size:4px 4px;background-position:0 0,2px 0,2px -2px,0 2px}.vuuSimpleDraggableWrapper>.vuuPaletteItem{--vuu-icon-color: var(--salt-selectable-foreground)}.vuuPalette{--list-item-header-bg: inherit;--list-item-header-color: inherit;--list-item-padding: 0 6px 0 24px;--list-item-header-twisty-color: black;--list-item-header-twisty-left: 3px;--list-item-header-twisty-right: auto}.Tabs{display:flex;box-sizing:border-box;flex-direction:column}.Tabs-horizontal{flex-direction:row}.Tabs .Toolbar:before{left:0;width:100%;bottom:0;height:1px;content:"";position:absolute;background:var(--grey60)}.vuuTabHeader{--saltTabs-activationIndicator-background: transparent;--saltToolbarField-marginTop: calc(var(--salt-size-unit) - 1px);border-bottom:solid 1px var(--salt-container-primary-borderColor)}.vuuTabHeader+.hwFlexbox,.vuuTabHeader+*{flex:1}.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}
767
2
  /*# sourceMappingURL=index.css.map */