create-pmos 0.645.0 → 0.647.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +27 -27
- package/payload/KIT-VERSION +1 -1
- package/payload/design-system/ui/components/Suggestion/README.md +8 -0
- package/payload/design-system/ui/components/Timeline/README.md +8 -0
- package/payload/design-system/ui/components/bundle.css +38 -0
- package/payload/planning/evals/eval-calibration.md +1 -1
- package/payload/planning/okrs/health-budgets.md +1 -1
- package/payload/state/discoveries.md +1 -1
- package/workspace/changelog.json +26 -0
- package/workspace/design-system/ui/components/Suggestion/README.md +8 -0
- package/workspace/design-system/ui/components/Timeline/README.md +8 -0
- package/workspace/design-system/ui/components/bundle.css +38 -0
- package/workspace/guide/layout.md +24 -12
- package/workspace/package-lock.json +2 -2
- package/workspace/package.json +1 -1
- package/workspace/public/pm/bd-backlog.js +21 -11
- package/workspace/public/pm/bd-ds.css +0 -7
- package/workspace/public/pm/bd-span.js +10 -5
- package/workspace/public/pm/bd-stands.js +165 -0
- package/workspace/public/pm/bd-work-ds.css +107 -0
- package/workspace/public/pm/bd-work.css +8 -77
- package/workspace/public/pm/bd-work.js +79 -46
- package/workspace/public/pm/cozy-today-app.js +10 -5
- package/workspace/public/pm/cozy-today-model.js +11 -5
- package/workspace/public/pm/cozy-today-page.css +50 -135
- package/workspace/public/pm/cozy-today-view.js +147 -98
- package/workspace/public/pm/komorebi.css +39 -0
- package/workspace/public/pm/premium-board.js +57 -10
- package/workspace/public/pm/readonly.js +3 -0
- package/workspace/public/premium-board.html +4 -1
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
/* pm/bd-stands.js — the blocks Work opens with and ends on (initiative work-design-system-blocks; Exploring 3 page "work", boards WorkDS,
|
|
2
|
+
* WorkSprintDS, WorkBacklogDS; brief design-system/work-rebuild/brief.md). Built only from PMOS Komorebi parts (workspace/design-system/ui).
|
|
3
|
+
*
|
|
4
|
+
* · Where it stands: a Summary block (pm-block). It says what is happening and why it matters: the cause, what is at risk and the next
|
|
5
|
+
* decision point, with each initiative's name a link that opens it. Never counts alone. The words come from the record only: a late
|
|
6
|
+
* milestone and its days, what blocks it in Jira or waits on the PM, a stage with no dates and how long it has sat there, the next
|
|
7
|
+
* milestone. Nothing is invented; with nothing to say, the block says nothing (zero is silence).
|
|
8
|
+
* · One Suggestion after it, in the expanded form (pm-sug x): a title, Why (with its evidence), PMOS will (the exact steps), What changes
|
|
9
|
+
* and Based on (the sources), then Change it first (pencil), Yes (primary) and No (outline). Wawan: "user can't just trust to accept or
|
|
10
|
+
* reject". The Suggestion is one of PMOS's open proposals on the initiatives on screen (lib/proposals.js, r.props), the one on the most
|
|
11
|
+
* urgent initiative first; none open, none drawn.
|
|
12
|
+
* · Next milestones: a date line (pm-dline) under the Initiatives table with the next 5 milestones of all initiatives, each a diamond, its
|
|
13
|
+
* date, its name and its initiative. Close labels drop to a second row with a dashed lead; a milestone past the visible range is a +N mark
|
|
14
|
+
* at the right end with its month above it, and once the line is scrolled a matching mark shows at the left end. It follows the table's
|
|
15
|
+
* scale (the window the page gives).
|
|
16
|
+
* Everything here is pure: the page (pm/premium-board.js) passes the rows and the window and wires the presses by their data- attributes. */
|
|
17
|
+
|
|
18
|
+
export const esc = (s) => String(s == null ? '' : s).replace(/[&<>"']/g, (c) => ({ '&': '&', '<': '<', '>': '>', '"': '"', "'": ''' })[c]);
|
|
19
|
+
const MON = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];
|
|
20
|
+
const DAY = 864e5;
|
|
21
|
+
const SV = (d, n = 16) => `<svg class="pm-ic" width="${n}" height="${n}" viewBox="0 0 24 24" aria-hidden="true"><path d="${d}"/></svg>`;
|
|
22
|
+
export const I = {
|
|
23
|
+
star: 'M12 3l1.8 5.4L19 10.2l-5.2 1.8L12 17.4l-1.8-5.4L5 10.2l5.2-1.8z', pen: 'M4 20h4L19 9l-4-4L4 16z', ok: 'M5 12.5l4.5 4.5L19 7.5',
|
|
24
|
+
x: 'M6 6l12 12M18 6L6 18', plus: 'M12 5v14M5 12h14',
|
|
25
|
+
};
|
|
26
|
+
export const day = (v) => { if (v instanceof Date) return new Date(v.getFullYear(), v.getMonth(), v.getDate()); const m = /^(\d{4})-(\d{2})-(\d{2})/.exec(String(v || '')); return m ? new Date(+m[1], +m[2] - 1, +m[3]) : null; };
|
|
27
|
+
/** "12 Nov", and the year when it is not this year. */
|
|
28
|
+
export const dm = (d, now = new Date()) => d.getDate() + ' ' + MON[d.getMonth()] + (d.getFullYear() !== now.getFullYear() ? ' ' + d.getFullYear() : '');
|
|
29
|
+
const days = (n) => n + (n === 1 ? ' day' : ' days');
|
|
30
|
+
const weeks = (n) => { const w = Math.round(n / 7); return w <= 1 ? (n === 1 ? '1 day' : n < 7 ? n + ' days' : '1 week') : w + ' weeks'; };
|
|
31
|
+
const closed = (r) => !!(r.closed || r.status === 'done');
|
|
32
|
+
const stageOf = (r) => String((r.acts && r.acts.stage) || r.stage || '');
|
|
33
|
+
const link = (r) => `<a href="#" data-wkopen="${esc(r.key)}">${esc(r.title)}</a>`;
|
|
34
|
+
|
|
35
|
+
/** The open milestones of a row with a date, earliest first. */
|
|
36
|
+
export const openMs = (r) => (r.milestones || []).filter((m) => m && !m.done && day(m.date)).sort((a, b) => day(a.date) - day(b.date));
|
|
37
|
+
|
|
38
|
+
/* ── Where it stands ──────────────────────────────────────────────────────────────────────────────────────────── */
|
|
39
|
+
/** One sentence for each initiative that needs saying, most urgent first, at most three, then the next decision point. → [html] */
|
|
40
|
+
export function standsOf(rows, now = new Date()) {
|
|
41
|
+
const t = day(now), open = (rows || []).filter((r) => r && !closed(r));
|
|
42
|
+
const said = new Set(), out = [];
|
|
43
|
+
// 1. late: the next milestone (or the plan's end) has passed. The cause, from the record: tickets blocked in Jira, or what waits on the PM.
|
|
44
|
+
const late = open.map((r) => {
|
|
45
|
+
const m = openMs(r)[0], d = m ? day(m.date) : (r.over && day(r.end)) || null;
|
|
46
|
+
return d && d < t ? { r, m, d, over: Math.round((t - d) / DAY) } : null;
|
|
47
|
+
}).filter(Boolean).sort((a, b) => b.over - a.over);
|
|
48
|
+
for (const x of late.slice(0, 2)) {
|
|
49
|
+
const tk = x.r.track || {}, what = x.m ? `its ${esc(dm(x.d, now))} ${esc(x.m.name || 'milestone')}` : `its planned end on ${esc(dm(x.d, now))}`;
|
|
50
|
+
const cause = tk.blocked ? ` because ${tk.blocked === 1 ? 'a Jira ticket is' : tk.blocked + ' Jira tickets are'} blocked`
|
|
51
|
+
: tk.you && tk.you.text ? ` and waits on you: ${esc(String(tk.you.text).replace(/^Your turn\s*·\s*/i, '').replace(/\.$/, ''))}` : '';
|
|
52
|
+
out.push(`${link(x.r)} is ${days(x.over)} past ${what}${cause}.`); said.add(x.r.key);
|
|
53
|
+
}
|
|
54
|
+
// 2. at risk, with a date still ahead
|
|
55
|
+
for (const r of open.filter((r) => !said.has(r.key) && r.status === 'at risk').slice(0, out.length ? 1 : 2)) {
|
|
56
|
+
const m = openMs(r)[0], d = m ? day(m.date) : day(r.end);
|
|
57
|
+
if (d && d >= t) { out.push(`${link(r)} is at risk for ${m ? esc(m.name || 'its milestone') + ' on ' : 'its end on '}${esc(dm(d, now))}.`); said.add(r.key); }
|
|
58
|
+
}
|
|
59
|
+
// 3. sitting in a stage with no dates: how long, from the day it moved there
|
|
60
|
+
for (const r of open.filter((r) => !said.has(r.key) && !day(r.start) && !day(r.end) && !openMs(r).length)) {
|
|
61
|
+
if (out.length >= 3) break;
|
|
62
|
+
const mv = day(r.acts && r.acts.movedOn), n = mv ? Math.round((t - mv) / DAY) : null, st = stageOf(r);
|
|
63
|
+
out.push(n != null && n > 0
|
|
64
|
+
? `${link(r)} has sat in ${esc(st || 'its stage')} for ${weeks(n)} with no dates, so nothing shows when it will move.`
|
|
65
|
+
: `${link(r)} has no dates yet${st ? ' in ' + esc(st) : ''}, so nothing shows when it will move.`);
|
|
66
|
+
said.add(r.key);
|
|
67
|
+
}
|
|
68
|
+
// 4. the next decision point: the earliest milestone still ahead, of any initiative on screen
|
|
69
|
+
const next = open.flatMap((r) => openMs(r).filter((m) => day(m.date) >= t).map((m) => ({ r, m, d: day(m.date) }))).sort((a, b) => a.d - b.d)[0];
|
|
70
|
+
if (next) {
|
|
71
|
+
const n = Math.round((next.d - t) / DAY);
|
|
72
|
+
out.push(`The next decision point is ${esc(next.m.name || 'a milestone')} for ${link(next.r)} on ${esc(dm(next.d, now))}${n === 0 ? ', today' : n === 1 ? ', tomorrow' : n <= 14 ? ', in ' + days(n) : ''}.`);
|
|
73
|
+
} else if (!out.length && open.length) out.push(`Every initiative here is on its dates, and none has a milestone ahead yet.`);
|
|
74
|
+
return out;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/* ── the Suggestion: one of PMOS's open proposals ───────────────────────────────────────────────────────────────── */
|
|
78
|
+
const URG = (r, now) => { const t = day(now), m = openMs(r)[0], d = m ? day(m.date) : r.over ? day(r.end) : null; return d && d < t ? 0 : r.status === 'at risk' ? 1 : (r.track && r.track.you) ? 2 : 3; };
|
|
79
|
+
/** The open proposal to show: the most urgent initiative's first one (its groups come in the Viewer's order). → { r, p } | null */
|
|
80
|
+
export function pickProp(rows, now = new Date()) {
|
|
81
|
+
const C = (rows || []).filter((r) => r && !closed(r) && r.props && (r.props.groups || []).length).sort((a, b) => URG(a, now) - URG(b, now));
|
|
82
|
+
for (const r of C) for (const g of r.props.groups) for (const p of g.props || []) if (p && p.id && p.group !== 'links' && (p.title || (p.items || []).length)) return { r, p };
|
|
83
|
+
return null;
|
|
84
|
+
}
|
|
85
|
+
const dt = (v, now) => { const d = day(v); return d ? dm(d, now) : String(v || ''); };
|
|
86
|
+
/** A proposal in the Suggestion's words: { title, why, will: [text], changes, basis }. Every line comes from the proposal; one it lacks is left out. */
|
|
87
|
+
export function sugOf(r, p, now = new Date()) {
|
|
88
|
+
const items = (p.items || []).filter(Boolean);
|
|
89
|
+
const will = items.slice(0, 4).map((x) => (x.from || x.to) && p.group === 'dates'
|
|
90
|
+
? `Move ${x.title || 'the task'}${x.from ? ' from ' + dt(x.from, now) : ''} to ${dt(x.to, now)}${x.jira ? ' (a comment on the Jira ticket; Jira is not changed)' : ''}`
|
|
91
|
+
: p.group === 'names' && x.from && x.to ? `Rename ${x.from} to ${x.to}` : String(x.title || ''));
|
|
92
|
+
if (items.length > 4) will.push(`and ${items.length - 4} more`);
|
|
93
|
+
if (p.ask && p.ask.owner) will.push(`Ask ${p.ask.owner} first; you see the message before it goes`);
|
|
94
|
+
const changes = p.plan && (p.plan.from || p.plan.to) ? `${p.stage ? p.stage + ' ' : 'The plan '}ends ${dt(p.plan.to, now)}${p.plan.from ? ' instead of ' + dt(p.plan.from, now) : ''}.` : '';
|
|
95
|
+
const basis = (p.sources || []).map((s) => (s && (s.label || s.name)) || '').filter(Boolean).join(', ');
|
|
96
|
+
const title = String(p.title || '').trim() || (will[0] || '');
|
|
97
|
+
return { title: title + (title && !title.includes(r.title) ? ` (${r.title})` : ''), why: String(p.why || '').trim(), will: title === will[0] && will.length === 1 ? [] : will, changes, basis };
|
|
98
|
+
}
|
|
99
|
+
/** The expanded Suggestion (pm-sug x). s: sugOf(); data: the attributes its answers carry (the page knows which proposal). */
|
|
100
|
+
export function sugHtml(s, data = '') {
|
|
101
|
+
if (!s || !s.title) return '';
|
|
102
|
+
const row = (k, v, cls = '') => (v ? `<dt>${k}</dt><dd${cls ? ` class="${cls}"` : ''}>${v}</dd>` : '');
|
|
103
|
+
return `<div class="pm-sug x" role="group" aria-label="PMOS suggests">`
|
|
104
|
+
+ `<div class="ttl">${SV(I.star)}<b class="say">${esc(s.title)}</b></div>`
|
|
105
|
+
+ `<dl>${row('Why', esc(s.why))}${row('PMOS will', s.will.length ? `<ul>${s.will.map((w) => `<li>${esc(w)}</li>`).join('')}</ul>` : '')}${row('What changes', esc(s.changes))}${row('Based on', esc(s.basis), 'src')}</dl>`
|
|
106
|
+
+ `<div class="ans"><button type="button" class="pm-btn" data-wksug="edit" ${data} aria-label="Change it first" title="Change it first">${SV(I.pen)}</button>`
|
|
107
|
+
+ `<button type="button" class="pm-btn primary" data-wksug="yes" ${data} aria-label="Yes, do it" title="Yes, do it">${SV(I.ok)}</button>`
|
|
108
|
+
+ `<button type="button" class="pm-btn outline" data-wksug="no" ${data} aria-label="No" title="No">${SV(I.x)}</button></div></div>`;
|
|
109
|
+
}
|
|
110
|
+
/** The Where it stands block: the sentences, then one Suggestion. Nothing to say and nothing suggested: no block. */
|
|
111
|
+
export function standsHtml(rows, o = {}) {
|
|
112
|
+
const now = o.now || new Date(), S = standsOf(rows, now);
|
|
113
|
+
const pk = o.sug === false ? null : pickProp(rows, now), sug = pk ? sugHtml(sugOf(pk.r, pk.p, now), `data-ini="${esc(pk.r.id)}" data-key="${esc(pk.r.key)}" data-pid="${esc(pk.p.id)}" data-sig="${esc(pk.p.sig || '')}"`) : '';
|
|
114
|
+
if (!S.length && !sug) return '';
|
|
115
|
+
return `<section class="pm-block wk-stands" aria-label="Where it stands"><h2 class="pm-h-sm pm-row">${SV(I.star).replace('pm-ic', 'pm-ic pm-star')}Where it stands</h2>`
|
|
116
|
+
+ (S.length ? `<p class="wk-say">${S.join(' ')}</p>` : '') + sug + '</section>';
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/* ── Next milestones: the date line ─────────────────────────────────────────────────────────────────────────── */
|
|
120
|
+
/** The next milestones of all initiatives from `from` on, earliest first. → [{ r, m, d, late }] */
|
|
121
|
+
export function nextMilestones(rows, now = new Date()) {
|
|
122
|
+
const t = day(now);
|
|
123
|
+
return (rows || []).filter((r) => r && !closed(r)).flatMap((r) => openMs(r).map((m) => ({ r, m, d: day(m.date), late: day(m.date) < t })))
|
|
124
|
+
.sort((a, b) => a.d - b.d);
|
|
125
|
+
}
|
|
126
|
+
/** Where the labels go: a label that would touch the one before it on its row drops to the next row (with a dashed lead). PURE.
|
|
127
|
+
* xs: the marks' positions in % of the line; w: a label's width in %. → [row index] */
|
|
128
|
+
export function stack(xs, w = 18) {
|
|
129
|
+
const ends = [], out = [];
|
|
130
|
+
for (const x of xs) { let k = 0; while (ends[k] != null && x < ends[k]) k++; ends[k] = x + w; out.push(k); }
|
|
131
|
+
return out;
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* The date line. items: nextMilestones(); W: the table's window { from, to }; o: { now, shift: how many milestones past the window's start
|
|
135
|
+
* were scrolled over (the left mark), title, sub, add: true draws + (New milestone) }. Shows the first 5 inside the window; the rest past
|
|
136
|
+
* the right end fold into +N with the month of the first of them above it.
|
|
137
|
+
*/
|
|
138
|
+
export function dlineHtml(items, W, o = {}) {
|
|
139
|
+
const now = o.now || new Date(), t = day(now), span = +W.to - +W.from || 1;
|
|
140
|
+
const X = (d) => ((+d - +W.from) / span) * 100, P = (x) => Math.max(0, Math.min(100, x)).toFixed(2) + '%';
|
|
141
|
+
const before = items.filter((x) => x.d < W.from && x.d >= t), inside = items.filter((x) => x.d >= W.from && x.d <= W.to), after = items.filter((x) => x.d > W.to);
|
|
142
|
+
const shown = inside.slice(0, 5), rest = inside.slice(5).concat(after);
|
|
143
|
+
// the month ticks along the line, the same as the table's
|
|
144
|
+
const ticks = [];
|
|
145
|
+
for (let d = new Date(W.from.getFullYear(), W.from.getMonth(), 1); d <= W.to; d = new Date(d.getFullYear(), d.getMonth() + 1, 1)) if (d >= W.from) ticks.push(d);
|
|
146
|
+
const step = ticks.length > 8 ? Math.ceil(ticks.length / 8) : 1;
|
|
147
|
+
const tk = ticks.filter((_, i) => i % step === 0).map((d) => `<span class="tk" style="left:${P(X(d))}">${esc(MON[d.getMonth()] + (d.getMonth() === 0 ? ' ' + d.getFullYear() : ''))}</span>`).join('');
|
|
148
|
+
const nowM = t >= W.from && t <= W.to ? `<i class="pm-now" style="left:${P(X(t))}"><span>${esc(dm(t, now))}</span></i>` : '';
|
|
149
|
+
const rowsOf = stack(shown.map((x) => X(x.d)), o.lw ? (180 / o.lw) * 100 : 14); // a label is about 180 px wide
|
|
150
|
+
const marks = shown.map((x, i) => {
|
|
151
|
+
const k = rowsOf[i], name = x.m.name || 'Milestone';
|
|
152
|
+
return `<div class="ms${x.late ? ' late' : ''}${k ? ' low' : ''}" style="left:${P(X(x.d))};--row:${k}">`
|
|
153
|
+
// a read-only copy draws the diamond as a mark, not a button: its card can pin a milestone
|
|
154
|
+
+ (o.ro ? `<span class="pm-dia${x.late ? ' late' : ''}" role="img" aria-label="${esc(name + ', ' + dm(x.d, now) + ', ' + x.r.title + (x.late ? ', late' : ''))}"></span>`
|
|
155
|
+
: `<button type="button" class="pm-dia${x.late ? ' late' : ''}" data-ms-pick="${esc(x.r.key)}" data-ms-id="${esc(x.m.id || '')}" aria-label="${esc(name + ', ' + dm(x.d, now) + ', ' + x.r.title + (x.late ? ', late' : ''))}" title="${esc(name + ' · ' + x.r.title)}"></button>`)
|
|
156
|
+
+ `<span class="lb"><span class="code">${esc(dm(x.d, now))}</span><b>${esc(name)}</b><span class="pm-meta">${esc(x.r.title)}</span>${x.late ? `<span class="pm-badge alert">${days(Math.round((t - x.d) / DAY))} late</span>` : ''}</span></div>`;
|
|
157
|
+
}).join('');
|
|
158
|
+
const lo = before.length ? `<button type="button" class="pm-more l" data-wkdl="back" aria-label="${esc(before.length + ' earlier: scroll back')}" title="${esc(before.map((x) => x.m.name).join(', '))}"><span>${esc(MON[before[before.length - 1].d.getMonth()])}</span><b>+${before.length}</b></button>` : '';
|
|
159
|
+
const hi = rest.length ? `<button type="button" class="pm-more r" data-wkdl="on" aria-label="${esc(rest.length + ' later: scroll on')}" title="${esc(rest.map((x) => x.m.name + ' · ' + dm(x.d, now)).join('\n'))}"><span>${esc(MON[rest[0].d.getMonth()])}</span><b>+${rest.length}</b></button>` : '';
|
|
160
|
+
const rowsN = Math.max(1, ...rowsOf.map((k) => k + 1));
|
|
161
|
+
return `<section class="pm-block wk-next" aria-label="${esc(o.title || 'Next milestones')}"><div class="head"><h2 class="pm-h">${esc(o.title || 'Next milestones')}</h2>${o.sub ? `<span class="pm-meta">${esc(o.sub)}</span>` : ''}<span class="sp"></span>`
|
|
162
|
+
+ (o.add ? `<button type="button" class="pm-btn" data-wkdl="add" aria-label="New milestone" title="New milestone">${SV(I.plus)}</button>` : '') + `</div>`
|
|
163
|
+
+ (items.length ? `<div class="pm-dline" style="--rows:${rowsN}"><div class="axis">${tk}</div><div class="line">${nowM}${marks}</div>${lo}${hi}</div>`
|
|
164
|
+
: `<p class="pm-meta">No milestone ahead yet.</p>`) + '</section>';
|
|
165
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
/* pm/bd-work-ds.css — Work built from PMOS Komorebi parts (initiative work-design-system-blocks; Exploring 3 page "work", board WorkDS). This sheet
|
|
2
|
+
* only places the parts (pm-block, pm-tabs, pm-table, pm-sug x, pm-gt, pm-dia, pm-dline, pm-fold, pm-group, pm-badge) and gives the Board's own
|
|
3
|
+
* bar (pm/bd-span.js rowBar, one design everywhere) the system's marks. It loads last on premium-board.html, so the system is what shows. */
|
|
4
|
+
|
|
5
|
+
/* ── the top line: the path (Work › product), one Tabs part for Initiatives / Backlog / This sprint, the icon buttons ── */
|
|
6
|
+
body.bd-page.wk-on .bd-hd, body.bd-page.bk-on .bd-hd { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: var(--space-12); }
|
|
7
|
+
/* off Work the path steps aside: only the product chip shows, as before */
|
|
8
|
+
body.bd-page .wk-path { display: contents; }
|
|
9
|
+
body.bd-page .wk-path > span, body.bd-page .wk-path > .pm-ic { display: none; }
|
|
10
|
+
body.bd-page.wk-on .wk-path, body.bd-page.bk-on .wk-path { display: flex; min-width: 0; font-size: var(--fs-row); font-weight: var(--fw-strong); color: var(--ink); }
|
|
11
|
+
body.bd-page.wk-on .wk-path > span, body.bd-page.wk-on .wk-path > .pm-ic, body.bd-page.bk-on .wk-path > span, body.bd-page.bk-on .wk-path > .pm-ic { display: inline-flex; }
|
|
12
|
+
.wk-path > .pm-ic { color: var(--muted); }
|
|
13
|
+
body.bd-page.wk-on .bd-hd > .bk-sw, body.bd-page.bk-on .bd-hd > .bk-sw { justify-self: center; }
|
|
14
|
+
body.bd-page.wk-on .bd-hd .bd-tools, body.bd-page.bk-on .bd-hd .bd-tools { justify-self: end; margin-left: 0; }
|
|
15
|
+
/* Choose columns lives in the Initiatives block now (WorkDS); the toolbar keeps Search, New and More */
|
|
16
|
+
body.bd-page.wk-on:not(.bk-on) [id="bdFilter"] { display: none; }
|
|
17
|
+
/* the product chip reads as the path's last crumb: no border, the chevron after the name */
|
|
18
|
+
body.bd-page .wk-path .pk-chip, body.bd-page .wk-path [id="bdPick"] { border: 0; box-shadow: none; background: none; padding-left: var(--space-4); font-weight: var(--fw-strong); }
|
|
19
|
+
|
|
20
|
+
/* ── the stack of blocks ── */
|
|
21
|
+
/* the head's spacer is the part's .sp, not the old sprint table's .sp box (cozy-board.css) */
|
|
22
|
+
.pm-block .head > .sp { border: 0; border-radius: 0; background: none; overflow: visible; }
|
|
23
|
+
body.bd-page.wk-on [id="ibBody"][data-view="work"] { display: flex; flex-direction: column; gap: var(--space-16); }
|
|
24
|
+
.wk-stands .wk-say { margin: 0; font-size: var(--fs-body); line-height: 24px; }
|
|
25
|
+
.wk-stands .wk-say a { color: var(--blue); }
|
|
26
|
+
|
|
27
|
+
/* ── the Initiatives table ── */
|
|
28
|
+
.wk-blk { gap: var(--space-8); }
|
|
29
|
+
.wk-blk .head { flex-wrap: wrap; row-gap: var(--space-8); }
|
|
30
|
+
.wk-blk .head .pm-btn { position: relative; }
|
|
31
|
+
.wk-blk .wk-fc { position: absolute; top: 2px; right: 2px; min-width: 14px; height: 14px; padding: 0 3px; border-radius: var(--radius-pill); background: var(--blue); color: var(--on-blue); font-size: var(--fs-badge); line-height: 14px; font-style: normal; text-align: center; }
|
|
32
|
+
.wk-tw { overflow: hidden; }
|
|
33
|
+
table.pm-table.wk { table-layout: fixed; }
|
|
34
|
+
table.pm-table.wk col.c-title { width: 240px; }
|
|
35
|
+
table.pm-table.wk col.c-product { width: 112px; }
|
|
36
|
+
table.pm-table.wk col.c-stage { width: 112px; }
|
|
37
|
+
table.pm-table.wk col.c-ms { width: 150px; }
|
|
38
|
+
table.pm-table.wk col.c-date { width: 176px; }
|
|
39
|
+
table.pm-table.wk col.c-status, table.pm-table.wk col.c-wf { width: 120px; }
|
|
40
|
+
table.pm-table.wk col.c-program, table.pm-table.wk col.c-goal { width: 160px; }
|
|
41
|
+
table.pm-table.wk:not(.has-x) col.c-title { width: auto; }
|
|
42
|
+
@media (max-width: 1280px) { table.pm-table.wk col.c-title { width: 200px; } table.pm-table.wk col.c-ms { width: 130px; } table.pm-table.wk col.c-date { width: 150px; } table.pm-table.wk col.c-stage { width: 96px; } }
|
|
43
|
+
table.pm-table.wk th, table.pm-table.wk td { height: 40px; box-sizing: border-box; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
44
|
+
table.pm-table.wk td.n { font-weight: var(--fw-strong); color: var(--ink); }
|
|
45
|
+
table.pm-table.wk tr.wk-i { cursor: pointer; }
|
|
46
|
+
table.pm-table.wk tr.wk-i:focus-visible { outline: none; box-shadow: inset var(--glow); }
|
|
47
|
+
table.pm-table.wk tr.wk-i.sel td { background: var(--blue-tint); }
|
|
48
|
+
table.pm-table.wk tr.wk-i.cl td { color: var(--muted); }
|
|
49
|
+
table.pm-table.wk tr.wk-g td { padding: 0; }
|
|
50
|
+
table.pm-table.wk tr.wk-g:hover td { background: none; }
|
|
51
|
+
table.pm-table.wk tr.wk-g .pm-group { padding: 0 8px; }
|
|
52
|
+
table.pm-table.wk tr.wk-g .pm-group small { font-size: var(--fs-row); font-weight: var(--fw-regular); }
|
|
53
|
+
.wk-hd { all: unset; cursor: pointer; border-radius: var(--radius-sm); }
|
|
54
|
+
.wk-hd:focus-visible { box-shadow: var(--glow); }
|
|
55
|
+
.wk-d .pm-badge { margin-left: var(--space-4); }
|
|
56
|
+
.wk-st { all: unset; cursor: pointer; border-radius: var(--radius-sm); padding: 2px 6px; margin-left: -6px; }
|
|
57
|
+
.wk-st:hover { background: var(--well); }
|
|
58
|
+
.wk-st:focus-visible { box-shadow: var(--glow); }
|
|
59
|
+
|
|
60
|
+
/* the timeline column: the ticks in the head, a row's bar in the Timeline part (pm-gt) with the today line through every row */
|
|
61
|
+
table.pm-table.wk th.wk-x, table.pm-table.wk td.wk-x { position: relative; padding: 0; overflow: visible; }
|
|
62
|
+
.wk-tl { position: absolute; inset: 0 8px; }
|
|
63
|
+
.wk-tk { position: absolute; top: 50%; transform: translateY(-50%); font-weight: var(--fw-strong); color: var(--muted); white-space: nowrap; }
|
|
64
|
+
td.wk-x > .wk-bw { position: absolute; inset: -1px 8px 0; height: auto; overflow: clip; overflow-clip-margin: 10px; }
|
|
65
|
+
td.wk-x > .wk-bw > .wk-gl { display: none; }
|
|
66
|
+
td.wk-x > .wk-bw > .pm-now { z-index: 4; }
|
|
67
|
+
body.wk-drag, body.wk-drag * { cursor: grabbing !important; user-select: none; }
|
|
68
|
+
td.wk-x, th.wk-x { touch-action: pan-y; }
|
|
69
|
+
|
|
70
|
+
/* the Board's own bar in the system's marks: done in leaf, now in blue, planned in well with a hairline; diamonds in ink, late in alert, close
|
|
71
|
+
* ones one numbered mark with the number in its centre */
|
|
72
|
+
.wk-blk .tg-bar { height: 10px; margin-top: -5px; border-radius: var(--radius-pill); background: var(--well); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
|
|
73
|
+
.wk-blk .tg-bar > b { background: var(--leaf); border-radius: 0; }
|
|
74
|
+
.wk-blk .tg-bar > i.nw { background: var(--blue); }
|
|
75
|
+
.wk-blk :is(.tg-tm, .tg-end) { width: 12px; height: 12px; margin: -6px 0 0 -6px; background: var(--card); border: 2px solid var(--ink); border-radius: 2px; z-index: 5; }
|
|
76
|
+
.wk-blk :is(.tg-tm, .tg-end).late { border-color: var(--alert); }
|
|
77
|
+
.wk-blk :is(.tg-tm, .tg-end).dn { background: var(--leaf); border-color: var(--leaf); box-shadow: none; }
|
|
78
|
+
.wk-blk .tg-tmc { width: 18px; height: 18px; margin: -9px 0 0 -9px; background: var(--ink); border: 2px solid var(--ink); border-radius: 3px; z-index: 5; display: flex; align-items: center; justify-content: center; }
|
|
79
|
+
.wk-blk .tg-tmc.late { background: var(--alert); border-color: var(--alert); }
|
|
80
|
+
.wk-blk .tg-tmc b, .wk-blk .tg-tmc.late b, .wk-blk .tg-tmc.dn b { transform: rotate(-45deg); color: var(--card); font-size: 11px; line-height: 1; font-weight: var(--fw-strong); }
|
|
81
|
+
.wk-blk :is(.tg-tm, .tg-end, .tg-tmc):focus-visible { outline: none; box-shadow: var(--glow); }
|
|
82
|
+
.wk-blk .tg-late { background: var(--alert); height: 2px; margin-top: -1px; }
|
|
83
|
+
|
|
84
|
+
/* the key under the table */
|
|
85
|
+
.wk-key { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-16); }
|
|
86
|
+
.wk-key > span { display: inline-flex; align-items: center; gap: 6px; }
|
|
87
|
+
.wk-key .k { display: inline-block; width: 14px; height: 8px; border-radius: var(--radius-pill); }
|
|
88
|
+
.wk-key .k.dn { background: var(--leaf); }
|
|
89
|
+
.wk-key .k.nw { background: var(--blue); }
|
|
90
|
+
.wk-key .k.pl { background: var(--well); box-shadow: inset 0 0 0 1px var(--line); }
|
|
91
|
+
.wk-key .k.td { width: 2px; height: 14px; border-radius: 0; background: var(--alert); }
|
|
92
|
+
.wk-key .k.ms { width: 9px; height: 9px; border-radius: 1px; transform: rotate(45deg); border: 1.5px solid var(--ink); background: var(--card); }
|
|
93
|
+
.wk-key .k.mn { width: 9px; height: 9px; border-radius: 1px; transform: rotate(45deg); background: var(--ink); }
|
|
94
|
+
.wk-blk .pm-fold { border-top: 1px dashed var(--line); }
|
|
95
|
+
.wk-blk .pm-fold .pm-ic { transition: transform var(--duration-quick) var(--ease-out); }
|
|
96
|
+
.wk-blk .pm-fold[aria-expanded="true"] .pm-ic { transform: rotate(180deg); }
|
|
97
|
+
.wk-empty { margin: 0; }
|
|
98
|
+
.wk-sa { all: unset; cursor: pointer; color: var(--blue); }
|
|
99
|
+
|
|
100
|
+
/* ── Next milestones ── */
|
|
101
|
+
.wk-next .pm-dline { margin-top: var(--space-4); }
|
|
102
|
+
|
|
103
|
+
@media (max-width: 760px) {
|
|
104
|
+
body.bd-page.wk-on .bd-hd, body.bd-page.bk-on .bd-hd { display: flex; }
|
|
105
|
+
body.bd-page.wk-on .wk-path, body.bd-page.bk-on .wk-path { display: contents; }
|
|
106
|
+
body.bd-page.wk-on .wk-path > span, body.bd-page.wk-on .wk-path > .pm-ic, body.bd-page.bk-on .wk-path > span, body.bd-page.bk-on .wk-path > .pm-ic { display: none; }
|
|
107
|
+
}
|
|
@@ -3,44 +3,17 @@
|
|
|
3
3
|
* with wk-. On a desk only: body.wk-on hides the View chip and the count pill with its (i), which Work does not have. */
|
|
4
4
|
body.bd-page.wk-on [id="bdVieww"], body.bd-page.wk-on [id="bdChipset"] { display: none !important; }
|
|
5
5
|
body.bd-page.wk-on .bd-hd .bd-tools { margin-left: auto; }
|
|
6
|
+
/* the plain bar's and the stage card's colours (the table itself is the system's Table part, pm/bd-work-ds.css) */
|
|
7
|
+
.wk-blk { --wk-plan: var(--bd-plan); --wk-pass: var(--bd-done); --wk-late: var(--cz-late); --wk-risk: var(--cz-risk); }
|
|
8
|
+
.wk-sar { display: inline-flex; }
|
|
9
|
+
.wk-sar svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2.2; transform: rotate(180deg); }
|
|
10
|
+
.wk-sar.dn svg { transform: none; }
|
|
11
|
+
.wk-showing { display: flex; align-items: baseline; gap: 6px; margin: 0 4px 10px; font-size: var(--fs-label); color: var(--cz-ink2); }
|
|
12
|
+
.wk-showing .q { color: var(--cz-ink3); }
|
|
13
|
+
.wk-showing .wk-sa { font-size: var(--fs-label); }
|
|
6
14
|
|
|
7
|
-
.wk, .wk-key { --wk-plan: var(--bd-plan); --wk-pass: var(--bd-done); --wk-late: var(--cz-late); --wk-risk: var(--cz-risk);
|
|
8
15
|
}
|
|
9
|
-
.wk { border-radius: 16px; box-shadow: inset 0 0 0 1px var(--cz-hair); background: var(--cz-card); overflow: visible; font-family: inherit; margin-top: 4px; }
|
|
10
|
-
.wk-r { display: grid; grid-template-columns: var(--wk-cols); column-gap: 16px; align-items: center; height: 44px; padding: 0 0 0 16px; font-size: var(--fs-row); line-height: 20px; color: var(--cz-ink2); position: relative; }
|
|
11
|
-
.wk:not(.has-x) .wk-r { padding-right: 16px; }
|
|
12
|
-
.wk-r + .wk-r { box-shadow: inset 0 1px 0 var(--cz-hair); }
|
|
13
|
-
.wk-r > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
14
|
-
.wk-h { height: 38px; background: var(--cz-well); border-radius: 16px 16px 0 0; font-size: var(--fs-label); font-weight: var(--fw-strong); color: var(--cz-ink3); z-index: 4; }
|
|
15
|
-
.wk-hd { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; border-radius: 6px; }
|
|
16
|
-
.wk-hd:hover, .wk-hd.on { color: var(--cz-ink); }
|
|
17
|
-
.wk-hd:focus-visible, .wk-i:focus-visible, .wk-st:focus-visible { outline: 2px solid var(--cz-blue); outline-offset: 2px; }
|
|
18
|
-
.wk-g { height: 36px; background: var(--cz-well); font-size: var(--fs-label); font-weight: var(--fw-strong); color: var(--cz-ink2); }
|
|
19
|
-
.wk-g > span:first-child { grid-column: 1 / -2; }
|
|
20
|
-
.wk:not(.has-x) .wk-g > span:first-child { grid-column: 1 / -1; }
|
|
21
|
-
.wk-g small { font-size: var(--fs-label); font-weight: var(--fw-regular); color: var(--cz-ink3); margin-left: 8px; }
|
|
22
|
-
.wk-i { cursor: pointer; }
|
|
23
|
-
.wk-i:hover, .wk-i.hov { background: var(--cz-well); }
|
|
24
|
-
.wk-i.sel { background: var(--cz-bluebg); }
|
|
25
|
-
.wk-i:last-child { border-radius: 0 0 16px 16px; }
|
|
26
|
-
.wk-r .n { font-weight: var(--fw-strong); color: var(--cz-ink); }
|
|
27
|
-
.wk-r .q { color: var(--cz-ink3); }
|
|
28
|
-
.wk-d { font-variant-numeric: tabular-nums; }
|
|
29
|
-
.wk-d em { font-style: normal; }
|
|
30
|
-
.wk-d.late { color: var(--wk-late); }
|
|
31
|
-
.wk-d.risk { color: var(--wk-risk); }
|
|
32
|
-
.wk-st { all: unset; cursor: pointer; max-width: 100%; overflow: hidden; text-overflow: ellipsis; border-radius: 6px; padding: 2px 6px; margin-left: -6px; }
|
|
33
|
-
.wk-st:hover { background: var(--cz-well2); color: var(--cz-ink); }
|
|
34
16
|
|
|
35
|
-
/* the timeline column */
|
|
36
|
-
.wk-x { align-self: stretch; position: relative; overflow: visible !important; box-shadow: inset 1px 0 0 var(--cz-hair); }
|
|
37
|
-
.wk-bw { position: absolute; inset: 0 8px; overflow: clip; overflow-clip-margin: 8px; } /* a bar that starts or ends past the span stops at the timeline's edge (Quarter, 2026-11-19); the stage card sits outside it */
|
|
38
|
-
.wk-gl { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--cz-hair); }
|
|
39
|
-
.wk-now { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--cz-ink); opacity: .7; z-index: 3; }
|
|
40
|
-
.wk-xh { display: block; }
|
|
41
|
-
.wk-tl { position: absolute; inset: 0 8px; }
|
|
42
|
-
.wk-tk { position: absolute; top: 50%; transform: translate(-50%, -50%); font-size: var(--fs-meta); font-weight: var(--fw-strong); color: var(--cz-ink3); white-space: nowrap; }
|
|
43
|
-
.wk-nowl { position: absolute; bottom: -9px; transform: translateX(-50%); z-index: 7; font-size: var(--fs-badge); font-weight: var(--fw-strong); font-style: normal; line-height: 18px; padding: 0 7px; border-radius: 999px; background: var(--cz-ink); color: var(--cz-card); white-space: nowrap; }
|
|
44
17
|
.wk-bar { position: absolute; top: 50%; height: 20px; margin-top: -10px; border-radius: 999px; background: var(--wk-plan); overflow: hidden; min-width: 4px; }
|
|
45
18
|
.wk-bar > em { display: block; height: 100%; background: var(--wk-pass); }
|
|
46
19
|
.wk-late { position: absolute; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; background: var(--wk-late); z-index: 1; }
|
|
@@ -53,7 +26,6 @@ body.bd-page.wk-on .bd-hd .bd-tools { margin-left: auto; }
|
|
|
53
26
|
.wk-sd.cur { width: 16px; height: 16px; margin: -8px 0 0 -8px; background: var(--cz-blue); border: 3px solid var(--cz-card); box-shadow: 0 0 0 2px var(--cz-blue); z-index: 3; }
|
|
54
27
|
.wk-sd.cur.late { background: var(--wk-late); box-shadow: 0 0 0 2px var(--wk-late); }
|
|
55
28
|
.wk-sd.cur.risk { background: var(--wk-risk); box-shadow: 0 0 0 2px var(--wk-risk); }
|
|
56
|
-
.wk-i.hov { z-index: 5; }
|
|
57
29
|
|
|
58
30
|
/* the stages card under a pointed row */
|
|
59
31
|
.wk-card { position: absolute; left: auto; right: 8px; width: max(100%, calc(var(--n, 8) * 80px + 24px)); box-sizing: border-box; top: 36px; z-index: 20; padding: 10px 12px 12px; border-radius: 14px; background: var(--cz-card); box-shadow: 0 12px 32px -8px rgba(30, 34, 42, .3), 0 0 0 1px var(--cz-hair); white-space: normal; cursor: default; }
|
|
@@ -70,30 +42,7 @@ body.bd-page.wk-on .bd-hd .bd-tools { margin-left: auto; }
|
|
|
70
42
|
.wk-cs.cur b { color: var(--cz-ink); }
|
|
71
43
|
.wk-cs small { display: block; font-size: var(--fs-meta); color: var(--cz-ink3); margin-top: 2px; }
|
|
72
44
|
|
|
73
|
-
/* the hide button and the span chooser at the top left of the timeline */
|
|
74
|
-
.wk-hide, .wk-show, .wk-span { all: unset; cursor: pointer; box-sizing: border-box; height: 20px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; color: var(--cz-ink3); background: var(--cz-card); box-shadow: inset 0 0 0 1px var(--cz-hair); z-index: 6; }
|
|
75
|
-
.wk-hide { position: absolute; left: 4px; top: 50%; margin-top: -10px; width: 20px; }
|
|
76
|
-
.wk-show { position: absolute; right: 12px; top: 50%; margin-top: -10px; width: 20px; }
|
|
77
|
-
.wk-spw { position: absolute; left: 28px; top: 50%; margin-top: -10px; z-index: 6; }
|
|
78
|
-
.wk-span { padding: 0 5px 0 7px; gap: 3px; font-size: var(--fs-meta); font-weight: var(--fw-strong); color: var(--cz-ink2); }
|
|
79
|
-
.wk-hide:hover, .wk-show:hover, .wk-span:hover { color: var(--cz-ink); background: var(--cz-well); }
|
|
80
|
-
.wk-hide:focus-visible, .wk-show:focus-visible, .wk-span:focus-visible { outline: 2px solid var(--cz-blue); outline-offset: 1px; }
|
|
81
|
-
.wk-hide svg, .wk-show svg, .wk-span svg { fill: none; stroke: currentColor; stroke-width: 2.2; }
|
|
82
|
-
.wk-spm { position: absolute; left: 0; top: 26px; z-index: 30; display: grid; gap: 1px; padding: 6px; border-radius: 12px; background: var(--cz-card); box-shadow: 0 8px 28px rgba(42, 46, 53, .18), inset 0 0 0 1px var(--cz-hair); min-width: 112px; }
|
|
83
|
-
.wk-spm[hidden] { display: none; }
|
|
84
|
-
.wk-spm .h { font-size: var(--fs-badge); font-weight: var(--fw-strong); line-height: 1; color: var(--cz-ink3); padding: 5px 8px 6px; }
|
|
85
|
-
.wk-spm .o { all: unset; cursor: pointer; font-size: var(--fs-meta); font-weight: var(--fw-regular); line-height: 1; color: var(--cz-ink); padding: 7px 8px; border-radius: 7px; display: flex; justify-content: space-between; gap: 14px; }
|
|
86
|
-
.wk-spm .o:hover, .wk-spm .o:focus-visible { background: var(--cz-well); }
|
|
87
|
-
.wk-spm .o.on { background: var(--cz-well); font-weight: var(--fw-strong); }
|
|
88
|
-
.wk-spm .o.on::after { content: '✓'; font-weight: var(--fw-strong); color: var(--cz-ink2); }
|
|
89
45
|
|
|
90
|
-
/* the key under the list */
|
|
91
|
-
.wk-key { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; margin: 12px 4px 0; font-size: var(--fs-label); color: var(--cz-ink3); }
|
|
92
|
-
.wk-key span { display: inline-flex; align-items: center; gap: 7px; }
|
|
93
|
-
.wk-key i { display: inline-block; flex: none; }
|
|
94
|
-
.wk-key .k-bar { width: 26px; height: 10px; border-radius: 5px; background: linear-gradient(90deg, var(--wk-pass) 50%, var(--wk-plan) 50%); }
|
|
95
|
-
.wk-key .k-ms { width: 9px; height: 9px; border-radius: 2px; transform: rotate(45deg); border: 2px solid var(--bd-done); box-sizing: border-box; }
|
|
96
|
-
.wk-key .k-late { width: 22px; height: 4px; border-radius: 2px; background: var(--cz-late); }
|
|
97
46
|
|
|
98
47
|
/* the view menu (board 5): one narrow panel under the tune button */
|
|
99
48
|
.wk-menu { position: fixed; z-index: 80; width: 300px; max-height: calc(100vh - 80px); overflow: auto; padding: 14px 14px 10px; border-radius: 18px; background: var(--cz-card); box-shadow: 0 1px 2px rgba(30, 40, 60, .1), 0 16px 40px rgba(30, 40, 60, .18), inset 0 0 0 1px var(--cz-hair); font-size: var(--fs-row); color: var(--cz-ink); box-sizing: border-box; font-family: var(--cz-sans); }
|
|
@@ -131,17 +80,6 @@ body.bd-page.wk-on .bd-hd .bd-tools { margin-left: auto; }
|
|
|
131
80
|
/* Work's rows in the shell's ⋯ menu (board 5 keeps them out of the view menu): a count or "on" sits at the right, small and grey */
|
|
132
81
|
.crmenu > .wk-xo .k { margin-left: auto; padding-left: 16px; font-size: var(--fs-meta); font-weight: var(--fw-regular); color: var(--cz-ink3); }
|
|
133
82
|
/* round 2 (Wawan, 2026-11-19): the Board's own bar sits in Work's track; the key says what it draws; the closed ones fold into one line */
|
|
134
|
-
.wk-x .tg-bar { cursor: pointer; }
|
|
135
|
-
.wk-key .k { width: 14px; height: 7px; border-radius: 3px; }
|
|
136
|
-
.wk-key .k.dn { background: var(--bd-done); }
|
|
137
|
-
.wk-key .k.nw { background: var(--cz-blue); }
|
|
138
|
-
.wk-key .k.pl { background: var(--bd-plan); }
|
|
139
|
-
.wk-key .k.dlv { width: 8px; height: 8px; transform: rotate(45deg); border-radius: 2px; border: 2px solid var(--bd-done); background: var(--cz-card); }
|
|
140
|
-
.wk-fold { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-label); font-weight: var(--fw-strong); color: var(--cz-ink2); border-radius: 6px; }
|
|
141
|
-
.wk-fold svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; transform: rotate(-90deg); transition: transform .15s; }
|
|
142
|
-
.wk-fold[aria-expanded="true"] svg { transform: none; }
|
|
143
|
-
.wk-fold:hover { color: var(--cz-ink); }
|
|
144
|
-
.wk-fold:focus-visible { outline: 2px solid var(--cz-blue); outline-offset: 2px; }
|
|
145
83
|
/* round 3 (Wawan, 2026-11-19): Filter, Sort, View and Columns in one calm panel of about 360 px; pills with their counts; several at once */
|
|
146
84
|
.wk-menu { width: 352px; padding: 6px 16px 12px; }
|
|
147
85
|
.wk-menu section { padding: 12px 0 4px; box-shadow: inset 0 -1px 0 var(--cz-hair); }
|
|
@@ -164,9 +102,6 @@ body.bd-page.wk-on .bd-hd .bd-tools { margin-left: auto; }
|
|
|
164
102
|
.wk-menu .wk-pl .wk-sk .x { height: 28px; width: 26px; padding: 0; justify-content: center; background: none; color: var(--cz-card); opacity: .7; }
|
|
165
103
|
.wk-menu .wk-pl .wk-sk .x:hover { opacity: 1; background: none; }
|
|
166
104
|
.wk-sk svg, .wk-cx svg, .wk-fold svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
|
|
167
|
-
.wk-sar { display: inline-flex; }
|
|
168
|
-
.wk-sar svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2.2; transform: rotate(180deg); }
|
|
169
|
-
.wk-sar.dn svg { transform: none; }
|
|
170
105
|
.wk-hd .wk-sar svg { width: 12px; height: 12px; }
|
|
171
106
|
.wk-sk .x svg { width: 11px; height: 11px; }
|
|
172
107
|
.wk-menu .wk-tlr { margin: 0 0 10px; height: 36px; }
|
|
@@ -179,12 +114,8 @@ body.bd-page.wk-on .bd-hd .bd-tools { margin-left: auto; }
|
|
|
179
114
|
.wk-note { margin: 2px 0 10px; font-size: var(--fs-meta); color: var(--cz-ink3); line-height: var(--lh-meta); }
|
|
180
115
|
.wk-lk, .wk-sa { all: unset; cursor: pointer; font-size: var(--fs-meta); font-weight: var(--fw-strong); color: var(--cz-blue); border-radius: 4px; }
|
|
181
116
|
.wk-ft { min-height: 24px; }
|
|
182
|
-
.wk-showing { display: flex; align-items: baseline; gap: 6px; margin: 0 4px 10px; font-size: var(--fs-label); color: var(--cz-ink2); }
|
|
183
|
-
.wk-showing .q { color: var(--cz-ink3); }
|
|
184
|
-
.wk-showing .wk-sa { font-size: var(--fs-label); }
|
|
185
117
|
.wk-fc { position: absolute; top: -2px; right: -2px; min-width: 16px; height: 16px; padding: 0 4px; box-sizing: border-box; border-radius: 999px; background: var(--cz-blue); color: var(--cz-card); font-size: var(--fs-badge); font-weight: var(--fw-strong); font-style: normal; line-height: 16px; text-align: center; pointer-events: none; }
|
|
186
118
|
body.bd-page.wk-on [id="bdFilter"] { position: relative; }
|
|
187
|
-
.wk-empty { margin: 0; padding: 18px 16px; font-size: var(--fs-row); color: var(--cz-ink3); background: var(--cz-card); }
|
|
188
119
|
.wk-menu { max-height: calc(100vh - 24px); overscroll-behavior: contain; }
|
|
189
120
|
.wk-menu section:first-child h6 { position: sticky; top: -12px; z-index: 2; margin: -12px -16px 10px; padding: 12px 16px 8px; background: var(--cz-card); }
|
|
190
121
|
.wk-menu .wk-pl button.q:not(.on) { color: var(--cz-ink3); background: none; box-shadow: inset 0 0 0 1px var(--cz-hair); }
|