added gridstack
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user