@unson/brainbase-mcp 0.41.11 → 0.41.13

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.
@@ -1,8 +1,9 @@
1
1
  /*
2
2
  * 「人と会社」. Load after workspace-kit.css and graph-view-shared.css.
3
3
  * Column templates of the people and company ledgers, the group titles,
4
- * the write buttons, the recorded company note and the relations in the
5
- * right rail, with a 760px variant.
4
+ * the add buttons, the recorded company note, and a record's page (the way
5
+ * back, its head, the actions gathered under it and its relations), with a
6
+ * 760px variant.
6
7
  * Uses only the shared tokens in brainbase-tokens.css.
7
8
  */
8
9
  .bb-pc-people,
@@ -67,25 +68,12 @@
67
68
  font-size: 12px;
68
69
  }
69
70
 
70
- .bb-graph-rail .bb-pc-fix {
71
- display: grid;
72
- gap: 6px;
73
- margin: 16px 0 0;
74
- color: var(--bb-color-muted);
75
- font-size: 12px;
76
- }
77
-
78
- .bb-pc-actions,
79
71
  .bb-pc-relation-actions {
80
72
  display: flex;
81
73
  flex-wrap: wrap;
82
74
  gap: 8px;
83
75
  }
84
76
 
85
- .bb-pc-actions {
86
- margin: 0 0 12px;
87
- }
88
-
89
77
  .bb-pc-company-cell {
90
78
  display: grid;
91
79
  gap: 2px;
@@ -102,6 +90,11 @@
102
90
  }
103
91
 
104
92
  @media (max-width: 760px) {
93
+ /* Below a host's top bar on a phone. */
94
+ .bb-pc-detail {
95
+ scroll-margin-top: 72px;
96
+ }
97
+
105
98
  .bb-pc-people-ledger .bb-ws-ledger-row {
106
99
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 84px;
107
100
  }
@@ -262,3 +255,161 @@
262
255
  align-items: center;
263
256
  min-height: 46px;
264
257
  }
258
+
259
+ /* A record's page (2026-10-16). Choosing a row turns the workspace into the
260
+ record's page, as a CRM does: the way back with the record's place, the
261
+ head, then what can be done to it, gathered in one place with what the page
262
+ says about it (nothing is deleted; why an action is disabled). */
263
+ .bb-pc-action-group {
264
+ display: grid;
265
+ gap: 8px;
266
+ margin: 0 0 20px;
267
+ }
268
+
269
+ .bb-pc-action-row {
270
+ display: flex;
271
+ flex-wrap: wrap;
272
+ gap: 8px;
273
+ }
274
+
275
+ .bb-pc-action-row .bb-ws-button.is-primary {
276
+ border-color: var(--bb-color-action);
277
+ background: var(--bb-color-action);
278
+ color: var(--bb-color-action-text);
279
+ }
280
+
281
+ .bb-pc-action-row .bb-ws-button.is-primary:hover:not(:disabled) {
282
+ border-color: var(--bb-color-action-hover);
283
+ background: var(--bb-color-action-hover);
284
+ }
285
+
286
+ .bb-pc-action-row .bb-ws-button[data-adds]::before {
287
+ content: '+';
288
+ }
289
+
290
+ .bb-pc-action-note,
291
+ .bb-pc-action-reason {
292
+ margin: 0;
293
+ color: var(--bb-color-muted);
294
+ font-size: 12px;
295
+ line-height: 1.6;
296
+ }
297
+
298
+ .bb-pc-action-reason {
299
+ justify-self: start;
300
+ padding: 4px 10px;
301
+ border-radius: 6px;
302
+ background: var(--bb-color-warning-soft);
303
+ color: var(--bb-color-warning);
304
+ }
305
+
306
+ .bb-pc-action-note a {
307
+ color: var(--bb-color-accent-strong);
308
+ }
309
+
310
+ .bb-pc-add {
311
+ margin-top: -4px;
312
+ }
313
+
314
+ .bb-pc-detail {
315
+ display: grid;
316
+ gap: 0;
317
+ scroll-margin-top: 16px;
318
+ }
319
+
320
+ .bb-pc-detail-nav {
321
+ display: flex;
322
+ flex-wrap: wrap;
323
+ align-items: center;
324
+ gap: 6px;
325
+ margin: 0 0 20px;
326
+ padding-bottom: 12px;
327
+ border-bottom: 1px solid var(--bb-color-border);
328
+ }
329
+
330
+ .bb-pc-detail-nav .bb-pc-back {
331
+ margin-right: auto;
332
+ }
333
+
334
+ .bb-pc-detail-place {
335
+ display: inline-flex;
336
+ align-items: center;
337
+ gap: 6px;
338
+ margin-right: 4px;
339
+ color: var(--bb-color-muted);
340
+ font-size: 12px;
341
+ }
342
+
343
+ .bb-pc-detail-nav .bb-ws-button[aria-label='前へ'],
344
+ .bb-pc-detail-nav .bb-ws-button[aria-label='次へ'] {
345
+ min-width: 32px;
346
+ padding-inline: 8px;
347
+ }
348
+
349
+ .bb-pc-detail-head {
350
+ display: flex;
351
+ align-items: flex-start;
352
+ gap: 14px;
353
+ margin: 0 0 18px;
354
+ scroll-margin-top: 16px;
355
+ }
356
+
357
+ .bb-pc-mark.bb-pc-detail-mark {
358
+ width: 44px;
359
+ height: 44px;
360
+ margin: 0;
361
+ font-size: 18px;
362
+ }
363
+
364
+ .bb-pc-company-mark.bb-pc-detail-mark {
365
+ border-radius: 10px;
366
+ }
367
+
368
+ .bb-pc-detail-copy {
369
+ display: grid;
370
+ gap: 4px;
371
+ min-width: 0;
372
+ }
373
+
374
+ .bb-pc-detail-copy h2 {
375
+ margin: 0;
376
+ color: var(--bb-color-ink);
377
+ font-size: 22px;
378
+ line-height: 1.3;
379
+ overflow-wrap: anywhere;
380
+ scroll-margin-top: 16px;
381
+ }
382
+
383
+ .bb-pc-detail-copy h2:focus {
384
+ outline: none;
385
+ }
386
+
387
+ .bb-pc-detail-sub {
388
+ margin: 0;
389
+ color: var(--bb-color-muted);
390
+ font-size: 13px;
391
+ }
392
+
393
+ .bb-pc-detail-lead {
394
+ margin: 4px 0 0;
395
+ color: var(--bb-color-ink);
396
+ font-size: 13px;
397
+ line-height: 1.6;
398
+ }
399
+
400
+ .bb-pc-detail-actions {
401
+ padding: 14px 16px;
402
+ border: 1px solid var(--bb-color-border);
403
+ border-radius: 10px;
404
+ background: var(--bb-color-canvas);
405
+ }
406
+
407
+ .bb-pc-detail-block {
408
+ margin: 0 0 22px;
409
+ }
410
+
411
+ .bb-pc-detail-block h3 {
412
+ margin: 0 0 6px;
413
+ color: var(--bb-color-ink);
414
+ font-size: 13px;
415
+ }