mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-11-17 04:45:33 -08:00
Show each helper's strength and effort as colored level badges
AI Assisted
This commit is contained in:
1 parent
b99a1a701f
commit
765d2b3536
7 files changed
+100
-7
No files matched your search
@@ -161,7 +161,33 @@
|
||||
margin: 4px 0 0; color: var(--ink-2); font-size: 13.5px;
|
||||
display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
|
||||
}
|
||||
.sa-strength { margin: 4px 0 0; color: var(--ink-3); font-size: 12.5px; }
|
||||
.sa-strength { margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
|
||||
/* A helper's strength and effort, coloured by rank: calm teal, amber, violet. */
|
||||
.sa-badge {
|
||||
--b: var(--ink-2);
|
||||
--b-soft: var(--panel);
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
font-size: 11.5px;
|
||||
font-weight: 600;
|
||||
line-height: 1;
|
||||
padding: 4px 8px;
|
||||
border-radius: 99px;
|
||||
border: 1px solid color-mix(in srgb, var(--b) 35%, transparent);
|
||||
background: var(--b-soft);
|
||||
color: var(--b);
|
||||
white-space: nowrap;
|
||||
}
|
||||
.sa-badge.lvl-1 { --b: var(--lvl-1); --b-soft: var(--lvl-1-soft); }
|
||||
.sa-badge.lvl-2 { --b: var(--lvl-2); --b-soft: var(--lvl-2-soft); }
|
||||
.sa-badge.lvl-3 { --b: var(--lvl-3); --b-soft: var(--lvl-3-soft); }
|
||||
.sa-bars { display: inline-flex; align-items: flex-end; gap: 1.5px; height: 9px; }
|
||||
.sa-bars i { width: 2.5px; border-radius: 1px; background: currentColor; opacity: 0.25; }
|
||||
.sa-bars i:nth-child(1) { height: 4px; }
|
||||
.sa-bars i:nth-child(2) { height: 6.5px; }
|
||||
.sa-bars i:nth-child(3) { height: 9px; }
|
||||
.sa-bars i.on { opacity: 1; }
|
||||
.sa-result { margin: 8px 0 0; padding-top: 8px; border-top: 1px solid var(--rule); font-size: 13.5px; }
|
||||
.sa-pill { display: inline-flex; align-items: center; gap: 6px; flex: none; }
|
||||
.sa-pill.is-running { background: var(--accent-soft); color: var(--accent); border-color: var(--accent-line); }
|
||||
|
||||
Reference in new issue
Block a user