Video over token, free-form video windows
CI / ci (push) Successful in 40s
Release Creation / build (release) Successful in 46s

This commit is contained in:
2026-06-07 22:18:08 +02:00
parent a9dbb9306a
commit 76ce992505
22 changed files with 2649 additions and 36 deletions
+272
View File
@@ -990,6 +990,16 @@
.sp-participant-avatar.sp-state-pending .sp-avatar__shell::after {
box-shadow: inset 0 0 0 2px var(--sp-state-color);
}
.sp-participant-avatar.sp-state-focused .sp-avatar__shell::after {
box-shadow: inset 0 0 0 2px var(--sp-urgency-director);
}
.sp-strip__participant-item.sp-dragging {
opacity: 0.3;
}
.sp-strip__participant-item.sp-drag-over {
box-shadow: inset 0 0 0 2px var(--sp-urgency-director);
border-radius: 4px;
}
@media (prefers-reduced-motion: no-preference) {
.sp-participant-avatar.sp-state-pending .sp-avatar__shell::after {
animation: sp-pulse 2s ease-in-out infinite;
@@ -2932,6 +2942,268 @@ dialog.sp-visibility-details-panel::backdrop {
text-transform: uppercase;
letter-spacing: 0.03em;
}
/**
* Actor-Mapping Panel styles.
*
* GM settings submenu to assign actors to user webcams for token overlay.
* Uses SP (Scrying Pool) semantic token system.
*/
.scrying-pool.actor-mapping {
background: var(--sp-dialog-bg);
color: var(--sp-text-primary);
font-family: var(--font-primary, inherit);
border: var(--sp-dialog-border);
border-top: 2px solid var(--sp-accent);
border-radius: var(--sp-dialog-radius);
box-shadow: var(--sp-dialog-shadow);
}
.scrying-pool .sp-actor-mapping {
display: flex;
flex-direction: column;
min-width: 320px;
max-width: 500px;
}
.scrying-pool .sp-actor-mapping__hint {
margin: 0 0 12px 0;
font-size: 12px;
color: var(--sp-text-secondary);
line-height: 1.4;
padding: 12px 12px 0;
}
.scrying-pool .sp-actor-mapping__empty {
text-align: center;
color: var(--sp-text-muted);
font-size: 13px;
padding: 24px 12px;
margin: 0;
}
.scrying-pool .sp-actor-mapping__table {
display: flex;
flex-direction: column;
padding: 0 12px 12px;
gap: 6px;
}
.scrying-pool .sp-actor-mapping__row {
display: flex;
align-items: center;
gap: 8px;
padding: 6px 8px;
background: var(--sp-surface);
border: 1px solid var(--sp-border);
border-radius: var(--sp-radius-md);
}
.scrying-pool .sp-actor-mapping__user {
display: flex;
align-items: center;
gap: 6px;
flex: 1;
min-width: 0;
}
.scrying-pool .sp-actor-mapping__user-avatar {
width: 24px;
height: 24px;
border-radius: 50%;
object-fit: cover;
flex-shrink: 0;
}
.scrying-pool .sp-actor-mapping__user-name {
font-size: 12px;
font-weight: 600;
color: var(--sp-text-primary);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.scrying-pool .sp-actor-mapping__badge {
font-size: 9px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.04em;
color: var(--sp-accent);
border: 1px solid var(--sp-accent);
border-radius: 3px;
padding: 1px 4px;
flex-shrink: 0;
line-height: 1.2;
opacity: 0.85;
}
.scrying-pool .sp-actor-mapping__select {
flex-shrink: 0;
width: 180px;
padding: 4px 6px;
font-size: 12px;
font-family: var(--font-primary, inherit);
background: var(--sp-control-bg);
color: var(--sp-text-primary);
border: 1px solid var(--sp-border);
border-radius: var(--sp-radius-sm);
cursor: pointer;
}
.scrying-pool .sp-actor-mapping__select:focus-visible {
outline: none;
box-shadow: var(--sp-focus-ring);
}
.scrying-pool.freeform-camera {
border-radius: 4px !important;
overflow: hidden !important;
}
.scrying-pool.freeform-camera > header.window-header {
padding: 1px 6px !important;
min-height: 0 !important;
height: 22px !important;
line-height: 20px !important;
background: rgba(0, 0, 0, 0.75) !important;
border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
flex-shrink: 0;
gap: 2px;
}
.scrying-pool.freeform-camera .window-title {
font-size: 10px !important;
line-height: 18px !important;
font-weight: 500;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
color: #dde2e8;
}
.scrying-pool.freeform-camera .window-controls {
gap: 1px;
}
.scrying-pool.freeform-camera .window-control {
width: 18px !important;
height: 18px !important;
line-height: 18px !important;
font-size: 10px !important;
padding: 0 !important;
margin: 0 !important;
border-radius: 2px !important;
display: flex !important;
align-items: center;
justify-content: center;
}
.scrying-pool.freeform-camera .window-control i {
font-size: 10px !important;
}
.scrying-pool.freeform-camera .window-control:hover {
background: rgba(255, 255, 255, 0.15) !important;
}
.scrying-pool.freeform-camera .window-control.close {
font-size: 13px !important;
font-weight: 400;
}
.scrying-pool.freeform-camera > .window-content {
padding: 0 !important;
display: flex !important;
flex-direction: column !important;
flex: 1 !important;
min-height: 0 !important;
overflow: hidden !important;
background: #000;
}
.scrying-pool.freeform-camera .freeform-camera__body {
display: flex;
flex-direction: column;
flex: 1;
min-height: 0;
overflow: hidden;
color: #dde2e8;
}
.scrying-pool.freeform-camera .freeform-camera__video-container {
flex: 1;
position: relative;
min-height: 0;
overflow: hidden;
background: #000;
}
.scrying-pool.freeform-camera .freeform-camera__video-element {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.scrying-pool.freeform-camera .freeform-camera__footer {
display: flex;
align-items: center;
justify-content: space-between;
padding: 1px 6px;
gap: 4px;
background: rgba(0, 0, 0, 0.55);
flex-shrink: 0;
height: 18px;
}
.scrying-pool.freeform-camera .freeform-camera__footer-left {
display: flex;
align-items: center;
gap: 4px;
min-width: 0;
}
.scrying-pool.freeform-camera .freeform-camera__footer-right {
display: flex;
align-items: center;
flex-shrink: 0;
}
.scrying-pool.freeform-camera .freeform-camera__control-btn {
background: none;
border: none;
color: #dde2e8;
cursor: pointer;
padding: 1px 3px;
font-size: 9px;
line-height: 1;
border-radius: 2px;
transition: background 0.15s;
}
.scrying-pool.freeform-camera .freeform-camera__control-btn:hover {
background: rgba(255, 255, 255, 0.15);
}
.scrying-pool.freeform-camera .freeform-camera__control-btn:active {
background: rgba(255, 255, 255, 0.25);
}
.scrying-pool.freeform-camera .freeform-camera__control-btn i {
font-size: 9px;
}
.scrying-pool.freeform-camera .freeform-camera__name {
font-size: 9px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
line-height: 1;
}
.scrying-pool.freeform-camera .freeform-camera__volume {
width: 44px;
height: 10px;
accent-color: #4a9eff;
cursor: pointer;
margin: 0;
}
.scrying-pool.freeform-camera .freeform-camera__volume::-webkit-slider-thumb {
appearance: none;
width: 8px;
height: 8px;
border-radius: 50%;
background: #4a9eff;
border: none;
}
.scrying-pool.freeform-camera .freeform-camera__volume::-moz-range-thumb {
width: 8px;
height: 8px;
border-radius: 50%;
background: #4a9eff;
border: none;
}
.scrying-pool.freeform-camera .freeform-camera__volume::-webkit-slider-runnable-track {
height: 2px;
}
.scrying-pool.freeform-camera .freeform-camera__volume::-moz-range-track {
height: 2px;
}
.scrying-pool.freeform-camera.is-spotlight {
box-shadow: 0 0 10px 2px #ffd700;
border-color: #ffd700;
}
.scrying-pool.freeform-camera.is-spotlight > header.window-header {
border-bottom-color: #ffd700 !important;
}
/*
* VisibilityBadge :root exception
* ─────────────────────────────────────────────────────────────────────────────