runloopable / web /src /styles /sdlc81 /command-center-app.css
fsanyoto's picture
Deploy AIOS web (React glide grid + FastAPI slice)
8133df9 verified
Raw History Blame Contribute Delete
3.72 kB
/* The hosted grid shares the App frame column with the header, so it takes the rest, not 100%. */
.cg-app-frame-catalog[data-app-view="amazon-profit"] > .cg-app-frame-main > .cg-shell {
flex: 1 1 0;
min-height: 0;
height: auto;
}
/* S82-T65: Command Center draws no App title row. The rail keeps Back, and other Apps keep their header. */
.cg-app-frame-catalog[data-app-view="amazon-profit"] .cg-app-frame-header {
display: none;
}
/* App header controls share the body scale without changing Table chrome. */
.cg-app-frame-catalog[data-app-view="amazon-profit"] :is(
.ap-command-tabs, .ap-command-tabs > button, .cg-toolbar, .cg-toolbar .cg-tb-btn,
.cg-toolbar .cg-search-input, .cc-toolbar-period .cg-period-picker, .cc-toolbar-period .cg-select
) {
font-size: var(--lp-fs-sm);
}
.cg-app-frame-catalog[data-app-view="amazon-profit"] .cg-toolbar {
background: var(--lp-surface);
color: var(--lp-ink);
}
.cg-app-frame-catalog[data-app-view="amazon-profit"] .cg-toolbar .cg-tb-btn:not(.is-active) svg,
.cg-app-frame-catalog[data-app-view="amazon-profit"] .cg-toolbar .cg-search-icon,
.cg-app-frame-catalog[data-app-view="amazon-profit"] .cg-toolbar .cg-search-input::placeholder {
color: var(--lp-muted);
}
.cg-app-frame-catalog[data-app-view="amazon-profit"] .cg-toolbar .cg-tb-btn:not(.is-active):hover {
background: var(--lp-wash);
}
.cg-app-frame-catalog[data-app-view="amazon-profit"] .cg-toolbar .cg-tb-divider {
background: var(--lp-line);
}
.cg-app-frame-catalog[data-app-view="amazon-profit"] .cg-toolbar :is(.cg-select, .cg-search-input) {
background: var(--lp-surface);
}
.cg-app-frame-catalog[data-app-view="amazon-profit"] .cc-toolbar-period .cg-period-busy {
color: var(--lp-muted);
}
/* S82-T68: the Period select sits in the toolbar's mode slot, just left of Fields. */
.cc-toolbar-period { display: inline-flex; align-items: center; flex: 0 0 auto; }
.cc-toolbar-period .cg-period-picker { padding: 0; color: var(--lp-ink); }
.ap-table-switcher .cg-period-notes { display: inline-flex; align-items: center; gap: 8px;
margin-left: 12px; font-size: var(--lp-fs-xs); color: var(--lp-muted); }
.ap-table-switcher .cg-period-notes:empty { display: none; }
/* S82-T68: the Picture popup, centered over the App. Esc or an outside click closes it. */
.cc-picture-backdrop {
position: fixed;
inset: 0;
z-index: var(--cg-z-record);
display: grid;
place-items: center;
padding: 24px;
background: color-mix(in srgb, var(--lp-ink) 34%, transparent);
}
.cc-picture-panel {
display: grid;
place-items: center;
max-width: min(800px, calc(100vw - 96px));
max-height: calc(100vh - 96px);
padding: 12px;
border-radius: var(--lp-r-lg);
background: var(--lp-surface);
box-shadow: var(--lp-panel-shadow);
outline: none;
}
.cc-picture-image {
display: block;
max-width: 100%;
max-height: calc(100vh - 120px);
object-fit: contain;
}
.cc-picture-state { margin: 24px; color: var(--lp-muted); font-size: var(--lp-fs-sm); }
/* The Data Entry header saves one shared capacity value above the grid. */
.cc-capacity { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; flex: 0 0 auto; padding: 4px 12px;
font-size: var(--lp-fs-xs); color: var(--lp-ink); }
.cc-capacity-field { display: inline-flex; align-items: center; gap: 8px; }
.cc-capacity-field > span { color: var(--lp-muted); }
.cc-capacity-value { width: 96px; text-align: right; font-variant-numeric: tabular-nums; }
.cc-capacity-unit { width: 72px; }
.cc-capacity-note { color: var(--lp-muted); min-height: 1lh; }
.cc-capacity :is(input, select, button) { height: 30px; box-sizing: border-box; }
.cc-capacity :is(input, select, button):disabled { opacity: 0.5; cursor: not-allowed; }