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.

5.4 KB
Raw Blame
.logs-list-view-container {
	flex: 1;
	display: flex;
	flex-direction: column;
	font-family: 'Space Mono', monospace;
	font-size: 14px;
	font-weight: 400;
	line-height: 18px;
	letter-spacing: -0.005em;
	text-align: left;
	min-height: 0;

	.logs-list-table-view-container {
		.data-table-container {
			border: none !important;
		}

		table {
			thead {
				tr {
					th {
						font-family: 'Space Mono', monospace;
						font-size: 12px;
						color: white !important;

						.cursor-col-resize {
							width: 24px !important;
							cursor: col-resize !important;
							opacity: 1 !important;
							background-color: transparent !important;
							border: none !important;

							&:hover {
								opacity: 1 !important;
							}
						}
					}

					td {
						font-family: 'Space Mono', monospace;
						font-size: 12px;
					}

					border-bottom: 1px solid var(--l1-border) !important;
				}

				border-bottom: 1px solid var(--l1-border) !important;
				background-color: var(--l2-background) !important;

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

			tbody {
				tr {
					td {
						font-family: 'Space Mono', monospace;
						font-size: 12px;
						padding: 4px !important;

						white-space: pre-wrap !important;
						overflow: hidden !important;
						text-overflow: ellipsis !important;
					}

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

					border-bottom: 1px solid var(--l1-border) !important;
				}

				tr:has(.active-log) {
					background-color: rgba(78, 116, 248, 0.5) !important; // same as bg-robin-500
					color: var(--l1-foreground) !important;
				}
			}

			thead {
				z-index: 2 !important;
			}

			.log-state-indicator {
				padding-left: 0 !important;

				.line {
					margin: 0 0 !important;
				}
			}
		}

		.sticky-header-table-container {
			&::-webkit-scrollbar {
				width: 0.4rem;
				height: 0.4rem;
			}

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

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

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

		&.small {
			tbody {
				tr {
					td {
						.table-cell-content {
							font-size: 12px !important;
						}
					}
				}
			}
		}

		&.medium {
			tbody {
				tr {
					td {
						.table-cell-content {
							font-size: 14px !important;
						}
					}
				}
			}
		}

		&.large {
			tbody {
				tr {
					td {
						.table-cell-content {
							font-size: 16px !important;
						}
					}
				}
			}
		}

		&.max-lines-1 {
			tbody {
				tr {
					td {
						.table-cell-content {
							font-size: 12px !important;
						}
					}
				}
			}
		}

		&[data-max-lines-per-row='1'] {
			tbody {
				tr {
					td {
						.table-cell-content {
							display: -webkit-box;
							-webkit-box-orient: vertical;
							-webkit-line-clamp: 1;
							overflow: hidden;
							text-overflow: ellipsis;
						}
					}
				}
			}
		}

		&[data-max-lines-per-row='2'] {
			tbody {
				tr {
					td {
						.table-cell-content {
							display: -webkit-box;
							-webkit-box-orient: vertical;
							-webkit-line-clamp: 2;
							overflow: hidden;
							text-overflow: ellipsis;
						}
					}
				}
			}
		}

		&[data-max-lines-per-row='3'] {
			tbody {
				tr {
					td {
						.table-cell-content {
							display: -webkit-box;
							-webkit-box-orient: vertical;
							-webkit-line-clamp: 3;
							overflow: hidden;
							text-overflow: ellipsis;
						}
					}
				}
			}
		}

		&[data-max-lines-per-row='4'] {
			tbody {
				tr {
					td {
						.table-cell-content {
							display: -webkit-box;
							-webkit-box-orient: vertical;
							-webkit-line-clamp: 4;
							overflow: hidden;
							text-overflow: ellipsis;
						}
					}
				}
			}
		}

		&[data-max-lines-per-row='5'] {
			tbody {
				tr {
					td {
						display: -webkit-box;
						-webkit-box-orient: vertical;
						-webkit-line-clamp: 5;
						overflow: hidden;
						text-overflow: ellipsis;
					}
				}
			}
		}

		&[data-max-lines-per-row='6'] {
			tbody {
				tr {
					td {
						.table-cell-content {
							display: -webkit-box;
							-webkit-box-orient: vertical;
							-webkit-line-clamp: 6;
							overflow: hidden;
							text-overflow: ellipsis;
						}
					}
				}
			}
		}

		&[data-max-lines-per-row='7'] {
			tbody {
				tr {
					td {
						.table-cell-content {
							display: -webkit-box;
							-webkit-box-orient: vertical;
							-webkit-line-clamp: 7;
							overflow: hidden;
							text-overflow: ellipsis;
						}
					}
				}
			}
		}

		&[data-max-lines-per-row='8'] {
			tbody {
				tr {
					td {
						.table-cell-content {
							display: -webkit-box;
							-webkit-box-orient: vertical;
							-webkit-line-clamp: 8;
							overflow: hidden;
							text-overflow: ellipsis;
						}
					}
				}
			}
		}

		&[data-max-lines-per-row='9'] {
			tbody {
				tr {
					td {
						.table-cell-content {
							display: -webkit-box;
							-webkit-box-orient: vertical;
							-webkit-line-clamp: 9;
							overflow: hidden;
							text-overflow: ellipsis;
						}
					}
				}
			}
		}

		&[data-max-lines-per-row='10'] {
			tbody {
				tr {
					td {
						.table-cell-content {
							display: -webkit-box;
							-webkit-box-orient: vertical;
							-webkit-line-clamp: 10;
							overflow: hidden;
							text-overflow: ellipsis;
						}
					}
				}
			}
		}
	}
}

.logs-linked-row td {
	background-color: var(--row-active-bg) !important;
}