Skip to content

AI media harness for planning, generating, and editing locally

TypeScript
1.4 KB
Raw Blame
/* ============================================================================
   shell.css — the application frame: one screen at a time, each a column of
   title bar + content that fills the window.

   There is no floating chrome any more. The settings launcher that sat fixed
   in the bottom-left corner, the work-queue pill in the bottom-right and the
   update notice that overlapped it are all title-bar buttons now (App.tsx,
   titlebar.css), so nothing on any screen has to reserve room to dodge them.

   Under Mica (window.css) --bg is transparent: the frame itself paints
   nothing, and the surfaces that need a plate — the library page, a
   project's panes — use --layer / --panel.
   ========================================================================== */

.app-shell {
  min-width: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--bg);
}

/* A top-level screen: its title bar, then whatever fills the rest. The
   screen behind Settings keeps its state by being [hidden], not unmounted. */
.app-screen {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  overflow: hidden;
}

/* Settings fills this: .settings-view is flex: 1 with its own scrolling
   panes, so the content area is a flex column of definite height. */
.app-screen__content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
}