Files
piik/src/client/channel/components/channel-share-control.css
T
AAA 52cf6270e1 fix(watch): preview sources and resume stalled viewers
Show unassociated webpage resources in the existing source dialog before
publishing the same prepared media. Keep preview cancellation and promotion
with the source-selection owner, including canonical embedded-player URLs.

Rejoin the shared position when a viewer resumes after buffering. Retire the
issued seek on playback progress so a later independent stall can recover.

Verified the source dialog, media handoff and cancellation in Chrome, both
TypeScript projects, documentation, and the full 2654-test Web suite.
2026-11-28 22:07:42 -05:00

76 lines
4.6 KiB
CSS

.c3-share-control { display: inline-flex; flex-wrap: wrap; gap: 8px; max-width: 100%; }
.c3-action-space { inline-size: var(--control-compact-size); block-size: var(--control-compact-size); }
.lr-btn-split > .c3-share-control { display: grid; }
.lr-btn-split .is-split-main { width: 100%; }
.c3-share-actions { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.c3-share-feedback { display: inline-flex; flex-direction: column; gap: 6px; min-width: 0; max-width: 100%; }
.c3-share-wait { max-width: 34ch; overflow-wrap: anywhere; color: var(--muted); font-size: 12px; line-height: 1.5; }
.c3-share-failure { display: inline-flex; align-items: center; gap: 4px; }
.c3-share-failure > .c3-settings-error { margin: 0; }
.c3-watch-forward-settings { padding: 16px 18px; }
.c3-external-input, .c3-external-input-field { display: grid; gap: 10px; min-width: 0; }
.c3-external-input p { margin: 0; font-size: 12px; line-height: 1.7; }
.c3-external-input p:not(.c3-settings-error) { color: var(--muted); }
.c3-external-input-field label { font-size: 12px; font-weight: 650; }
.c3-external-input-field > div { display: flex; gap: 8px; min-width: 0; }
.c3-external-input-field input { min-width: 0; flex: 1; }
.c3-external-input-field .lr-btn { flex: none; }
.c3-external-input > .lr-btn { justify-self: start; }
.c3-watch-source-dialog .c3-settings-content > .c3-external-input { display: flex; flex-direction: column; padding-block-start: 6px; }
.c3-watch-source-dialog .c3-settings-content > .c3-external-input > * { flex-shrink: 0; }
.c3-watch-source-dialog .c3-external-input > .lr-btn { align-self: start; }
.c3-watch-source-dialog .c3-external-input > [tabindex="-1"]:focus { outline: none; }
.c3-watch-source-list { gap: 12px; }
.c3-watch-source-choice { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; min-width: 0; }
.c3-watch-source-choice > .lr-btn { justify-self: start; }
.c3-watch-source-alternative { border-block-start: 1px solid var(--line); padding-block-start: 8px; }
.lr-anchored-card.c3-quality-picker {
width: min(640px, calc(100vw - 16px)); max-height: calc(100dvh - 16px);
padding: 0; overflow: hidden;
}
.c3-quality-picker:popover-open { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.c3-share-settings-content { display: contents; }
.c3-quality-body { overflow: auto; overscroll-behavior: contain; }
.c3-quality-picker .lr-sharing-panel { margin: 0; border: 0; border-radius: inherit; box-shadow: none; animation: none; }
.c3-quality-picker > .c3-quality-heading {
display: flex; align-items: center; justify-content: space-between; gap: 12px;
padding: 12px 18px; background: var(--paper); border-bottom: 1px solid var(--line);
}
.c3-quality-heading h3 { margin: 0; font-size: 16px; }
.c3-quality-description { margin: 0; padding: 12px 18px 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.lr-anchored-card.c3-share-picker {
width: min(720px, calc(100vw - 16px));
max-height: min(560px, calc(100dvh - 16px));
padding: 0;
overflow: hidden;
}
.c3-share-picker:popover-open { display: grid; grid-template-rows: minmax(0, 1fr); }
.c3-share-picker > .lr-source-picker {
position: relative;
inset: auto;
height: auto;
min-height: 0;
border-radius: inherit;
}
.c3-share-picker .lr-source-picker-panel { height: auto; }
.c3-share-title { margin: 14px 18px 0; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 12px; }
.c3-share-title summary { cursor: pointer; font-weight: 650; padding-block: 6px; }
.c3-share-title form { display: grid; gap: 8px; padding-top: 10px; }
.c3-share-title form > label { font-size: 11px; color: var(--muted); }
.c3-share-title .lr-input, .c3-share-title input { width: 100%; min-width: 0; }
.c3-share-title p { margin: 0; color: var(--muted); line-height: 1.6; }
.c3-share-title-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.c3-share-title-actions > .c3-share-title-actions { max-inline-size: 100%; }
.c3-private-watch-preview { display: grid; gap: 8px; min-width: 0; }
.c3-private-watch-picture { aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--c3-inset-radius); background: var(--stage); }
.c3-private-watch-picture video { display: block; width: 100%; height: 100%; object-fit: contain; }
.c3-private-watch-transport, .c3-private-watch-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.c3-private-watch-transport .c3-watch-time { margin-inline-start: auto; font-size: 12px; }
.c3-private-watch-volume { display: flex; width: 64px; }
.c3-private-watch-volume input { width: 100%; margin: 0; accent-color: var(--action); }
.c3-private-watch-actions { justify-content: space-between; padding-block-start: 8px; }