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.

3.4 KB
Raw Blame
.infraMonitoringContainer {
	display: flex;
	height: 100%;
	flex-direction: column;
}

.infraContentRow {
	display: flex;
	flex-direction: row;
	height: calc(100vh - 45px);
	width: 100%;
	position: relative;
	overflow-y: auto;

	:global(.periscope-btn) {
		&.ghost:not(:disabled) {
			border: none;
			background: transparent;

			&:hover {
				background: transparent;
				color: var(--bg-robin-500) !important;
				font-weight: 500;
			}
		}
	}

	&::-webkit-scrollbar {
		width: 8px;
		height: 8px;
	}

	&::-webkit-scrollbar-track {
		background: transparent;
	}

	&::-webkit-scrollbar-thumb {
		background: color-mix(in srgb, var(--l1-foreground) 20%, transparent);
		border-radius: 9999px;
	}

	&::-webkit-scrollbar-thumb:hover {
		background: color-mix(in srgb, var(--l1-foreground) 30%, transparent);
	}
}

.quickFiltersContainer {
	width: 280px;
	min-width: 280px;
	border-right: 1px solid var(--l1-border);
}

.quickFiltersContainerHeader {
	padding: 8px;
	border-bottom: 1px solid var(--l1-border);
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.listContainer {
	flex: 1;
	max-width: 100%;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	min-width: 800px;
	overflow-x: auto;

	> * {
		min-width: 0;
		max-width: 100%;
		box-sizing: border-box;
	}

	> :global(.ant-table-wrapper) {
		width: 100%;
		max-width: 100%;

		:global(.ant-spin-container) {
			display: flex !important;
			flex-direction: column;
		}

		:global(.ant-table),
		:global(.ant-table-container) {
			max-width: 100%;
		}
	}
}

.listContainerFiltersVisible {
	max-width: calc(100% - 280px);
}

.categorySelectorSection {
	padding: var(--spacing-4);
}

.sectionHeader {
	display: flex;
	align-items: center;
	gap: var(--spacing-4);
	margin-bottom: var(--spacing-4);

	&[data-type='filter'] {
		padding: 0 var(--spacing-4);
	}
}

.sectionLabel {
	font-size: var(--periscope-font-size-small);
	font-weight: var(--font-weight-semibold);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--l3-foreground);
	white-space: nowrap;
}

.sectionLine {
	flex: 1;
	height: 1px;
	background: var(--l1-border);
}

.categoryCard {
	background: var(--l2-background);
	border: 1px solid var(--l2-border);
	border-radius: var(--spacing-3);
	padding: var(--spacing-2);
}

.categoryList {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-1);
}

.categoryItem {
	display: flex;
	align-items: center;
	gap: var(--spacing-5);
	padding: var(--spacing-3) var(--spacing-4);
	border: none;
	border-radius: var(--spacing-2);
	background: transparent;
	cursor: pointer;
	width: 100%;
	text-align: left;
	transition:
		background-color 0.2s ease,
		color 0.2s ease;
	color: var(--l2-foreground);
	font-size: var(--periscope-font-size-base);
	--typography-color: var(--l1-foreground);

	&:hover:not(.categoryItemSelected) {
		background: var(--l2-background-hover);
	}

	svg {
		color: var(--l3-foreground);
		flex-shrink: 0;
		transition: color 0.2s ease;
	}

	&.categoryItemSelected {
		background: var(--accent-primary);
		color: var(--l1-background);
		font-weight: 600;

		&:hover {
			background: var(--accent-primary-hover, var(--accent-primary));
		}

		svg {
			color: var(--l1-foreground);
		}
	}
}

.quickFiltersSection {
	flex: 1;
	overflow-y: auto;

	&::-webkit-scrollbar {
		width: 0.1rem;
	}

	&::-webkit-scrollbar-track {
		background: transparent;
	}

	&::-webkit-scrollbar-thumb {
		background: var(--accent-primary);
	}
}

.k8SOpenQuickFilters {
	grid-area: quickFilters;
}