@unson/brainbase-mcp 0.7.0 → 0.8.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/contracts/foundation/graph-history.sql +634 -0
- package/contracts/judgment-value-proof/schema.json +43 -1
- package/dist/canonical-task-service.js +16 -5
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +107 -0
- package/dist/company-os-objectives.d.ts +11 -0
- package/dist/company-os-objectives.js +84 -47
- package/dist/foundation-authenticated-tools.d.ts +56 -0
- package/dist/foundation-authenticated-tools.js +347 -0
- package/dist/foundation-graph-http.d.ts +43 -0
- package/dist/foundation-graph-http.js +243 -0
- package/dist/foundation-graph-write.d.ts +90 -0
- package/dist/foundation-graph-write.js +447 -0
- package/dist/foundation-public-provider.d.ts +140 -0
- package/dist/foundation-public-provider.js +192 -0
- package/dist/graph-corrections.d.ts +157 -0
- package/dist/graph-corrections.js +620 -0
- package/dist/graph-foundation-reader.d.ts +60 -0
- package/dist/graph-foundation-reader.js +494 -0
- package/dist/graph-retrieval.d.ts +6 -1
- package/dist/graph-revision-reader.d.ts +80 -0
- package/dist/graph-revision-reader.js +246 -0
- package/dist/graph-web-http.d.ts +26 -0
- package/dist/graph-web-http.js +215 -0
- package/dist/graph-web.d.ts +364 -0
- package/dist/graph-web.js +639 -0
- package/dist/judgment-problem-snapshot.d.ts +30 -2
- package/dist/judgment-problem-snapshot.js +302 -6
- package/dist/judgment-value-proof-review.d.ts +166 -0
- package/dist/judgment-value-proof-review.js +437 -0
- package/dist/judgment-value-proof.d.ts +28 -1
- package/dist/judgment-value-proof.js +53 -8
- package/dist/knowledge-continuation.d.ts +127 -0
- package/dist/knowledge-continuation.js +446 -0
- package/dist/knowledge-lookup.d.ts +178 -0
- package/dist/knowledge-lookup.js +758 -0
- package/dist/local-web-fetch-bridge.d.ts +5 -0
- package/dist/local-web-fetch-bridge.js +37 -0
- package/dist/local-web-host.d.ts +109 -0
- package/dist/local-web-host.js +688 -0
- package/dist/local-web-security.d.ts +25 -0
- package/dist/local-web-security.js +95 -0
- package/dist/organization-graph.d.ts +15 -0
- package/dist/organization-graph.js +24 -4
- package/dist/personal-knowledge.d.ts +12 -0
- package/dist/personal-knowledge.js +29 -0
- package/dist/personal-memory-handover.d.ts +108 -0
- package/dist/personal-memory-handover.js +369 -0
- package/dist/philosophy-revision-reader.d.ts +85 -0
- package/dist/philosophy-revision-reader.js +241 -0
- package/dist/portable-graph.d.ts +24 -0
- package/dist/portable-graph.js +77 -0
- package/dist/server.d.ts +7 -2
- package/dist/server.js +9 -6
- package/dist/value-proof-review-http.d.ts +25 -0
- package/dist/value-proof-review-http.js +185 -0
- package/dist/world-model.d.ts +21 -3
- package/dist/world-model.js +94 -12
- package/package.json +94 -3
- package/ui/brainbase-tokens.css +56 -0
- package/ui/graph-own-share.js +367 -0
- package/ui/graph-projects-view.css +23 -0
- package/ui/graph-projects-view.js +730 -0
- package/ui/graph-registry-view.css +101 -0
- package/ui/graph-registry-view.js +804 -0
- package/ui/graph-view-shared.css +522 -0
- package/ui/graph-view-shared.js +1227 -0
- package/ui/judgment-view.css +119 -45
- package/ui/local-web-shell.css +396 -0
- package/ui/local-web-shell.js +378 -0
- package/ui/objective-editor-http-port.js +154 -0
- package/ui/objective-editor.css +180 -74
- package/ui/objective-editor.js +490 -43
- package/ui/outcome-knowledge.css +50 -14
- package/ui/outcome-knowledge.js +15 -1
- package/ui/outcome-mana.css +91 -14
- package/ui/outcome-mana.js +958 -61
- package/ui/value-proof-review.css +504 -0
- package/ui/value-proof-review.js +1104 -0
- package/ui/workspace-kit.css +485 -0
- package/ui/workspace-kit.js +229 -0
- package/ui/world-model-view.css +188 -0
- package/ui/world-model-view.js +486 -0
package/ui/objective-editor.css
CHANGED
|
@@ -1,26 +1,47 @@
|
|
|
1
|
-
/*
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
--objective-
|
|
13
|
-
--objective-
|
|
14
|
-
--objective-
|
|
15
|
-
--objective-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
/*
|
|
2
|
+
* Shared Objective editor surface. The host owns shell, identity and policy.
|
|
3
|
+
* Tabs layout (no rail, as the organization edition composes it): the header
|
|
4
|
+
* sits in a gradient box, each view is a white section, tabs and buttons share
|
|
5
|
+
* one shape and the active tab and the primary action use the action color.
|
|
6
|
+
* Workspace layout (the host gives a rail): the organization edition's screen
|
|
7
|
+
* pattern from workspace-kit.css; its rules below read the shared tokens.
|
|
8
|
+
*/
|
|
9
|
+
.objective-editor-root,
|
|
10
|
+
.bb-objective-workspace,
|
|
11
|
+
.bb-objective-rail {
|
|
12
|
+
--objective-paper: var(--bb-color-panel, var(--paper, #fbfbf8));
|
|
13
|
+
--objective-canvas: var(--bb-color-surface, var(--canvas, #f2f3ef));
|
|
14
|
+
--objective-ink: var(--bb-color-ink, var(--ink, #141714));
|
|
15
|
+
--objective-muted: var(--bb-color-muted, var(--muted, #626a64));
|
|
16
|
+
--objective-quiet: var(--bb-color-muted, var(--quiet, #8b938c));
|
|
17
|
+
--objective-line: var(--bb-color-border, var(--line, #d9ded9));
|
|
18
|
+
--objective-line-strong: var(--bb-color-border-strong, var(--line-dark, #b8c0b9));
|
|
19
|
+
--objective-control-line: var(--bb-color-control-border, var(--line-dark, #b8c0b9));
|
|
20
|
+
--objective-header-start: var(--bb-color-header-start, var(--paper, #fbfbf8));
|
|
21
|
+
--objective-header-end: var(--bb-color-header-end, var(--paper, #fbfbf8));
|
|
22
|
+
--objective-eyebrow: var(--bb-color-eyebrow, var(--green, #087d62));
|
|
23
|
+
--objective-green: var(--bb-color-accent, var(--green, #087d62));
|
|
24
|
+
--objective-green-soft: var(--bb-color-accent-soft, var(--green-soft, #e5f1ec));
|
|
25
|
+
--objective-green-strong: var(--bb-color-accent-strong, var(--green, #087d62));
|
|
26
|
+
--objective-action: var(--bb-color-action, var(--green, #087d62));
|
|
27
|
+
--objective-action-hover: var(--bb-color-action-hover, var(--green, #087d62));
|
|
28
|
+
--objective-action-text: var(--bb-color-action-text, #ffffff);
|
|
29
|
+
--objective-focus: var(--bb-color-focus, var(--green, #087d62));
|
|
30
|
+
--objective-amber: var(--bb-color-warning, var(--amber, #a56d05));
|
|
31
|
+
--objective-amber-soft: var(--bb-color-warning-soft, var(--amber-soft, #fff2ce));
|
|
32
|
+
--objective-red: var(--bb-color-danger, var(--red, #c82a39));
|
|
33
|
+
--objective-red-soft: var(--bb-color-danger-soft, var(--red-soft, #fdebed));
|
|
18
34
|
min-width: 0;
|
|
19
35
|
color: var(--objective-ink);
|
|
20
|
-
font-family: Geist, "Noto Sans JP", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
36
|
+
font-family: var(--bb-font-sans, Geist, "Noto Sans JP", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
|
|
21
37
|
line-height: 1.5;
|
|
22
38
|
}
|
|
23
39
|
|
|
40
|
+
.objective-editor-root {
|
|
41
|
+
display: grid;
|
|
42
|
+
gap: 20px;
|
|
43
|
+
}
|
|
44
|
+
|
|
24
45
|
.objective-editor-root *,
|
|
25
46
|
.objective-editor-root *::before,
|
|
26
47
|
.objective-editor-root *::after { box-sizing: border-box; }
|
|
@@ -30,41 +51,83 @@
|
|
|
30
51
|
.objective-editor-root textarea { font: inherit; }
|
|
31
52
|
.objective-editor-root h1,
|
|
32
53
|
.objective-editor-root p { margin: 0; }
|
|
33
|
-
.objective-editor-root h1 { font-size: clamp(1.
|
|
34
|
-
.objective-editor-root [hidden]
|
|
54
|
+
.objective-editor-root h1 { margin: 4px 0 8px; font-size: clamp(1.45rem, 3vw, 2rem); letter-spacing: -.02em; line-height: 1.25; }
|
|
55
|
+
.objective-editor-root [hidden],
|
|
56
|
+
.bb-objective-rail [hidden] { display: none !important; }
|
|
35
57
|
|
|
58
|
+
/* Part header: eyebrow, title and lead inside the gradient box, state at the right. */
|
|
36
59
|
.objective-editor-header {
|
|
37
60
|
display: grid;
|
|
38
61
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
39
62
|
gap: .75rem 1rem;
|
|
40
63
|
align-items: start;
|
|
41
|
-
padding
|
|
42
|
-
border
|
|
64
|
+
padding: 24px;
|
|
65
|
+
border: 1px solid var(--objective-line);
|
|
66
|
+
border-radius: var(--bb-radius-lg, 16px);
|
|
67
|
+
background: linear-gradient(135deg, var(--objective-header-start), var(--objective-header-end));
|
|
43
68
|
}
|
|
44
|
-
.objective-editor-header-copy { display: grid;
|
|
45
|
-
.objective-editor-header-copy p { color: var(--objective-muted);
|
|
46
|
-
.objective-editor-eyebrow { color: var(--objective-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
69
|
+
.objective-editor-header-copy { display: grid; min-width: 0; }
|
|
70
|
+
.objective-editor-header-copy p { color: var(--objective-muted); }
|
|
71
|
+
.objective-editor-eyebrow { color: var(--objective-eyebrow); font-size: .72rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
|
|
72
|
+
|
|
73
|
+
/* Tabs and buttons: one shape; the active tab and the primary action use the action color. */
|
|
74
|
+
.objective-editor-toolbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
|
|
75
|
+
.objective-editor-tab,
|
|
76
|
+
.objective-editor-button,
|
|
77
|
+
.objective-editor-button-primary,
|
|
78
|
+
.objective-editor-button-secondary,
|
|
79
|
+
.objective-editor-button-danger {
|
|
80
|
+
min-height: 40px;
|
|
81
|
+
border: 1px solid var(--objective-control-line);
|
|
82
|
+
border-radius: var(--bb-radius-sm, 7px);
|
|
83
|
+
padding: 8px 12px;
|
|
84
|
+
color: var(--objective-ink);
|
|
85
|
+
background: var(--objective-paper);
|
|
55
86
|
cursor: pointer;
|
|
56
|
-
font-size: .8rem;
|
|
57
87
|
font-weight: 680;
|
|
88
|
+
line-height: 1.3;
|
|
58
89
|
}
|
|
90
|
+
/* The root resets button fonts with `button { font: inherit }`; keep the weight. */
|
|
91
|
+
.objective-editor-root .objective-editor-tab,
|
|
92
|
+
.objective-editor-root .objective-editor-button,
|
|
93
|
+
.objective-editor-root .objective-editor-button-primary,
|
|
94
|
+
.objective-editor-root .objective-editor-button-secondary,
|
|
95
|
+
.objective-editor-root .objective-editor-button-danger,
|
|
96
|
+
.bb-objective-rail .objective-editor-button-secondary,
|
|
97
|
+
.bb-objective-rail .objective-editor-button-danger { font-weight: 680; }
|
|
59
98
|
.objective-editor-tab:hover,
|
|
60
|
-
.objective-editor-
|
|
99
|
+
.objective-editor-button:hover,
|
|
100
|
+
.objective-editor-button-secondary:hover { border-color: var(--objective-line-strong); }
|
|
101
|
+
.objective-editor-tab.is-active { border-color: var(--objective-action); color: var(--objective-action-text); background: var(--objective-action); }
|
|
61
102
|
.objective-editor-toolbar > .objective-editor-button-secondary { margin-left: auto; }
|
|
103
|
+
.objective-editor-button-primary { border-color: var(--objective-action); color: var(--objective-action-text); background: var(--objective-action); }
|
|
104
|
+
.objective-editor-button-primary:hover:not(:disabled) { border-color: var(--objective-action-hover); background: var(--objective-action-hover); }
|
|
105
|
+
.objective-editor-button-danger { border-color: color-mix(in srgb, var(--objective-red) 45%, var(--objective-line)); color: var(--objective-red); }
|
|
106
|
+
.objective-editor-button-danger:hover { background: var(--objective-red-soft); }
|
|
107
|
+
.objective-editor-tab:disabled,
|
|
108
|
+
.objective-editor-button:disabled,
|
|
109
|
+
.objective-editor-button-primary:disabled,
|
|
110
|
+
.objective-editor-button-secondary:disabled,
|
|
111
|
+
.objective-editor-button-danger:disabled { cursor: wait; opacity: .55; }
|
|
112
|
+
.objective-editor-root button:focus-visible,
|
|
113
|
+
.bb-objective-rail button:focus-visible,
|
|
114
|
+
.objective-editor-input:focus-visible { outline: 3px solid color-mix(in srgb, var(--objective-focus) 45%, var(--objective-paper)); outline-offset: 2px; }
|
|
115
|
+
|
|
116
|
+
/* Each view is a white section. */
|
|
62
117
|
.objective-editor-content { min-width: 0; }
|
|
63
|
-
.objective-editor-panel {
|
|
64
|
-
|
|
118
|
+
.objective-editor-panel {
|
|
119
|
+
display: grid;
|
|
120
|
+
gap: .8rem;
|
|
121
|
+
min-width: 0;
|
|
122
|
+
padding: 18px;
|
|
123
|
+
border: 1px solid var(--objective-line);
|
|
124
|
+
border-radius: var(--bb-radius-md, 14px);
|
|
125
|
+
background: var(--objective-paper);
|
|
126
|
+
}
|
|
127
|
+
.objective-editor-panel-heading { font-size: 1.1rem; font-weight: 700; }
|
|
65
128
|
.objective-editor-muted,
|
|
66
|
-
.objective-editor-help { color: var(--objective-muted); font-size: .
|
|
67
|
-
.objective-editor-list { display: grid; gap: 0; border-top: 1px solid var(--objective-line); }
|
|
129
|
+
.objective-editor-help { color: var(--objective-muted); font-size: .8rem; }
|
|
130
|
+
.objective-editor-list { display: grid; gap: 0; border-top: 1px solid var(--objective-line-strong); }
|
|
68
131
|
.objective-editor-list-row {
|
|
69
132
|
display: grid;
|
|
70
133
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
@@ -74,7 +137,7 @@
|
|
|
74
137
|
min-height: 4.2rem;
|
|
75
138
|
border: 0;
|
|
76
139
|
border-bottom: 1px solid var(--objective-line);
|
|
77
|
-
padding: .75rem
|
|
140
|
+
padding: .75rem .5rem;
|
|
78
141
|
color: inherit;
|
|
79
142
|
background: transparent;
|
|
80
143
|
text-align: left;
|
|
@@ -83,7 +146,7 @@
|
|
|
83
146
|
.objective-editor-list-row:hover { background: var(--objective-canvas); }
|
|
84
147
|
.objective-editor-list-copy { display: grid; gap: .15rem; min-width: 0; }
|
|
85
148
|
.objective-editor-list-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
86
|
-
.objective-editor-list-copy small { color: var(--objective-quiet); font-size: .
|
|
149
|
+
.objective-editor-list-copy small { color: var(--objective-quiet); font-size: .72rem; }
|
|
87
150
|
.objective-editor-list-badges { display: flex; gap: .3rem; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
|
|
88
151
|
.objective-editor-badge {
|
|
89
152
|
display: inline-flex;
|
|
@@ -91,15 +154,15 @@
|
|
|
91
154
|
min-height: 1.65rem;
|
|
92
155
|
border: 1px solid var(--objective-line);
|
|
93
156
|
border-radius: 999px;
|
|
94
|
-
padding: .16rem .
|
|
157
|
+
padding: .16rem .55rem;
|
|
95
158
|
color: var(--objective-muted);
|
|
96
159
|
background: var(--objective-paper);
|
|
97
|
-
font-size: .
|
|
160
|
+
font-size: .7rem;
|
|
98
161
|
font-weight: 700;
|
|
99
162
|
white-space: nowrap;
|
|
100
163
|
}
|
|
101
164
|
.objective-editor-badge-judgment_available,
|
|
102
|
-
.objective-editor-badge-verified { border-color: color-mix(in srgb, var(--objective-green) 40%, var(--objective-line)); color: var(--objective-green); background: var(--objective-green-soft); }
|
|
165
|
+
.objective-editor-badge-verified { border-color: color-mix(in srgb, var(--objective-green) 40%, var(--objective-line)); color: var(--objective-green-strong); background: var(--objective-green-soft); }
|
|
103
166
|
.objective-editor-badge-draft,
|
|
104
167
|
.objective-editor-badge-conflict { border-color: color-mix(in srgb, var(--objective-amber) 40%, var(--objective-line)); color: var(--objective-amber); background: var(--objective-amber-soft); }
|
|
105
168
|
.objective-editor-badge-permission_denied,
|
|
@@ -108,73 +171,116 @@
|
|
|
108
171
|
.objective-editor-badge-saved_unverified { border-color: color-mix(in srgb, var(--objective-red) 35%, var(--objective-line)); color: var(--objective-red); background: var(--objective-red-soft); }
|
|
109
172
|
.objective-editor-empty { padding: 1.5rem 0; color: var(--objective-muted); }
|
|
110
173
|
.objective-editor-skeleton { height: 3.5rem; margin-bottom: .4rem; border-bottom: 1px solid var(--objective-line); color: var(--objective-quiet); font-size: .76rem; }
|
|
111
|
-
|
|
112
|
-
|
|
174
|
+
|
|
175
|
+
/* State boxes. */
|
|
176
|
+
.objective-editor-notice { display: grid; gap: .25rem; justify-items: start; border-radius: var(--bb-radius-sm, 7px); padding: 11px 12px; background: var(--objective-canvas); }
|
|
177
|
+
.objective-editor-notice p { color: var(--objective-muted); font-size: .8rem; }
|
|
113
178
|
.objective-editor-notice-permission_denied,
|
|
114
179
|
.objective-editor-notice-api_unavailable,
|
|
115
180
|
.objective-editor-notice-conflict,
|
|
116
|
-
.objective-editor-notice-missing {
|
|
181
|
+
.objective-editor-notice-missing { color: var(--objective-red); background: var(--objective-red-soft); }
|
|
182
|
+
|
|
183
|
+
/* Form. */
|
|
117
184
|
.objective-editor-form { display: grid; gap: 1rem; max-width: 58rem; }
|
|
118
185
|
.objective-editor-identity,
|
|
119
186
|
.objective-editor-inline-fields,
|
|
120
187
|
.objective-editor-inline-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
|
|
121
188
|
.objective-editor-inline-form { align-items: end; }
|
|
122
189
|
.objective-editor-field { display: grid; gap: .3rem; min-width: 0; }
|
|
123
|
-
.objective-editor-label { color: var(--objective-
|
|
190
|
+
.objective-editor-label { color: var(--objective-ink); font-size: .78rem; font-weight: 650; }
|
|
124
191
|
.objective-editor-input {
|
|
125
192
|
width: 100%;
|
|
126
|
-
min-height:
|
|
193
|
+
min-height: 40px;
|
|
127
194
|
border: 1px solid var(--objective-line-strong);
|
|
128
|
-
border-radius:
|
|
129
|
-
padding:
|
|
195
|
+
border-radius: var(--bb-radius-sm, 7px);
|
|
196
|
+
padding: 9px 10px;
|
|
130
197
|
color: var(--objective-ink);
|
|
131
198
|
background: var(--objective-paper);
|
|
132
199
|
}
|
|
133
|
-
.objective-editor-input:focus {
|
|
200
|
+
.objective-editor-input:focus { border-color: var(--objective-green); }
|
|
134
201
|
textarea.objective-editor-input { min-height: 5.4rem; resize: vertical; }
|
|
135
|
-
.objective-editor-readonly-value { display: grid; align-content: center; gap: .2rem; min-height:
|
|
136
|
-
.objective-editor-subheading { font-size: .
|
|
202
|
+
.objective-editor-readonly-value { display: grid; align-content: center; gap: .2rem; min-height: 40px; border-bottom: 1px solid var(--objective-line); }
|
|
203
|
+
.objective-editor-subheading { font-size: .9rem; font-weight: 700; }
|
|
137
204
|
.objective-editor-readiness,
|
|
138
|
-
.objective-editor-reference-section
|
|
139
|
-
.objective-editor-
|
|
205
|
+
.objective-editor-reference-section { display: grid; gap: .5rem; min-width: 0; border-top: 1px solid var(--objective-line); padding-top: .8rem; }
|
|
206
|
+
.objective-editor-readiness { justify-items: start; }
|
|
140
207
|
.objective-editor-issue-list,
|
|
141
208
|
.objective-editor-reference-list,
|
|
142
209
|
.objective-editor-link-list { display: grid; gap: .3rem; margin: 0; padding: 0; list-style: none; }
|
|
143
|
-
.objective-editor-issue-list { color: var(--objective-red); font-size: .
|
|
210
|
+
.objective-editor-issue-list { color: var(--objective-red); font-size: .78rem; }
|
|
144
211
|
.objective-editor-reference-item,
|
|
145
212
|
.objective-editor-link-item { display: flex; gap: .55rem; align-items: center; flex-wrap: wrap; min-height: 2.25rem; border-bottom: 1px solid var(--objective-line); padding: .35rem 0; }
|
|
146
213
|
.objective-editor-reference-item small,
|
|
147
214
|
.objective-editor-link-item small { width: 100%; color: var(--objective-muted); font-size: .72rem; }
|
|
148
215
|
.objective-editor-reference-item .objective-editor-button-danger { margin-left: auto; }
|
|
149
|
-
.objective-editor-criteria
|
|
216
|
+
.objective-editor-criteria { display: grid; gap: .5rem; min-width: 0; margin: 0; border: 1px solid var(--objective-line); border-radius: var(--bb-radius-sm, 7px); padding: 12px; }
|
|
217
|
+
.objective-editor-criteria legend { padding: 0 5px; font-size: .9rem; font-weight: 700; }
|
|
218
|
+
.objective-editor-criteria > .objective-editor-button-secondary { justify-self: start; }
|
|
150
219
|
.objective-editor-criterion-row { display: grid; grid-template-columns: minmax(8rem, 1.4fr) minmax(6rem, .8fr) minmax(6rem, .7fr) minmax(6rem, .8fr) auto; gap: .5rem; align-items: end; padding: .5rem 0; border-bottom: 1px solid var(--objective-line); }
|
|
151
220
|
.objective-editor-actions { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; padding-top: .3rem; }
|
|
152
221
|
.objective-editor-actions .objective-editor-muted { margin-right: auto; }
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
222
|
+
|
|
223
|
+
/* Workspace layout: page head, metrics and the objectives ledger; the rail holds the selection. */
|
|
224
|
+
.bb-objective-workspace { display: block; }
|
|
225
|
+
.bb-objective-workspace > .bb-ws-summary { margin-top: 30px; }
|
|
226
|
+
.bb-objective-workspace > .bb-ws-notice { margin-top: 0; }
|
|
227
|
+
/* The local shell resets `.bb-shell button { font: inherit }`, which outranks the kit's button and row type. */
|
|
228
|
+
.bb-objective-workspace .bb-ws-button,
|
|
229
|
+
.bb-objective-rail .bb-ws-button { font-size: 13px; font-weight: 680; }
|
|
230
|
+
.bb-objective-workspace .bb-ws-button.is-quiet,
|
|
231
|
+
.bb-objective-rail .bb-ws-button.is-quiet { font-size: 12px; }
|
|
232
|
+
.bb-objective-workspace button.bb-ws-ledger-row { font-size: 12px; }
|
|
233
|
+
.bb-objective-ledger .bb-ws-ledger-row { grid-template-columns: minmax(140px, 1.4fr) minmax(110px, 1fr) 72px 136px minmax(152px, 1fr); }
|
|
234
|
+
.bb-objective-judgment { font-weight: 690; }
|
|
235
|
+
.bb-objective-judgment.is-available { color: var(--bb-color-accent-strong); }
|
|
236
|
+
.bb-objective-judgment.is-draft { color: var(--bb-color-warning); }
|
|
237
|
+
.bb-objective-judgment.is-unresolved { color: var(--bb-color-quiet); font-weight: 500; }
|
|
238
|
+
.bb-objective-story { margin-top: var(--bb-space-6); }
|
|
239
|
+
.bb-objective-notice-body { display: grid; gap: var(--bb-space-2); min-width: 0; }
|
|
240
|
+
.bb-objective-notice-body p { margin: 0; overflow-wrap: anywhere; }
|
|
241
|
+
.bb-objective-notice-body .bb-ws-button { justify-self: start; }
|
|
242
|
+
|
|
243
|
+
.bb-objective-rail { display: block; }
|
|
244
|
+
.bb-objective-rail > .bb-ws-notice { margin: var(--bb-space-4) 0 0; }
|
|
245
|
+
.bb-objective-rail > .bb-ws-actions { padding-top: 22px; }
|
|
246
|
+
.bb-objective-rail .bb-ws-rail-block > p + p,
|
|
247
|
+
.bb-objective-rail .bb-objective-note { margin-top: var(--bb-space-2); }
|
|
248
|
+
.bb-objective-rail .bb-objective-note { color: var(--bb-color-muted); font-size: 12px; }
|
|
249
|
+
.bb-objective-rail .bb-ws-rail-block .is-unrecorded { color: var(--bb-color-quiet); }
|
|
250
|
+
.bb-objective-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
|
|
251
|
+
.bb-objective-list li { display: grid; gap: 2px; border-bottom: 1px solid var(--bb-color-border); padding: var(--bb-space-2) 0; font-size: 13px; }
|
|
252
|
+
.bb-objective-list li:first-child { border-top: 1px solid var(--bb-color-border); }
|
|
253
|
+
.bb-objective-list code { color: var(--bb-color-ink); font-family: var(--bb-font-mono); font-size: 11px; overflow-wrap: anywhere; }
|
|
254
|
+
.bb-objective-list span { color: var(--bb-color-muted); }
|
|
255
|
+
.bb-objective-issues { display: grid; gap: var(--bb-space-1); margin: var(--bb-space-2) 0 0; padding-left: var(--bb-space-5); color: var(--bb-color-danger); font-size: 13px; }
|
|
256
|
+
.bb-objective-readiness-block .objective-editor-badge { margin-bottom: var(--bb-space-2); }
|
|
257
|
+
/* The edit form in the rail: one column. */
|
|
258
|
+
.bb-objective-rail .objective-editor-form { max-width: none; margin-top: 22px; }
|
|
259
|
+
.bb-objective-rail .objective-editor-form p { margin: 0; }
|
|
260
|
+
.bb-objective-rail .objective-editor-identity,
|
|
261
|
+
.bb-objective-rail .objective-editor-inline-fields,
|
|
262
|
+
.bb-objective-rail .objective-editor-inline-form { grid-template-columns: minmax(0, 1fr); }
|
|
263
|
+
.bb-objective-rail .objective-editor-criterion-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
|
|
264
|
+
.bb-objective-rail .objective-editor-criterion-row .objective-editor-button-danger { grid-column: 1 / -1; justify-self: start; }
|
|
265
|
+
.bb-objective-rail .objective-editor-actions .objective-editor-muted { flex-basis: 100%; }
|
|
266
|
+
|
|
267
|
+
@media (max-width: 760px) {
|
|
268
|
+
.objective-editor-header { padding: 18px; }
|
|
269
|
+
.objective-editor-panel { padding: 14px; }
|
|
270
|
+
.bb-objective-ledger .bb-ws-ledger-row { grid-template-columns: minmax(0, 1fr) 60px 132px; }
|
|
271
|
+
.bb-objective-ledger .bb-ws-ledger-row > span:nth-child(2),
|
|
272
|
+
.bb-objective-ledger .bb-ws-ledger-row > span:nth-child(5) { display: none; }
|
|
163
273
|
}
|
|
164
|
-
.objective-editor-button:hover { border-color: var(--objective-green); }
|
|
165
|
-
.objective-editor-button-primary { border-color: var(--objective-green); color: white; background: var(--objective-green); }
|
|
166
|
-
.objective-editor-button-secondary { color: var(--objective-muted); background: transparent; }
|
|
167
|
-
.objective-editor-button-danger { border-color: color-mix(in srgb, var(--objective-red) 45%, var(--objective-line)); color: var(--objective-red); background: transparent; }
|
|
168
|
-
.objective-editor-button:disabled { cursor: wait; opacity: .55; }
|
|
169
274
|
|
|
170
275
|
@media (max-width: 720px) {
|
|
171
276
|
.objective-editor-header,
|
|
172
277
|
.objective-editor-list-row { grid-template-columns: 1fr; }
|
|
278
|
+
.objective-editor-header > .objective-editor-badge { justify-self: start; }
|
|
173
279
|
.objective-editor-list-badges { justify-content: flex-start; }
|
|
174
280
|
.objective-editor-toolbar > .objective-editor-button-secondary { margin-left: 0; }
|
|
175
281
|
.objective-editor-identity,
|
|
176
282
|
.objective-editor-inline-fields,
|
|
177
283
|
.objective-editor-inline-form { grid-template-columns: 1fr; }
|
|
178
284
|
.objective-editor-criterion-row { grid-template-columns: 1fr 1fr; }
|
|
179
|
-
.objective-editor-criterion-row .objective-editor-button { grid-column: 1 / -1; justify-self: start; }
|
|
285
|
+
.objective-editor-criterion-row .objective-editor-button-danger { grid-column: 1 / -1; justify-self: start; }
|
|
180
286
|
}
|