Skip to content

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

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

.statusDot {
	display: inline-block;
	height: 0.25rem;
	width: 0.25rem;
	margin-inline-start: 0.25rem;
	margin-inline-end: 0.25rem;
	border-radius: 624.9375rem;
	background-color: var(--text-primary-muted);
	vertical-align: middle;
}

.authSession {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 0.5rem;
	box-sizing: border-box;
	padding: 0.625rem 0.75rem;
	border-radius: 0.5rem;
	border: 0.0625rem solid var(--background-header-secondary);
	background-color: var(--background-secondary);
}

@media (min-width: 640px) {
	.authSession {
		flex-direction: row;
		align-items: center;
		gap: 0.75rem;
	}
}

.authSessionSelectable {
	cursor: pointer;
}

.authSessionSelectable:focus-visible {
	outline: 0.125rem solid var(--focus-primary);
	outline-offset: 0.125rem;
}

.authSessionContent {
	display: flex;
	flex: 1;
	align-items: center;
	gap: 0.625rem;
}

.iconContainer {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 2.25rem;
	width: 2.25rem;
	flex: 0 0 auto;
	border-radius: 624.9375rem;
	background-color: var(--background-tertiary);
	color: var(--text-tertiary);
}

.icon {
	height: 1.25rem;
	width: 1.25rem;
}

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

.authSessionTitle {
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.125rem;
	color: var(--text-primary);
	max-width: 100%;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.authSessionLocation {
	display: block;
	font-size: 0.71875rem;
	line-height: 1rem;
	color: var(--text-primary-muted);
	min-width: 0;
	max-width: 100%;
}

.metadataLine {
	display: block;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.authSessionActions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

@media (min-width: 640px) {
	.authSessionActions {
		justify-content: flex-end;
	}
}

.infoButton,
.revokeButton {
	width: 1.75rem;
	height: 1.75rem;
	min-width: 1.75rem;
	min-height: 1.75rem;
	border-radius: 0.25rem;
	color: var(--text-tertiary);
	background: transparent !important;
}

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

.infoButton:active:not(:disabled) {
	background: var(--background-modifier-selected) !important;
	color: var(--text-primary);
}

.revokeButton:active:not(:disabled) {
	background: var(--background-modifier-selected) !important;
	color: var(--button-danger-fill);
}

.actionIcon {
	height: 0.875rem;
	width: 0.875rem;
}

.deviceDetailList {
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
}

.deviceDetailRow {
	display: grid;
	grid-template-columns: minmax(6rem, 0.4fr) minmax(0, 1fr);
	gap: 0.75rem;
	align-items: baseline;
}

.deviceDetailLabel {
	color: var(--text-primary-muted);
	font-size: 0.75rem;
	line-height: 1rem;
}

.deviceDetailValue {
	min-width: 0;
	color: var(--text-primary);
	font-size: 0.8125rem;
	line-height: 1.125rem;
	overflow-wrap: anywhere;
}

.deviceDetailMono {
	font-family: var(--font-mono);
}

.loadingContainer {
	display: flex;
	justify-content: center;
	padding-top: 4rem;
	padding-bottom: 4rem;
}

.devicesGrid {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.compactDeviceSubsection.compactDeviceSubsection {
	gap: 0.5rem;
}

.deviceListBody {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.selectionHint {
	margin: 0;
	font-size: 0.8125rem;
	line-height: 1.25rem;
	color: var(--text-primary-muted);
}