945 lines
16 KiB
CSS
945 lines
16 KiB
CSS
:root {
|
|
--bg: #0f1419;
|
|
--surface: #1a2332;
|
|
--surface-2: #243044;
|
|
--border: #2d3a4d;
|
|
--text: #e7ecf1;
|
|
--muted: #8b9bb4;
|
|
--accent: #4a90d9;
|
|
--accent-dim: #2d5a8a;
|
|
--ok: #2ecc71;
|
|
--warn: #e6a23c;
|
|
--danger: #e74c3c;
|
|
}
|
|
|
|
* { box-sizing: border-box; }
|
|
|
|
body {
|
|
font-family: system-ui, -apple-system, sans-serif;
|
|
margin: 0;
|
|
background: var(--bg);
|
|
color: var(--text);
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.app-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
padding: 0.65rem 1rem;
|
|
background: var(--surface);
|
|
border-bottom: 1px solid var(--border);
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.app-brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.6rem;
|
|
}
|
|
|
|
.app-brand h1 {
|
|
margin: 0;
|
|
font-size: 1.15rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.core-badge {
|
|
font-size: 0.75rem;
|
|
padding: 0.15rem 0.55rem;
|
|
border-radius: 999px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.core-badge.online {
|
|
background: rgba(46, 204, 113, 0.15);
|
|
color: var(--ok);
|
|
border: 1px solid rgba(46, 204, 113, 0.35);
|
|
}
|
|
|
|
.core-badge.offline {
|
|
background: rgba(231, 76, 60, 0.12);
|
|
color: var(--danger);
|
|
border: 1px solid rgba(231, 76, 60, 0.3);
|
|
}
|
|
|
|
.network-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.45rem;
|
|
flex-wrap: wrap;
|
|
flex: 1;
|
|
min-width: 240px;
|
|
}
|
|
|
|
.network-bar-label { font-size: 0.82rem; color: var(--muted); }
|
|
|
|
.network-bar select,
|
|
.network-bar input,
|
|
.auth-token-bar input {
|
|
background: var(--bg);
|
|
color: var(--text);
|
|
border: 1px solid var(--border);
|
|
border-radius: 6px;
|
|
padding: 0.35rem 0.5rem;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.network-bar input { width: 9.5rem; }
|
|
|
|
.network-bar button,
|
|
.auth-token-bar button {
|
|
background: var(--accent-dim);
|
|
color: #fff;
|
|
border: none;
|
|
padding: 0.35rem 0.65rem;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.network-bar-status {
|
|
font-size: 0.75rem;
|
|
color: #6b8cae;
|
|
flex: 1 1 100%;
|
|
}
|
|
|
|
.auth-token-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
flex: 1 1 100%;
|
|
}
|
|
|
|
.auth-token-hidden { display: none; }
|
|
|
|
.auth-token-label { font-size: 0.82rem; color: var(--muted); }
|
|
|
|
.auth-token-bar input { width: 14rem; }
|
|
|
|
.addon-nav {
|
|
display: flex;
|
|
gap: 0.35rem;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.addon-nav button {
|
|
background: transparent;
|
|
color: var(--muted);
|
|
border: 1px solid transparent;
|
|
padding: 0.4rem 0.85rem;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-size: 0.88rem;
|
|
}
|
|
|
|
.addon-nav button:hover { color: var(--text); background: var(--surface-2); }
|
|
|
|
.addon-nav button.active {
|
|
background: var(--accent);
|
|
color: #fff;
|
|
border-color: var(--accent);
|
|
}
|
|
|
|
.addon-panel {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.addon-panel > p {
|
|
padding: 1.5rem;
|
|
margin: 0;
|
|
}
|
|
|
|
/* —— comm layout (voice / video / chat) —— */
|
|
|
|
.comm-layout {
|
|
display: flex;
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.comm-sidebar {
|
|
width: 300px;
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
border-right: 1px solid var(--border);
|
|
background: var(--bg);
|
|
min-height: 0;
|
|
}
|
|
|
|
/* Chat & voice: 25% contact list / 75% main panel */
|
|
.comm-layout.comm-split-layout .comm-sidebar {
|
|
width: 25%;
|
|
max-width: 25%;
|
|
flex: 0 0 25%;
|
|
min-width: 200px;
|
|
}
|
|
|
|
.comm-layout.comm-split-layout .comm-main {
|
|
flex: 1 1 75%;
|
|
width: 75%;
|
|
max-width: 75%;
|
|
min-width: 0;
|
|
}
|
|
|
|
.comm-layout.comm-split-layout .comm-sidebar-head {
|
|
padding: 0.75rem 0.75rem 0.4rem;
|
|
}
|
|
|
|
.comm-layout.comm-split-layout .comm-sidebar-head h2 {
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.comm-layout.comm-split-layout .comm-sidebar-body {
|
|
padding: 0.5rem 0.65rem;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.comm-layout.comm-split-layout .comm-sidebar-actions {
|
|
padding: 0.5rem 0.65rem 0.75rem;
|
|
}
|
|
|
|
.comm-sidebar-head {
|
|
padding: 1rem 1rem 0.5rem;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.comm-sidebar-head h2 {
|
|
margin: 0 0 0.35rem;
|
|
font-size: 1.05rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.comm-sidebar-sub {
|
|
margin: 0;
|
|
font-size: 0.72rem;
|
|
color: var(--muted);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.comm-sidebar-body {
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow: auto;
|
|
padding: 0.75rem 1rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.comm-sidebar-actions {
|
|
padding: 0.75rem 1rem 1rem;
|
|
border-top: 1px solid var(--border);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.comm-selected-label {
|
|
font-size: 0.78rem;
|
|
color: var(--muted);
|
|
margin-bottom: 0.15rem;
|
|
}
|
|
|
|
.comm-selected-label strong {
|
|
color: var(--text);
|
|
font-family: ui-monospace, monospace;
|
|
}
|
|
|
|
.comm-main {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
background: #0a0e14;
|
|
}
|
|
|
|
.comm-main-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0.65rem 1rem;
|
|
border-bottom: 1px solid var(--border);
|
|
background: var(--surface);
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.comm-breadcrumb {
|
|
color: var(--muted);
|
|
}
|
|
|
|
.comm-breadcrumb strong { color: var(--text); }
|
|
|
|
.comm-head-status {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
color: var(--muted);
|
|
font-size: 0.82rem;
|
|
}
|
|
|
|
.comm-head-status .connected {
|
|
color: var(--ok);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.comm-stage {
|
|
flex: 1;
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 0;
|
|
background: #000;
|
|
}
|
|
|
|
.comm-stage video {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: contain;
|
|
background: #000;
|
|
}
|
|
|
|
.comm-remote-placeholder {
|
|
text-align: center;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.comm-remote-placeholder .avatar {
|
|
width: 72px;
|
|
height: 72px;
|
|
border-radius: 50%;
|
|
background: var(--surface-2);
|
|
margin: 0 auto 0.75rem;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 2rem;
|
|
color: #5a6a7d;
|
|
}
|
|
|
|
.comm-remote-placeholder .peer-id {
|
|
font-family: ui-monospace, monospace;
|
|
color: var(--text);
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.comm-remote-tag {
|
|
position: absolute;
|
|
top: 12px;
|
|
left: 12px;
|
|
background: rgba(0, 0, 0, 0.55);
|
|
padding: 0.2rem 0.55rem;
|
|
border-radius: 4px;
|
|
font-size: 0.75rem;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.35rem;
|
|
}
|
|
|
|
.comm-remote-tag .dot {
|
|
width: 6px;
|
|
height: 6px;
|
|
border-radius: 50%;
|
|
background: var(--accent);
|
|
}
|
|
|
|
.comm-call-controls {
|
|
position: absolute;
|
|
bottom: 1.25rem;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
padding: 0.45rem;
|
|
background: rgba(26, 35, 50, 0.92);
|
|
border-radius: 10px;
|
|
border: 1px solid var(--border);
|
|
}
|
|
|
|
.comm-call-controls button {
|
|
background: var(--surface-2);
|
|
color: var(--text);
|
|
border: 1px solid var(--border);
|
|
padding: 0.45rem 0.85rem;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-size: 0.82rem;
|
|
}
|
|
|
|
.comm-call-controls button.danger {
|
|
background: var(--danger);
|
|
border-color: var(--danger);
|
|
color: #fff;
|
|
}
|
|
|
|
.comm-connection-bar {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 1.25rem 2rem;
|
|
padding: 0.65rem 1rem;
|
|
background: var(--surface);
|
|
border-top: 1px solid var(--border);
|
|
font-size: 0.78rem;
|
|
}
|
|
|
|
.comm-stat label {
|
|
display: block;
|
|
color: var(--muted);
|
|
font-size: 0.68rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
margin-bottom: 0.15rem;
|
|
}
|
|
|
|
.comm-stat span {
|
|
font-family: ui-monospace, monospace;
|
|
font-size: 0.82rem;
|
|
}
|
|
|
|
.comm-stat .latency-ok { color: var(--ok); }
|
|
|
|
.comm-quality {
|
|
display: inline-flex;
|
|
align-items: flex-end;
|
|
gap: 2px;
|
|
height: 14px;
|
|
}
|
|
|
|
.comm-quality span {
|
|
width: 3px;
|
|
background: var(--ok);
|
|
border-radius: 1px;
|
|
}
|
|
|
|
.comm-quality span:nth-child(1) { height: 4px; }
|
|
.comm-quality span:nth-child(2) { height: 7px; }
|
|
.comm-quality span:nth-child(3) { height: 10px; }
|
|
.comm-quality span:nth-child(4) { height: 14px; }
|
|
|
|
/* —— peer picker —— */
|
|
|
|
.peer-picker { display: flex; flex-direction: column; flex: 1; min-height: 0; }
|
|
|
|
.peer-info-box {
|
|
font-size: 0.82rem;
|
|
color: #9eb4d0;
|
|
margin-bottom: 0.75rem;
|
|
padding: 0.55rem 0.65rem;
|
|
background: rgba(45, 90, 138, 0.25);
|
|
border: 1px solid rgba(74, 144, 217, 0.25);
|
|
border-radius: 6px;
|
|
line-height: 1.35;
|
|
}
|
|
|
|
.peer-picker-row { display: block; margin-bottom: 0.65rem; }
|
|
|
|
.peer-picker-row input {
|
|
width: 100%;
|
|
margin-top: 0.25rem;
|
|
padding: 0.45rem 0.55rem;
|
|
background: var(--surface);
|
|
color: var(--text);
|
|
border: 1px solid var(--border);
|
|
border-radius: 6px;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.peer-list {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
--peer-row-height: 3.25rem;
|
|
max-height: calc(var(--peer-row-height) * 10);
|
|
flex: 0 1 auto;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
border: 1px solid var(--border);
|
|
border-radius: 6px;
|
|
scrollbar-gutter: stable;
|
|
}
|
|
|
|
.peer-item {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 0.5rem;
|
|
min-height: var(--peer-row-height);
|
|
padding: 0.55rem 0.65rem;
|
|
cursor: pointer;
|
|
border-bottom: 1px solid var(--border);
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.peer-item:last-child { border-bottom: none; }
|
|
|
|
.peer-item:hover,
|
|
.peer-item.active {
|
|
background: var(--surface-2);
|
|
}
|
|
|
|
.peer-item.active { border-left: 3px solid var(--accent); padding-left: calc(0.65rem - 3px); }
|
|
|
|
.peer-dot {
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
background: #666;
|
|
flex-shrink: 0;
|
|
margin-top: 0.35rem;
|
|
}
|
|
|
|
.peer-item.online .peer-dot { background: var(--ok); }
|
|
|
|
.peer-main { flex: 1; min-width: 0; }
|
|
|
|
.peer-name {
|
|
display: block;
|
|
font-family: ui-monospace, monospace;
|
|
font-size: 0.88rem;
|
|
}
|
|
|
|
.peer-sub {
|
|
color: var(--muted);
|
|
font-size: 0.72rem;
|
|
display: block;
|
|
margin-top: 0.15rem;
|
|
}
|
|
|
|
.peer-edit {
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--muted);
|
|
cursor: pointer;
|
|
padding: 0.2rem;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.peer-empty { padding: 1rem; color: var(--muted); font-size: 0.85rem; }
|
|
|
|
.peer-network-warn { color: var(--warn); }
|
|
|
|
.btn-primary {
|
|
background: var(--accent);
|
|
color: #fff;
|
|
border: none;
|
|
padding: 0.55rem 1rem;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-size: 0.88rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.btn-primary:disabled {
|
|
opacity: 0.45;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.btn-secondary {
|
|
background: var(--surface-2);
|
|
color: var(--text);
|
|
border: 1px solid var(--border);
|
|
padding: 0.55rem 1rem;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-size: 0.88rem;
|
|
}
|
|
|
|
/* —— chat —— */
|
|
|
|
.chat-thread-panel {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.comm-split-layout .chat-thread-panel {
|
|
padding: 0;
|
|
}
|
|
|
|
.chat-thread-header {
|
|
flex-shrink: 0;
|
|
padding: 0.75rem 1rem;
|
|
border-bottom: 1px solid var(--border);
|
|
margin: 0;
|
|
font-size: 0.9rem;
|
|
background: var(--surface);
|
|
}
|
|
|
|
.chat-thread-header small {
|
|
color: var(--muted);
|
|
font-weight: normal;
|
|
margin-left: 0.35rem;
|
|
}
|
|
|
|
.chat-messages,
|
|
#chat-thread {
|
|
flex: 1;
|
|
overflow: auto;
|
|
padding: 1rem;
|
|
margin: 0;
|
|
border: none;
|
|
border-radius: 0;
|
|
background: #0a0e14;
|
|
}
|
|
|
|
.chat-empty {
|
|
color: var(--muted);
|
|
text-align: center;
|
|
margin: 2rem 0;
|
|
font-size: 0.88rem;
|
|
}
|
|
|
|
.chat-message {
|
|
margin-bottom: 1rem;
|
|
max-width: 85%;
|
|
}
|
|
|
|
.chat-message-meta {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 0.5rem;
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.chat-message-sender {
|
|
color: #e8a54b;
|
|
font-weight: 600;
|
|
font-size: 0.88rem;
|
|
}
|
|
|
|
.chat-message-time {
|
|
color: var(--muted);
|
|
font-size: 0.72rem;
|
|
}
|
|
|
|
.chat-message-body {
|
|
color: var(--text);
|
|
font-size: 0.9rem;
|
|
line-height: 1.45;
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.chat-message-file {
|
|
margin-top: 0.35rem;
|
|
font-size: 0.85rem;
|
|
color: var(--accent);
|
|
}
|
|
|
|
.chat-compose {
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
padding: 0.75rem 1rem;
|
|
border-top: 1px solid var(--border);
|
|
background: var(--surface);
|
|
}
|
|
|
|
.chat-compose textarea {
|
|
width: 100%;
|
|
padding: 0.5rem;
|
|
background: var(--surface);
|
|
color: var(--text);
|
|
border: 1px solid var(--border);
|
|
border-radius: 6px;
|
|
resize: vertical;
|
|
}
|
|
|
|
.chat-compose-row {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
align-items: center;
|
|
}
|
|
|
|
/* —— voice —— */
|
|
|
|
.voice-main-panel {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
background: #0a0e14;
|
|
}
|
|
|
|
.voice-active-banner {
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 1rem;
|
|
padding: 0.65rem 1rem;
|
|
background: rgba(45, 90, 138, 0.35);
|
|
border-bottom: 1px solid var(--border);
|
|
font-size: 0.88rem;
|
|
}
|
|
|
|
.voice-active-dot {
|
|
display: inline-block;
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
background: var(--ok);
|
|
margin-right: 0.4rem;
|
|
}
|
|
|
|
.voice-active-controls {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.voice-active-controls button {
|
|
background: var(--surface-2);
|
|
color: var(--text);
|
|
border: 1px solid var(--border);
|
|
padding: 0.35rem 0.75rem;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-size: 0.82rem;
|
|
}
|
|
|
|
.voice-active-controls button.danger {
|
|
background: var(--danger);
|
|
border-color: var(--danger);
|
|
color: #fff;
|
|
}
|
|
|
|
.voice-session-hint {
|
|
margin: 1rem;
|
|
color: var(--text-muted);
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.voice-remote-audio {
|
|
display: none;
|
|
}
|
|
|
|
.voice-history-panel {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.voice-history-title {
|
|
margin: 0;
|
|
padding: 0.75rem 1rem;
|
|
font-size: 0.9rem;
|
|
font-weight: 600;
|
|
border-bottom: 1px solid var(--border);
|
|
flex-shrink: 0;
|
|
background: var(--surface);
|
|
}
|
|
|
|
.voice-call-history {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.voice-call-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
padding: 0.75rem 1rem;
|
|
border-bottom: 1px solid var(--border);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.voice-call-item:hover {
|
|
background: var(--surface-2);
|
|
}
|
|
|
|
.voice-call-icon {
|
|
width: 1.75rem;
|
|
text-align: center;
|
|
font-size: 1rem;
|
|
color: var(--accent);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.voice-call-main {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.voice-call-name {
|
|
display: block;
|
|
font-size: 0.9rem;
|
|
font-family: ui-monospace, monospace;
|
|
}
|
|
|
|
.voice-call-sub {
|
|
color: var(--muted);
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.voice-call-when {
|
|
flex-shrink: 0;
|
|
color: var(--muted);
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.voice-call-empty {
|
|
padding: 2rem 1rem;
|
|
text-align: center;
|
|
color: var(--muted);
|
|
font-size: 0.88rem;
|
|
}
|
|
|
|
/* legacy voice stage (unused) */
|
|
.voice-stage-inner {
|
|
text-align: center;
|
|
padding: 2rem;
|
|
}
|
|
|
|
.voice-stage-inner .avatar {
|
|
width: 96px;
|
|
height: 96px;
|
|
border-radius: 50%;
|
|
background: var(--surface-2);
|
|
margin: 0 auto 1rem;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 2.5rem;
|
|
}
|
|
|
|
/* —— ringing popup —— */
|
|
|
|
.ringing-hidden { display: none; }
|
|
|
|
#ringing-popup {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.6);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 1000;
|
|
}
|
|
|
|
#ringing-popup.ringing-hidden { display: none; }
|
|
|
|
.ringing-card {
|
|
background: var(--surface);
|
|
padding: 2rem;
|
|
border-radius: 12px;
|
|
text-align: center;
|
|
min-width: 280px;
|
|
}
|
|
|
|
.ringing-card button {
|
|
margin: 0.5rem;
|
|
padding: 0.6rem 1.2rem;
|
|
border: none;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.ringing-accept { background: var(--ok); color: #000; }
|
|
.ringing-reject { background: var(--danger); color: #fff; }
|
|
|
|
/* —— video call: remote fills main stage, local is PiP —— */
|
|
|
|
.comm-layout.video-in-call .comm-sidebar {
|
|
display: none;
|
|
}
|
|
|
|
.comm-layout.video-in-call .comm-main-head {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 4;
|
|
background: linear-gradient(to bottom, rgba(10, 14, 20, 0.85), transparent);
|
|
border-bottom: none;
|
|
}
|
|
|
|
.video-stage .video-remote-main {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: #000;
|
|
}
|
|
|
|
.video-stage .video-remote-stream {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
opacity: 0;
|
|
transition: opacity 0.25s ease;
|
|
}
|
|
|
|
.video-stage .video-remote-stream.active {
|
|
opacity: 1;
|
|
}
|
|
|
|
.video-stage.has-remote .comm-remote-placeholder {
|
|
display: none;
|
|
}
|
|
|
|
.video-stage .comm-remote-tag {
|
|
z-index: 3;
|
|
}
|
|
|
|
.video-local-pip {
|
|
position: absolute;
|
|
bottom: 4.5rem;
|
|
right: 1rem;
|
|
width: 180px;
|
|
z-index: 3;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
border: 2px solid rgba(255, 255, 255, 0.2);
|
|
background: #000;
|
|
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
|
|
}
|
|
|
|
.video-pip-label {
|
|
position: absolute;
|
|
top: 6px;
|
|
left: 8px;
|
|
z-index: 1;
|
|
font-size: 0.68rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
color: rgba(255, 255, 255, 0.85);
|
|
background: rgba(0, 0, 0, 0.5);
|
|
padding: 0.1rem 0.35rem;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.video-local-pip video {
|
|
width: 100%;
|
|
height: auto;
|
|
display: block;
|
|
aspect-ratio: 4 / 3;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.video-stage .comm-call-controls {
|
|
z-index: 4;
|
|
}
|