mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-11-29 21:21:18 -08:00
Add a Prototypes tab: list a spec's saved prototypes, read an md in place, open an html in a browser
AI Assisted
This commit is contained in:
1 parent
b38f2b987b
commit
ba19f79f1c
16 files changed
+511
-28
No files matched your search
@@ -40,3 +40,22 @@
|
||||
.doc-saved code { font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); }
|
||||
.doc-head { align-items: center; }
|
||||
|
||||
|
||||
/* ------------------------------------------------------ prototypes tab */
|
||||
|
||||
/* The spec's saved prototypes: one row per .md (read here) or .html (opens
|
||||
in the browser), as wide as a doc. */
|
||||
.proto-list { list-style: none; margin: 0 auto; padding: 0; max-width: min(var(--card-width), 100%); display: grid; gap: 8px; }
|
||||
.proto-open {
|
||||
width: 100%; display: flex; align-items: center; gap: 12px; text-align: left;
|
||||
padding: 12px 14px; border: 1px solid var(--rule); border-radius: 10px;
|
||||
background: var(--panel); color: var(--ink); font: inherit; cursor: pointer;
|
||||
}
|
||||
.proto-open:hover, .proto-open:focus-visible { border-color: var(--accent); background: var(--accent-soft); }
|
||||
.proto-kind {
|
||||
flex: none; min-width: 44px; text-align: center; padding: 3px 6px; border-radius: 6px;
|
||||
font: 700 10.5px/1.2 var(--mono); letter-spacing: 0.05em; border: 1px solid var(--rule-2); color: var(--ink-2);
|
||||
}
|
||||
.proto-kind-html { border-color: var(--accent); color: var(--accent); }
|
||||
.proto-name { flex: 1; min-width: 0; font-weight: 600; overflow-wrap: anywhere; }
|
||||
.proto-how { flex: none; font-size: 12px; color: var(--ink-3); }
|
||||
Reference in new issue
Block a user