Skip to content

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

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

.content {
	min-height: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
}

.container {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 0;
}

.tabsSection {
	padding: 0 1.5rem;
	border-bottom: 0.0625rem solid var(--background-modifier-accent);
}

.tabs {
	padding-bottom: 0;
}

.scrollArea {
	flex: 1;
	min-height: 0;
	overflow: auto;
	padding: 1.25rem 1.5rem 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.summary {
	background: var(--background-secondary);
	border: 0.0625rem solid var(--border-color);
	border-radius: var(--radius-md);
	padding: 1rem;
	box-shadow: 0 0.0625rem 0.125rem rgba(0, 0, 0, 0.12);
}

.summaryTitle {
	margin: 0 0 0.5rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--text-secondary);
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.summaryBody {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.summaryItem {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 0.75rem;
	font-size: 0.875rem;
	line-height: 1.25rem;
}

.summaryLabel {
	font-weight: 500;
	color: var(--text-secondary);
}

.summaryValue {
	font-family: var(--font-mono);
	color: var(--text-primary);
	text-align: end;
	word-break: break-word;
}

.codeSection {
	flex: 1;
	min-height: 0;
	display: flex;
}

.codeSurface {
	width: 100%;
	min-height: 18rem;
	display: flex;
	flex: 1;
}
.codeSurface :global(pre) {
	width: 100%;
	max-width: 100%;
	min-height: inherit;
	height: 100%;
	user-select: inherit;
	-webkit-user-select: inherit;
}
.codeSurface :global(pre > div) {
	min-height: inherit;
	height: 100%;
}

.codeSurface :global(code),
.codeSurface :global(.hljs) {
	user-select: inherit;
	-webkit-user-select: inherit;
}

.codeSurface div[class*='codeContainer'] {
	max-width: unset !important;
	width: 100% !important;
}

.codeSurface pre[class*='hljs'] {
	max-width: unset !important;
	width: 100% !important;
}

.codeSurface pre {
	max-width: unset !important;
	width: 100% !important;
}

.codeSurface [class*='codeContainer'] {
	max-width: unset !important;
	width: 100% !important;
}