Skip to content

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

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

.filtersScroller {
	height: 100%;
	min-height: 0;
}

.filtersList {
	display: flex;
	min-height: 0;
}

.filtersListHorizontal {
	flex-direction: row;
	align-items: stretch;
	gap: 0.25rem;
	padding: 0 0.15rem;
	width: max-content;
}

.filtersListVertical {
	flex-direction: column;
	align-items: flex-end;
	gap: 0.25rem;
	padding: 0.35rem 0.35rem 0.45rem 0.35rem;
}

.filterItem {
	display: flex;
	justify-content: center;
	flex: 0 0 auto;
}

.filterItemHorizontal {
	min-width: 3.5rem;
	width: auto;
}

.filterItemVertical {
	width: auto;
}

.filterButton {
	width: 100%;
	padding: 0;
	border-radius: 0.6rem;
	background: transparent;
	border: none;
	color: inherit;
	transition:
		color 0.15s ease,
		transform 0.15s ease;
}

.filterButtonIdle {
	cursor: pointer;
}

.filterButtonIdle:hover {
	transform: translateY(-0.0625rem);
}

.filterButtonSelected {
	box-shadow: 0 0 0 0.125rem var(--background-modifier-accent-focus);
	background-color: var(--background-modifier-hover);
	transform: translateY(-0.0625rem);
}

.reactionListPanel {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-height: 0;
	background: var(--background-secondary-lighter);
	border-radius: 0.5rem;
	padding: 0.2rem 0;
	overflow: hidden;
	border: 0.0625rem solid var(--border-color);
}

.reactorScroller {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 0;
}

.reactorItem {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.55rem 0.85rem;
	min-height: 2.75rem;
}

.reactorItemBorder {
	border-top: 0.0625rem solid var(--background-header-secondary);
}

.reactorInfo {
	display: flex;
	flex: 1 1 auto;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	gap: 0.35rem;
	overflow: hidden;
}

.reactorName {
	font-size: 0.95rem;
	color: var(--text-chat);
	font-weight: 600;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	flex: 0 1 auto;
	min-width: 0;
	max-width: 100%;
	margin-top: -0.125rem;
}

.reactorTag {
	font-size: 0.75rem;
	color: var(--text-chat-muted);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	flex: 0 1 auto;
	min-width: 0;
}

.removeReactionButton {
	margin-inline-start: 0.5rem;
	flex: none;
	color: var(--text-chat-muted);
	cursor: pointer;
	background: transparent;
	border: none;
	padding: 0;
}

.removeReactionButton:hover {
	color: var(--text-chat);
}

.removeReactionIcon {
	height: 1rem;
	width: 1rem;
}

.loadingContainer {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 1rem;
	gap: 1rem;
}

.loadingLabel {
	font-size: 0.85rem;
	color: var(--text-primary-muted);
}

.emptyState {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
	color: var(--text-primary-muted);
	font-size: 0.9rem;
	text-align: center;
	padding: 1rem;
}

.emptyStateText {
	font-size: 0.9rem;
}

.srOnly {
	position: absolute;
	width: 0.0625rem;
	height: 0.0625rem;
	padding: 0;
	margin: -0.0625rem;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}