A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.
/* SPDX-License-Identifier: AGPL-3.0-or-later */
.card {
--menu-edge: var(--voice-shadow-medium);
--menu-shadow: var(--voice-shadow-soft);
--menu-shadow-lg: var(--voice-shadow-soft);
background-color: var(--background-primary);
border: 0.0625rem solid var(--background-modifier-accent);
border-radius: 0.25rem;
box-shadow:
0 0.125rem 0 var(--menu-edge),
0 0.25rem 0.5rem var(--menu-shadow),
0 0.5rem 1rem var(--menu-shadow-lg);
width: 13.75rem;
max-height: 20rem;
display: flex;
flex-direction: column;
overflow: hidden;
}
:global(.theme-light) .card {
--menu-edge: color-mix(in srgb, var(--voice-shadow-medium) 45%, transparent);
--menu-shadow: color-mix(in srgb, var(--voice-shadow-soft) 55%, transparent);
--menu-shadow-lg: color-mix(in srgb, var(--voice-shadow-soft) 50%, transparent);
}
.header {
padding: 0.75rem 0.75rem 0.5rem;
font-size: 0.75rem;
font-weight: 600;
color: var(--text-primary-muted);
text-transform: uppercase;
letter-spacing: 0.02em;
flex-shrink: 0;
}
.list {
overflow-y: auto;
padding: 0 0.25rem 0.25rem;
flex: 1;
min-height: 0;
}
.spectatorRow {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.375rem 0.5rem;
border-radius: 0.25rem;
cursor: pointer;
transition: background-color 0.1s;
}
.spectatorRow:hover {
background-color: var(--background-modifier-hover);
}
.spectatorName {
font-size: 0.875rem;
font-weight: 500;
color: var(--text-primary);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
flex: 1;
min-width: 0;
}
.spectatorDevice {
display: flex;
align-items: center;
flex-shrink: 0;
color: var(--text-primary-muted);
}