mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-11-17 04:45:33 -08:00
Remove the legacy plan2code-loop CLI
AI Assisted
This commit is contained in:
1 parent
d7abcd2ac6
commit
c8d12a3d99
89 files changed
+449
-3189
No files matched your search
@@ -10,11 +10,12 @@
|
||||
attribute's own display. */
|
||||
#btn-activities[hidden] { display: none; }
|
||||
|
||||
/* The dialog: Notebook-sized, with the board taking whatever height the
|
||||
title, the banner, the picker, the note and the actions leave. */
|
||||
/* The dialog: as large as the viewport allows, a slim edge all round so it
|
||||
still reads as a window, with the board taking whatever height the title,
|
||||
the banner, the picker, the note and the actions leave. */
|
||||
.modal.activities {
|
||||
width: min(1200px, 90vw);
|
||||
height: min(900px, 85vh);
|
||||
width: calc(100vw - 32px);
|
||||
height: calc(100vh - 32px);
|
||||
max-width: none;
|
||||
max-height: none;
|
||||
flex-direction: column;
|
||||
@@ -184,11 +185,20 @@
|
||||
padding: 4px 2px 8px;
|
||||
}
|
||||
.activities-picker[hidden] { display: none; }
|
||||
/* Cards keep one width and wrap, and each row (a short last one too) sits in
|
||||
the middle, so a wide window is filled evenly and no corner is left bare. */
|
||||
.activities-cards {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
|
||||
gap: 16px;
|
||||
--card-w: 250px;
|
||||
--gap: 16px;
|
||||
/* At most six across: the width of six cards and the gaps between them. */
|
||||
max-width: calc(6 * var(--card-w) + 5 * var(--gap));
|
||||
margin-inline: auto;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
gap: var(--gap);
|
||||
}
|
||||
.activities-cards > .activities-card { flex: 0 0 var(--card-w); max-width: 100%; }
|
||||
.activities-card {
|
||||
position: relative;
|
||||
display: flex;
|
||||
@@ -215,7 +225,7 @@
|
||||
/* A course dashboard: three across where it fits, so all six courses show
|
||||
at once. A course card's art is a hole drawn on a 4:3 canvas, cropped to a
|
||||
wide strip through its middle, where the play is. */
|
||||
.activities-courses { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
|
||||
.activities-courses { --card-w: 290px; }
|
||||
.activities-cover canvas { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
|
||||
/* The covers' token colors (screens/activities.js names them), so a cover
|
||||
follows the theme and the highlight like the boards do. */
|
||||
|
||||
@@ -215,7 +215,21 @@
|
||||
}
|
||||
.dash-card.is-suggested .dash-chip { color: var(--accent); border-color: var(--accent-line); }
|
||||
|
||||
.dash-card-title { font-size: 15px; font-weight: 650; }
|
||||
/* The card icon sheet: present for <use href>, never drawn itself. */
|
||||
.card-icons { position: absolute; width: 0; height: 0; overflow: hidden; }
|
||||
|
||||
.dash-card-title { display: flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 650; }
|
||||
.dash-card-icon {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
flex: none;
|
||||
fill: none;
|
||||
stroke: currentColor;
|
||||
stroke-width: 1.8;
|
||||
stroke-linecap: round;
|
||||
stroke-linejoin: round;
|
||||
}
|
||||
.dash-card.is-suggested .dash-card-icon { stroke: var(--accent); }
|
||||
.dash-card-blurb { font-size: 13px; color: var(--ink-2); flex: 1; }
|
||||
.dash-card-detail { font-size: 12px; color: var(--accent); }
|
||||
|
||||
|
||||
@@ -119,6 +119,20 @@
|
||||
/* The icon sheet: present for <use href>, never drawn itself. */
|
||||
.help-icons { position: absolute; width: 0; height: 0; overflow: hidden; }
|
||||
|
||||
/* The card icons in the dashboard topic's card list: the same glyphs the
|
||||
cards wear, a touch quieter. */
|
||||
.help-card-icon {
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
margin-right: 5px;
|
||||
vertical-align: -2px;
|
||||
fill: none;
|
||||
stroke: var(--ink-2);
|
||||
stroke-width: 1.8;
|
||||
stroke-linecap: round;
|
||||
stroke-linejoin: round;
|
||||
}
|
||||
|
||||
/* The diagrams. Colors only from variables, so each drawing follows the
|
||||
theme and the chosen highlight without a line of script. */
|
||||
.help-figure { margin: 4px 0 16px; }
|
||||
|
||||
Reference in new issue
Block a user