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.

13.5 KB
Raw Blame
.home-container {
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	height: 100%;
	width: 100%;

	background: color-mix(in srgb, var(--l1-background) 90%, transparent);

	&::-webkit-scrollbar {
		width: 0.3rem;
		height: 0.3rem;
	}

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

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

	&::-webkit-scrollbar-thumb:hover {
		background: var(--l1-background);
	}

	.home-header-left {
		display: flex;
		align-items: center;
		gap: 8px;

		color: var(--l1-foreground);
		font-family: Inter;
		font-size: 13px;
		font-style: normal;
		font-weight: 400;
		line-height: 24px; /* 142.857% */
	}

	.home-header-right {
		display: flex;
		align-items: center;
		gap: 8px;

		.welcome-checklist-btn {
			color: var(--l1-foreground);

			/* Bifrost (Ancient)/Content/sm */
			font-family: Inter;
			font-size: 13px;
			font-style: normal;
			line-height: 20px; /* 142.857% */
			letter-spacing: -0.07px;
		}
	}

	.sticky-header {
		position: sticky;
		top: 0;
		z-index: 100;
		background-color: var(--l1-background);
		border-bottom: 1px solid var(--l1-border);
	}
}

.hello-wave-container {
	.hello-wave-img-container {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		padding: 8px;
		border-radius: 4px;
		background: var(--l2-background);
	}
}

.home-content {
	padding: 1rem;
	display: flex;
	flex-direction: row;
	gap: 1rem;

	.home-left-content {
		width: 50%;
		display: flex;
		flex-direction: column;
		gap: 1rem;
	}

	.home-right-content {
		width: 50%;
		display: flex;
		flex-direction: column;
		gap: 1rem;

		position: relative;

		.checklist-card {
			.checklist-container {
				display: flex;
				flex-direction: row;
				justify-content: space-between;
				gap: 1rem;
			}

			.checklist-items-container {
				width: 60%;
				padding: 1rem;
				display: flex;
				flex-direction: column;
				gap: 2rem;

				.steps-progress-container {
					width: 100%;
					margin-left: -1rem;
				}
			}

			.checklist-container-right-img {
				position: relative;
				width: 30%;
				display: flex;
				align-items: center;

				.checklist-img-bg-container {
					width: 100%;
					height: 100%;
					position: absolute;

					.checklist-img-bg {
						position: absolute;
						top: 0;
						right: 8px;
					}
				}

				.checklist-img-container {
					width: 100%;
					height: 100%;

					display: flex;
					align-items: center;
					justify-content: flex-start;

					.checklist-img {
						padding: 1rem;
					}
				}
			}

			.periscope-card-footer {
				padding: 0px !important;
			}

			.checklist-footer-container {
				text-align: center;

				.ant-btn.ant-btn-link {
					color: var(--l2-foreground) !important;
					font-family: Inter;
					font-size: 12px;
					font-style: normal;
					font-weight: 400;
					line-height: 24px; /* 150% */
					letter-spacing: 0.12px;

					padding: 0px;
				}
			}
		}
	}
}

