web: gated access, anchored viewers, mobile tabs and chat colour
- serve.mjs requires a signed session cookie for every page, artifact and the WebSocket, with a password file, 30-day sessions, login throttling and public brand assets for the sign-in page. - The diff viewer is a fixed-height top-anchored panel whose toolbar (modes, copy, previous, next, close as icons) is its first row; the artifact viewer is likewise a fixed frame so its navigation never moves. - The audit's selected tab uses the app's normal selected surface and bottom accent. Sessions that were not recorded say so plainly. - Chat code blocks are syntax-coloured; graph pinch-zoom works with two fingers while a single pointer still pans and clicks nodes. - Phones always keep the destination bar (pane collapse is wide-only), with the destinations spread evenly and Search on the right; the list default width is narrower; the theme colour matches the app. - Code-format and layout tests, plus the full browser suite, pass.
This commit is contained in:
+20
-2
@@ -253,17 +253,19 @@
|
||||
inset: 0;
|
||||
z-index: 60;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
align-items: flex-start;
|
||||
justify-content: center;
|
||||
padding: 24px;
|
||||
background: rgba(0, 0, 0, 0.78);
|
||||
}
|
||||
/* Fixed height, anchored at the top: the toolbar (modes, copy, paging, close)
|
||||
never moves when a diff is long or short. */
|
||||
.change-viewer-panel {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
width: min(1200px, 100%);
|
||||
max-height: 100%;
|
||||
height: calc(100vh - 48px);
|
||||
min-height: 0;
|
||||
padding: 16px;
|
||||
background: var(--surface);
|
||||
@@ -283,6 +285,22 @@
|
||||
.change-form.active { border-color: var(--accent); color: var(--accent); }
|
||||
.change-form:disabled { opacity: 0.45; }
|
||||
.change-page:disabled { opacity: 0.4; cursor: not-allowed; }
|
||||
.change-icon {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
padding: 0;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-control);
|
||||
background: var(--surface-2);
|
||||
color: var(--text);
|
||||
font-size: 16px;
|
||||
line-height: 1;
|
||||
}
|
||||
.change-icon:hover { border-color: var(--color-border-strong); }
|
||||
.change-icon:disabled { opacity: 0.4; cursor: not-allowed; }
|
||||
.change-viewer-body { flex: 1; min-height: 0; overflow: auto; display: grid; gap: 16px; align-content: start; }
|
||||
|
||||
.change-honest {
|
||||
|
||||
Reference in New Issue
Block a user