Skip to content

A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.

TypeScript fluxerfluxerapp
2.0 KB
Raw Blame
/* SPDX-License-Identifier: AGPL-3.0-or-later */

.container {
	display: flex;
	flex-direction: column;
}

.participantButton {
	display: flex;
	width: 100%;
	align-items: center;
	gap: 0.375rem;
	border-radius: 0.375rem;
	padding: 0.25rem 0.5rem;
	transition-property: color, background-color;
	transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
	transition-duration: 150ms;
	cursor: pointer;
	text-align: start;
	color: var(--text-primary-muted);
}

.participantButtonSpeaking {
	background-color: var(--background-modifier-hover);
	color: var(--text-primary);
}

:global(:where(html.window-focused, html.unfocused-fully-interactive):not(.window-focus-activation-guard))
	.participantButton:hover {
	background-color: var(--background-modifier-hover);
	color: var(--text-primary);
}

.participantButtonContextMenuActive {
	background-color: var(--background-modifier-hover);
	color: var(--text-primary);
}

.participantButton[data-popout-open] {
	background-color: var(--background-modifier-hover);
	color: var(--text-primary);
}

.avatarAndName {
	display: flex;
	min-width: 0;
	flex: 1;
	align-items: center;
	gap: 0.375rem;
}

.nameContainer {
	display: flex;
	min-width: 0;
	flex: 1;
	align-items: baseline;
	gap: 0.25rem;
}

.participantName {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 0.875rem;
}

.participantNameSpeaking {
	color: var(--text-primary);
}

.participantNameCurrent {
	color: var(--text-primary);
}

.deviceCountButton {
	flex-shrink: 0;
	border: none;
	background: transparent;
	padding: 0;
	font-size: 0.75rem;
	color: var(--text-link);
	cursor: pointer;
}

:global(:where(html.window-focused, html.unfocused-fully-interactive):not(.window-focus-activation-guard))
	.deviceCountButton:hover {
	text-decoration: underline;
}

.iconsAndToggle {
	margin-inline-start: auto;
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.devicesContainer {
	margin-top: 0.125rem;
	margin-inline-start: 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.125rem;
}

.flexShrinkZero {
	flex-shrink: 0;
}