Skip to content

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

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

.forwardedContainer {
	display: flex;
	width: 100%;
	min-width: 0;
}

.forwardedBar {
	width: 0.25rem;
	flex-shrink: 0;
	border-radius: 0.25rem;
	background-color: var(--interactive-muted);
	margin-inline-end: 0.75rem;
}

.forwardedContent {
	flex: 1;
	min-width: 0;
	padding-top: 0.25rem;
	padding-bottom: 0.25rem;
}

.forwardedHeader {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	margin-bottom: 0.25rem;
	font-size: 0.75rem;
	line-height: 1rem;
	color: var(--text-chat-muted);
}

.forwardedIcon {
	height: 0.75rem;
	width: 0.75rem;
}

.forwardedLabel {
	font-style: italic;
}

.attachmentsContainer {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	align-items: flex-start;
	margin-top: var(--message-container-gap, 0.25rem);
}

div.urlEmbedSpoiler {
	width: 100%;
	max-width: 22.5rem;
}

.forwardedSourceButton {
	margin-top: 0.5rem;
	display: flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.375rem 0.5rem;
	border-radius: 0.375rem;
	background-color: var(--background-secondary);
	font-size: 0.75rem;
	line-height: 1rem;
	transition: background-color 0.15s ease;
	cursor: pointer;
	border: 0.0625rem solid var(--background-modifier-accent);
	box-sizing: border-box;
	align-self: flex-start;
	justify-content: flex-start;
	width: fit-content;
	max-width: 100%;
}

.forwardedSourceButton:hover {
	background-color: var(--background-secondary-alt);
}

.forwardedSourceLabel {
	color: var(--text-chat-muted);
	flex: 0 0 auto;
	white-space: nowrap;
}

.forwardedSourceInfo {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	white-space: nowrap;
}

.forwardedSourceIcon {
	width: 1rem;
	height: 1rem;
	flex-shrink: 0;
	color: var(--text-secondary);
}

.forwardedSourceAvatar {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.forwardedSourceGuildIcon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	border-radius: 0.25rem;
	--guild-icon-size: 1rem;
}

.forwardedSourceChevron {
	color: var(--text-primary-muted);
	flex-shrink: 0;
}

.forwardedSourceName {
	color: var(--text-primary);
	font-weight: 500;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow-wrap: normal;
	word-break: normal;
}

.stickersContainer {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.25rem;
}

.stickerWrapper {
	position: relative;
	height: 10rem;
	width: 10rem;
}

.stickerWrapperInteractive {
	cursor: pointer;
}

.stickerImage {
	height: 100%;
	width: 100%;
	object-fit: contain;
}