mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-11-16 20:45:33 -08:00
Add Diagnose and X-ray, shared building habits, fresh-helper reviews, and a Bug fixed spec state
AI Assisted
This commit is contained in:
1 parent
80ae3decdd
commit
33a0dbd34a
58 files changed
+3270
-236
No files matched your search
@@ -2043,6 +2043,9 @@ h4.md-h, h5.md-h, h6.md-h { font-size: 15px; }
|
||||
.md-table th, .md-table td { border: 1px solid var(--rule); padding: 8px 11px; text-align: left; }
|
||||
.md-table th { background: var(--panel-2); font-weight: 600; }
|
||||
.md-img { max-width: 100%; border-radius: 8px; }
|
||||
.doc-figure { margin: 0 0 13px; }
|
||||
.doc-img { display: block; max-width: 100%; height: auto; border: 1px solid var(--rule); border-radius: 8px; }
|
||||
.doc-figure figcaption { font-size: 13px; color: var(--ink-2); margin-top: 6px; }
|
||||
.md a { color: var(--accent); }
|
||||
|
||||
/* ------------------------------------------------------------- footer */
|
||||
@@ -3053,6 +3056,50 @@ a.icon-btn { box-sizing: border-box; text-decoration: none; }
|
||||
}
|
||||
.spec-chip:not(.is-sel) .spec-chip-state { color: var(--ink-3); }
|
||||
.spec-chip-detail { font-size: 11.5px; color: var(--ink-3); }
|
||||
/* A spec's Delete button sits beside its chip, not inside it: a button cannot
|
||||
hold a button. Quiet until the chip is hovered or focused. */
|
||||
.spec-chip-wrap { position: relative; display: flex; }
|
||||
.spec-chip-wrap.is-fixed .spec-chip:not(.is-sel) { opacity: 0.6; }
|
||||
.spec-chip-wrap .spec-chip { padding-right: 36px; }
|
||||
.spec-chip-del {
|
||||
position: absolute;
|
||||
top: 6px;
|
||||
right: 6px;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
padding: 0;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 6px;
|
||||
background: transparent;
|
||||
color: var(--ink-3);
|
||||
font: inherit;
|
||||
font-size: 15px;
|
||||
line-height: 1;
|
||||
cursor: pointer;
|
||||
opacity: 0.55;
|
||||
}
|
||||
.spec-chip-wrap:hover .spec-chip-del,
|
||||
.spec-chip-del:focus-visible { opacity: 1; }
|
||||
.spec-chip-del:hover { color: var(--warn); border-color: var(--warn); opacity: 1; }
|
||||
.spec-chip-del:focus-visible { outline: 2px solid var(--warn); outline-offset: 1px; }
|
||||
.spec-chip-del:disabled { cursor: default; opacity: 0.3; }
|
||||
.spec-chip-wrap.is-deleting .spec-chip { opacity: 0.5; }
|
||||
.delete-facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 14px 0 0; font-size: 13.5px; }
|
||||
.delete-facts dt { color: var(--ink-3); }
|
||||
.delete-facts dd { margin: 0; overflow-wrap: anywhere; }
|
||||
.delete-confirm { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
|
||||
.delete-confirm[hidden] { display: none; }
|
||||
.delete-confirm input {
|
||||
padding: 8px 10px;
|
||||
border: 1px solid var(--rule-2);
|
||||
border-radius: var(--radius);
|
||||
background: var(--panel);
|
||||
color: var(--ink);
|
||||
font: inherit;
|
||||
}
|
||||
.delete-confirm input:focus-visible { outline: 2px solid var(--warn); outline-offset: 1px; }
|
||||
|
||||
/* ------------------------------------------------- dashboard confirm */
|
||||
|
||||
@@ -3524,6 +3571,68 @@ a.icon-btn { box-sizing: border-box; text-decoration: none; }
|
||||
/* Changelog -- the arm reaches the page and the newest line is written in step. */
|
||||
.pose .cl-line { animation: gc-dot 2.4s ease-in-out infinite; }
|
||||
|
||||
/* Codebase X-ray -- the scan line sweeps down the file, the rough spot lights
|
||||
up as it passes, and the lens and his star follow it down. */
|
||||
.pose .xr-scan { animation: xr-scan 4s ease-in-out infinite; }
|
||||
@keyframes xr-scan {
|
||||
0%, 10% { opacity: 0; transform: translateY(0); }
|
||||
16% { opacity: 1; }
|
||||
74% { opacity: 1; }
|
||||
80%, 100% { opacity: 0; transform: translateY(88px); }
|
||||
}
|
||||
.pose .xr-spot { animation: xr-spot 4s ease-out infinite; }
|
||||
@keyframes xr-spot {
|
||||
0%, 50% { opacity: 0; transform: scale(0.3); }
|
||||
56% { opacity: 1; transform: scale(1.3); }
|
||||
62%, 90% { opacity: 1; transform: scale(1); }
|
||||
100% { opacity: 0; transform: scale(1); }
|
||||
}
|
||||
.pose .xr-lens { animation: xr-lens 4s ease-in-out infinite; }
|
||||
@keyframes xr-lens {
|
||||
0%, 10%, 100% { transform: translate(0, -3px); }
|
||||
56%, 80% { transform: translate(0, 4px); }
|
||||
}
|
||||
.pose .xr-look { animation: xr-look 4s ease-in-out infinite; }
|
||||
@keyframes xr-look {
|
||||
0%, 10%, 100% { transform: translate(4px, -1px); }
|
||||
56%, 80% { transform: translate(4px, 2px); }
|
||||
}
|
||||
|
||||
/* Diagnose a bug -- the bug scuttles along its line, the magnifier and his
|
||||
star follow it until it is caught, and the red mark under the line shows
|
||||
once it holds still. Held still, the bug sits caught under the lens. */
|
||||
.pose .dg-mark { fill: none; stroke: var(--warn); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
|
||||
.pose .dg-leg { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
|
||||
.pose .dg-body { fill: var(--warn); }
|
||||
.pose .dg-head { fill: var(--ink); }
|
||||
.pose .dg-bug { animation: dg-bug 4s ease-in-out infinite; }
|
||||
@keyframes dg-bug {
|
||||
0%, 100% { transform: translate(-7px, 0) rotate(-12deg); }
|
||||
14% { transform: translate(-2px, 0) rotate(10deg); }
|
||||
26% { transform: translate(4px, 0) rotate(-10deg); }
|
||||
36% { transform: translate(1px, 0) rotate(8deg); }
|
||||
44%, 88% { transform: translate(0, 0) rotate(0deg); }
|
||||
}
|
||||
.pose .dg-lens { animation: dg-lens 4s ease-in-out infinite; }
|
||||
@keyframes dg-lens {
|
||||
0%, 100% { transform: translate(-9px, -2px); }
|
||||
18% { transform: translate(-3px, -1px); }
|
||||
30% { transform: translate(3px, 0); }
|
||||
44%, 88% { transform: translate(0, 0); }
|
||||
}
|
||||
.pose .dg-mark { animation: dg-mark 4s ease-out infinite; }
|
||||
@keyframes dg-mark {
|
||||
0%, 44% { opacity: 0; }
|
||||
52%, 88% { opacity: 1; }
|
||||
96%, 100% { opacity: 0; }
|
||||
}
|
||||
.pose .dg-look { animation: dg-look 4s ease-in-out infinite; }
|
||||
@keyframes dg-look {
|
||||
0%, 100% { transform: translate(2px, 0); }
|
||||
30% { transform: translate(5px, 0); }
|
||||
44%, 88% { transform: translate(4px, 1px); }
|
||||
}
|
||||
|
||||
@media (max-width: 720px) {
|
||||
.dash { padding-top: 0; }
|
||||
.launch-stage { height: 140px; }
|
||||
|
||||
Reference in new issue
Block a user