clavarium 0.2.23 → 0.2.24-next.2
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/npm-shrinkwrap.json +6 -6
- package/package.json +2 -2
- package/server/api.mjs +7 -2
- package/server/events.mjs +2 -0
- package/server/gitchecks.mjs +3 -1
- package/server/gitkeeper.mjs +7 -2
- package/server/guide.mjs +1 -1
- package/server/health.mjs +13 -1
- package/server/main.mjs +15 -2
- package/server/secrets.mjs +86 -16
- package/server/talk.mjs +2 -2
- package/web/app.js +217 -46
- package/web/index.html +2 -1
- package/web/links.js +164 -114
- package/web/style.css +74 -52
package/web/style.css
CHANGED
|
@@ -112,11 +112,7 @@ footer button.wide { flex: 1 0 auto; background: var(--brass); border-color: var
|
|
|
112
112
|
@media (min-width: 701px) {
|
|
113
113
|
#app[data-list="folded"] { grid-template-columns: 0px minmax(0, 1fr); }
|
|
114
114
|
#app :is(#list, #nav) { min-width: 0; overflow-x: hidden; }
|
|
115
|
-
#app[data-list="folded"] :is(#list, #nav) { visibility: hidden;
|
|
116
|
-
}
|
|
117
|
-
/* Only folding slides: a width set by hand (dragged, by the keys) follows at once. */
|
|
118
|
-
@media (min-width: 701px) and (prefers-reduced-motion: no-preference) {
|
|
119
|
-
#app[data-folding] { transition: grid-template-columns .22s ease; }
|
|
115
|
+
#app[data-list="folded"] :is(#list, #nav) { visibility: hidden; }
|
|
120
116
|
}
|
|
121
117
|
@media (max-width: 700px) { #fold { display: none; } }
|
|
122
118
|
#fold { font-size: 1rem; line-height: 1; padding: 4px 9px; }
|
|
@@ -336,7 +332,7 @@ footer button.careful { border-style: dashed; color: var(--ink2); }
|
|
|
336
332
|
.thread-levels { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: center; }
|
|
337
333
|
.thread-levels label { min-width: 0; }
|
|
338
334
|
.thread-levels small { display: block; color: var(--ink2); font-size: .8125rem; }
|
|
339
|
-
.thread-levels select { min-height: 40px; min-width: 10rem; font: .875rem var(--sans); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 7px; padding: 7px 9px; }
|
|
335
|
+
.thread-levels select { min-height: 40px; min-width: 10rem; font: .875rem var(--sans); color: var(--ink); background-color: var(--bg); border: 1px solid var(--line); border-radius: 7px; padding: 7px 9px; }
|
|
340
336
|
@media (max-width: 420px) { .thread-levels { grid-template-columns: minmax(0, 1fr); } .thread-levels select { justify-self: start; margin-bottom: 6px; } }
|
|
341
337
|
|
|
342
338
|
/* What is done to the conversation itself sits at the foot of its own sheet. */
|
|
@@ -462,7 +458,7 @@ details.chapter.reached { outline: 2px solid var(--brass); outline-offset: 2px;
|
|
|
462
458
|
.facts dd { margin: 0; overflow-wrap: anywhere; }
|
|
463
459
|
#machine-size { display: flex; flex-direction: column; gap: 6px; max-width: 30rem; }
|
|
464
460
|
#machine-size label { font-size: .8125rem; color: var(--ink2); }
|
|
465
|
-
#machine-size select { width: 100%; min-height: 40px; font: .875rem var(--sans); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 7px; padding: 6px 8px; }
|
|
461
|
+
#machine-size select { width: 100%; min-height: 40px; font: .875rem var(--sans); color: var(--ink); background-color: var(--bg); border: 1px solid var(--line); border-radius: 7px; padding: 6px 8px; }
|
|
466
462
|
.health-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
|
|
467
463
|
.health-lines li { padding-left: 1.3em; position: relative; }
|
|
468
464
|
.health-lines li::before { content: ""; position: absolute; left: .2em; top: .45em; width: .55em; height: .55em; border-radius: 50%; background: var(--ok); }
|
|
@@ -534,7 +530,7 @@ footer button[data-keys="backspace"] { display: none; }
|
|
|
534
530
|
/* Ready-made answers: when the tool asks, or when asked for. */
|
|
535
531
|
#room:not([data-asking]):has(#keys[data-more="false"]) #shortcuts { display: none; }
|
|
536
532
|
}
|
|
537
|
-
#words-lang { min-height: 40px; min-width: 12rem; max-width: 100%; font: .875rem var(--sans); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 7px; padding: 6px 8px; }
|
|
533
|
+
#words-lang { min-height: 40px; min-width: 12rem; max-width: 100%; font: .875rem var(--sans); color: var(--ink); background-color: var(--bg); border: 1px solid var(--line); border-radius: 7px; padding: 6px 8px; }
|
|
538
534
|
#words-own { width: 100%; font: .8125rem ui-monospace, Menlo, Consolas, monospace; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 7px; padding: 8px; }
|
|
539
535
|
#words-all { white-space: pre-wrap; max-height: 16rem; overflow: auto; }
|
|
540
536
|
|
|
@@ -563,15 +559,29 @@ footer button[data-keys="backspace"] { display: none; }
|
|
|
563
559
|
.lk-key-w { color: var(--ink2); }
|
|
564
560
|
.lk-dim { color: var(--ink2); }
|
|
565
561
|
.lk-pending-key { display: inline-block; width: 18px; height: 12px; border: 1.5px dashed var(--ink2); border-radius: 4px; }
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
.lk-
|
|
569
|
-
.lk-
|
|
570
|
-
.lk-
|
|
571
|
-
.lk-
|
|
572
|
-
.lk-
|
|
562
|
+
/* The map's own window: the whole board, fitted to it; zoomed and moved by itself (pinch, ctrl + wheel, the
|
|
563
|
+
buttons), never by the page's text size. Its height is the room left on the screen (links.js, fit()). */
|
|
564
|
+
.lk-scroller { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); flex: none; touch-action: none; user-select: none; -webkit-user-select: none; }
|
|
565
|
+
.lk-scroller.zoomed { cursor: grab; }
|
|
566
|
+
.lk-scroller.panning { cursor: grabbing; }
|
|
567
|
+
.lk-zoom { position: absolute; right: 8px; bottom: 8px; z-index: 5; display: flex; gap: 4px; }
|
|
568
|
+
.lk-zoom button { min-width: 34px; height: 34px; padding: 0 10px; border-radius: 999px; background: var(--bar); font: 600 .9375rem/1 var(--sans); box-shadow: 0 1px 4px rgba(0, 0, 0, .15); }
|
|
569
|
+
.lk-zoom button[data-zoom="fit"] { font-size: .8125rem; }
|
|
570
|
+
/* Laid out whole, at its natural size; the scale is a transform of this layer alone. */
|
|
571
|
+
.lk-board { position: absolute; left: 0; top: 0; transform-origin: 0 0; display: grid; justify-content: space-between; gap: 0 96px; padding: 0 22px 16px 14px; --lk-inv: 1; }
|
|
572
|
+
.lk-board.two { grid-template-columns: repeat(2, minmax(0, 300px)); }
|
|
573
|
+
.lk-board.three { grid-template-columns: repeat(3, minmax(0, 300px)); }
|
|
574
|
+
.lk-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; position: relative; z-index: 2; }
|
|
575
|
+
.lk-col h3 { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0; padding: 10px 0 6px; font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink2); }
|
|
573
576
|
.lk-gap { height: 12px; flex: none; }
|
|
574
|
-
|
|
577
|
+
/* One line: the icon says the kind; the name, cut short, whole in its title. */
|
|
578
|
+
.lk-node { position: relative; flex: none; display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); border-radius: 10px; padding: 5px 10px 5px 6px; background: var(--panel); cursor: pointer; user-select: none; min-width: 0; }
|
|
579
|
+
.lk-node .lk-tx { flex: 1; }
|
|
580
|
+
.lk-node .lk-nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
581
|
+
/* What the icon cannot say: a conversation's chat on, or one not ready. */
|
|
582
|
+
.lk-st { width: 8px; height: 8px; border-radius: 50%; flex: none; margin-right: 6px; }
|
|
583
|
+
.lk-st[data-state="chat"] { background: var(--k-chat); }
|
|
584
|
+
.lk-st[data-state="off"] { border: 1.5px solid var(--ink2); }
|
|
575
585
|
.lk-node.pending { border-style: dashed; }
|
|
576
586
|
.lk-ic { font: 600 .75rem ui-monospace, Menlo, monospace; width: 1.9em; height: 1.9em; border-radius: 6px; display: grid; place-items: center; flex: none; }
|
|
577
587
|
.lk-node.lk-c-device .lk-ic { background: var(--k-device-bg); color: var(--k-device); }
|
|
@@ -587,37 +597,28 @@ footer button[data-keys="backspace"] { display: none; }
|
|
|
587
597
|
.lk-cnt { margin-left: auto; flex: none; font: 700 .6875rem var(--sans); color: var(--ink2); border: 1px solid var(--line); border-radius: 999px; padding: 2px 6px; display: none; }
|
|
588
598
|
.lk-board.simple .lk-cnt { display: inline-block; }
|
|
589
599
|
/* The dot to drag from: 28px to touch, drawn 14px. */
|
|
590
|
-
|
|
600
|
+
/* Its size on the screen stays the same, the map zoomed out: still a finger to drag from. */
|
|
601
|
+
.lk-handle { position: absolute; right: -14px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; cursor: crosshair; touch-action: none; display: grid; place-items: center; z-index: 4; transform: scale(var(--lk-inv)); }
|
|
591
602
|
.lk-handle::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--panel); border: 2px solid var(--ink2); }
|
|
592
603
|
.lk-handle:hover::after { border-color: var(--k-pick); background: var(--k-pick); }
|
|
593
|
-
.lk-edge { position: absolute; z-index: 4; transform: translateX(-50%); font: 700 .6875rem/1 var(--sans); padding: 5px 10px; border-radius: 999px; background: var(--bar); color: var(--ink2); border: 1px solid var(--line); white-space: nowrap; }
|
|
594
|
-
.lk-edge:hover { color: var(--ink); border-color: var(--ink2); }
|
|
595
|
-
.lk-edge.up { transform: translateX(-100%); }
|
|
596
|
-
/* Where the links of a box go, out of sight: named small, at the end of their hook. */
|
|
597
|
-
.lk-hook { position: absolute; z-index: 3; transform: translateY(-50%); font: 600 .6875rem/1.2 var(--sans); padding: 2px 7px; border-radius: 999px; background: var(--bar); color: var(--ink2); border: 1px solid var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
598
|
-
.lk-hook.in { transform: translate(-100%, -50%); }
|
|
599
|
-
.lk-hook.inbox { transform: translate(-100%, -50%); z-index: 4; }
|
|
600
604
|
.lk-start { display: flex; flex-direction: column; gap: 14px; }
|
|
601
|
-
.lk-hook:hover { color: var(--ink); border-color: var(--ink2); }
|
|
602
605
|
.lk-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
|
|
603
606
|
svg.lk-links { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; overflow: hidden; pointer-events: none; }
|
|
604
607
|
svg.lk-links path { fill: none; stroke-width: 2.6; stroke-linecap: round; }
|
|
605
608
|
svg.lk-links path.hit { stroke: transparent !important; stroke-width: 18; pointer-events: stroke; cursor: pointer; }
|
|
606
609
|
svg.lk-links path.dash { stroke-dasharray: 7 5; }
|
|
607
610
|
svg.lk-links path.later { stroke-dasharray: 2 4; opacity: .7; }
|
|
608
|
-
svg.lk-links path.away { opacity: .35; stroke-dasharray: 2 5; }
|
|
609
611
|
svg.lk-links path.dim { opacity: .12; }
|
|
610
612
|
/* Many links: all drawn, thin and pale, gathered in trunks; those of the box touched in full over them. */
|
|
611
613
|
svg.lk-links path.pale { stroke-width: 1.4; opacity: .5; }
|
|
612
614
|
svg.lk-links path.pale.dim { opacity: .14; }
|
|
613
615
|
svg.lk-links path.pale.dash { stroke-dasharray: 4 4; }
|
|
614
|
-
svg.lk-links path.pale.hook { opacity: .55; }
|
|
615
616
|
svg.lk-links path.temp { stroke: var(--k-pick); stroke-dasharray: 4 4; }
|
|
616
617
|
/* At rest: no line, each box says how many links it has; a tapped box shows its own. */
|
|
617
|
-
.lk-board.simple svg.lk-links path:not(.on):not(.temp), .lk-board.simple .lk-knob:not(.on)
|
|
618
|
-
.lk-knob { position: absolute; z-index: 3; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; border: 3px solid var(--bg); cursor: pointer; padding: 0; box-shadow: 0 0 0 1px var(--line); }
|
|
618
|
+
.lk-board.simple svg.lk-links path:not(.on):not(.temp), .lk-board.simple .lk-knob:not(.on) { display: none; }
|
|
619
|
+
.lk-knob { position: absolute; z-index: 3; width: 22px; height: 22px; margin: -11px 0 0 -11px; transform: scale(var(--lk-inv)); border-radius: 50%; border: 3px solid var(--bg); cursor: pointer; padding: 0; box-shadow: 0 0 0 1px var(--line); }
|
|
619
620
|
.lk-knob.dim { opacity: .2; }
|
|
620
|
-
.lk-pop { position: absolute; z-index: 6; width: min(330px, calc(100vw - 48px)); max-height: calc(100% - 16px); overflow-y: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
|
|
621
|
+
.lk-pop { touch-action: pan-y; user-select: text; position: absolute; z-index: 6; width: min(330px, calc(100vw - 48px)); max-height: calc(100% - 16px); overflow-y: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
|
|
621
622
|
.lk-pop h4 { margin: 0 0 6px; font-size: .9375rem; overflow-wrap: anywhere; }
|
|
622
623
|
.lk-pop h4 small { display: block; font-weight: 400; color: var(--ink2); font-size: .75rem; }
|
|
623
624
|
.lk-pop label { display: flex; gap: 8px; align-items: flex-start; padding: 4px 0; cursor: pointer; }
|
|
@@ -658,8 +659,6 @@ svg.lk-links path.temp { stroke: var(--k-pick); stroke-dasharray: 4 4; }
|
|
|
658
659
|
/* The icons of the map: the chat's set (Lucide), drawn the same whatever the fonts. */
|
|
659
660
|
.lk-ic .lk-svg { width: 1.05rem; height: 1.05rem; }
|
|
660
661
|
.lk-chev .lk-svg { width: 1.1rem; height: 1.1rem; display: block; }
|
|
661
|
-
.lk-hook, .lk-edge { display: inline-flex; align-items: center; gap: 3px; }
|
|
662
|
-
.lk-arrow { width: 1em; height: 1em; flex: none; }
|
|
663
662
|
.lk-bar { margin: 4px 0; }
|
|
664
663
|
.lk-bar button { border-radius: 999px; }
|
|
665
664
|
.lk-ptitle { margin: 6px 0 0; font-size: 1.25rem; overflow-wrap: anywhere; }
|
|
@@ -707,7 +706,7 @@ svg.lk-links path.temp { stroke: var(--k-pick); stroke-dasharray: 4 4; }
|
|
|
707
706
|
.lk-preview h3 { margin: 0; font-size: 1rem; overflow-wrap: anywhere; }
|
|
708
707
|
.lk-preview h3 small { display: block; font-weight: 400; color: var(--ink2); font-size: .75rem; }
|
|
709
708
|
.lk-preview h4 { margin: 8px 0 0; font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink2); }
|
|
710
|
-
.lk-preview select, .lk-preview input:not([type]) { font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 7px; padding: 4px 8px; }
|
|
709
|
+
.lk-preview select, .lk-preview input:not([type]) { font: inherit; color: var(--ink); background-color: var(--bg); border: 1px solid var(--line); border-radius: 7px; padding: 4px 8px; }
|
|
711
710
|
.lk-said { margin: 0; font-weight: 600; }
|
|
712
711
|
.lk-plan { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
|
|
713
712
|
.lk-plan li { padding: 6px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
|
|
@@ -726,13 +725,6 @@ svg.lk-links path.temp { stroke: var(--k-pick); stroke-dasharray: 4 4; }
|
|
|
726
725
|
.lk-job li[data-state="failed"] { color: var(--danger); }
|
|
727
726
|
.lk-job li[data-state="skipped"] { color: var(--ink2); }
|
|
728
727
|
.lk-job li[data-state="doing"]::marker { color: var(--brass); }
|
|
729
|
-
/* Where the board is narrow (a phone across, a tablet beside the list), the three columns still fit: names only. */
|
|
730
|
-
@container (max-width: 700px) {
|
|
731
|
-
.lk-board.three { gap: 0 40px; padding: 0 8px 30px; }
|
|
732
|
-
.lk-board.three .lk-node { padding: 5px 6px; gap: 0; flex-direction: column; align-items: flex-start; }
|
|
733
|
-
.lk-board.three .lk-ic, .lk-board.three .lk-sb { display: none; }
|
|
734
|
-
.lk-board.three .lk-node.lk-c-device { border-left: 4px solid var(--k-device); } .lk-board.three .lk-node.lk-c-conversation { border-left: 4px solid var(--k-conv); } .lk-board.three .lk-node.lk-c-asset { border-left: 4px solid var(--k-asset); }
|
|
735
|
-
}
|
|
736
728
|
|
|
737
729
|
.lk-shared { font-size: .75rem; font-weight: 600; color: var(--k-pick); border: 1px solid currentColor; border-radius: 999px; padding: 1px 8px; }
|
|
738
730
|
.lk-check { margin: 0; padding-left: 1.1rem; font-size: .875rem; }
|
|
@@ -784,7 +776,6 @@ svg.lk-links path.temp { stroke: var(--k-pick); stroke-dasharray: 4 4; }
|
|
|
784
776
|
#access-map { gap: 8px; }
|
|
785
777
|
.map-mode { align-self: flex-start; }
|
|
786
778
|
.map-mode button { min-height: 32px; padding: 4px 14px; }
|
|
787
|
-
#access-map .lk-board { height: clamp(300px, calc(100dvh - 330px), 900px); }
|
|
788
779
|
#sharing-top { gap: 8px; }
|
|
789
780
|
#sharing-top b { font-size: 1rem; }
|
|
790
781
|
.to-access { margin-top: 2px; }
|
|
@@ -885,7 +876,7 @@ svg.lk-links path.temp { stroke: var(--k-pick); stroke-dasharray: 4 4; }
|
|
|
885
876
|
.entry .more:hover, .entry .more[aria-expanded="true"] { border-color: var(--line); background: var(--button, #222c38); color: var(--ink); }
|
|
886
877
|
.entry .acts { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 4px 0 10px 44px; }
|
|
887
878
|
.entry .acts label { font-size: .75rem; color: var(--ink2); flex-basis: 100%; }
|
|
888
|
-
.entry .acts select { font: .875rem var(--sans); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 7px; padding: 7px 9px; min-height: 36px; max-width: 100%; }
|
|
879
|
+
.entry .acts select { font: .875rem var(--sans); color: var(--ink); background-color: var(--bg); border: 1px solid var(--line); border-radius: 7px; padding: 7px 9px; min-height: 36px; max-width: 100%; }
|
|
889
880
|
.entry .acts .sure { margin: 0; flex-basis: 100%; color: var(--ink); font-weight: 600; }
|
|
890
881
|
.entry .acts .hint { flex-basis: 100%; }
|
|
891
882
|
.entry.dragging { opacity: .45; }
|
|
@@ -1028,7 +1019,7 @@ button.inline:hover { color: var(--brass); }
|
|
|
1028
1019
|
#updates-state { color: var(--ink2); font-size: .8125rem; flex: 1 1 10rem; min-width: 0; overflow-wrap: anywhere; }
|
|
1029
1020
|
.updates-news { margin: 0; font-size: .8125rem; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--warn); background: var(--bar); overflow-wrap: anywhere; }
|
|
1030
1021
|
.updates-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 8px 14px; max-width: 30rem; }
|
|
1031
|
-
.updates-grid select, .updates-window input { min-height: 40px; font: .875rem var(--sans); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 7px; padding: 6px 8px; max-width: 100%; }
|
|
1022
|
+
.updates-grid select, .updates-window input { min-height: 40px; font: .875rem var(--sans); color: var(--ink); background-color: var(--bg); border: 1px solid var(--line); border-radius: 7px; padding: 6px 8px; max-width: 100%; }
|
|
1032
1023
|
.updates-window { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px; color: var(--ink2); font-size: .8125rem; }
|
|
1033
1024
|
#updates-back { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
|
|
1034
1025
|
#updates-back .hint { margin: 0; }
|
|
@@ -1368,14 +1359,16 @@ select.pill { appearance: auto; }
|
|
|
1368
1359
|
.events-pick { flex-wrap: wrap; gap: 8px 12px; align-items: center; }
|
|
1369
1360
|
.events-pick input[type=search] { flex: 1 1 10rem; min-width: 0; }
|
|
1370
1361
|
.events-list { list-style: none; margin: 8px 0; padding: 0; display: flex; flex-direction: column; gap: 2px; font-size: .875rem; }
|
|
1371
|
-
.event { display: grid; grid-template-columns: 7.5rem 6.5rem 1fr; gap: 2px 10px; padding: 4px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
|
|
1362
|
+
.event { display: grid; grid-template-columns: 7.5rem 6.5rem minmax(0, 8rem) 1fr; gap: 2px 10px; padding: 4px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
|
|
1372
1363
|
.event-when { color: var(--ink2); font-variant-numeric: tabular-nums; white-space: nowrap; }
|
|
1373
1364
|
.event-kind { color: var(--ink2); font-size: .75rem; text-transform: uppercase; letter-spacing: .03em; }
|
|
1374
1365
|
.event-text { min-width: 0; overflow-wrap: anywhere; }
|
|
1375
|
-
.event-who { grid-column:
|
|
1376
|
-
|
|
1366
|
+
.event-who { grid-column: 4; color: var(--ink2); font-size: .75rem; }
|
|
1367
|
+
.event-conv { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
|
|
1368
|
+
.event-conv button { font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
|
|
1369
|
+
@media (max-width: 600px) { .event { grid-template-columns: 1fr auto auto; } .event-text, .event-who { grid-column: 1 / -1; } }
|
|
1377
1370
|
/* The choices of Logs and What happened: as wide as their words, in the colours of the page. */
|
|
1378
|
-
.events-pick select, .logs-pick select { width: auto; max-width: 100%; background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 4px 8px; }
|
|
1371
|
+
.events-pick select, .logs-pick select { width: auto; max-width: 100%; background-color: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 4px 8px; }
|
|
1379
1372
|
/* Needs you and Recent: a heading that folds its rows, with how many it holds. */
|
|
1380
1373
|
.list-fold { display: flex; align-items: center; gap: 6px; width: 100%; background: none; border: 0; padding: 2px; cursor: pointer; text-align: left; font: inherit; font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink2); }
|
|
1381
1374
|
.list-fold:hover { color: var(--ink); }
|
|
@@ -1414,13 +1407,17 @@ button.inline.more-recent { text-decoration: none; }
|
|
|
1414
1407
|
/* TO SEND: every repository of a conversation, one row each, then one review of those ticked. */
|
|
1415
1408
|
.ts-entry .as-ic { color: var(--brass); }
|
|
1416
1409
|
.ts-rows { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
|
|
1417
|
-
.ts-row { display: grid; grid-template-columns: 24px minmax(0,
|
|
1410
|
+
.ts-row { display: grid; grid-template-columns: 24px minmax(0, 1fr) minmax(0, 1.6fr) max-content minmax(0, 1fr); gap: 10px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
|
|
1418
1411
|
.ts-row.off { opacity: .6; }
|
|
1419
1412
|
.ts-row input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--brass); }
|
|
1420
1413
|
.ts-who { display: flex; flex-direction: column; min-width: 0; }
|
|
1421
1414
|
.ts-who b { overflow-wrap: anywhere; }
|
|
1422
|
-
.ts-way { display: flex; align-items: center; gap: 6px; flex-wrap:
|
|
1423
|
-
|
|
1415
|
+
.ts-way { display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; min-width: 0; }
|
|
1416
|
+
/* The way on one line: the branch, the arrow, where it goes -- the names cut short, never the line broken. */
|
|
1417
|
+
.ts-way select { flex: 1 1 auto; width: auto; min-width: 0; max-width: 16rem; }
|
|
1418
|
+
.ts-way .ts-branch { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; overflow-wrap: normal; }
|
|
1419
|
+
.ts-way .ts-arrow { flex: none; }
|
|
1420
|
+
.ts-size { white-space: nowrap; }
|
|
1424
1421
|
.ts-bar button:disabled { opacity: .5; cursor: default; }
|
|
1425
1422
|
.ts-state .quiet { color: var(--ink2); font-weight: 400; }
|
|
1426
1423
|
.ts-branch { font-family: ui-monospace, Menlo, Consolas, monospace; color: var(--brass); overflow-wrap: anywhere; }
|
|
@@ -1460,9 +1457,9 @@ button.inline.more-recent { text-decoration: none; }
|
|
|
1460
1457
|
their own (a branch pill, the editor) stays theirs. */
|
|
1461
1458
|
:is(#settings, #panel) :is(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]), select, textarea),
|
|
1462
1459
|
:where(#assets, #cassets, #access, #gitview) :is(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]), select, textarea:not(.editor)) {
|
|
1463
|
-
font: .875rem var(--sans); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 7px; padding: 8px 10px; min-height: 40px; max-width: 100%;
|
|
1460
|
+
font: .875rem var(--sans); color: var(--ink); background-color: var(--bg); border: 1px solid var(--line); border-radius: 7px; padding: 8px 10px; min-height: 40px; max-width: 100%;
|
|
1464
1461
|
}
|
|
1465
|
-
:is(#settings, #panel) select, :where(#assets, #cassets, #access, #gitview) select:not(.pill) { appearance: none; padding-right: 30px; background-image: linear-gradient(45deg, transparent 50%, var(--ink2) 50%), linear-gradient(135deg, var(--ink2) 50%, transparent 50%); background-position: calc(100% - 15px) 52%, calc(100% - 10px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
|
|
1462
|
+
:is(#settings, #panel) select, :where(#assets, #cassets, #access, #gitview) select:not(.pill) { appearance: none; padding-right: 30px; text-overflow: ellipsis; max-width: 100%; background-image: linear-gradient(45deg, transparent 50%, var(--ink2) 50%), linear-gradient(135deg, var(--ink2) 50%, transparent 50%); background-position: calc(100% - 15px) 52%, calc(100% - 10px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
|
|
1466
1463
|
:is(#settings, #panel) :is(input, select, textarea):focus-visible, :where(#assets, #cassets, #access, #gitview) :is(input, select, textarea):focus-visible { outline: 2px solid var(--brass); outline-offset: 1px; }
|
|
1467
1464
|
@media (pointer: coarse) { :is(#settings, #panel) :is(input:not([type=checkbox]):not([type=radio]), select), :where(#assets, #cassets, #access, #gitview) :is(input:not([type=checkbox]):not([type=radio]), select:not(.pill)) { min-height: 44px; } }
|
|
1468
1465
|
#settings select.pill { font: .875rem var(--sans); font-weight: 400; }
|
|
@@ -1556,6 +1553,12 @@ details.more[open] > summary { margin-bottom: 4px; }
|
|
|
1556
1553
|
.ts-row.ts-new { animation: ts-arrive .35s ease-out; }
|
|
1557
1554
|
@keyframes ts-arrive { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
|
|
1558
1555
|
@media (prefers-reduced-motion: reduce) { .ts-row.ts-new, .ts-progress[data-busy]::before { animation: none; } }
|
|
1556
|
+
.ts-running { display: flex; flex-direction: column; gap: 3px; }
|
|
1557
|
+
.ts-running .warn::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 6px; border: 2px solid var(--warn); border-right-color: transparent; border-radius: 50%; animation: ts-turn .8s linear infinite; vertical-align: -1px; }
|
|
1558
|
+
.ts-meter-row { display: block; margin: 2px 0 0; max-width: 9rem; }
|
|
1559
|
+
.ts-meter-row.ts-sweep i { width: 30%; animation: ts-sweep 1.6s ease-in-out infinite; }
|
|
1560
|
+
@keyframes ts-sweep { from { transform: translateX(-100%); } to { transform: translateX(340%); } }
|
|
1561
|
+
@media (prefers-reduced-motion: reduce) { .ts-running .warn::before, .ts-meter-row.ts-sweep i { animation: none; } }
|
|
1559
1562
|
.ts-why-open { border: 0; background: none; padding: 0; font: inherit; font-weight: 700; cursor: pointer; text-align: inherit; }
|
|
1560
1563
|
.ts-why-open.bad { color: var(--danger); } .ts-why-open.warn { color: var(--warn); }
|
|
1561
1564
|
.ts-why-box { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); padding-top: 10px; }
|
|
@@ -1589,6 +1592,12 @@ details.more[open] > summary { margin-bottom: 4px; }
|
|
|
1589
1592
|
.as-settings dd { color: var(--ink2); font-weight: 400; font-size: .875rem; }
|
|
1590
1593
|
.as-card, .as-lastchecks, .as-graph { background: var(--bar); border-radius: 10px; }
|
|
1591
1594
|
.secret-rename > .set-control > input { width: 14rem; }
|
|
1595
|
+
/* A secret: its expiry said under its title; Replace the value, in its rows. */
|
|
1596
|
+
.secret-replace .set-control > input, .secret-replace .set-control > textarea { width: 14rem; max-width: 100%; }
|
|
1597
|
+
.secret-replace .set-control > .secret-lines { margin-top: 0; }
|
|
1598
|
+
#secret-new .secret-expiry { align-items: center; gap: 8px; margin-top: .5rem; }
|
|
1599
|
+
#secret-new .secret-expiry > label { margin: 0; }
|
|
1600
|
+
#secret-new .secret-expiry > input { flex: 0 1 12rem; width: 12rem; }
|
|
1592
1601
|
.as-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
|
|
1593
1602
|
.as-foot > br { display: none; }
|
|
1594
1603
|
#gitview-remote-box { margin: 0; }
|
|
@@ -1677,3 +1686,16 @@ span.callout.confirm { display: inline-flex; justify-content: flex-end; padding:
|
|
|
1677
1686
|
.pick.two { grid-template-columns: 1fr; }
|
|
1678
1687
|
#newconv > .action-row > .hint { font-size: .75rem; }
|
|
1679
1688
|
}
|
|
1689
|
+
|
|
1690
|
+
/* The review of several repositories: each one a group, its header a bar of its own, its files under it. */
|
|
1691
|
+
.ts-tree-group { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin-bottom: 8px; }
|
|
1692
|
+
.ts-tree-group .ts-tree-repo { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; width: 100%; text-align: left; padding: 8px 10px; border: 0; border-bottom: 1px solid var(--line); background: var(--bar); color: var(--ink); font: inherit; cursor: pointer; text-transform: none; letter-spacing: 0; }
|
|
1693
|
+
.ts-tree-group .ts-tree-repo::before { content: "▾"; color: var(--ink2); }
|
|
1694
|
+
.ts-tree-group .ts-tree-repo[aria-expanded="false"]::before { content: "▸"; }
|
|
1695
|
+
.ts-tree-group .ts-tree-repo b { font-size: .9375rem; }
|
|
1696
|
+
.ts-tree-group .ts-tree-repo code { color: var(--brass); font-size: .8125rem; }
|
|
1697
|
+
.ts-tree-group .ts-tree-repo .plus { color: var(--ok); } .ts-tree-group .ts-tree-repo .minus { color: var(--danger); }
|
|
1698
|
+
.ts-tree-files { padding: 4px 4px 4px 12px; }
|
|
1699
|
+
|
|
1700
|
+
/* Something asks for the person in this chapter (a callout, a warning): a dot on its title, and on its category. */
|
|
1701
|
+
details.chapter[data-attention] > summary .chapter-title::after, #settings-nav button[data-attention]::after, #nav-assets[data-attention] > span::after, #view-assets[data-attention] > span::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-left: 8px; border-radius: 50%; background: var(--warn); vertical-align: middle; }
|