loopable / web /src /styles /sdlc72 /app-fullscreen.css
fsanyoto's picture
Deploy AIOS web (React glide grid + FastAPI slice)
1ad1eea verified
Raw History Blame Contribute Delete
1.44 kB
/* S72-T62 (R108 k): full screen in every App. The App root sets `is-app-fullscreen` on <html>
while it is full screen and removes it on exit and on unmount. No animation, on purpose. */
/* The shell rail and the top bar leave the layout, so nothing behind the App can take focus. */
html.is-app-fullscreen .shell-root .shell-topbar,
html.is-app-fullscreen .shell-root .shell-side {
display: none;
}
/* apps.css hides every plain toolbar button on the Catalog and Routing Apps. Full screen is
the one App control that stays: one more class outranks that rule. */
.cg-main:has(.cg-app-catalog, .cg-app-route-surface) .cg-toolbar > .cg-tb-btn.cg-fullscreen-toggle {
display: inline-flex;
}
/* Finance Apps take the whole window the way `.cg-shell.is-view-fullscreen` does for grid Apps. */
.finance-workspace[data-app-fullscreen],
.collection-page[data-app-fullscreen] {
position: fixed;
inset: 0;
z-index: var(--cg-z-overlay);
overflow: auto;
}
/* The Finance header keeps its state pill and gains the Full screen control beside it. */
.finance-header-actions {
display: flex;
align-items: center;
gap: 12px;
flex: 0 0 auto;
}
/* The user-table History launcher is absolute at the top right of the nearest positioned box,
which in full screen is the App root, so the toolbar keeps that corner clear. */
.cg-shell[data-app-fullscreen]:has(.cg-drawer-launchers > *) .cg-toolbar {
padding-right: 96px;
}