mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-11-17 20:51:19 -08:00
143 lines
5.8 KiB
CSS
143 lines
5.8 KiB
CSS
/* ending.css: The end of a session: the hand-off and the stopping screen. */
|
|
|
|
/* ----------------------------------------------------------- hand-off */
|
|
|
|
/* Accented edge: the one card that is neither question nor note, the way out. */
|
|
.card.handoff { border-color: var(--accent-line); }
|
|
|
|
.handoff-step {
|
|
margin: 20px 0 0;
|
|
padding: 16px 18px;
|
|
background: var(--accent-soft);
|
|
border: 1px solid var(--accent-line);
|
|
border-radius: var(--radius);
|
|
}
|
|
/* Diagnose's write-up, for pasting into a ticket; scrolls so Next step stays close. */
|
|
.handoff-report {
|
|
margin: 20px 0 0;
|
|
padding: 14px 18px 16px;
|
|
border: 1px solid var(--rule-2);
|
|
border-radius: var(--radius);
|
|
}
|
|
.handoff-report-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
margin-bottom: 8px;
|
|
}
|
|
.handoff-report-head .handoff-label { margin: 0; }
|
|
.handoff-report-body { max-height: 420px; overflow-y: auto; }
|
|
|
|
.handoff-label {
|
|
margin: 0 0 6px;
|
|
color: var(--accent);
|
|
}
|
|
.handoff-where { margin: 0 0 10px; font-size: var(--fs-md); color: var(--ink-2); }
|
|
|
|
/* Command and Copy share a row until it is full. The text wraps: it rarely
|
|
fits one line, and a sideways scroll would hide the part to read before
|
|
pasting. */
|
|
.handoff-command {
|
|
display: flex;
|
|
align-items: stretch;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
}
|
|
.handoff-code {
|
|
flex: 1 1 260px;
|
|
min-width: 0;
|
|
font: var(--fs-sm)/1.5 var(--mono);
|
|
color: var(--ink);
|
|
background: var(--panel);
|
|
border: 1px solid var(--rule-2);
|
|
border-radius: var(--radius-md);
|
|
padding: 10px 12px;
|
|
white-space: pre-wrap;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
/* Always visible, unlike a code block's hover-only Copy. */
|
|
.handoff-copy { flex: none; }
|
|
.handoff-note { margin: 8px 0 0; font-size: var(--fs-sm); color: var(--ink-3); }
|
|
.handoff-newsession { margin-top: 10px; }
|
|
/* Gap under the command row. */
|
|
.continue-offer { margin-top: 14px; }
|
|
|
|
/* Nothing left to run: quieter than a next step, no accented box. */
|
|
.handoff-done { margin: 18px 0 0; color: var(--ink-2); }
|
|
.handoff-done-text p { margin: 0 0 10px; }
|
|
.handoff-done .handoff-code { flex-basis: 180px; font-size: var(--fs-xs); padding: 6px 10px; }
|
|
|
|
|
|
/* Review offer on a finished build. Louder than the next step on purpose: it
|
|
must happen here, while the next step can wait for a terminal. */
|
|
.review-offer {
|
|
margin: 20px 0 0;
|
|
padding: 18px 20px;
|
|
border: 2px solid var(--accent);
|
|
border-radius: var(--radius);
|
|
background: var(--panel);
|
|
}
|
|
.review-offer-title { margin: 0 0 6px; font-size: var(--fs-h3); }
|
|
.review-offer-text { margin: 0; color: var(--ink-2); font-size: var(--fs-md); }
|
|
.review-offer .btn-row { margin-top: 14px; }
|
|
.review-offer .review-go { padding: 12px 26px; font-size: var(--fs-h4); }
|
|
.review-offer .handoff-command { margin-top: 10px; }
|
|
|
|
/* Way back to the dashboard: quieter than the review offer, no box. */
|
|
.dashboard-offer { margin: 20px 0 0; }
|
|
.dashboard-offer > p:first-child { margin: 0; color: var(--ink-2); font-size: var(--fs-md); }
|
|
.dashboard-offer .handoff-command { margin-top: 10px; }
|
|
.dashboard-note { margin: 8px 0 0; font-size: var(--fs-sm); color: var(--ink-3); }
|
|
.handoff-fresh { margin: 16px 0 6px; font-size: var(--fs-sm); color: var(--ink-2); }
|
|
.handoff-fresh-row .handoff-code { flex-basis: 180px; font-size: var(--fs-xs); padding: 6px 10px; }
|
|
|
|
/* "Closing or starting fresh": the finish's quiet extras, closed until asked for (open at a red meter). */
|
|
.handoff-more { margin: 20px 0 0; }
|
|
.handoff-more-title { cursor: pointer; font-size: var(--fs-md); color: var(--ink-2); }
|
|
.handoff-more-title:hover { color: var(--ink); }
|
|
.handoff-more > .handoff-guide { margin-top: 12px; }
|
|
|
|
/* Quick picks under a long multi-select. */
|
|
.presets { margin-top: 12px; gap: 8px; }
|
|
.presets-label { font-size: var(--fs-sm); color: var(--ink-3); }
|
|
|
|
/* "Before you close this": three rows. Icon and label say the same thing, so
|
|
no meaning rests on color alone. */
|
|
.handoff-guide {
|
|
margin: 20px 0 0; padding: 14px 16px;
|
|
background: var(--panel-2); border: 1px solid var(--rule-2); border-radius: var(--radius);
|
|
}
|
|
.handoff-guide-title { margin: 0 0 10px; font: 600 var(--fs-base)/1.3 var(--serif); color: var(--ink); }
|
|
.handoff-guide-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
|
|
.handoff-guide-row { display: flex; align-items: flex-start; gap: 12px; font-size: var(--fs-md); color: var(--ink-2); }
|
|
.handoff-guide-text { min-width: 0; overflow-wrap: anywhere; }
|
|
.handoff-guide-label { color: var(--ink); }
|
|
.handoff-guide-icon {
|
|
flex: none; display: inline-flex; align-items: center; justify-content: center;
|
|
width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid currentColor;
|
|
}
|
|
.handoff-guide-icon svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
|
|
.handoff-guide-icon.is-safe { color: var(--ok); background: var(--ok-soft); }
|
|
.handoff-guide-icon.is-fresh { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
|
|
.handoff-guide-icon.is-carry { color: var(--accent); background: var(--accent-soft); }
|
|
.handoff-close { margin: 16px 0 0; color: var(--ink-2); }
|
|
.handoff-tools { margin-top: 16px; }
|
|
.handoff-unsent {
|
|
margin: 14px 0 0;
|
|
font-size: var(--fs-md);
|
|
}
|
|
|
|
/* ----------------------------------------------------------- stopping */
|
|
|
|
.stop-steps { list-style: none; margin: 4px 0 16px; padding: 0; display: grid; gap: 10px; }
|
|
.stop-steps li { display: flex; align-items: center; gap: 10px; font-size: var(--fs-md); color: var(--ink-2); }
|
|
.stop-steps li.is-done { color: var(--ink); }
|
|
.stop-steps li.is-later { color: var(--ink-3); }
|
|
.stop-steps li.is-stuck { color: var(--stage); }
|
|
.stop-mark { width: 13px; flex: none; text-align: center; font-weight: 700; }
|
|
.stop-steps li.is-done .stop-mark { color: var(--ok); }
|
|
.stop-note { margin: 0 0 12px; font-size: var(--fs-md); color: var(--ink-2); }
|
|
.stopping .handoff-command { margin-bottom: 4px; }
|
|
|