/* One dark theme, no assets: the box art is the only image the app loads. */ :root { --bg: #11151c; --panel: #182029; --panel-2: #1e2732; --line: #2a3440; --ink: #e8eef5; --ink-dim: #93a4b8; --accent: #37b98a; --accent-ink: #05130d; --warn: #e0a44a; --radius: 12px; } * { box-sizing: border-box; } /* The scrollbars are part of the theme too: the platform's own are light, and a white track down the side menu of a dark window looks like a mistake. */ * { scrollbar-width: thin; scrollbar-color: #33414f transparent; } ::-webkit-scrollbar { width: 10px; height: 10px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background: #33414f; border: 3px solid transparent; border-radius: 999px; background-clip: content-box; } ::-webkit-scrollbar-thumb:hover { background: #46586b; background-clip: content-box; } /* An explicit `display` beats the browser's own [hidden] rule, and most of the regions here have one — the gate's store picker showed as an empty stub because of exactly that. This makes `hidden` mean hidden everywhere. */ [hidden] { display: none !important; } body { margin: 0; background: var(--bg); color: var(--ink); font: 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, sans-serif; display: flex; flex-direction: column; height: 100vh; overflow: hidden; } /* --- shell: the side menu and everything else --------------------------- */ .shell { flex: 1; display: flex; min-height: 0; overflow: hidden; /* so the collapsed menu is clipped rather than scrolled to */ } .content { flex: 1; display: flex; flex-direction: column; min-width: 0; min-height: 0; } .side { --side-width: 244px; width: var(--side-width); flex: none; background: var(--panel); border-right: 1px solid var(--line); /* The menu itself does not scroll: the category list does. Letting the whole column scroll made the bottom block — pinned there with margin-top: auto — sit on top of the overflowing categories. */ overflow: hidden; padding: 14px 12px 16px; display: flex; flex-direction: column; gap: 18px; transition: margin-left .16s ease-out; } body.nav-closed .side { margin-left: calc(-1 * var(--side-width)); } .side-block { display: flex; flex-direction: column; gap: 6px; flex: none; } .side-cats { flex: 1; min-height: 0; } .side-foot { padding-top: 12px; border-top: 1px solid var(--line); gap: 8px; } .side-head { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-dim); margin: 0 0 2px 4px; } .btn-wide { width: 100%; text-align: left; } .nav-toggle { font: inherit; font-size: 15px; line-height: 1; color: var(--ink-dim); background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; cursor: pointer; } .nav-toggle:hover { color: var(--ink); border-color: #3a4757; } /* Store switcher: one row per store on this machine, the open one marked. */ .store-list { display: flex; flex-direction: column; gap: 4px; } .store-row { font: inherit; text-align: left; color: var(--ink); background: transparent; border: 1px solid transparent; border-radius: 8px; padding: 6px 10px; cursor: pointer; display: flex; flex-direction: column; gap: 1px; } .store-row:hover:not(:disabled) { background: var(--panel-2); } .store-row.is-active { background: var(--panel-2); border-color: #2f5a49; } .store-row .store-row-name { font-weight: 600; } .store-row .store-row-id { font-size: 11px; color: var(--ink-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .store-row:disabled { opacity: .55; cursor: default; } /* Categories: what the catalog is filtered down to. */ .cats { display: flex; flex-direction: column; gap: 2px; overflow-y: auto; min-height: 0; } .cat { font: inherit; text-align: left; color: var(--ink-dim); background: transparent; border: 0; border-radius: 8px; padding: 5px 10px; cursor: pointer; display: flex; align-items: baseline; gap: 8px; } .cat:hover { background: var(--panel-2); color: var(--ink); } .cat.is-active { background: var(--panel-2); color: var(--ink); font-weight: 600; } .cat-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .cat-count { margin-left: auto; font-size: 11px; font-variant-numeric: tabular-nums; } .cat-group { font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #6b7d92; padding: 8px 10px 2px; } .side-lang { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-dim); } .side-lang .select { margin-left: auto; } /* --- top bar ------------------------------------------------------------ */ .bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 18px; background: var(--panel); border-bottom: 1px solid var(--line); flex: none; } .bar-title { display: flex; align-items: baseline; gap: 10px; font-weight: 700; margin-right: auto; } .logo { color: var(--accent); font-size: 18px; } .store-id { font-weight: 500; font-size: 12px; color: var(--ink-dim); border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; } .bar-actions { display: flex; align-items: center; gap: 8px; } .progress { color: var(--ink-dim); font-size: 12px; font-variant-numeric: tabular-nums; } /* --- controls ----------------------------------------------------------- */ .btn { font: inherit; font-weight: 600; color: var(--ink); background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 7px 14px; cursor: pointer; transition: background .15s, border-color .15s, transform .05s; } .btn:hover:not(:disabled) { background: #26313e; border-color: #3a4757; } .btn:active:not(:disabled) { transform: scale(.97); } .btn:disabled { opacity: .45; cursor: default; } .btn-primary { background: var(--accent); color: var(--accent-ink); border-color: transparent; } .btn-primary:hover:not(:disabled) { background: #45cd9b; } .btn-ghost { background: transparent; color: var(--ink-dim); } .btn-tiny { padding: 3px 9px; font-size: 12px; font-weight: 500; } .select { font: inherit; color: var(--ink); background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; } .link { color: var(--accent); cursor: pointer; text-decoration: underline; } /* --- gate (no python, or no store yet) ---------------------------------- */ .gate { margin: auto; max-width: 520px; padding: 28px; text-align: center; } .gate h1 { font-size: 20px; margin: 0 0 10px; } .gate p { color: var(--ink-dim); white-space: pre-line; margin: 0 0 20px; word-break: break-all; } .gate-actions { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; } .gate-choice { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-dim); font-size: 13px; } /* --- the grid ----------------------------------------------------------- */ .grid { flex: 1; overflow-y: auto; display: grid; /* Narrower than it was: the side menu takes 244px off the window, and at 260px a 1040px window had room for only two columns. */ grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; padding: 18px; /* Content-sized rows, spelled out. Left to `auto` the implicit rows split the grid's height evenly — every card came out 94px tall with its box art collapsed to nothing and its buttons clipped away, which is how the grid looked before this was measured. */ grid-auto-rows: max-content; align-content: start; } .empty { margin: auto; color: var(--ink-dim); } .gate { overflow-y: auto; } .card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; } .card.is-installed { border-color: #2f5a49; } /* Listed, but not for this machine: dimmed rather than hidden, and it says why. */ .card.is-unavailable { opacity: .55; } .card.is-unavailable:hover { opacity: .8; } .card.is-unavailable .art { filter: grayscale(1); } .badge-unavailable { color: var(--ink-dim); border-color: var(--line); border-style: dashed; } .actions-note { font-size: 12px; color: var(--ink-dim); margin-top: auto; } .art { /* One height for every card, art or not, so the titles and the buttons line up across a row. The images are cropped anyway (object-fit: cover). */ height: 148px; flex: none; background: #0d1117; display: flex; align-items: center; justify-content: center; overflow: hidden; } .art img { width: 100%; height: 100%; object-fit: cover; } .art-glyph { font-size: 44px; font-weight: 700; color: #263341; } .body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; } .body h2 { font-size: 15px; margin: 0; } .meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; } .badge { font-size: 11px; font-weight: 600; border-radius: 999px; padding: 2px 8px; border: 1px solid var(--line); color: var(--ink-dim); } .badge-app { color: var(--accent); border-color: #2f5a49; } .badge-web { color: var(--warn); border-color: #5a4a2f; } .version { font-size: 12px; color: var(--ink-dim); margin-left: auto; } .desc { margin: 0; font-size: 12.5px; color: var(--ink-dim); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; } .actions { display: flex; gap: 8px; margin-top: auto; } /* --- log ---------------------------------------------------------------- No permanent footer: the panel is in the flow only while it is open, and the switch for it sits in the side menu with everything else that is not a title. */ .log-panel { flex: none; background: var(--panel); border-top: 1px solid var(--line); padding: 8px 18px 10px; } .side-quiet { font: inherit; font-size: 12px; color: var(--ink-dim); background: none; border: 0; border-radius: 6px; padding: 4px 6px; margin-left: -6px; text-align: left; cursor: pointer; } .side-quiet:hover { color: var(--ink); background: var(--panel-2); } .side-quiet.is-active { color: var(--accent); } .log-lines { max-height: 150px; overflow-y: auto; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11.5px; color: var(--ink-dim); background: #0d1117; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; margin-bottom: 6px; } .log-line { white-space: pre-wrap; word-break: break-all; } .log-paths { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .paths-line { font-size: 11.5px; color: var(--ink-dim); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; word-break: break-all; flex: 1; min-width: 200px; }