mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-11-17 04:45:33 -08:00
Add Notebook tabs and a CodeMirror editor, rename Notepad to Notebook, add Back to Questions
AI Assisted
This commit is contained in:
1 parent
2075d235d8
commit
d4adb53a3a
55 files changed
+4017
-9231
No files matched your search
@@ -6,7 +6,11 @@
|
||||
max-width: min(var(--card-width), 100%);
|
||||
display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
|
||||
margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--rule);
|
||||
/* Stays put while the document scrolls under it. The ::before paints over
|
||||
the pane's own padding, so nothing shows through above the row. */
|
||||
position: sticky; top: 0; z-index: 5; background: var(--bg);
|
||||
}
|
||||
.doc-head::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 24px; background: var(--bg); }
|
||||
.doc-version { font: 700 12px/1 var(--mono); color: var(--ink-3); }
|
||||
|
||||
.block { max-width: min(var(--card-width), 100%); border-left: 3px solid transparent; padding: 2px 0 2px 14px; margin: 0 auto 4px; position: relative; }
|
||||
@@ -30,6 +34,8 @@
|
||||
/* ----------------------------------------------------------- doc tools */
|
||||
|
||||
.doc-tools { display: flex; gap: 8px; margin-left: auto; flex: none; align-items: center; }
|
||||
.btn.back-home { border-color: var(--accent); color: var(--accent); }
|
||||
.btn.back-home:hover { background: var(--accent-soft); }
|
||||
.doc-saved { font-size: 12px; color: var(--ink-3); }
|
||||
.doc-saved code { font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); }
|
||||
.doc-head { align-items: center; }
|
||||
|
||||
@@ -50,6 +50,8 @@
|
||||
hover it may never get. This one IS the screen's reason to exist. */
|
||||
.handoff-copy { flex: none; }
|
||||
.handoff-note { margin: 8px 0 0; font-size: 12.5px; color: var(--ink-3); }
|
||||
/* Continue here sits under the command row: keep a gap so the two do not touch. */
|
||||
.continue-offer { margin-top: 14px; }
|
||||
|
||||
/* A session with nothing left to run. Quieter than a real next step: no
|
||||
accented box, plain body text and a small command, because there is
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -52,7 +52,7 @@
|
||||
the one that is only nice to have. */
|
||||
.pager { gap: 8px; }
|
||||
.pager-count { display: none; }
|
||||
/* The Notepad takes the whole screen, and every control in it is a
|
||||
/* The Notebook takes the whole screen, and every control in it is a
|
||||
fingertip wide. The pictures go under Add image rather than beside it, so
|
||||
the strip gets the full width, and the preview's side columns narrow to
|
||||
give the picture their room. */
|
||||
@@ -62,6 +62,13 @@
|
||||
.modal.notepad .modal-actions .btn,
|
||||
.btn.notepad-preview-close { min-height: 44px; }
|
||||
.notepad-images { flex-direction: column; align-items: stretch; }
|
||||
.notepad-tabbar { flex-wrap: wrap; }
|
||||
.modal.notepad .notepad-tab-new,
|
||||
.modal.notepad .notepad-tab-tools .btn,
|
||||
.modal.notepad .notepad-name-row .btn,
|
||||
.modal.notepad .notepad-delete-row .btn,
|
||||
.notepad-tab { min-height: 44px; }
|
||||
.notepad-name-row { flex-wrap: wrap; }
|
||||
.notepad-add { align-self: flex-start; }
|
||||
.notepad-thumb .notepad-thumb-delete { width: 30px; height: 30px; font-size: 18px; }
|
||||
.modal.notepad-preview[open] { grid-template-columns: 52px minmax(0, 1fr) 52px; }
|
||||
|
||||
Reference in new issue
Block a user