runloopable / web /src /styles /sdlc82 /restock-grid.css
fsanyoto's picture
Deploy AIOS web (React glide grid + FastAPI slice)
8133df9 verified
Raw History Blame Contribute Delete
1.2 kB
/* S82-T26: the Restock work tab is the Table Grid over ut_amazon_restock, and the SKU drawer is SkuActions. Tokens only. */
/* The Grid needs a bounded box inside the scrolling App body. */
.rp-grid-body { flex: 1 0 auto; }
.rp-grid {
display: flex;
flex-direction: column;
height: clamp(420px, 72vh, 960px);
min-width: 0;
min-height: 0;
border-top: var(--lp-hairline-width) solid var(--lp-line);
}
.rp-grid > [data-proof="app-grid"] {
display: flex;
flex-direction: column;
flex: 1 1 0;
min-width: 0;
min-height: 0;
}
.rp-grid > [data-proof="app-grid"] > * { flex: 1 1 0; min-width: 0; min-height: 0; }
/* Inside the SkuActions drawer the Restock detail is plain content: the drawer owns position, shadow and motion. */
.sku-actions-body .rp-drawer {
position: static;
width: auto;
padding: 0 0 16px;
overflow: visible;
background: transparent;
border-left: 0;
box-shadow: none;
z-index: auto;
animation: none;
border-bottom: var(--lp-hairline-width) solid var(--lp-line);
margin-bottom: 16px;
}
.sku-actions-body .rp-drawer .rp-legend { margin-top: 4px; }
@media (prefers-reduced-motion: reduce) {
.sku-actions-body .rp-drawer { animation: none; }
}