added gridstack

This commit is contained in:
Pit Friedrich
2026-07-25 21:56:47 +02:00
parent c2d29f0635
commit bcf604b7c5
7 changed files with 73 additions and 7 deletions
@@ -121,4 +121,32 @@ vaadin-app-layout::part(content) {
font-weight: 600;
color: var(--dialect-ink);
margin: 0 0 12px 0;
}
/* GridStackLayout (components/GridStackLayout.java): extend the same alias
layer used by .dialect-card rather than hardcoding new colors. */
.grid-stack-item-content {
background: var(--dialect-surface);
border-radius: var(--dialect-radius);
box-shadow: var(--dialect-shadow);
overflow: auto;
}
/* A Card placed inside a grid item should fill the item instead of
stacking its own surface/shadow on top of grid-stack-item-content's. */
.grid-stack-item-content > .dialect-card {
height: 100%;
box-shadow: none;
}
.grid-stack-item-content .ui-resizable-handle {
background: var(--dialect-primary);
opacity: 0.6;
border-radius: 2px;
}
.grid-stack-placeholder > .placeholder-content {
background: var(--dialect-bg);
border: 2px dashed var(--dialect-border);
border-radius: var(--dialect-radius);
}