File size: 1,436 Bytes
1ad1eea | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | /* 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;
}
|