Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

1.9 KB
Raw Blame
.entityDetailDrawer {
	border-color: var(--l2-border) !important;
	background: var(--l2-background) !important;
	box-shadow: -4px 10px 16px 2px var(--l1-shadow);

	width: 70%;
	// TODO(H4ad): Improve this in a component level
	max-width: 70% !important;
	overscroll-behavior: contain;

	&:focus-visible,
	&:focus {
		outline: none;
	}

	[data-slot='drawer-header'] {
		padding: var(--spacing-4) var(--spacing-8);
		border-bottom: 1px solid var(--l1-border);
		background: var(--l2-background);
	}

	[data-slot='drawer-description'] {
		display: flex;
		flex: 1;
		flex-direction: column;
		overflow-y: auto;
		padding: var(--spacing-8);
		margin: 0;
		// On a 13" screen the drawer itself is narrower than 900px, and a flat
		// minimum there clips the right edge of every tab
		box-sizing: border-box;
		min-width: min(900px, 100%);
	}
}

// The kind reads as a label on the name, not as part of it
.entityKind {
	display: inline-flex;
	align-items: center;
	gap: var(--spacing-2);
	flex: none;
	padding: var(--spacing-1) var(--spacing-3);
	border-radius: 2px;
	background: var(--l3-background);
	color: var(--l2-foreground);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.title {
	font-family: var(--periscope-font-family-mono);

	--typography-margin: 0px var(--spacing-1) 0px 0px;
}

.entityDetailsEntity {
	display: flex;
	flex-direction: column;
}

// Tracks size to the entity's field count instead of a fixed four, so entities
// with more fields stay on one row rather than spilling a near-empty second one.
.entityDetailsGrid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: var(--spacing-4) var(--spacing-6);
}

.viewsTabsContainer {
	margin-top: 1.5rem;
	display: flex;
	justify-content: space-between;
	align-items: center;

	[data-slot='toggle-group-button'] {
		width: 114px;
	}
}

.viewTitle {
	display: flex;
	gap: var(--margin-2);
	align-items: center;
	justify-content: center;
}