Skip to content

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

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

.text {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 0.8125rem;
	line-height: 1.25;
	color: var(--text-primary);
}

.replyTargetButton {
	display: block;
	justify-self: start;
	min-width: 0;
	max-width: 100%;
	cursor: pointer;
	border: 0;
	background: transparent;
	padding: 0;
	text-align: start;
	font-family: inherit;
}

.authorName {
	font-weight: 600;
}

.replyTargetButton:hover .authorName,
.replyTargetButton:focus-visible .authorName {
	text-decoration: underline;
}

.controls {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	gap: 0.125rem;
	min-height: var(--composer-action-button-size, 2rem);
}

.mentionToggle {
	display: flex;
	cursor: pointer;
	align-items: center;
	justify-content: center;
	height: calc(var(--composer-action-button-size, 2rem) - 0.25rem);
	inline-size: 3.5rem;
	flex: 0 0 3.5rem;
	padding: 0 0.5rem;
	border: 0;
	border-radius: var(--radius-full);
	background: transparent;
	font-family: inherit;
	font-weight: 600;
	font-size: 0.75rem;
	text-transform: uppercase;
	white-space: nowrap;
}

.mentionToggleOn {
	color: rgb(96 165 250);
}

.mentionToggleOff {
	color: var(--text-primary-muted);
	transition: color 200ms;
	cursor: pointer;
}

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

.mentionIcon {
	margin-inline-end: 0.1875rem;
	height: 1rem;
	width: 1rem;
}

.closeButton {
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex-shrink: 0;
	border: none;
	background-color: transparent;
	width: var(--composer-action-button-size, 2rem);
	height: var(--composer-action-button-size, 2rem);
	padding: 0;
	color: var(--text-primary-muted);
	line-height: 0;
	transition: color 200ms;
}

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

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