Watch party: Prepared presentations queue for the host (add, name, reorder, remove, present when it is time)

This commit is contained in:
Jonathan Sykes
2026-10-15 19:31:53 +08:00
parent 1352ed9f29
commit 1383e89a25
4 changed files with 80 additions and 11 deletions

View File

@@ -4066,6 +4066,15 @@ body.landscape-fs .player-stage { touch-action: none; } /* fullscreen (real or t
.party-panel.min .pt-body { display: none; }
.pt-present { display: flex; flex-wrap: wrap; gap: 6px; }
.pt-present:empty { display: none; }
.pt-pq { display: grid; gap: 6px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; }
.pt-pq-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pt-pq-row { display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 10px; background: var(--bg-1); }
.pt-pq-row.live { box-shadow: inset 0 0 0 1px var(--accent, #f06b53); }
.pt-pq-name { flex: 1; min-width: 0; display: grid; overflow: hidden; }
.pt-pq-name, .pt-pq-name small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-pq-name small { color: var(--text-dim); font-size: 11px; }
.pt-pq-row .np-btn { flex: none; min-height: 36px; padding-inline: 10px; }
.pt-pq-empty { margin: 0; font-size: 12px; color: var(--text-2); }
.pt-invite { display: flex; gap: 6px; }
.pt-invite input { flex: 1; min-width: 0; }
.pt-uninvite { margin-left: 4px; min-width: 28px; min-height: 28px; border: 0; background: none; color: var(--text-2); font-size: 16px; cursor: pointer; }
@@ -4120,7 +4129,7 @@ body.landscape-fs .player-stage { touch-action: none; } /* fullscreen (real or t
.pt-status { font-family: var(--mono); font-size: 10px; color: var(--text-dim); font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-body { display: flex; flex-direction: column; gap: 10px; min-height: 0; flex: 1; }
.pt-row { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--text-dim); }
.pt-row input, .pt-msg, .pt-name {
.pt-row input, .pt-msg, .pt-name, .pt-invite-name {
flex: 1; min-width: 0; background: var(--bg-1); color: var(--text); border: 1px solid var(--line);
border-radius: var(--radius-sm); padding: 8px 10px; font-size: 14px;
}