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 */

.containerModal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.containerModalMobile {
	gap: 0.5rem;
}

.containerModalDesktop {
	gap: 0.375rem;
}

.pending {
	visibility: hidden;
}

.containerPopout {
	position: absolute;
	top: 9.0625rem;
	inset-inline-end: 0.625rem;
	z-index: 10;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	max-width: calc(100% - 7rem);
	transform: translateY(-100%);
	gap: 0.375rem;
	border-radius: 0.375rem;
	padding: 0.25rem;
	background: color-mix(in srgb, var(--background-secondary) 80%, transparent);
}

.badgeMobile {
	height: 2rem;
	width: 2rem;
}

.badgeDesktop {
	height: 1.5rem;
	width: 1.5rem;
}

.captionBadge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--brand-primary-light);
	font-weight: 700;
	font-family: var(--font-sans);
	line-height: 1;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	pointer-events: none;
}

:global(.theme-light) .captionBadge {
	color: var(--brand-primary-foreground);
}

.captionBadgeMobile {
	height: 2rem;
	font-size: 1.625rem;
}

.captionBadgeDesktop {
	height: 1.5rem;
	font-size: 1.25rem;
}

.link {
	place-self: anchor-center;
	cursor: pointer;
	touch-action: manipulation;
	user-select: none;
	-webkit-user-select: none;
	-webkit-tap-highlight-color: transparent;
	text-decoration: none;
}

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

.linkButton {
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	color: inherit;
}

.details {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.25rem;
	padding: 0.25rem 0.125rem;
	text-align: center;
}

.detailsArt {
	height: 3rem;
	width: 3rem;
	margin-bottom: 0.25rem;
}

.detailsTitle {
	color: var(--text-primary);
	font-weight: 700;
	font-size: 0.875rem;
	line-height: 1.25rem;
}

.detailsLine {
	color: var(--text-secondary);
	font-size: 0.8125rem;
	line-height: 1.125rem;
}

.detailsQuote {
	max-width: 100%;
	color: var(--text-primary);
	font-size: 0.8125rem;
	line-height: 1.125rem;
	overflow-wrap: anywhere;
}

.editButton {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	border-radius: 0.25rem;
	background: none;
	color: var(--text-primary-muted);
	cursor: pointer;
}

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

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

.moreButton {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 0.375rem;
	padding: 0 0.375rem;
	background: var(--background-modifier-accent);
	color: var(--text-primary);
	font: inherit;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
}

.moreButtonDesktop {
	min-width: 1.5rem;
	height: 1.5rem;
	font-size: 0.75rem;
}

.moreButtonMobile {
	min-width: 2rem;
	height: 2rem;
	font-size: 0.875rem;
}