2026-08-30 15:03:12 +00:00
|
|
|
/* ProdCom Transcript module — scoped to its tiles, shell variables only.
|
|
|
|
|
Entry styling carried over from prodcom-listener/public/style.css. */
|
|
|
|
|
|
|
|
|
|
[data-module="prodcom-transcript"] .pt-wrap {
|
|
|
|
|
--pt-size: 15px;
|
|
|
|
|
position: absolute;
|
|
|
|
|
inset: 0;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
}
|
|
|
|
|
|
2026-10-05 13:55:55 -04:00
|
|
|
/* ── the send target ──
|
|
|
|
|
A click anywhere in the tile makes ProdCom the platform the Send Message
|
|
|
|
|
tiles send to. While it is, a 3px accent stripe runs along the bottom edge
|
|
|
|
|
of the tile body — drawn just inside our root, since the tile chrome
|
|
|
|
|
around it belongs to the shell. The others hint at it faintly on hover.
|
|
|
|
|
(The same mark as the Slack transcript's.) */
|
|
|
|
|
[data-module="prodcom-transcript"] .pt-wrap::after {
|
|
|
|
|
content: "";
|
|
|
|
|
position: absolute;
|
|
|
|
|
left: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
height: 3px;
|
|
|
|
|
background: var(--accent);
|
|
|
|
|
opacity: 0;
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
z-index: 3;
|
|
|
|
|
transition: opacity 0.15s ease;
|
|
|
|
|
}
|
|
|
|
|
[data-module="prodcom-transcript"] .pt-wrap:hover::after { opacity: 0.3; }
|
|
|
|
|
[data-module="prodcom-transcript"] .pt-wrap.is-target::after { opacity: 1; }
|
|
|
|
|
|
2026-09-10 16:40:46 -04:00
|
|
|
/* ── channels button ──
|
|
|
|
|
Icon-only; the count appears next to it while some channels are hidden. */
|
|
|
|
|
|
|
|
|
|
[data-module="prodcom-transcript"] .pt-channels-btn { gap: 3px; }
|
|
|
|
|
[data-module="prodcom-transcript"] .pt-count {
|
|
|
|
|
font-size: 10px;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
font-variant-numeric: tabular-nums;
|
|
|
|
|
}
|
|
|
|
|
[data-module="prodcom-transcript"] .pt-count[hidden] { display: none; }
|
|
|
|
|
|
2026-09-30 14:06:52 -04:00
|
|
|
/* narrow tile: the secondary controls fold into the ⋯ menu (client.js) */
|
|
|
|
|
[data-module="prodcom-transcript"] .tile-btn[hidden],
|
|
|
|
|
[data-module="prodcom-transcript"] .tile-dd[hidden] { display: none; }
|
|
|
|
|
|
2026-08-30 16:39:22 +00:00
|
|
|
/* ── channels menu ──
|
|
|
|
|
The menu container is created and positioned by the shell (.tile-menu);
|
2026-09-30 14:06:52 -04:00
|
|
|
it hangs off the body under a [data-module] host, so scoping still applies. */
|
2026-08-30 15:03:12 +00:00
|
|
|
|
|
|
|
|
[data-module="prodcom-transcript"] .pt-channel-item {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 8px;
|
|
|
|
|
width: 100%;
|
|
|
|
|
padding: 6px 9px;
|
|
|
|
|
background: none;
|
|
|
|
|
border: none;
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
color: var(--text);
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
font-family: inherit;
|
|
|
|
|
text-align: left;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
[data-module="prodcom-transcript"] .pt-channel-item:hover { background: var(--border); }
|
|
|
|
|
|
|
|
|
|
[data-module="prodcom-transcript"] .pt-channel-item .check {
|
|
|
|
|
width: 14px;
|
|
|
|
|
flex: none;
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
visibility: hidden;
|
|
|
|
|
}
|
|
|
|
|
[data-module="prodcom-transcript"] .pt-channel-item.on .check { visibility: visible; }
|
|
|
|
|
[data-module="prodcom-transcript"] .pt-channel-item .name { font-weight: 600; }
|
|
|
|
|
|
|
|
|
|
[data-module="prodcom-transcript"] .pt-menu-divider {
|
|
|
|
|
height: 1px;
|
|
|
|
|
background: var(--border);
|
|
|
|
|
margin: 5px 4px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── stream ── */
|
|
|
|
|
|
|
|
|
|
[data-module="prodcom-transcript"] .pt-stream {
|
|
|
|
|
flex: 1;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
overflow-x: hidden;
|
|
|
|
|
padding: 8px 10px 12px;
|
|
|
|
|
overscroll-behavior: contain;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-module="prodcom-transcript"] .pt-empty {
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
padding-top: 14%;
|
|
|
|
|
}
|
|
|
|
|
[data-module="prodcom-transcript"] .pt-empty[hidden] { display: none; }
|
|
|
|
|
|
|
|
|
|
[data-module="prodcom-transcript"] .pt-entry {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: flex-start;
|
|
|
|
|
gap: 8px;
|
|
|
|
|
padding: 5px 6px;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
font-size: var(--pt-size);
|
|
|
|
|
line-height: 1.45;
|
|
|
|
|
animation: pt-fade-in 0.25s ease-out;
|
|
|
|
|
}
|
|
|
|
|
[data-module="prodcom-transcript"] .pt-entry:hover { background: var(--bg); }
|
|
|
|
|
|
|
|
|
|
@keyframes pt-fade-in {
|
|
|
|
|
from { opacity: 0; transform: translateY(4px); }
|
|
|
|
|
to { opacity: 1; transform: none; }
|
|
|
|
|
}
|
|
|
|
|
|
2026-08-31 20:55:28 +00:00
|
|
|
[data-module="prodcom-transcript"] .channel-line {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: baseline;
|
|
|
|
|
gap: 8px;
|
|
|
|
|
margin-bottom: 4px;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* timestamp sits to the right of the channel name; the clock button only
|
|
|
|
|
toggles its visibility */
|
2026-08-30 15:03:12 +00:00
|
|
|
[data-module="prodcom-transcript"] .pt-entry .time {
|
|
|
|
|
display: none;
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
font-size: 0.72em;
|
|
|
|
|
font-variant-numeric: tabular-nums;
|
|
|
|
|
flex: none;
|
|
|
|
|
}
|
2026-08-31 20:55:28 +00:00
|
|
|
[data-module="prodcom-transcript"] .show-times .pt-entry .time { display: inline; }
|
2026-08-30 15:03:12 +00:00
|
|
|
|
|
|
|
|
[data-module="prodcom-transcript"] .pt-entry .avatar {
|
|
|
|
|
flex: none;
|
|
|
|
|
width: calc(var(--pt-size) * 1.9);
|
|
|
|
|
height: calc(var(--pt-size) * 1.9);
|
|
|
|
|
border-radius: 26%;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
/* ~17% alpha tint of the channel color */
|
|
|
|
|
background: color-mix(in srgb, var(--ch, var(--muted)) 17%, transparent);
|
|
|
|
|
}
|
|
|
|
|
[data-module="prodcom-transcript"] .pt-entry .avatar svg { width: 66%; height: 66%; display: block; }
|
2026-09-10 16:40:46 -04:00
|
|
|
[data-module="prodcom-transcript"] .hide-avatars .pt-entry .avatar { display: none; }
|
2026-08-30 15:03:12 +00:00
|
|
|
|
|
|
|
|
[data-module="prodcom-transcript"] .pt-entry .body { flex: 1; min-width: 0; }
|
|
|
|
|
|
|
|
|
|
[data-module="prodcom-transcript"] .pt-entry .channel {
|
|
|
|
|
display: block;
|
|
|
|
|
font-size: 0.82em;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
letter-spacing: 0.01em;
|
|
|
|
|
line-height: 1;
|
|
|
|
|
white-space: nowrap;
|
2026-08-31 20:55:28 +00:00
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
min-width: 0;
|
2026-08-30 15:03:12 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-module="prodcom-transcript"] .pt-entry .text {
|
|
|
|
|
display: block;
|
|
|
|
|
overflow-wrap: break-word;
|
|
|
|
|
}
|
|
|
|
|
|
2026-10-05 13:55:55 -04:00
|
|
|
/* typed text (from a dashboard, or ProdCom's own box) and automations carry
|
|
|
|
|
their own mark in the picture slot; the text reads the same */
|
|
|
|
|
[data-module="prodcom-transcript"] .pt-entry.typed .avatar,
|
|
|
|
|
[data-module="prodcom-transcript"] .pt-entry.automation .avatar {
|
|
|
|
|
background: color-mix(in srgb, var(--ch, var(--muted)) 10%, transparent);
|
|
|
|
|
outline: 1px dashed color-mix(in srgb, var(--ch, var(--muted)) 55%, transparent);
|
|
|
|
|
outline-offset: -1px;
|
|
|
|
|
}
|
|
|
|
|
|
2026-08-30 15:03:12 +00:00
|
|
|
[data-module="prodcom-transcript"] .pt-entry.in-progress .text { color: var(--muted); }
|
|
|
|
|
[data-module="prodcom-transcript"] .pt-entry.in-progress .text::after {
|
|
|
|
|
content: "▍";
|
|
|
|
|
color: var(--ch, var(--accent));
|
|
|
|
|
animation: pt-blink 1s steps(2) infinite;
|
|
|
|
|
}
|
|
|
|
|
@keyframes pt-blink { 50% { opacity: 0; } }
|
|
|
|
|
|
|
|
|
|
[data-module="prodcom-transcript"] .pt-entry.hidden-by-filter { display: none; }
|
|
|
|
|
|
2026-09-10 16:40:46 -04:00
|
|
|
/* bottom-up: newest entry at the top, the stream reading upwards */
|
|
|
|
|
[data-module="prodcom-transcript"] .newest-first .pt-entries {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column-reverse;
|
|
|
|
|
}
|
|
|
|
|
|
2026-08-30 15:03:12 +00:00
|
|
|
/* ── jump-to-latest ── */
|
|
|
|
|
|
|
|
|
|
[data-module="prodcom-transcript"] .pt-jump {
|
|
|
|
|
position: absolute;
|
|
|
|
|
bottom: 12px;
|
|
|
|
|
left: 50%;
|
|
|
|
|
transform: translateX(-50%);
|
|
|
|
|
z-index: 6;
|
|
|
|
|
background: var(--accent);
|
|
|
|
|
color: var(--bg);
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
font-family: inherit;
|
|
|
|
|
border: none;
|
|
|
|
|
border-radius: 999px;
|
|
|
|
|
padding: 7px 14px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
|
|
|
|
|
}
|
|
|
|
|
[data-module="prodcom-transcript"] .pt-jump[hidden] { display: none; }
|
2026-09-10 16:40:46 -04:00
|
|
|
|
|
|
|
|
/* flipped, "latest" is the top of the stream — so is the pill */
|
|
|
|
|
[data-module="prodcom-transcript"] .newest-first .pt-jump {
|
|
|
|
|
top: 12px;
|
|
|
|
|
bottom: auto;
|
|
|
|
|
}
|