mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-11-17 20:51:19 -08:00
Restyle the web console and tidy its labels, Ask tab, cleanup and help
AI Assisted
This commit is contained in:
1 parent
710c751c2f
commit
e9679c47b9
103 files changed
+4054
-2273
No files matched your search
@@ -12,7 +12,7 @@
|
||||
}
|
||||
.modal.help[open] { display: flex; }
|
||||
.modal.help .modal-actions { flex: none; margin-top: 16px; align-items: center; }
|
||||
.help-version { margin-right: auto; font-size: 12.5px; color: var(--ink-3); }
|
||||
.help-version { margin-right: auto; font-size: var(--fs-sm); color: var(--ink-3); }
|
||||
.help-version a { color: inherit; }
|
||||
|
||||
.help-layout {
|
||||
@@ -22,6 +22,12 @@
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
}
|
||||
.help-side { display: flex; flex-direction: column; gap: 8px; min-height: 0; }
|
||||
.help-filter { width: 100%; min-height: 32px; padding: 4px 10px; font: inherit; font-size: var(--fs-md); }
|
||||
.help-filter-empty { margin: 0; font-size: var(--fs-sm); color: var(--ink-3); }
|
||||
.help-tab-group { margin: 10px 0 2px; padding: 0 13px; font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
|
||||
.help-tab-group:first-child { margin-top: 0; }
|
||||
.help-tab-group[hidden], .help-tab[hidden] { display: none; }
|
||||
.help-tabs {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -37,19 +43,19 @@
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
width: 100%;
|
||||
padding: 8px 10px;
|
||||
padding: 8px 10px 8px 13px;
|
||||
border: 0;
|
||||
border-left: 3px solid transparent;
|
||||
border-radius: 6px;
|
||||
border-radius: var(--radius-sm);
|
||||
background: transparent;
|
||||
color: var(--ink-2);
|
||||
font: inherit;
|
||||
font-size: 13.5px;
|
||||
font-size: var(--fs-md);
|
||||
text-align: left;
|
||||
cursor: pointer;
|
||||
}
|
||||
.help-tab:hover { background: var(--panel-2); color: var(--ink); }
|
||||
.help-tab[aria-selected="true"] { background: var(--accent-soft); color: var(--accent); border-left-color: var(--accent); font-weight: 600; }
|
||||
/* The selected bar is an inset shadow, not a border, so it stays straight against the rounded corners. */
|
||||
.help-tab[aria-selected="true"] { background: var(--accent-soft); color: var(--accent); box-shadow: inset 3px 0 0 var(--accent); font-weight: 600; }
|
||||
.help-tab:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
|
||||
.help-tab-icon {
|
||||
width: 18px;
|
||||
@@ -63,18 +69,18 @@
|
||||
}
|
||||
.help-tab:hover .help-tab-icon { stroke: var(--accent); }
|
||||
|
||||
.help-panel:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
|
||||
.help-panel h3 { font: 600 18px/1.3 var(--serif); margin: 0 0 12px; color: var(--accent); }
|
||||
.help-panel p { margin: 0 0 12px; font-size: 13.5px; color: var(--ink-2); }
|
||||
.help-panel:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: var(--radius-xs); }
|
||||
.help-panel h3 { font: 600 var(--fs-h3)/1.3 var(--serif); margin: 0 0 12px; color: var(--accent); }
|
||||
.help-panel p { margin: 0 0 12px; font-size: var(--fs-md); color: var(--ink-2); }
|
||||
.help-panel p:last-child { margin-bottom: 0; }
|
||||
.help-panel strong { color: var(--ink); }
|
||||
.help-panel .help-lead { font-size: 14.5px; color: var(--ink); margin-bottom: 16px; }
|
||||
.help-panel h4 { font: 600 14px/1.35 var(--sans); margin: 18px 0 6px; color: var(--ink); }
|
||||
.help-panel .help-lead { font-size: var(--fs-base); color: var(--ink); margin-bottom: 16px; }
|
||||
.help-panel h4 { font: 600 var(--fs-md)/1.35 var(--sans); margin: 18px 0 6px; color: var(--ink); }
|
||||
.help-panel ul,
|
||||
.help-panel ol { margin: 0 0 12px; padding-left: 20px; font-size: 13.5px; color: var(--ink-2); }
|
||||
.help-panel ol { margin: 0 0 12px; padding-left: 20px; font-size: var(--fs-md); color: var(--ink-2); }
|
||||
.help-panel li { margin-bottom: 5px; }
|
||||
.help-panel li:last-child { margin-bottom: 0; }
|
||||
.help-panel table { border-collapse: collapse; width: 100%; margin: 0 0 12px; font-size: 13.5px; color: var(--ink-2); }
|
||||
.help-panel table { border-collapse: collapse; width: 100%; margin: 0 0 12px; font-size: var(--fs-md); color: var(--ink-2); }
|
||||
.help-panel th,
|
||||
.help-panel td { border: 1px solid var(--rule); padding: 7px 10px; text-align: left; vertical-align: top; }
|
||||
.help-panel th { background: var(--panel-2); font-weight: 600; color: var(--ink); }
|
||||
@@ -82,7 +88,7 @@
|
||||
font: 0.88em var(--mono);
|
||||
background: var(--panel-2);
|
||||
border: 1px solid var(--rule);
|
||||
border-radius: 4px;
|
||||
border-radius: var(--radius-xs);
|
||||
padding: 1px 5px;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
@@ -94,17 +100,16 @@
|
||||
.help-panel .help-callout {
|
||||
display: flex; align-items: flex-start; gap: 12px;
|
||||
margin: 0 0 16px; padding: 12px 14px;
|
||||
background: var(--stage-soft); border: 1px solid var(--stage); border-left-width: 4px; border-radius: var(--radius);
|
||||
}
|
||||
.help-callout-icon { flex: none; width: 22px; height: 22px; margin-top: 1px; fill: none; stroke: var(--stage); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
|
||||
.help-panel .help-callout-label { display: block; margin-bottom: 2px; font-size: 14px; color: var(--ink); }
|
||||
.help-panel .help-callout-label { display: block; margin-bottom: 2px; font-size: var(--fs-md); color: var(--ink); }
|
||||
.help-panel .help-callout p { margin: 0; color: var(--ink); }
|
||||
.help-panel ol.help-rows { list-style: none; margin: 0 0 12px; padding: 0; }
|
||||
.help-row { margin: 0 0 8px; padding: 10px 12px; background: var(--panel-2); border: 1px solid var(--rule); border-radius: var(--radius); }
|
||||
.help-panel .help-row:last-child { margin-bottom: 0; }
|
||||
.help-row dl { display: grid; grid-template-columns: max-content 1fr; gap: 3px 12px; margin: 0; }
|
||||
.help-row dt { font-size: 12px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink-2); padding-top: 1px; }
|
||||
.help-row dd { margin: 0; font-size: 13.5px; color: var(--ink); min-width: 0; overflow-wrap: anywhere; }
|
||||
.help-row dt { color: var(--ink-2); padding-top: 1px; }
|
||||
.help-row dd { margin: 0; font-size: var(--fs-md); color: var(--ink); min-width: 0; overflow-wrap: anywhere; }
|
||||
@media (max-width: 520px) {
|
||||
.help-row dl { grid-template-columns: 1fr; gap: 0; }
|
||||
.help-row dt { margin-top: 6px; }
|
||||
@@ -113,10 +118,10 @@
|
||||
.help-panel .handoff-command { margin: 0 0 12px; }
|
||||
.help-panel .handoff-command:last-child { margin-bottom: 0; }
|
||||
.help-panel .handoff-code {
|
||||
font: 13px/1.5 var(--mono);
|
||||
font: var(--fs-sm)/1.5 var(--mono);
|
||||
background: var(--panel);
|
||||
border: 1px solid var(--rule-2);
|
||||
border-radius: 8px;
|
||||
border-radius: var(--radius-md);
|
||||
padding: 10px 12px;
|
||||
}
|
||||
|
||||
@@ -141,13 +146,13 @@
|
||||
theme and the chosen highlight without a line of script. */
|
||||
.help-figure { margin: 4px 0 16px; }
|
||||
.help-figure figcaption,
|
||||
.help-moods-title { display: block; margin-top: 4px; font-size: 12.5px; color: var(--ink-2); }
|
||||
.help-moods-title { display: block; margin-top: 4px; font-size: var(--fs-sm); color: var(--ink-2); }
|
||||
.help-diagram { display: block; width: 100%; max-width: 560px; height: auto; margin: 8px 0 4px; }
|
||||
.hd-box { fill: var(--panel-2); stroke: var(--rule-2); stroke-width: 1.2; }
|
||||
.hd-line { fill: none; stroke: var(--ink-3); stroke-width: 1.4; }
|
||||
.hd-dash { stroke-dasharray: 4 4; }
|
||||
.hd-label { fill: var(--ink); font: 13px var(--sans); }
|
||||
.hd-label.small { fill: var(--ink-2); font-size: 12px; }
|
||||
.hd-label { fill: var(--ink); font: var(--fs-sm) var(--sans); }
|
||||
.hd-label.small { fill: var(--ink-2); font-size: var(--fs-xs); }
|
||||
.hd-accent { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 1.4; }
|
||||
.hd-label.hd-accent { fill: var(--accent); stroke: none; font-weight: 600; }
|
||||
.hd-flow { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 6 10; stroke-linecap: round; }
|
||||
@@ -160,7 +165,7 @@
|
||||
}
|
||||
.help-mood { display: flex; flex-direction: column; align-items: center; gap: 6px; }
|
||||
.help-mood-bot { width: 40px; height: 56px; }
|
||||
.help-mood span { font-size: 12.5px; color: var(--ink-2); text-align: center; }
|
||||
.help-mood span { font-size: var(--fs-sm); color: var(--ink-2); text-align: center; }
|
||||
|
||||
/* The traveling highlight on the flow diagrams: only on the visible panel,
|
||||
only while the dialog is open, and only when the system allows motion.
|
||||
@@ -173,20 +178,20 @@
|
||||
@media (max-width: 720px) {
|
||||
.help-layout { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 12px; }
|
||||
.help-tabs { flex-direction: row; overflow-x: auto; overflow-y: hidden; padding: 0 0 4px; }
|
||||
.help-tab-group { display: none; }
|
||||
.help-tab {
|
||||
width: auto;
|
||||
flex: none;
|
||||
white-space: nowrap;
|
||||
border-left: 0;
|
||||
border-bottom: 3px solid transparent;
|
||||
border-radius: 6px 6px 0 0;
|
||||
padding-left: 10px;
|
||||
border-radius: var(--radius-sm) var(--radius-sm) 0 0;
|
||||
}
|
||||
.help-tab[aria-selected="true"] { border-bottom-color: var(--accent); }
|
||||
.help-tab[aria-selected="true"] { box-shadow: inset 0 -3px 0 var(--accent); }
|
||||
}
|
||||
|
||||
.about-live {
|
||||
padding: 9px 12px;
|
||||
border-radius: 8px;
|
||||
border-radius: var(--radius-md);
|
||||
background: var(--panel-2);
|
||||
border: 1px solid var(--rule);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user