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.

2.9 KB
Raw Blame
// Fixed height so the modal doesn't resize when switching tabs.
.panel {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding-top: 12px;
	height: 460px;
}

.footer {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin-top: auto;
}

.form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.label {
	font-size: var(--font-size-sm);
	color: var(--l2-foreground);
}

.required {
	color: var(--danger-background);
}

// Title row: icon picker joined flush to the left of the name input.
.titleRow {
	display: flex;
	gap: 4px;
	align-items: center;

	// The icon picker renders its dropdown inline (no portal); lift it above the
	// description/tags fields below it.
	:global([data-radix-popper-content-wrapper]) {
		z-index: 1100 !important;
	}
}

.imageTrigger {
	border-radius: 2px 0 0 2px;
}

.titleInput {
	flex: 1;
	border-radius: 0 2px 2px 0;
}

.hint {
	font-size: var(--font-size-xs);
	color: var(--l3-foreground);
}

.loading {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	color: var(--l3-foreground);
	font-size: var(--font-size-sm);
}

// "From a template" tab: a centered browse-and-request placeholder until the
// templates BE lands. Fixed height matches .panel so switching tabs won't resize.
.templatesPanel {
	height: 460px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 6px 24px;
	text-align: center;
}

.templatesIcon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-bottom: 4px;
	border-radius: 10px;
	color: var(--bg-robin-400);
	background: var(--callout-primary-background);
	border: 1px solid var(--callout-primary-border);
}

.templatesDesc {
	max-width: 360px;
}

.browseLink {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 4px;
	color: var(--bg-robin-400);
	font-size: var(--font-size-sm);
	font-weight: var(--font-weight-medium);

	&:hover {
		color: var(--bg-robin-300);
	}
}

.requestForm {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
	max-width: 380px;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid var(--l2-border);
}

.requestHeader {
	color: var(--l1-foreground);
}

.requestRow {
	display: flex;
	gap: 8px;
}

.requestInput {
	flex: 1;
}

.importHeader {
	font-size: var(--font-size-sm);
	color: var(--l2-foreground);
}

.editorWrap {
	position: relative;
}

.expandBtn {
	position: absolute;
	top: 6px;
	right: 6px;
	z-index: 2;
}

.editor {
	border: 1px solid var(--l2-border);
	border-radius: 6px;
	overflow: hidden;
}

.editorExpanded {
	margin-top: 8px;
}

.jsonError {
	display: flex;
	align-items: center;
	gap: 8px;
}

.errorText {
	color: var(--danger-background);
	font-size: var(--font-size-sm);
}

.importFooter {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
}