Skip to content

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

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

.customStatusRow {
	display: flex;
	align-items: center;
}

:global(:where(html.window-focused, html.unfocused-fully-interactive):not(.window-focus-activation-guard))
	.customStatusRow:hover {
	--emoji-show-animated: 1;
}

.customStatusPlaceholder {
	display: inline-flex;
	align-items: center;
	gap: 0.25em;
	padding: 0;
	border: none;
	background: transparent;
	cursor: pointer;
	font-size: 0.75rem;
	line-height: 1rem;
}

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

.customStatusPlaceholderIcon {
	color: var(--text-tertiary);
	flex-shrink: 0;
}

.customStatusPlaceholderText {
	color: var(--text-tertiary);
}

.copyUsernameButton {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 1.25rem;
	height: 1.25rem;
	padding: 0;
	border: none;
	border-radius: var(--radius-sm);
	background: transparent;
	color: var(--text-tertiary);
	cursor: pointer;
	opacity: 0;
	transition:
		opacity 0.1s ease,
		color 0.1s ease,
		background-color 0.1s ease;
}

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

:global(:where(html.window-focused, html.unfocused-fully-interactive):not(.window-focus-activation-guard))
	.container:hover
	.copyUsernameButton,
.container:focus-within .copyUsernameButton {
	opacity: 1;
}

.footer {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	width: 100%;
}

.actionGroup {
	display: flex;
	flex-direction: column;
	border-radius: 0.75rem;
	background-color: var(--background-secondary-alt);
	overflow: hidden;
}

.editProfileButton {
	margin-top: 0;
}

.actionButton {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	width: 100%;
	padding: 0.625rem 0.75rem;
	border: none;
	background: transparent;
	color: var(--text-primary);
	text-align: start;
	font-weight: 500;
	cursor: pointer;
	transition: none;
}

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

.actionDivider {
	margin-inline-start: 0.75rem;
	margin-inline-end: 0.75rem;
	height: 0.0625rem;
	background-color: var(--background-header-secondary);
	opacity: 0.3;
}

.actionButton:disabled {
	cursor: not-allowed;
}

.actionButtonDisabled {
	opacity: 0.5;
}

.actionIcon {
	flex-shrink: 0;
	width: 1.375rem;
	height: 1.375rem;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-secondary);
}

.actionContent {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.125rem;
}

.actionLabel {
	font-weight: 500;
	font-size: 0.8125rem;
	color: var(--text-primary);
	line-height: 1.25;
}

.actionHint {
	font-size: 0.6875rem;
	color: var(--text-tertiary);
	line-height: 1.25;
}

.actionChevron {
	color: var(--text-tertiary);
	flex-shrink: 0;
	align-self: center;
}

.statusMenu {
	composes: submenuPopover from '@app/features/ui/action_menu/ContextMenu.module.css';
	display: flex;
	flex-direction: column;
	width: 17.5rem;
	margin-inline-start: 1rem;
	filter: none;
}

.expiryPopup {
	composes: submenuPopover from '@app/features/ui/action_menu/ContextMenu.module.css';
	display: flex;
	flex-direction: column;
	width: 13.75rem;
	margin-inline-start: 0.375rem;
	filter: none;
}

.statusMenuRow {
	margin: 0.0625rem 0;
}

.statusMenuItem {
	composes: item from '@app/features/ui/action_menu/ContextMenu.module.css';
	display: grid;
	grid-template-columns: 1.125rem 1fr auto;
	align-items: flex-start;
}

.statusMenuIcon {
	flex-shrink: 0;
	width: 1.125rem;
	height: 1.125rem;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 0.0625rem;
}

.statusMenuText {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-width: 0;
}

.statusMenuLabel {
	font-weight: 500;
	font-size: 0.875rem;
	line-height: 1.125rem;
}

.statusMenuDescription {
	composes: itemHint from '@app/features/ui/action_menu/ContextMenu.module.css';
	color: var(--text-tertiary);
	white-space: normal;
}

.statusMenuChevron {
	width: 1rem;
	height: 1rem;
	flex-shrink: 0;
	color: var(--text-secondary);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 0.125rem;
}

.expiryItem {
	composes: item from '@app/features/ui/action_menu/ContextMenu.module.css';
}

.expiryLabel {
	font-size: 0.875rem;
	font-weight: 500;
}