.welcome-container {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.welcome-title {
	color: var(--l1-foreground);
	font-family: Inter;
	font-size: 18px;
	font-style: normal;
	font-weight: 500;
	line-height: 28px; /* 155.556% */
	letter-spacing: -0.09px;
}

.welcome-description {
	color: var(--l2-foreground);
	font-family: Inter;
	font-size: 13px;
	font-style: normal;
	font-weight: 400;
	line-height: 24px; /* 171.429% */
}

.workspace-ready-container {
	display: flex;
	flex-direction: column;
	gap: 14px;

	.workspace-ready-header {
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;

		.ant-btn.periscope-btn.secondary {
			border-radius: 2px;
			border: 1px solid var(--l1-border);
			background: var(--l2-background);
		}
	}

	.workspace-ready-title {
		display: flex;
		flex-direction: row;
		align-items: center;
		gap: 8px;
	}

	.workspace-details {
		display: flex;
		flex-direction: row;
		align-items: center;
		gap: 16px;

		.ant-typography {
			color: var(--l2-foreground);
			font-variant-numeric: lining-nums tabular-nums slashed-zero;
			font-feature-settings:
				'dlig' on,
				'salt' on;
			font-family: Inter;
			font-size: 11px !important;
			font-style: normal;
		}

		.workspace-region {
			display: flex;
			flex-direction: row;
			align-items: center;
			gap: 8px;
		}

		.workspace-url {
			display: flex;
			flex-direction: row;
			align-items: center;
			gap: 8px;

			.workspace-url-text {
				display: flex;
				flex-direction: row;
				align-items: center;
				gap: 8px;
				font-size: var(--paragraph-small-400-font-size);
				font-weight: var(--paragraph-small-400-font-weight);
				line-height: var(--paragraph-small-400-line-height);
				letter-spacing: 0.12px;
				color: var(--foreground);
			}
		}

		.workspace-timezone {
			display: flex;
			flex-direction: row;
			align-items: center;
			gap: 8px;
		}
	}
}

.divider {
	width: 100%;

	svg {
		width: 100%;
	}
}

.active-ingestions-container {
	display: flex;
	flex-direction: column;

	.active-ingestion-card {
		width: 100%;
		display: flex;
		flex-direction: row;
		gap: 8px;

		&:not(:last-child) {
			border-bottom-left-radius: 0px;
			border-bottom-right-radius: 0px;
			border-bottom: 0px;
		}

		&:not(:first-child) {
			border-top-left-radius: 0px;
			border-top-right-radius: 0px;
		}

		.active-ingestion-card-content-container {
			display: flex;
			flex-direction: row;
			justify-content: space-between;
			gap: 8px;
		}

		.active-ingestion-card-content {
			display: flex;
			flex-direction: row;
			align-items: center;

			padding: 8px !important;
			font-weight: 400;

			gap: 8px;
		}

		.active-ingestion-card-actions {
			display: flex;
			flex-direction: row;
			align-items: center;
			gap: 8px;

			padding: 8px 16px !important;

			font-size: 11px;
			font-weight: 400;
			line-height: 18px; /* 150% */
			letter-spacing: 0.12px;

			border-left: 1px solid var(--l1-border);
			padding-left: 8px;

			width: 200px;

			cursor: pointer;

			&:hover {
				background-color: var(--l1-background-hover);
			}
		}

		.periscope-card-content {
			padding: 0px !important;
		}
	}
}

.explorers-container {
	display: flex;
	flex-direction: column;

	.explorer-card:not(:last-child) {
		border-bottom-left-radius: 0px;
		border-bottom-right-radius: 0px;
		border-bottom: 0px;
	}

	.explorer-card:not(:first-child) {
		border-top-left-radius: 0px;
		border-top-right-radius: 0px;
	}

	.section-container {
		display: flex;
		flex-direction: row;
		justify-content: space-between;

		.section-content {
			display: flex;
			flex-direction: row;
			gap: 14px;
			align-items: flex-start;

			.section-icon {
				display: flex;
				flex-direction: row;
				gap: 14px;
				margin-top: 3px;
			}

			.section-title {
				display: flex;
				flex-direction: column;
				gap: 6px;

				color: var(--l2-foreground);
				font-family: Inter;
				font-size: 12px;
				font-style: normal;
				font-weight: 400;
				line-height: 20px; /* 166.667% */
				letter-spacing: -0.06px;

				.title {
					color: var(--l1-foreground);
					font-family: Inter;
					font-size: 13px;
					font-style: normal;
					font-weight: 400;
					line-height: 20px; /* 142.857% */
					letter-spacing: -0.07px;
				}
			}
		}

		.section-actions {
			display: flex;
			flex-direction: column;
			gap: 14px;

			justify-content: flex-end;

			.ant-btn {
				color: var(--l2-foreground);
				font-family: Inter;
				font-size: 11px;
				font-style: normal;
				font-weight: 400;
				line-height: 18px; /* 150% */
				letter-spacing: 0.12px;

				padding: 8px;

				justify-content: flex-start;

				&:hover {
					background-color: var(--l1-background-hover) !important;
				}
			}
		}
	}
}

.home-data-card {
	.home-data-card-header {
		display: flex;
		flex-direction: row;
		align-items: center;
		gap: 8px;
		height: 32px;

		color: var(--l2-foreground);
		font-family: Inter;
		font-size: 13px;
		font-style: normal;
		font-weight: 500;
		line-height: 20px; /* 142.857% */
		letter-spacing: -0.07px;
	}

	.saved-views-header {
		width: 100%;
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 8px;

		.saved-views-header-actions {
			display: flex;
			flex-direction: row;
			gap: 8px;

			.views-tabs {
				.tab {
					display: flex;
					flex-direction: row;
					align-items: center;
					gap: 8px;

					font-size: 11px;

					border-radius: 2px;
					border: 1px solid var(--l1-border);
					background: var(--l2-background);

					&.selected {
						background: var(--l3-background);
						color: var(--primary);
					}
				}
			}
		}
	}

	.services-header {
		width: 100%;
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 8px;

		.services-header-actions {
			display: flex;
			flex-direction: row;
			gap: 8px;

			.ant-select {
				width: 150px;

				.ant-select-selector {
					background-color: transparent !important;
					border: none !important;
				}
			}
		}
	}

	.home-data-item-container {
		height: 250px;
		overflow: auto;

		&::-webkit-scrollbar {
			width: 0.2rem;
			height: 0.2rem;
		}

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

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

		&::-webkit-scrollbar-thumb:hover {
			background: var(--l3-background);
		}

		.home-data-item {
			padding: 12px;
			display: flex;
			flex-direction: row;
			justify-content: space-between;
			align-items: center;

			cursor: pointer;

			.home-data-item-name-container {
				display: flex;
				flex-direction: row;
				align-items: center;
				gap: 8px;
			}

			.home-data-item-name {
				color: var(--l2-foreground);
				font-family: Inter;
				font-size: 13px;
				font-style: normal;
				font-weight: 500;
				line-height: 20px; /* 142.857% */
				letter-spacing: -0.07px;
			}

			&:nth-child(odd) {
				background: color-mix(in srgb, var(--l1-foreground) 1%, transparent);
			}
		}

		.home-data-item-tag {
			display: flex;
			gap: 6px;
		}

		&.services-list-container {
			height: 268px !important;
			overflow: hidden;

			.ant-table-row {
				cursor: pointer;
			}
		}

		.services-list {
			overflow-y: auto;
		}
	}

	.periscope-card-header {
		padding: 4px 12px !important;
	}

	.periscope-card-content {
		padding: 0px !important;
	}

	.periscope-card-footer {
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: flex-end;
		gap: 8px;

		padding: 4px 12px !important;

		border-radius: 0px 0px 6px 6px;
		border: 1px solid var(--l1-border);
		background: var(--l2-background);

		.home-data-card-footer {
			display: flex;
			justify-content: flex-end;

			.learn-more-link {
				color: var(--l2-foreground);
				font-family: Inter;
				font-size: 12px;
				font-style: normal;
				font-weight: 400;
				line-height: 20px; /* 142.857% */
				letter-spacing: -0.07px;

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

	&.loading-card {
		.periscope-card-content {
			padding: 16px !important;
			min-height: 320px;
		}
	}

	&.error-card {
		.periscope-card-content {
			padding: 16px !important;
			min-height: 320px;
		}
	}
}

.empty-state-container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 12px;

	height: 100%;
	width: 100%;

	height: 400px;

	border-radius: 6px;
	border: 1px dashed var(--l1-border);

	.empty-state-content-container {
		display: flex;
		flex-direction: column;
		gap: 16px;
	}

	.empty-state-content {
		display: flex;
		flex-direction: column;
		gap: 6px;
	}

	.empty-state-icon {
		width: 36px;
		height: 36px;
	}

	.empty-title {
		color: var(--l1-foreground);
		font-family: Inter;
		font-size: 13px;
		font-style: normal;
		font-weight: 500;
		line-height: 18px; /* 128.571% */
		letter-spacing: -0.07px;
	}

	.empty-description {
		color: var(--l3-foreground);
		font-family: Inter;
		font-size: 12px;
		font-style: normal;
		font-weight: 400;
		line-height: 18px; /* 128.571% */
		letter-spacing: -0.07px;
	}

	.empty-actions-container {
		display: flex;
		flex-direction: row;
		gap: 12px;

		.ant-btn.periscope-btn.secondary {
			display: flex;
			height: 32px;
			padding: 8px 16px;
			justify-content: center;
			align-items: center;
			gap: 8px;

			border-radius: 1.484px;
			border: 1px solid var(--l1-border);
			background: var(--l2-background);

			color: var(--l3-foreground);
			font-family: Inter;
			font-size: 11px;
			font-style: normal;
			font-weight: 500;
			line-height: 17.812px; /* 150% */
		}
	}
}

.learn-more-link {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 4px;

	color: var(--primary-background-hover);
	font-family: Inter;
	font-size: 11px;
	font-style: normal;
	font-weight: 500;
	line-height: 18px; /* 128.571% */
	letter-spacing: -0.07px;
}

.welcome-checklist-popover {
	padding: 12px 24px;
	border-radius: 2px;
	border: 1px solid var(--l2-border);
	background: var(--l2-background);
	color: var(--l2-foreground);

	.ant-popover-content {
		border: none;
	}

	.ant-popover-inner {
		box-shadow: none !important;
		background-color: transparent !important;
	}

	.home-checklist-container {
		background-color: transparent !important;
		width: 420px;
	}
}

.home-services-container {
	.ant-table-thead {
		.ant-table-cell {
			background-color: transparent !important;
			color: var(--l2-foreground);
			font-family: Inter;
			font-size: 11px;
			font-style: normal;
			font-weight: 600;
			line-height: 18px; /* 150% */
			letter-spacing: 0.6px;
			text-transform: uppercase;
			padding: 12px !important;

			border-bottom: none !important;

			&::before {
				content: none !important;
			}
		}
	}

	.ant-table-row {
		.ant-table-cell {
			padding: 12px !important;
			border-bottom: none !important;
		}

		&:nth-child(odd) {
			background: color-mix(in srgb, var(--l1-foreground) 1%, transparent);
		}
	}
}