@vuu-ui/vuu-layout 0.8.2 → 0.8.3-debug

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