create-pmos 0.610.0 → 0.612.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 +135 -27
- package/payload/KIT-VERSION +2 -2
- 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/payload/state/log.md +1 -1
- package/workspace/board-columns-test.js +2 -1
- package/workspace/board-deliveries-test.js +2 -1
- package/workspace/board-programs-test.js +7 -3
- package/workspace/board-publish-ui-test.js +2 -1
- package/workspace/board-shared-ui-test.js +2 -1
- package/workspace/board-workflows-test.js +2 -1
- package/workspace/briefing-premium-board-test.js +3 -2
- package/workspace/briefing-premium-calendar-2-test.js +3 -2
- package/workspace/briefing-premium-calendar-3-test.js +1 -1
- package/workspace/briefing-premium-calendar-test.js +1 -1
- package/workspace/briefing-premium-doc-edit-test.js +2 -1
- package/workspace/briefing-premium-insights-test.js +4 -3
- package/workspace/briefing-premium-test.js +3 -2
- package/workspace/calm-timeline-test.js +2 -1
- package/workspace/changelog.json +134 -0
- package/workspace/core-docs-workflow-test.js +2 -1
- package/workspace/ev-everywhere-test.js +3 -2
- package/workspace/guide/home.md +2 -2
- package/workspace/guide/index.md +4 -0
- package/workspace/guide/layout.md +97 -3
- package/workspace/guide/programs.md +16 -2
- package/workspace/guide/routine.md +65 -0
- package/workspace/guide/scheduled-tasks-and-cli.md +1 -1
- package/workspace/guide/settings-and-switches.md +2 -2
- package/workspace/impact-screens-test.js +3 -1
- package/workspace/ini-workflow-test.js +2 -1
- package/workspace/lib/board-premium.js +12 -4
- package/workspace/lib/classic-board.js +15 -0
- package/workspace/lib/cos-chat.js +1 -0
- package/workspace/lib/doc-library.js +43 -12
- package/workspace/lib/doc-path.js +30 -0
- package/workspace/lib/engine/boards.js +4 -2
- package/workspace/lib/events-place.js +368 -0
- package/workspace/lib/events-stated.js +129 -0
- package/workspace/lib/initiative-chat.js +1 -0
- package/workspace/lib/insights-premium.js +13 -1
- package/workspace/lib/library-find.js +162 -0
- package/workspace/lib/library-items.js +250 -0
- package/workspace/lib/notes.js +9 -1
- package/workspace/lib/plan-items.js +17 -3
- package/workspace/lib/route-modules.js +4 -0
- package/workspace/lib/routes-artefacts.js +5 -2
- package/workspace/lib/routes-boards.js +6 -2
- package/workspace/lib/routes-doc-sheet.js +1 -0
- package/workspace/lib/routes-events-place.js +203 -0
- package/workspace/lib/routes-library.js +155 -0
- package/workspace/lib/routes-pop-work.js +39 -0
- package/workspace/lib/routes-report-setups.js +32 -1
- package/workspace/lib/routes-today-log.js +48 -0
- package/workspace/lib/routine-reports.js +84 -0
- package/workspace/lib/status-when.js +36 -0
- package/workspace/lib/task-items.js +5 -3
- package/workspace/lib/today-log.js +131 -0
- package/workspace/live-pill-round-test.js +10 -7
- package/workspace/metric-drafts-ui-test.js +3 -1
- package/workspace/milestone-pins-test.js +2 -1
- package/workspace/milestone-suggest-test.js +3 -1
- package/workspace/package-lock.json +2 -2
- package/workspace/package.json +1 -1
- package/workspace/panels-test.js +2 -1
- package/workspace/premium-board-actions-test.js +3 -1
- package/workspace/premium-rec-tab-test.js +2 -1
- package/workspace/premium-vw-backlog-test.js +3 -1
- package/workspace/premium-vw-item-test.js +3 -1
- package/workspace/premium-vw-jira-test.js +3 -1
- package/workspace/premium-vw-meet-test.js +2 -1
- package/workspace/premium-vw-notes-test.js +3 -2
- package/workspace/product-lane-test.js +2 -1
- package/workspace/program-charter-test.js +3 -1
- package/workspace/program-leave-test.js +2 -1
- package/workspace/program-order-test.js +2 -1
- package/workspace/program-panel-test.js +3 -1
- package/workspace/public/pm/artefact-kind.js +87 -0
- package/workspace/public/pm/bd-ini-panel.js +77 -12
- package/workspace/public/pm/bd-prog-panel.js +55 -8
- package/workspace/public/pm/bd-span.js +5 -0
- package/workspace/public/pm/bd-work.css +192 -0
- package/workspace/public/pm/bd-work.js +483 -0
- package/workspace/public/pm/cozy-bar.css +11 -0
- package/workspace/public/pm/cozy-bar.js +99 -0
- package/workspace/public/pm/cozy-day-pick.css +27 -0
- package/workspace/public/pm/cozy-day-pick.js +97 -0
- package/workspace/public/pm/cozy-ev.css +2 -5
- package/workspace/public/pm/cozy-events-view.js +274 -0
- package/workspace/public/pm/cozy-events.css +179 -0
- package/workspace/public/pm/cozy-events.js +278 -0
- package/workspace/public/pm/cozy-evmodel.js +1 -1
- package/workspace/public/pm/cozy-goals.css +172 -0
- package/workspace/public/pm/cozy-library.css +125 -0
- package/workspace/public/pm/cozy-live-pill.js +1 -0
- package/workspace/public/pm/cozy-nav.js +6 -7
- package/workspace/public/pm/cozy-pick.css +3 -0
- package/workspace/public/pm/cozy-pop-work.css +224 -0
- package/workspace/public/pm/cozy-pop-work.js +668 -0
- package/workspace/public/pm/cozy-popup.css +11 -2
- package/workspace/public/pm/cozy-popup.js +67 -9
- package/workspace/public/pm/cozy-routine-job.js +203 -0
- package/workspace/public/pm/cozy-routine-model.js +219 -0
- package/workspace/public/pm/cozy-routine-pop.js +318 -0
- package/workspace/public/pm/cozy-routine.css +155 -0
- package/workspace/public/pm/cozy-routine.js +335 -0
- package/workspace/public/pm/cozy-schedwork.js +6 -5
- package/workspace/public/pm/cozy-settings.js +1 -5
- package/workspace/public/pm/cozy-status-when.js +48 -0
- package/workspace/public/pm/cozy-today-app.js +236 -0
- package/workspace/public/pm/cozy-today-model.js +176 -0
- package/workspace/public/pm/cozy-today-page.css +100 -0
- package/workspace/public/pm/cozy-today-view.js +76 -0
- package/workspace/public/pm/cozy-viewer.js +19 -8
- package/workspace/public/pm/cozy-vw-mtg.css +39 -0
- package/workspace/public/pm/goals-model.js +205 -0
- package/workspace/public/pm/goals-open.js +124 -0
- package/workspace/public/pm/home-app.js +18 -3
- package/workspace/public/pm/home-chat.js +4 -2
- package/workspace/public/pm/home-ini.js +43 -10
- package/workspace/public/pm/ini-edit.js +3 -1
- package/workspace/public/pm/ini-view-model.js +1 -1
- package/workspace/public/pm/library-model.js +197 -0
- package/workspace/public/pm/library-open.js +37 -0
- package/workspace/public/pm/page-chat.js +12 -2
- package/workspace/public/pm/pop-work-model.js +493 -0
- package/workspace/public/pm/premium-board.js +204 -17
- package/workspace/public/pm/premium-goals.js +213 -0
- package/workspace/public/pm/premium-library.js +436 -0
- package/workspace/public/pm/premium-shell.js +1 -1
- package/workspace/public/pm/premium-vw-mtg.js +79 -1
- package/workspace/public/pm/scope-chip.js +204 -0
- package/workspace/public/premium-board.html +1 -0
- package/workspace/public/premium-events.html +44 -0
- package/workspace/public/premium-goals.html +37 -0
- package/workspace/public/premium-library.html +39 -0
- package/workspace/public/premium-routine.html +33 -0
- package/workspace/public/today.html +50 -0
- package/workspace/ready-dash-ui-test.js +3 -1
- package/workspace/rename-test.js +2 -1
- package/workspace/run-tests.js +4 -1
- package/workspace/server.js +4 -2
- package/workspace/sort-order-test.js +2 -1
- package/workspace/split-merge-ui-test.js +3 -1
- package/workspace/stage-card-tasks-test.js +3 -1
- package/workspace/stage-card-test.js +2 -1
- package/workspace/task-delete-test.js +2 -1
- package/workspace/task-links-test.js +2 -1
- package/workspace/task-milestones-test.js +4 -2
- package/workspace/task-plans-test.js +3 -1
- package/workspace/task-press-test.js +3 -1
- package/workspace/task-views-test.js +3 -1
- package/workspace/test-lists/doc-path.json +9 -0
- package/workspace/test-lists/events-place.json +11 -0
- package/workspace/test-lists/goals-place.json +9 -0
- package/workspace/test-lists/library-place.json +9 -0
- package/workspace/test-lists/pop-work.json +9 -0
- package/workspace/test-lists/routine-place.json +9 -0
- package/workspace/test-lists/status-when.json +9 -0
- package/workspace/test-lists/today-log.json +9 -0
- package/workspace/test-lists/work-view.json +9 -0
- package/workspace/timeline-holds-test.js +3 -1
- package/workspace/tk-tasks-test.js +2 -1
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
/* cozy-goals.css — Goals (initiative goals-place, slice 9 of the six-place navigation; boards 8, 13, 31, 32, 33). One container: the white panel;
|
|
2
|
+
* the North Star card and the table sit straight on it, the table is one card with a thin border. Colours are the cozy tokens (light and dark).
|
|
3
|
+
* The popup pages (pm/goals-open.js) use the popup's .pw classes (cozy-pop-work.css); their few extra rules are at the end. */
|
|
4
|
+
.gl-page .vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
|
|
5
|
+
.gl { display: flex; flex-direction: column; gap: 12px; color: var(--cz-ink); }
|
|
6
|
+
.gl-bar { display: flex; align-items: center; gap: 10px; min-height: 44px; }
|
|
7
|
+
.gl-ttl { font-size: var(--fs-panel); font-weight: var(--fw-strong); margin-right: 4px; }
|
|
8
|
+
.gl-sp { flex: 1; }
|
|
9
|
+
.gl-per { height: 30px; padding: 0 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--cz-hair); background: var(--cz-card); display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-label); color: var(--cz-ink2); white-space: nowrap; }
|
|
10
|
+
.gl-per[hidden] { display: none; }
|
|
11
|
+
.gl-per b { color: var(--cz-ink); font-weight: var(--fw-strong); }
|
|
12
|
+
.gl-per svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
|
|
13
|
+
.gl-mw { position: relative; display: inline-flex; }
|
|
14
|
+
.gl-fdot { position: absolute; top: 7px; right: 7px; width: 7px; height: 7px; border-radius: 99px; background: var(--cz-blue); }
|
|
15
|
+
.gl-menu { position: absolute; top: 100%; right: 0; z-index: 30; margin-top: 6px; min-width: 210px; padding: 6px; border-radius: 14px; background: var(--cz-card); box-shadow: 0 0 0 1px var(--cz-hair), 0 12px 32px rgba(0, 0, 0, .12); display: flex; flex-direction: column; }
|
|
16
|
+
.gl-menu[hidden] { display: none; }
|
|
17
|
+
.gl-menu button { all: unset; box-sizing: border-box; padding: 8px 12px; border-radius: 9px; font-size: var(--fs-body); color: var(--cz-ink); cursor: pointer; }
|
|
18
|
+
.gl-menu button:hover, .gl-menu button:focus-visible { background: var(--cz-well); }
|
|
19
|
+
.gl-menu button[aria-checked="true"] { font-weight: var(--fw-strong); }
|
|
20
|
+
.gl-menu button[aria-checked="true"]::after { content: " ✓"; color: var(--cz-blue); }
|
|
21
|
+
.gl-p { display: flex; flex-direction: column; gap: 10px; }
|
|
22
|
+
.gl-p + .gl-p { margin-top: 14px; }
|
|
23
|
+
.gl-ph2 { margin: 0 2px; font-size: var(--fs-section); font-weight: var(--fw-strong); }
|
|
24
|
+
|
|
25
|
+
/* the North Star: dashed while it is a draft or not set, a thin line once it is set */
|
|
26
|
+
.gl-ns { display: flex; align-items: center; gap: 16px; border: 1.5px dashed var(--cz-ink3); border-radius: 20px; padding: 10px 20px; background: var(--cz-card); }
|
|
27
|
+
.gl-ns.set { border: 1px solid var(--cz-hair); }
|
|
28
|
+
.gl-ns .t { flex: 1; min-width: 0; }
|
|
29
|
+
.gl-ns .k { font-size: var(--fs-meta); color: var(--cz-ink3); }
|
|
30
|
+
.gl-ns b { display: block; font-size: var(--fs-panel); line-height: 26px; font-weight: var(--fw-strong); letter-spacing: -.01em; }
|
|
31
|
+
.gl-ns p { margin: 2px 0 0; font-size: var(--fs-meta); color: var(--cz-ink3); line-height: var(--lh-meta); }
|
|
32
|
+
.gl-mark { width: 26px; height: 26px; border-radius: 9px; background: var(--cz-bluebg); color: var(--cz-blueink); display: inline-flex; align-items: center; justify-content: center; flex: none; }
|
|
33
|
+
.gl-mark svg, .gl-go svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
|
|
34
|
+
.gl-go { width: 34px; height: 34px; border-radius: 999px; border: 1px solid var(--cz-hair); background: var(--cz-card); color: var(--cz-blueink); display: inline-flex; align-items: center; justify-content: center; padding: 0; flex: none; cursor: pointer; }
|
|
35
|
+
.gl-go:hover { background: var(--cz-well); }
|
|
36
|
+
.gl-go:focus-visible { outline: 2px solid var(--cz-blue); outline-offset: 2px; }
|
|
37
|
+
|
|
38
|
+
/* the table: Objective › Key result (Actual / target, Left) › Levers › Initiative */
|
|
39
|
+
.gl-card { background: var(--cz-card); border: 1px solid var(--cz-hair); border-radius: 20px; overflow: hidden; }
|
|
40
|
+
.gl-hd, .gl-ob { display: grid; grid-template-columns: 104px minmax(0, 3.3fr) minmax(0, .62fr) minmax(0, 1.1fr); }
|
|
41
|
+
.gl-hd { background: var(--cz-well); font-size: var(--fs-meta); color: var(--cz-ink3); }
|
|
42
|
+
.gl-hd > span { padding: 7px 12px; white-space: nowrap; display: flex; align-items: center; gap: 6px; }
|
|
43
|
+
.gl-hd > span:nth-child(n+3)::before { content: "›"; color: var(--cz-ink3); font-size: var(--fs-section); margin-left: -4px; }
|
|
44
|
+
.gl-hd > span.gl-kh { display: grid; grid-template-columns: minmax(0, 1fr) 112px 78px; gap: 8px; }
|
|
45
|
+
.gl-ob { border-top: 1px solid var(--cz-hair); grid-auto-rows: minmax(42px, auto); }
|
|
46
|
+
/* where a cell sits in its objective: gl-rN starts at key result N, gl-sN spans N of them (no inline style, the conformance gate R28-1) */
|
|
47
|
+
.gl-ob > .gl-r1 { grid-row-start: 1; }
|
|
48
|
+
.gl-ob > .gl-r2 { grid-row-start: 2; }
|
|
49
|
+
.gl-ob > .gl-r3 { grid-row-start: 3; }
|
|
50
|
+
.gl-ob > .gl-r4 { grid-row-start: 4; }
|
|
51
|
+
.gl-ob > .gl-r5 { grid-row-start: 5; }
|
|
52
|
+
.gl-ob > .gl-r6 { grid-row-start: 6; }
|
|
53
|
+
.gl-ob > .gl-r7 { grid-row-start: 7; }
|
|
54
|
+
.gl-ob > .gl-r8 { grid-row-start: 8; }
|
|
55
|
+
.gl-ob > .gl-r9 { grid-row-start: 9; }
|
|
56
|
+
.gl-ob > .gl-r10 { grid-row-start: 10; }
|
|
57
|
+
.gl-ob > .gl-r11 { grid-row-start: 11; }
|
|
58
|
+
.gl-ob > .gl-r12 { grid-row-start: 12; }
|
|
59
|
+
.gl-ob > .gl-r13 { grid-row-start: 13; }
|
|
60
|
+
.gl-ob > .gl-r14 { grid-row-start: 14; }
|
|
61
|
+
.gl-ob > .gl-r15 { grid-row-start: 15; }
|
|
62
|
+
.gl-ob > .gl-r16 { grid-row-start: 16; }
|
|
63
|
+
.gl-ob > .gl-r17 { grid-row-start: 17; }
|
|
64
|
+
.gl-ob > .gl-r18 { grid-row-start: 18; }
|
|
65
|
+
.gl-ob > .gl-r19 { grid-row-start: 19; }
|
|
66
|
+
.gl-ob > .gl-r20 { grid-row-start: 20; }
|
|
67
|
+
.gl-ob > .gl-s1 { grid-row-end: span 1; }
|
|
68
|
+
.gl-ob > .gl-s2 { grid-row-end: span 2; }
|
|
69
|
+
.gl-ob > .gl-s3 { grid-row-end: span 3; }
|
|
70
|
+
.gl-ob > .gl-s4 { grid-row-end: span 4; }
|
|
71
|
+
.gl-ob > .gl-s5 { grid-row-end: span 5; }
|
|
72
|
+
.gl-ob > .gl-s6 { grid-row-end: span 6; }
|
|
73
|
+
.gl-ob > .gl-s7 { grid-row-end: span 7; }
|
|
74
|
+
.gl-ob > .gl-s8 { grid-row-end: span 8; }
|
|
75
|
+
.gl-ob > .gl-s9 { grid-row-end: span 9; }
|
|
76
|
+
.gl-ob > .gl-s10 { grid-row-end: span 10; }
|
|
77
|
+
.gl-ob > .gl-s11 { grid-row-end: span 11; }
|
|
78
|
+
.gl-ob > .gl-s12 { grid-row-end: span 12; }
|
|
79
|
+
.gl-ob > .gl-s13 { grid-row-end: span 13; }
|
|
80
|
+
.gl-ob > .gl-s14 { grid-row-end: span 14; }
|
|
81
|
+
.gl-ob > .gl-s15 { grid-row-end: span 15; }
|
|
82
|
+
.gl-ob > .gl-s16 { grid-row-end: span 16; }
|
|
83
|
+
.gl-ob > .gl-s17 { grid-row-end: span 17; }
|
|
84
|
+
.gl-ob > .gl-s18 { grid-row-end: span 18; }
|
|
85
|
+
.gl-ob > .gl-s19 { grid-row-end: span 19; }
|
|
86
|
+
.gl-ob > .gl-s20 { grid-row-end: span 20; }
|
|
87
|
+
.gl-ob > div { padding: 4px 12px; min-width: 0; font-size: var(--fs-row); line-height: var(--lh-row); }
|
|
88
|
+
.gl-ob > .gl-o { grid-column: 1; display: flex; flex-direction: column; gap: 2px; padding-top: 8px; }
|
|
89
|
+
.gl-ob > .gl-kc { grid-column: 2; padding: 0 12px; display: flex; align-items: stretch; border-left: 1px solid var(--cz-hair); }
|
|
90
|
+
.gl-ob > .gl-lv { grid-column: 3; border-left: 1px solid var(--cz-hair); }
|
|
91
|
+
.gl-ob > .gl-in { grid-column: 4; border-left: 1px solid var(--cz-hair); }
|
|
92
|
+
.gl-ob.gl-row1 > .gl-wide { grid-column: 2 / span 2; border-left: 1px solid var(--cz-hair); display: flex; flex-direction: column; justify-content: center; gap: 2px; padding-top: 10px; padding-bottom: 10px; }
|
|
93
|
+
.gl-wide b { font-weight: var(--fw-row); }
|
|
94
|
+
.gl-wide span { font-size: var(--fs-meta); color: var(--cz-ink3); line-height: var(--lh-meta); }
|
|
95
|
+
.gl-o b { font-weight: var(--fw-strong); }
|
|
96
|
+
.gl-o span { font-size: var(--fs-meta); color: var(--cz-ink3); line-height: var(--lh-meta); }
|
|
97
|
+
.gl-o span.rk { color: var(--cz-risk); }
|
|
98
|
+
.gl-o span.late { color: var(--cz-late); }
|
|
99
|
+
.gl-kr { all: unset; box-sizing: border-box; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) 112px 78px; align-items: center; gap: 8px; border-top: 1px solid var(--cz-hair); padding: 1px 6px; margin: 0 -6px; border-radius: 10px; cursor: pointer; }
|
|
100
|
+
.gl-kr.f { border-top-color: transparent; }
|
|
101
|
+
.gl-kr:hover { background: var(--cz-well); }
|
|
102
|
+
.gl-kr:focus-visible { outline: 2px solid var(--cz-blue); outline-offset: -2px; }
|
|
103
|
+
.gl-kr .n { min-width: 0; font-size: var(--fs-row); display: flex; align-items: center; gap: 10px; }
|
|
104
|
+
.gl-kr .n > span { min-width: 0; display: block; }
|
|
105
|
+
.gl-kr .n i { font-style: normal; color: var(--cz-ink3); margin-right: 6px; font-size: var(--fs-meta); }
|
|
106
|
+
.gl-kr .n small { display: block; font-size: var(--fs-meta); color: var(--cz-ink3); line-height: var(--lh-meta); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
107
|
+
.gl-kr .a { font-size: var(--fs-meta); color: var(--cz-ink3); line-height: var(--lh-meta); }
|
|
108
|
+
.gl-kr .a b { font-weight: var(--fw-row); color: var(--cz-ink); font-size: var(--fs-row); }
|
|
109
|
+
.gl-kr .a.risk b { color: var(--cz-risk); }
|
|
110
|
+
.gl-kr .a.late b { color: var(--cz-late); }
|
|
111
|
+
.gl-kr .l { font-size: var(--fs-meta); color: var(--cz-ink2); white-space: nowrap; }
|
|
112
|
+
.gl-ph { color: var(--cz-ink3); opacity: .5; }
|
|
113
|
+
.gl-d { width: 10px; height: 10px; border-radius: 99px; background: var(--cz-dot-q); display: block; flex: none; }
|
|
114
|
+
.gl-d.ok { background: var(--cz-dot-ok); }
|
|
115
|
+
.gl-d.rk { background: var(--cz-dot-risk); }
|
|
116
|
+
.gl-d.rd { background: var(--cz-dot-red); }
|
|
117
|
+
.gl-lv { font-size: var(--fs-meta); color: var(--cz-ink3); display: flex; flex-direction: column; gap: 6px; justify-content: center; }
|
|
118
|
+
.gl-lv b { font-weight: var(--fw-row); color: var(--cz-ink); font-size: var(--fs-row); display: block; }
|
|
119
|
+
.gl-lv span.risk { color: var(--cz-risk); }
|
|
120
|
+
.gl-lv span.late { color: var(--cz-late); }
|
|
121
|
+
.gl-in { display: flex; flex-direction: column; gap: 8px; justify-content: center; }
|
|
122
|
+
.gl-ini { all: unset; box-sizing: border-box; display: flex; flex-direction: column; gap: 2px; padding: 4px 6px; margin: 0 -6px; border-radius: 10px; cursor: pointer; }
|
|
123
|
+
.gl-ini:hover { background: var(--cz-well); }
|
|
124
|
+
.gl-ini:focus-visible { outline: 2px solid var(--cz-blue); outline-offset: -2px; }
|
|
125
|
+
.gl-ini b { font-weight: var(--fw-row); }
|
|
126
|
+
.gl-ini span { font-size: var(--fs-meta); color: var(--cz-ink3); display: flex; align-items: center; gap: 6px; line-height: var(--lh-meta); }
|
|
127
|
+
.gl-ini span.late { color: var(--cz-late); }
|
|
128
|
+
.gl-dm { width: 9px; height: 9px; transform: rotate(45deg); border: 1.8px solid var(--cz-ink3); border-radius: 2px; display: inline-block; flex: none; }
|
|
129
|
+
.gl-dm.rd { border-color: var(--cz-dot-red); }
|
|
130
|
+
.gl-n { margin: 4px 4px 0; font-size: var(--fs-meta); color: var(--cz-ink3); }
|
|
131
|
+
.gl-n[hidden] { display: none; }
|
|
132
|
+
.gl-n a { color: inherit; }
|
|
133
|
+
.gl-none { padding: 22px 18px; color: var(--cz-ink3); font-size: var(--fs-body); margin: 0; }
|
|
134
|
+
.gl-sk { display: flex; flex-direction: column; gap: 10px; }
|
|
135
|
+
.gl-sk i { display: block; height: 42px; border-radius: 14px; background: var(--cz-well); }
|
|
136
|
+
.gl-sk i:first-child { height: 74px; }
|
|
137
|
+
|
|
138
|
+
/* the popup pages (boards 31, 32, 33) */
|
|
139
|
+
.gl-pg .gl-top p { margin: 4px 0 0; color: var(--cz-ink2); }
|
|
140
|
+
.gl-pg .gl-top.gl-set { border-color: var(--cz-hair); }
|
|
141
|
+
.gl-fs { display: flex; flex-direction: column; }
|
|
142
|
+
.gl-f { border-top: 1px solid var(--cz-hair); padding: 10px 0; display: flex; flex-direction: column; gap: 2px; font-size: var(--fs-row); }
|
|
143
|
+
.gl-f:first-child { border-top: 0; }
|
|
144
|
+
.gl-f small, .gl-f span { font-size: var(--fs-meta); color: var(--cz-ink3); }
|
|
145
|
+
.gl-f b { font-weight: var(--fw-strong); }
|
|
146
|
+
.gl-src .gl-srcv { display: inline-flex; align-items: center; gap: 12px; flex: none; margin-left: 12px; }
|
|
147
|
+
.gl-src small { font-size: var(--fs-meta); }
|
|
148
|
+
.gl-src small.grey { color: var(--cz-ink3); }
|
|
149
|
+
.gl-src small.warn { color: var(--cz-late); }
|
|
150
|
+
.gl-src svg { color: var(--cz-ink3); }
|
|
151
|
+
.gl-sg { display: flex; align-items: flex-start; gap: 12px; border-top: 1px solid var(--cz-hair); padding-top: 12px; }
|
|
152
|
+
.gl-sg > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
|
|
153
|
+
.gl-sg b { font-weight: var(--fw-strong); }
|
|
154
|
+
.gl-sg span { font-size: var(--fs-meta); color: var(--cz-ink3); }
|
|
155
|
+
|
|
156
|
+
@media (max-width: 900px) {
|
|
157
|
+
.gl-hd, .gl-ob { grid-template-columns: 88px minmax(0, 1fr) minmax(0, .9fr); }
|
|
158
|
+
.gl-hd > span:nth-child(3), .gl-ob > .gl-lv { display: none; }
|
|
159
|
+
.gl-ob > .gl-in { grid-column: 3; }
|
|
160
|
+
.gl-hd > span.gl-kh, .gl-kr { grid-template-columns: minmax(0, 1fr) 84px; }
|
|
161
|
+
.gl-hd > span.gl-kh > span:nth-child(3), .gl-kr .l { display: none; }
|
|
162
|
+
}
|
|
163
|
+
@media (max-width: 760px) {
|
|
164
|
+
.gl-bar { flex-wrap: wrap; }
|
|
165
|
+
.gl-ttl { display: none; }
|
|
166
|
+
.gl-per span { display: none; }
|
|
167
|
+
.gl-hd { display: none; }
|
|
168
|
+
.gl-ob, .gl-ob.gl-row1 { display: flex; flex-direction: column; }
|
|
169
|
+
.gl-ob > div, .gl-ob > .gl-kc, .gl-ob > .gl-in, .gl-ob.gl-row1 > .gl-wide { border-left: 0; padding: 4px 14px; }
|
|
170
|
+
.gl-kr { grid-template-columns: minmax(0, 1fr) auto; }
|
|
171
|
+
.gl-ns { padding: 10px 14px; }
|
|
172
|
+
}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
/* cozy-library.css — Library (initiative library-place; slice 7 of the six-place navigation, Library round 2; board StLibrary). One container:
|
|
2
|
+
* the white panel; the catalogue is one card with a thin border and set column widths (Name up to 560 px), so a wide screen does not stretch
|
|
3
|
+
* the Name; at 1600 px and wider the record preview stands at its right. The filter chips are the product chip's shape (cozy-pick.css).
|
|
4
|
+
* Colours are the cozy tokens (light and dark). */
|
|
5
|
+
.lb-page .vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
|
|
6
|
+
.lb-bar { display: flex; align-items: center; gap: 8px; min-height: 44px; }
|
|
7
|
+
.lb-fl { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
|
|
8
|
+
.lb-chip.on, .lb-fl .scp-chip:not([aria-label$=": all"]) { background: var(--cz-bluebg); color: var(--cz-blueink); }
|
|
9
|
+
.lb-chip .ppk-nmc em { font-style: normal; color: var(--cz-ink3); }
|
|
10
|
+
.lb-chip svg, .lb-ib svg, .lb-sg svg, .lb-s svg, .lb-fx svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
|
|
11
|
+
.lb-find { margin-left: auto; display: flex; align-items: center; gap: 8px; height: 38px; width: 380px; max-width: 46vw; padding: 0 14px; border-radius: 999px; background: var(--cz-well); color: var(--cz-ink3); box-sizing: border-box; flex: none; }
|
|
12
|
+
.lb-find svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; flex: none; }
|
|
13
|
+
.lb-find input { all: unset; flex: 1; min-width: 0; font: inherit; font-size: var(--fs-body); color: var(--cz-ink); }
|
|
14
|
+
.lb-find input:focus, .lb-find input:focus-visible { outline: none; box-shadow: none; }
|
|
15
|
+
.lb-find input::placeholder { color: var(--cz-ink3); }
|
|
16
|
+
.lb-find input::-webkit-search-cancel-button { cursor: pointer; }
|
|
17
|
+
.lb-find:focus-within { box-shadow: 0 0 0 2px var(--cz-blue); }
|
|
18
|
+
.lb-tune svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
|
|
19
|
+
.lb-hid { margin: 8px 4px 0; font-size: var(--fs-meta); color: var(--cz-ink3); line-height: var(--lh-meta); }
|
|
20
|
+
.lb-hid:empty { display: none; }
|
|
21
|
+
.lb-hid button { all: unset; cursor: pointer; color: var(--cz-blueink); font-weight: var(--fw-strong); }
|
|
22
|
+
.lb-hid button:focus-visible { outline: 2px solid var(--cz-blue); outline-offset: 2px; border-radius: 4px; }
|
|
23
|
+
|
|
24
|
+
/* the catalogue: set column widths */
|
|
25
|
+
.lb-wrap { display: flex; align-items: flex-start; gap: 20px; margin-top: 12px; }
|
|
26
|
+
.lb-main { flex: 0 1 auto; min-width: 0; max-width: 100%; }
|
|
27
|
+
.lb-t { width: fit-content; max-width: 100%; border-radius: 16px; background: var(--cz-card); box-shadow: inset 0 0 0 1px var(--cz-hair); overflow: hidden; font-size: var(--fs-body); color: var(--cz-ink); }
|
|
28
|
+
.lb-r { --lb-cols: 28px minmax(220px, 560px) 140px 130px minmax(120px, 230px) 110px 96px 76px;
|
|
29
|
+
display: grid; grid-template-columns: var(--lb-cols); align-items: center; column-gap: 12px; min-height: 46px; padding: 0 18px; box-shadow: inset 0 -1px 0 var(--cz-hair); box-sizing: border-box; }
|
|
30
|
+
.lb-r:last-child { box-shadow: none; }
|
|
31
|
+
.lb-i { cursor: pointer; }
|
|
32
|
+
.lb-i:hover { background: var(--cz-well); }
|
|
33
|
+
.lb-i.on { background: var(--cz-bluebg); }
|
|
34
|
+
.lb-i.sub .n { padding-left: 18px; }
|
|
35
|
+
.lb-i.sub .n .lb-nb { font-weight: var(--fw-regular); }
|
|
36
|
+
.lb-h { min-height: 38px; background: var(--cz-well2, var(--cz-well)); font-size: var(--fs-label); font-weight: var(--fw-strong); color: var(--cz-ink2); }
|
|
37
|
+
.lb-g { min-height: 34px; font-size: var(--fs-meta); font-weight: var(--fw-strong); color: var(--cz-ink3); background: var(--cz-well); }
|
|
38
|
+
.lb-g > * { grid-column: 1 / -1; }
|
|
39
|
+
.lb-g em, .lb-s em { font-style: normal; font-weight: var(--fw-regular); margin-left: 6px; }
|
|
40
|
+
.lb-s { background: var(--cz-card); }
|
|
41
|
+
.lb-s button { all: unset; grid-column: 1 / -1; cursor: pointer; display: flex; align-items: center; gap: 8px; min-height: 40px; color: var(--cz-ink2); font-size: var(--fs-body); }
|
|
42
|
+
.lb-s button b { font-weight: var(--fw-strong); color: var(--cz-ink); }
|
|
43
|
+
.lb-s button:focus-visible { outline: 2px solid var(--cz-blue); outline-offset: 2px; border-radius: 6px; }
|
|
44
|
+
.lb-r .ic { color: var(--cz-ink3); display: grid; place-items: center; }
|
|
45
|
+
.lb-r .ic svg, .lb-mr .ic svg, .lb-pvh .ic svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
|
|
46
|
+
.lb-r .n { display: flex; align-items: center; gap: 6px; min-width: 0; }
|
|
47
|
+
.lb-nb { all: unset; cursor: pointer; font-weight: var(--fw-strong); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
|
|
48
|
+
.lb-nb:focus-visible { outline: 2px solid var(--cz-blue); outline-offset: 2px; border-radius: 4px; }
|
|
49
|
+
.lb-old { all: unset; cursor: pointer; flex: none; padding: 1px 8px; border-radius: 999px; background: var(--cz-well); color: var(--cz-ink3); font-size: var(--fs-badge); font-weight: var(--fw-strong); line-height: var(--lh-badge); }
|
|
50
|
+
.lb-old[aria-expanded="true"] { background: var(--cz-bluebg); color: var(--cz-blueink); }
|
|
51
|
+
.lb-ib { all: unset; cursor: pointer; flex: none; width: 28px; height: 28px; border-radius: 8px; display: inline-grid; place-items: center; color: var(--cz-ink3); }
|
|
52
|
+
.lb-ib:hover { background: var(--cz-well); color: var(--cz-ink); }
|
|
53
|
+
.lb-ib:focus-visible, .lb-old:focus-visible, .lb-sg:focus-visible { outline: 2px solid var(--cz-blue); outline-offset: 1px; }
|
|
54
|
+
.lb-sp { color: var(--cz-blueink); width: 22px; height: 22px; }
|
|
55
|
+
.lb-nm input { all: unset; flex: 1; min-width: 0; height: 30px; padding: 0 10px; border-radius: 8px; background: var(--cz-well); box-shadow: inset 0 0 0 1px var(--cz-hair); font-size: var(--fs-body); font-weight: var(--fw-strong); color: var(--cz-ink); }
|
|
56
|
+
.lb-sg { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; max-width: 100%; color: var(--cz-blueink); }
|
|
57
|
+
.lb-sg span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
58
|
+
.lb-r .c { color: var(--cz-ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
59
|
+
.lb-r .c.q { color: var(--cz-ink3); }
|
|
60
|
+
.lb-n { margin: 8px 6px 0; font-size: var(--fs-meta); color: var(--cz-ink3); }
|
|
61
|
+
.lb-sk .lb-r i { display: block; height: 10px; border-radius: 6px; background: var(--cz-well); width: 70%; }
|
|
62
|
+
.lb-none { padding: 28px 18px; color: var(--cz-ink3); font-size: var(--fs-body); }
|
|
63
|
+
|
|
64
|
+
/* search by meaning: under the title matches */
|
|
65
|
+
.lb-mh { margin: 22px 4px 4px; font-size: var(--fs-section); font-weight: var(--fw-strong); color: var(--cz-ink); line-height: var(--lh-section); }
|
|
66
|
+
.lb-mh em { font-style: normal; color: var(--cz-ink3); font-weight: var(--fw-regular); margin-left: 4px; }
|
|
67
|
+
.lb-mq { margin: 6px 4px; font-size: var(--fs-meta); color: var(--cz-ink3); line-height: var(--lh-meta); }
|
|
68
|
+
.lb-m { width: min(100%, 980px); }
|
|
69
|
+
.lb-mr { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 12px; padding: 12px 18px; box-shadow: inset 0 -1px 0 var(--cz-hair); cursor: pointer; }
|
|
70
|
+
.lb-mr:last-child { box-shadow: none; }
|
|
71
|
+
.lb-mr:hover { background: var(--cz-well); }
|
|
72
|
+
.lb-mr .ic { color: var(--cz-ink3); padding-top: 2px; }
|
|
73
|
+
.lb-mr small { display: block; font-size: var(--fs-meta); color: var(--cz-ink3); line-height: var(--lh-meta); }
|
|
74
|
+
.lb-mr p { margin: 4px 0 0; color: var(--cz-ink2); line-height: var(--lh-body); }
|
|
75
|
+
.lb-mr p b { color: var(--cz-ink); font-weight: var(--fw-strong); }
|
|
76
|
+
|
|
77
|
+
/* the menus: Kind (families open to their kinds), State, Group by */
|
|
78
|
+
.lb-cw { position: relative; display: inline-flex; flex: none; }
|
|
79
|
+
.lb-menu { position: absolute; left: 0; top: calc(100% + 8px); }
|
|
80
|
+
.lb-cwr .lb-menu { left: auto; right: 0; }
|
|
81
|
+
.lb-menu .ppk-mi { min-height: 44px; }
|
|
82
|
+
.lb-menu .ppk-nm { flex-direction: row; align-items: baseline; gap: 8px; }
|
|
83
|
+
.lb-menu .ppk-nm em { font-weight: var(--fw-regular); }
|
|
84
|
+
.lb-fam { display: flex; align-items: center; }
|
|
85
|
+
.lb-fam .ppk-mi { flex: 1; }
|
|
86
|
+
.lb-fx { all: unset; cursor: pointer; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--cz-ink3); }
|
|
87
|
+
.lb-fx:hover, .lb-fx:focus-visible { background: var(--cz-well); }
|
|
88
|
+
.lb-kmi { padding-left: 26px; }
|
|
89
|
+
.lb-pl { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 10px 10px; }
|
|
90
|
+
.lb-pl button { all: unset; cursor: pointer; height: 30px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center; font-size: var(--fs-body); font-weight: var(--fw-regular); color: var(--cz-ink2); background: var(--cz-well); }
|
|
91
|
+
.lb-pl button.on { background: var(--cz-ink); color: var(--cz-card); font-weight: var(--fw-strong); }
|
|
92
|
+
.lb-pl button:focus-visible { outline: 2px solid var(--cz-blue); outline-offset: 2px; }
|
|
93
|
+
.lb-gm { width: 300px; }
|
|
94
|
+
|
|
95
|
+
/* the record preview: 1600 px and wider */
|
|
96
|
+
.lb-pv { flex: 0 0 360px; position: sticky; top: 12px; max-height: calc(100vh - 120px); overflow: auto; box-sizing: border-box; padding: 16px 18px; border-radius: 16px; background: var(--cz-card); box-shadow: inset 0 0 0 1px var(--cz-hair); color: var(--cz-ink); font-size: var(--fs-body); }
|
|
97
|
+
.lb-pv[hidden] { display: none; }
|
|
98
|
+
.lb-pvh { display: flex; align-items: flex-start; gap: 8px; }
|
|
99
|
+
.lb-pvh .ic { color: var(--cz-ink3); padding-top: 3px; }
|
|
100
|
+
.lb-pvh h2 { flex: 1; margin: 0; font-size: var(--fs-panel); font-weight: var(--fw-strong); line-height: var(--lh-panel); }
|
|
101
|
+
.lb-pv dl { margin: 12px 0 0; display: grid; gap: 6px; }
|
|
102
|
+
.lb-pv dl div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 8px; }
|
|
103
|
+
.lb-pv dt { color: var(--cz-ink3); font-size: var(--fs-meta); line-height: var(--lh-body); }
|
|
104
|
+
.lb-pv dd { margin: 0; color: var(--cz-ink); overflow-wrap: anywhere; }
|
|
105
|
+
.lb-pv h3 { margin: 16px 0 6px; font-size: var(--fs-label); font-weight: var(--fw-strong); color: var(--cz-ink3); }
|
|
106
|
+
.lb-pvl p { margin: 0 0 6px; color: var(--cz-ink2); line-height: var(--lh-body); }
|
|
107
|
+
.lb-pv ul { margin: 0; padding-left: 18px; color: var(--cz-ink2); }
|
|
108
|
+
.lb-pv li { margin: 0 0 4px; }
|
|
109
|
+
.lb-pv li .lb-nb { font-weight: var(--fw-regular); white-space: normal; }
|
|
110
|
+
.lb-pv small { color: var(--cz-ink3); font-size: var(--fs-meta); }
|
|
111
|
+
@media (max-width: 1599px) { .lb-pv { display: none; } }
|
|
112
|
+
|
|
113
|
+
@media (max-width: 1180px) {
|
|
114
|
+
.lb-r { --lb-cols: 28px minmax(180px, 1fr) 120px 110px minmax(100px, 170px) 76px; }
|
|
115
|
+
.lb-r > :nth-child(6), .lb-r > :nth-child(7) { display: none; }
|
|
116
|
+
}
|
|
117
|
+
@media (max-width: 760px) {
|
|
118
|
+
.lb-bar { flex-wrap: wrap; }
|
|
119
|
+
.lb-fl { flex: 1; min-width: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
|
|
120
|
+
.lb-find { order: 3; width: 100%; max-width: none; margin-left: 0; }
|
|
121
|
+
.lb-t { width: 100%; }
|
|
122
|
+
.lb-r { --lb-cols: 24px minmax(0, 1fr) 72px; }
|
|
123
|
+
.lb-menu, .lb-cwr .lb-menu { position: fixed; left: 0; right: 0; top: auto; bottom: 0; width: auto; max-height: 80vh; border-radius: 28px 28px 0 0; padding: 18px 12px 28px; }
|
|
124
|
+
.lb-r > :nth-child(n+3):not(:last-child) { display: none; }
|
|
125
|
+
}
|
|
@@ -121,6 +121,7 @@ export function mountLivePill(doc = document, opts = {}) {
|
|
|
121
121
|
pill.hidden = !now.length && !L.open;
|
|
122
122
|
pill.classList.toggle('recp', now.some((x) => x.kind === 'rec' && !x.paused));
|
|
123
123
|
pill.classList.toggle('asks', now.some((x) => x.mark === 'ask'));
|
|
124
|
+
pill.classList.toggle('lv-away', now.some((x) => x.kind === 'away')); // a panel put away: the one way back, so the pill shows even beside the rail's chat icon
|
|
124
125
|
pill.setAttribute('aria-label', pillLabel(now, { mac: mac() }));
|
|
125
126
|
pill.title = tipOf(now);
|
|
126
127
|
const h = pillHtml(now); if (pill.__h !== h) { pill.__h = h; pill.innerHTML = h; }
|
|
@@ -37,7 +37,7 @@ import { mountToastFaces, loadPrefs } from './cozy-adler.js';
|
|
|
37
37
|
import { pmPost } from './http.js'; // Adler (batch 16 item 2): every toast carries his S face; Settings > Adler is read once
|
|
38
38
|
|
|
39
39
|
/* The six places (slice 1). A place shows once it has an href: Events, Library and Routine get theirs when their slice ships. Until then
|
|
40
|
-
* Today is Home, Work is the Board and Goals is Intelligence; the keys stay the pages' own (home, board, insights). */
|
|
40
|
+
* Today is today.html (slice 5; Home before it), Work is the Board and Goals is premium-goals.html (slice 9; Intelligence before it); the keys stay the pages' own (home, board, insights). */
|
|
41
41
|
const RAIL_ICON = {
|
|
42
42
|
today: 'M12 8a4 4 0 1 0 0 8a4 4 0 1 0 0-8M12 3v2M12 19v2M3 12h2M19 12h2M5.6 5.6l1.4 1.4M17 17l1.4 1.4M5.6 18.4L7 17M17 7l1.4-1.4',
|
|
43
43
|
work: 'M5.5 5h13a1.5 1.5 0 0 1 0 3h-13a1.5 1.5 0 0 1 0-3zM5.5 11h8a1.5 1.5 0 0 1 0 3h-8a1.5 1.5 0 0 1 0-3zM5.5 17h11a1.5 1.5 0 0 1 0 3h-11a1.5 1.5 0 0 1 0-3z',
|
|
@@ -47,12 +47,12 @@ const RAIL_ICON = {
|
|
|
47
47
|
routine: 'M4 12a8 8 0 0 1 14-5.3M20 12a8 8 0 0 1-14 5.3M18 3v4h-4M6 21v-4h4',
|
|
48
48
|
};
|
|
49
49
|
const ALL_PLACES = [
|
|
50
|
-
{ key: 'home', label: 'Today', href: '/
|
|
50
|
+
{ key: 'home', label: 'Today', href: '/today.html', d: RAIL_ICON.today }, // slice 5: Today is its own page (Home with data-today)
|
|
51
51
|
{ key: 'board', label: 'Work', href: '/premium-board.html', d: RAIL_ICON.work },
|
|
52
|
-
{ key: 'insights', label: 'Goals', href: '/premium-
|
|
53
|
-
{ key: 'events', label: 'Events', href: '', d: RAIL_ICON.events },
|
|
54
|
-
{ key: 'library', label: 'Library', href: '', d: RAIL_ICON.library },
|
|
55
|
-
{ key: 'routine', label: 'Routine', href: '', d: RAIL_ICON.routine },
|
|
52
|
+
{ key: 'insights', label: 'Goals', href: '/premium-goals.html', d: RAIL_ICON.goals }, // slice 9 (goals-place): Goals is its own page; Intelligence stays for charts
|
|
53
|
+
{ key: 'events', label: 'Events', href: '/premium-events.html', d: RAIL_ICON.events },
|
|
54
|
+
{ key: 'library', label: 'Library', href: '/premium-library.html', d: RAIL_ICON.library }, // slice 7 (library-place)
|
|
55
|
+
{ key: 'routine', label: 'Routine', href: '/premium-routine.html', d: RAIL_ICON.routine }, // slice 8 shipped: Routine is a place
|
|
56
56
|
];
|
|
57
57
|
export const PLACES = ALL_PLACES.filter((p) => p.href);
|
|
58
58
|
const DESK = '(min-width: 761px)';
|
|
@@ -138,7 +138,6 @@ export function mountNav(here, doc = document, opts = {}) {
|
|
|
138
138
|
addCss(doc);
|
|
139
139
|
{ const u = new URLSearchParams(location.search).get('theme'); setTheme(u || themePick(), doc, { keep: false }); } // ?theme= shows that theme and is not kept
|
|
140
140
|
if (typeof matchMedia === 'function') { const mq = matchMedia('(prefers-color-scheme: dark)'); const f = () => { if (themePick() === 'auto') setTheme('auto', doc); }; if (mq.addEventListener) mq.addEventListener('change', f); }
|
|
141
|
-
try { if (localStorage.getItem('pmos.cz.viewer') === 'popup') doc.body.classList.add('ev-vw-popup'); } catch { /* no storage */ }
|
|
142
141
|
const w = doc.createElement('div'); w.className = 'cz-fabw'; w.id = 'czNav';
|
|
143
142
|
w.innerHTML = '<div class="ev-scrim" id="czScrim" hidden></div>'
|
|
144
143
|
+ `<nav class="cz-fabm ev-menu" id="czMenu" aria-label="Menu" hidden></nav>`
|
|
@@ -42,3 +42,6 @@
|
|
|
42
42
|
/* the chip with names (Work and Goals, slice 1): the full product name, then "+2" in grey */
|
|
43
43
|
.ppk-nmc { padding: 0 2px 0 9px; color: var(--cz-ink); white-space: nowrap; max-width: 260px; overflow: hidden; text-overflow: ellipsis; }
|
|
44
44
|
.ppk-nmc em { font-style: normal; color: var(--cz-ink3); }
|
|
45
|
+
/* pm/scope-chip.js: the menu's three parts (Products, Programs, Projects) */
|
|
46
|
+
.scp-h { margin: 8px 10px 4px; font-size: var(--fs-label); font-weight: var(--fw-label); letter-spacing: .06em; text-transform: uppercase; color: var(--cz-ink3); }
|
|
47
|
+
.scp-menu:not(.sheet) { left: var(--fr-menu-x, 12px); top: var(--fr-menu-y, 64px); }
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
/* pm/cozy-pop-work.css — what the popup shows for work (slice 3 of the six-place navigation; boards 3, 20, 21, 22, 25, 26, 27). pm/cozy-pop-work.js draws
|
|
2
|
+
* it. One container: the popup's white panel; each table sits in one card with a thin border; the Overview is one grey box. Tokens: cozy.css. */
|
|
3
|
+
.pw { container-type: inline-size; display: flex; flex-direction: column; gap: 22px; padding: 4px 4px 32px; font-family: var(--cz-sans); font-size: var(--fs-body); line-height: var(--lh-body, 1.5); color: var(--cz-ink); }
|
|
4
|
+
.pw h3 { margin: 0; font-size: var(--fs-section); font-weight: var(--fw-strong); color: var(--cz-ink); }
|
|
5
|
+
.pw h4 { margin: 8px 0 6px; font-size: var(--fs-row); font-weight: var(--fw-strong); }
|
|
6
|
+
.pw .warn { color: var(--cz-late); }
|
|
7
|
+
.pw .grey { color: var(--cz-ink3); }
|
|
8
|
+
|
|
9
|
+
/* icon buttons */
|
|
10
|
+
.pw-ib { display: inline-grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 10px; background: transparent; color: var(--cz-ink2); cursor: pointer; padding: 0; flex: none; }
|
|
11
|
+
.pw-ib:hover, .pw-ib[aria-pressed="true"] { background: var(--cz-well); color: var(--cz-ink); }
|
|
12
|
+
.pw-ib.sm { width: 26px; height: 26px; border-radius: 999px; box-shadow: 0 0 0 1px var(--cz-hair) inset; background: var(--cz-card); }
|
|
13
|
+
.pw-ib.xs { width: 22px; height: 22px; border-radius: 6px; }
|
|
14
|
+
.pw-ib.solid { width: 38px; height: 38px; border-radius: 999px; background: var(--cz-solid); color: var(--cz-onsolid); }
|
|
15
|
+
.pw-ib:focus-visible, .pw button:focus-visible, .pw [data-pw-sum]:focus-visible { outline: 2px solid var(--cz-blue); outline-offset: 2px; }
|
|
16
|
+
|
|
17
|
+
/* Overview: one grey box (board 3) */
|
|
18
|
+
.pw-ov { background: var(--cz-well); border-radius: 16px; padding: 14px 18px 16px; display: flex; flex-direction: column; gap: 12px; }
|
|
19
|
+
.pw-ovh { display: flex; align-items: center; justify-content: space-between; }
|
|
20
|
+
.pw-ovh h3 { font-size: var(--fs-meta); font-weight: var(--fw-strong); letter-spacing: .08em; text-transform: uppercase; color: var(--cz-ink2); }
|
|
21
|
+
.pw-det { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; color: var(--cz-ink2); font: inherit; font-size: var(--fs-meta); cursor: pointer; padding: 2px 4px; border-radius: 6px; }
|
|
22
|
+
.pw-det:hover { color: var(--cz-ink); background: var(--cz-well2); }
|
|
23
|
+
.pw-sum { display: flex; align-items: flex-start; gap: 6px; }
|
|
24
|
+
.pw-sum-t { margin: 0; flex: 1; font-size: var(--fs-row); }
|
|
25
|
+
.pw-spark { color: var(--cz-blue); display: inline-flex; vertical-align: -2px; margin-right: 6px; }
|
|
26
|
+
/* folded (board 20): the one ✦ line holds at most two lines of text */
|
|
27
|
+
.pw-sum.fold .pw-sum-t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
|
|
28
|
+
.pw-lead { cursor: text; border-radius: 4px; }
|
|
29
|
+
.pw-lead:hover { background: var(--cz-card); box-shadow: 0 0 0 3px var(--cz-card); }
|
|
30
|
+
.pw-sumed { width: 100%; box-sizing: border-box; font: inherit; font-size: var(--fs-row); color: var(--cz-ink); background: var(--cz-card); border: 1px solid var(--cz-blue); border-radius: 10px; padding: 8px 10px; resize: vertical; }
|
|
31
|
+
.pw-sugs { background: var(--cz-card); border: 1px solid var(--cz-bluebg); border-radius: 12px; padding: 8px 12px 6px; }
|
|
32
|
+
.pw-sugh { margin: 0 0 4px; font-size: var(--fs-meta); color: var(--cz-blueink, var(--cz-blue)); display: flex; align-items: center; gap: 4px; }
|
|
33
|
+
.pw-sug { display: flex; align-items: center; gap: 8px; padding: 4px 0; border-top: 1px solid var(--cz-hair); }
|
|
34
|
+
.pw-sugh + .pw-sug { border-top: 0; }
|
|
35
|
+
.pw-sug.under { border-top: 0; padding: 0; }
|
|
36
|
+
.pw-sugt { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; border: 0; background: none; font: inherit; color: var(--cz-ink); text-align: left; cursor: pointer; padding: 4px 0; }
|
|
37
|
+
.pw-sugt svg:first-child { color: var(--cz-blue); flex: none; }
|
|
38
|
+
.pw-sugt svg:last-child { color: var(--cz-ink3); flex: none; }
|
|
39
|
+
.pw-sugt span { overflow: hidden; text-overflow: ellipsis; }
|
|
40
|
+
.pw-sugb { display: inline-flex; gap: 6px; flex: none; }
|
|
41
|
+
.pw-lk { border: 0; background: none; color: var(--cz-blue); font: inherit; font-size: var(--fs-meta); cursor: pointer; padding: 4px 0; }
|
|
42
|
+
.pw-facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; background: var(--cz-card); border: 1px solid var(--cz-hair); border-radius: 12px; overflow: hidden; }
|
|
43
|
+
.pw-f { display: grid; grid-template-columns: 130px 1fr; border-top: 1px solid var(--cz-hair); min-width: 0; }
|
|
44
|
+
.pw-f:nth-child(-n+2) { border-top: 0; }
|
|
45
|
+
.pw-f:nth-child(even) { border-left: 1px solid var(--cz-hair); }
|
|
46
|
+
.pw-f dt { padding: 7px 12px; background: var(--cz-well); color: var(--cz-ink2); font-size: var(--fs-meta); }
|
|
47
|
+
.pw-f dd { margin: 0; padding: 0; min-width: 0; }
|
|
48
|
+
.pw-fv { display: block; width: 100%; height: 100%; box-sizing: border-box; padding: 7px 12px; border: 0; background: none; font: inherit; color: var(--cz-ink); text-align: left; overflow: hidden; text-overflow: ellipsis; }
|
|
49
|
+
button.pw-fv { cursor: pointer; }
|
|
50
|
+
button.pw-fv:hover { background: var(--cz-well); }
|
|
51
|
+
/* Product · Program in one cell (board 25), each its own press */
|
|
52
|
+
.pw-f dd:has(.pw-fsep) { display: flex; align-items: center; min-width: 0; }
|
|
53
|
+
.pw-f dd:has(.pw-fsep) .pw-fv { width: auto; flex: 0 1 auto; min-width: 0; }
|
|
54
|
+
.pw-f dd:has(.pw-fsep) .pw-fv:first-child { padding-right: 0; }
|
|
55
|
+
.pw-f dd:has(.pw-fsep) .pw-fv:last-child { padding-left: 0; }
|
|
56
|
+
.pw-fsep { flex: none; color: var(--cz-ink3); white-space: pre; }
|
|
57
|
+
@container (max-width: 620px) { .pw-facts { grid-template-columns: 1fr; } .pw-f:nth-child(even) { border-left: 0; } .pw-f:nth-child(2) { border-top: 1px solid var(--cz-hair); } }
|
|
58
|
+
|
|
59
|
+
/* a section and its card */
|
|
60
|
+
.pw-sec { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
|
|
61
|
+
.pw-sech { display: flex; align-items: center; gap: 6px; min-height: 32px; }
|
|
62
|
+
.pw-tools { margin-left: auto; display: inline-flex; gap: 2px; }
|
|
63
|
+
.pw-card { border: 1px solid var(--cz-hair); border-radius: 14px; overflow: clip; background: var(--cz-card); }
|
|
64
|
+
|
|
65
|
+
/* the breakdown: rows on the left, the timeline on the right (boards 3, 20) */
|
|
66
|
+
/* the timeline's width (round 3 point 1): the grip sets --pw-tlw; the item columns keep 220 px (the name), the timeline 240 px. Status and Date
|
|
67
|
+
* give way first as the timeline grows (minmax(0, …)), so the name always shows */
|
|
68
|
+
.pw-wbs { --pw-tl: clamp(240px, var(--pw-tlw, 36%), calc(100% - 220px)); position: relative; }
|
|
69
|
+
.pw-tr { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, 112px) minmax(0, 168px) var(--pw-tl); align-items: stretch; min-height: 40px; border-top: 1px solid var(--cz-hair); }
|
|
70
|
+
.pw-wbs.nost .pw-tr { grid-template-columns: minmax(220px, 1fr) minmax(0, 168px) var(--pw-tl); }
|
|
71
|
+
.pw-wbs.nodt .pw-tr { grid-template-columns: minmax(220px, 1fr) minmax(0, 112px) var(--pw-tl); }
|
|
72
|
+
.pw-wbs.nost.nodt .pw-tr { grid-template-columns: minmax(220px, 1fr) var(--pw-tl); }
|
|
73
|
+
.pw-tlgrip { position: absolute; top: 0; bottom: 0; left: calc(100% - var(--pw-tl)); width: 13px; margin-left: -6px; z-index: 5; cursor: col-resize; touch-action: none; }
|
|
74
|
+
.pw-tlgrip i { position: absolute; left: 3px; top: 7px; width: 7px; height: 24px; border-radius: 4px; background: var(--cz-card); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cz-ink3) 55%, transparent); }
|
|
75
|
+
.pw-tlgrip:hover i, .pw-tlgrip:focus-visible i { background: var(--cz-well2); }
|
|
76
|
+
.pw-tlgrip:hover::after, .pw-tlgrip:focus-visible::after { content: ''; position: absolute; top: 0; bottom: 0; left: 6px; width: 1px; background: var(--cz-blue); }
|
|
77
|
+
.pw-tlgrip:focus-visible { outline: none; }
|
|
78
|
+
body.pw-drag, body.pw-drag * { cursor: col-resize !important; user-select: none; }
|
|
79
|
+
.pw-wbs.notl .pw-tr { grid-template-columns: minmax(0, 1fr) 110px 160px; }
|
|
80
|
+
.pw-wbs.notl.nost .pw-tr { grid-template-columns: minmax(0, 1fr) 160px; }
|
|
81
|
+
.pw-wbs.notl.nodt .pw-tr { grid-template-columns: minmax(0, 1fr) 110px; }
|
|
82
|
+
.pw-wbs.notl.nost.nodt .pw-tr { grid-template-columns: minmax(0, 1fr); }
|
|
83
|
+
.pw-tr > span { display: flex; align-items: center; min-width: 0; padding: 0 10px; overflow: hidden; }
|
|
84
|
+
.pw-th { border-top: 0; background: var(--cz-well); color: var(--cz-ink2); font-size: var(--fs-meta); min-height: 38px; position: sticky; top: 0; z-index: 4; }
|
|
85
|
+
.pw-th > span:first-child { padding-left: 16px; }
|
|
86
|
+
.pw-th > .pw-tl { background: var(--cz-well); }
|
|
87
|
+
.pw-it { padding-left: 14px !important; gap: 6px; }
|
|
88
|
+
.pw-st, .pw-dt { color: var(--cz-ink2); font-size: var(--fs-meta); white-space: nowrap; }
|
|
89
|
+
.pw-dt.warn { color: var(--cz-late); }
|
|
90
|
+
.pw-stg { display: flex; align-items: center; gap: 8px; min-width: 0; border: 0; background: none; font: inherit; color: var(--cz-ink); cursor: pointer; padding: 0; text-align: left; }
|
|
91
|
+
.pw-stg:disabled { cursor: default; }
|
|
92
|
+
.pw-stg b { font-weight: var(--fw-strong); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
93
|
+
.pw-stg svg { color: var(--cz-ink3); flex: none; }
|
|
94
|
+
.pw-stg small { color: var(--cz-ink2); font-size: var(--fs-meta); white-space: nowrap; }
|
|
95
|
+
.pw-stg.lv b { font-weight: var(--fw-strong); }
|
|
96
|
+
.pw-grp { font-weight: var(--fw-strong); color: var(--cz-ink2); }
|
|
97
|
+
.pw-n { color: var(--cz-ink2); min-width: 14px; }
|
|
98
|
+
.pw-kr .pw-it { padding-left: 38px !important; }
|
|
99
|
+
.pw-bul { width: 5px; height: 5px; border-radius: 99px; background: var(--cz-ink); flex: none; }
|
|
100
|
+
.pw-bul.ms { width: 7px; height: 7px; border-radius: 1px; transform: rotate(45deg); background: none; box-shadow: 0 0 0 1.5px var(--cz-ink) inset; }
|
|
101
|
+
.pw-kr.done .pw-tt { color: var(--cz-ink3); text-decoration: line-through; }
|
|
102
|
+
.pw-tt { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border: 0; background: none; font: inherit; color: var(--cz-ink); padding: 2px 0; text-align: left; cursor: text; }
|
|
103
|
+
.pw-namei { flex: 1; min-width: 0; font: inherit; color: var(--cz-ink); border: 1px solid var(--cz-blue); border-radius: 8px; padding: 3px 8px; background: var(--cz-card); }
|
|
104
|
+
.pw-ib.hov { opacity: 0; }
|
|
105
|
+
.pw-kr:hover .pw-ib.hov, .pw-ib.hov:focus-visible { opacity: 1; }
|
|
106
|
+
.pw-cell { border: 0; background: none; font: inherit; color: inherit; padding: 3px 6px; margin-left: -6px; border-radius: 6px; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
|
|
107
|
+
.pw-cell:hover { background: var(--cz-well); }
|
|
108
|
+
.pw-cell.empty { color: var(--cz-ink3); opacity: 0; }
|
|
109
|
+
.pw-kr:hover .pw-cell.empty, .pw-cell.empty:focus-visible { opacity: 1; }
|
|
110
|
+
.pw-dn { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; font: inherit; color: var(--cz-ink2); cursor: pointer; padding: 0 0 0 24px; }
|
|
111
|
+
.pw-dr .pw-it { padding-left: 38px !important; }
|
|
112
|
+
.pw-sugrow { grid-template-columns: minmax(0, 1fr) !important; min-height: 34px; }
|
|
113
|
+
.pw-sugrow .pw-it { padding-left: 52px !important; font-size: var(--fs-meta); }
|
|
114
|
+
.pw-add { grid-template-columns: minmax(0, 1fr) !important; min-height: 36px; }
|
|
115
|
+
.pw-add .pw-it { padding-left: 34px !important; }
|
|
116
|
+
.pw-addf { display: flex; align-items: center; gap: 6px; flex: 1; color: var(--cz-ink3); }
|
|
117
|
+
.pw-addf input { flex: 1; border: 0; background: none; font: inherit; color: var(--cz-ink); padding: 4px 0; outline: none; }
|
|
118
|
+
.pw-addf input::placeholder { color: var(--cz-ink3); }
|
|
119
|
+
.pw-empty > span { color: var(--cz-ink3); padding: 0 16px !important; }
|
|
120
|
+
|
|
121
|
+
/* the timeline cell */
|
|
122
|
+
.pw-tl { position: relative; border-left: 1px solid var(--cz-hair); overflow: hidden; min-height: 40px; }
|
|
123
|
+
.pw-tlh { overflow: visible; display: flex; align-items: center; gap: 4px; padding: 0 6px; }
|
|
124
|
+
.pw-tlh .pw-ib, .pw-span { position: relative; z-index: 2; }
|
|
125
|
+
.pw-span { flex: none; height: 26px; display: inline-flex; align-items: center; gap: 2px; border: 0; border-radius: 6px; background: var(--cz-card); color: var(--cz-ink); font: inherit; font-size: var(--fs-meta); padding: 2px 6px; cursor: pointer; box-shadow: 0 0 0 1px var(--cz-hair); }
|
|
126
|
+
.pw-mk { position: absolute; top: 50%; transform: translate(-1px, -50%); font-size: var(--fs-meta); color: var(--cz-ink2); padding-left: 6px; border-left: 1px solid var(--cz-hair); line-height: 18px; pointer-events: none; }
|
|
127
|
+
.pw-tday { position: absolute; top: 50%; margin-top: -8px; transform: translateX(-50%); font-size: var(--fs-badge); font-weight: var(--fw-strong); color: var(--cz-onsolid); background: var(--cz-solid); padding: 0 6px; border-radius: 99px; line-height: 16px; pointer-events: none; z-index: 1; }
|
|
128
|
+
.pw-now { position: absolute; top: 0; bottom: 0; width: 1.5px; background: var(--cz-ink2); transform: translateX(-.75px); pointer-events: none; }
|
|
129
|
+
.pw-key { display: flex; gap: 18px; flex-wrap: wrap; margin: 0; font-size: var(--fs-meta); color: var(--cz-ink2); }
|
|
130
|
+
.pw-key span { display: inline-flex; align-items: center; gap: 6px; }
|
|
131
|
+
/* the key, in the bars' own tones (ini-view.css iva-tb, iva-md; cozy-bar.css cb-gap) */
|
|
132
|
+
.k-tb { width: 22px; height: 10px; border-radius: 5px; background: var(--cz-card); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--cz-ink3) 55%, var(--cz-card)); }
|
|
133
|
+
.k-tb.pr { background: color-mix(in srgb, var(--cz-blue) 82%, var(--cz-card)); box-shadow: none; }
|
|
134
|
+
.k-tb.dn { background: color-mix(in srgb, var(--cz-ink3) 30%, var(--cz-card)); box-shadow: none; }
|
|
135
|
+
.k-md { width: 9px; height: 9px; transform: rotate(45deg); border-radius: 2px; border: 2px solid var(--cz-ink2); box-sizing: border-box; }
|
|
136
|
+
.k-gap { width: 22px; height: 2px; background: color-mix(in srgb, var(--cz-ink3) 45%, var(--cz-card)); }
|
|
137
|
+
.k-late { width: 22px; height: 3px; border-radius: 2px; background: var(--cz-late); }
|
|
138
|
+
|
|
139
|
+
/* artefacts (board 21) */
|
|
140
|
+
/* one row per Kind (round 3 point 16): Kind | Artefact | Version | Updated, with a width cap so no wide gap opens between them */
|
|
141
|
+
.pw-ar { display: grid; grid-template-columns: 140px minmax(0, 1fr) 150px 110px; align-items: center; min-height: 34px; border-top: 1px solid var(--cz-hair); padding: 0 16px; gap: 12px; }
|
|
142
|
+
.pw-arts.now .pw-ar { grid-template-columns: 140px minmax(0, 1fr) 150px; }
|
|
143
|
+
.pw-ak { color: var(--cz-ink2); font-size: var(--fs-meta); font-weight: var(--fw-strong); }
|
|
144
|
+
.pw-av { color: var(--cz-ink2); font-size: var(--fs-meta); }
|
|
145
|
+
.pw-ver { display: inline-flex; align-items: center; gap: 3px; border: 0; background: none; font: inherit; color: var(--cz-ink2); padding: 2px 4px; margin-left: -4px; border-radius: 6px; cursor: pointer; }
|
|
146
|
+
.pw-ver:hover { background: var(--cz-well); color: var(--cz-ink); }
|
|
147
|
+
.pw-ear { min-height: 30px; }
|
|
148
|
+
.pw-ear .pw-an { font-weight: var(--fw-regular); color: var(--cz-ink2); }
|
|
149
|
+
.pw-amg { margin: 0; }
|
|
150
|
+
@container (max-width: 560px) { .pw-ar { grid-template-columns: 96px minmax(0, 1fr) 90px; } .pw-ar > span:nth-child(4) { display: none; } }
|
|
151
|
+
.pw-ar.pw-th { border-top: 0; }
|
|
152
|
+
.pw-ar > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
153
|
+
.pw-an { border: 0; background: none; font: inherit; font-weight: var(--fw-strong); color: var(--cz-ink); padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
|
|
154
|
+
.pw-an:hover { text-decoration: underline; }
|
|
155
|
+
.pw-an svg { color: var(--cz-ink3); flex: none; }
|
|
156
|
+
.pw-ar.miss { color: var(--cz-ink3); }
|
|
157
|
+
.pw-addart { width: 100%; border: 0; border-top: 1px solid var(--cz-hair); background: none; font: inherit; color: var(--cz-ink2); cursor: pointer; display: flex !important; gap: 8px; text-align: left; }
|
|
158
|
+
.pw-addart:hover { background: var(--cz-well); color: var(--cz-ink); }
|
|
159
|
+
|
|
160
|
+
/* the suggestion as its own page (board 22) */
|
|
161
|
+
.pw-sp { gap: 14px; }
|
|
162
|
+
.pw-sp p { margin: 0; }
|
|
163
|
+
.pw-spc { position: relative; border: 1px solid var(--cz-bluebg); border-radius: 16px; padding: 14px 120px 14px 18px; }
|
|
164
|
+
.pw-spc h3 { font-size: var(--fs-panel); font-weight: var(--fw-strong); margin-top: 2px; }
|
|
165
|
+
.pw-spb { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); display: inline-flex; gap: 10px; align-items: center; }
|
|
166
|
+
.pw-spb .pw-ib:not(.solid) { width: 38px; height: 38px; border-radius: 99px; box-shadow: 0 0 0 1px var(--cz-hair) inset; }
|
|
167
|
+
.pw-chg { display: block; }
|
|
168
|
+
.pw-cr { display: grid; grid-template-columns: 1.3fr 1fr 1fr; min-height: 38px; align-items: center; border-top: 1px solid var(--cz-hair); padding: 0 14px; gap: 10px; }
|
|
169
|
+
.pw-cr.pw-th { border-top: 0; }
|
|
170
|
+
.pw-ul { margin: 0; padding-left: 20px; }
|
|
171
|
+
.pw-src { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 42px; padding: 0 14px; border: 0; border-top: 1px solid var(--cz-hair); background: none; font: inherit; color: var(--cz-ink); text-align: left; cursor: pointer; }
|
|
172
|
+
.pw-src:first-child { border-top: 0; }
|
|
173
|
+
.pw-src:hover { background: var(--cz-well); }
|
|
174
|
+
.pw-ask { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; color: var(--cz-blue); font: inherit; font-weight: var(--fw-strong); cursor: pointer; padding: 6px 0; }
|
|
175
|
+
|
|
176
|
+
/* the tune menu's switches */
|
|
177
|
+
.hi-pop .pw-sw { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
|
|
178
|
+
.hi-pop .pw-sw i { width: 30px; height: 18px; border-radius: 99px; background: var(--cz-well2); position: relative; flex: none; }
|
|
179
|
+
.hi-pop .pw-sw i::after { content: ''; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 99px; background: var(--cz-card); transition: left .15s; }
|
|
180
|
+
.hi-pop .pw-sw[aria-checked="true"] i { background: var(--cz-blue); }
|
|
181
|
+
.hi-pop .pw-sw[aria-checked="true"] i::after { left: 14px; }
|
|
182
|
+
.pw-lead.ph { color: var(--cz-ink3); }
|
|
183
|
+
.pw-lead.ph::after { content: '.'; }
|
|
184
|
+
.pw-facts .warn, .pw-fv .warn { color: var(--cz-late); }
|
|
185
|
+
/* a narrow popup: the timeline gives way first (the hide button brings it back on a wider screen) */
|
|
186
|
+
@container (max-width: 640px) { .pw-wbs .pw-tr { grid-template-columns: minmax(0, 1fr) 96px 120px !important; } .pw-wbs .pw-tl, .pw-tlgrip { display: none; } .pw-sugrow, .pw-add { grid-template-columns: minmax(0, 1fr) !important; } }
|
|
187
|
+
|
|
188
|
+
/* the Overview explains the initiative (round 3 point 10): three labelled lines, the status line, then PMOS suggests and Details */
|
|
189
|
+
.pw-ovh h3 { margin-right: 6px; }
|
|
190
|
+
.pw-ovh .pw-spark { margin-right: auto; }
|
|
191
|
+
.pw-ols { display: flex; flex-direction: column; gap: 6px; }
|
|
192
|
+
.pw-ol { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; align-items: baseline; }
|
|
193
|
+
.pw-ok { font-size: var(--fs-meta); font-weight: var(--fw-strong); color: var(--cz-ink2); }
|
|
194
|
+
.pw-ot { margin: 0; font-size: var(--fs-row); color: var(--cz-ink); }
|
|
195
|
+
.pw-otx { cursor: text; border-radius: 4px; }
|
|
196
|
+
.pw-otx:hover { background: var(--cz-card); box-shadow: 0 0 0 3px var(--cz-card); }
|
|
197
|
+
.pw-otx:focus-visible { outline: 2px solid var(--cz-blue); outline-offset: 2px; }
|
|
198
|
+
.pw-osrc { border: 0; background: none; padding: 0; font: inherit; font-size: var(--fs-meta); color: var(--cz-ink3); }
|
|
199
|
+
button.pw-osrc { cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
|
|
200
|
+
button.pw-osrc:hover { color: var(--cz-ink2); }
|
|
201
|
+
.pw-ooff { display: inline-flex; align-items: center; gap: 8px; margin-left: 8px; vertical-align: middle; }
|
|
202
|
+
.pw-oq { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-meta); color: var(--cz-blueink, var(--cz-blue)); }
|
|
203
|
+
.pw-ostat { margin: 2px 0 0; padding-top: 10px; border-top: 1px solid var(--cz-hair); font-size: var(--fs-row); color: var(--cz-ink2); }
|
|
204
|
+
@container (max-width: 520px) { .pw-ol { grid-template-columns: minmax(0, 1fr); gap: 0; } .pw-ooff { display: flex; margin: 4px 0 0; } }
|
|
205
|
+
/* a grid value wraps to two lines (a goal's name), never a cut-off key */
|
|
206
|
+
.pw-fv { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: normal; }
|
|
207
|
+
.pw-f dt { height: 100%; box-sizing: border-box; }
|
|
208
|
+
.pw-fv.ro { cursor: default; }
|
|
209
|
+
/* two choices on a suggestion (round 3 point 13) */
|
|
210
|
+
.pw-chc { border: 0; border-radius: 999px; background: var(--cz-card); box-shadow: 0 0 0 1px var(--cz-hair) inset; font: inherit; font-size: var(--fs-meta); color: var(--cz-ink); padding: 3px 10px; cursor: pointer; white-space: nowrap; }
|
|
211
|
+
.pw-chc:hover { background: var(--cz-well); }
|
|
212
|
+
/* Task or Milestone (round 3 point 2): the choice on top of the date popup, the add row's choice */
|
|
213
|
+
.hi-pop .pw-seg { display: flex; gap: 2px; padding: 2px; border-radius: 10px; background: var(--cz-well); margin-bottom: 8px; }
|
|
214
|
+
.hi-pop .pw-seg button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 8px; background: none; font: inherit; font-size: var(--fs-meta); color: var(--cz-ink2); padding: 5px 10px; cursor: pointer; }
|
|
215
|
+
.hi-pop .pw-seg button[aria-checked="true"] { background: var(--cz-card); color: var(--cz-ink); font-weight: var(--fw-strong); box-shadow: 0 0 0 1px var(--cz-hair); }
|
|
216
|
+
.hi-pop .pw-jn { margin: 6px 0 0; color: var(--cz-ink3); }
|
|
217
|
+
.pw-addty { flex: none; display: inline-flex; align-items: center; gap: 4px; border: 0; border-radius: 999px; background: none; font: inherit; font-size: var(--fs-meta); color: var(--cz-ink3); padding: 2px 8px; cursor: pointer; margin-right: 10px; }
|
|
218
|
+
.pw-addty:hover, .pw-addty.on { background: var(--cz-well); color: var(--cz-ink); }
|
|
219
|
+
/* a Details value that opens something reads in the link colour; a value read from the work stays plain (round 3 design check) */
|
|
220
|
+
button.pw-fv { color: var(--cz-blueink); }
|
|
221
|
+
button.pw-fv .grey { color: var(--cz-ink3); }
|
|
222
|
+
@media (hover: hover) { button.pw-fv:hover > span:first-child { text-decoration: underline; text-underline-offset: 2px; } }
|
|
223
|
+
/* When did this happen? under the status list (round 3 point 18) */
|
|
224
|
+
.hi-pop .pw-when { padding: 0 6px 4px; }
|