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.

7.0 KB
Raw Blame
.invite-team-members-table {
	width: 100%;
	min-height: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.invite-team-members-table-header {
	display: flex;
	gap: 16px;
	align-items: center;
	flex-shrink: 0;
	height: auto;
	width: 100%;
	justify-content: flex-end;

	> div:first-child {
		flex: 0 0 180px;
		width: 180px;
	}

	> div:nth-child(2) {
		flex: 1 0 0;
		min-width: 0;
	}

	> div:last-child {
		flex: 0 0 32px;
		width: 32px;
	}

	.table-header-cell {
		color: var(--l1-foreground);
		font-family: Inter;
		font-size: 13px;
		font-style: normal;
		font-weight: 600;
		line-height: 100%;
		letter-spacing: -0.065px;
	}
}

.invite-team-members-container {
	display: flex;
	flex-direction: column;
	gap: 16px !important;
	width: 100%;
	flex: 0 1 auto;
	min-height: 0;
	overflow-x: hidden;
}

.invite-team-members-error-callout {
	background: color-mix(in srgb, var(--danger-background) 10%, transparent);
	border: 1px solid color-mix(in srgb, var(--danger-background) 20%, transparent);
	border-radius: 4px;
	animation: horizontal-shaking 300ms ease-out;
}

.team-member-row {
	display: flex;
	width: 100%;

	> div:first-child {
		flex: 0 0 180px;
		width: 180px;
		margin-right: 16px;
	}

	> div:nth-child(2) {
		flex: 1 0 0;
		min-width: 0;
		margin-right: 8px;
	}

	> div:last-child {
		flex: 0 0 32px;
		width: 32px;
	}
}

.team-member-cell {
	display: flex;
	flex-direction: column;
	gap: 8px;

	&.email-cell {
		width: 180px;
		flex: 0 0 180px;
	}

	&.role-cell {
		flex: 1 0 0;
		min-width: 0;
	}

	&.action-cell {
		display: flex;
		align-items: flex-end;
		justify-content: center;
		flex: 0 0 32px;
		width: 32px;
		height: 32px;
	}
}

.team-member-email-input {
	width: 100%;
	height: 32px !important;

	height: 32px !important;
	border-radius: 2px;
	background: var(--l3-background);
	border: 1px solid var(--l1-border);
	color: var(--l1-foreground);
	font-family: Inter, sans-serif;
	font-size: 13px;
	font-weight: 400;
	line-height: 1;
	letter-spacing: -0.065px;
	padding: 6px 8px;
	box-sizing: border-box;

	&::placeholder {
		color: var(--l3-foreground);
	}

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

	&:focus {
		border-color: var(--bg-robin-500);
		box-shadow: none;
	}
}

.team-member-role-select {
	width: 100%;

	.ant-select-selector {
		height: 32px !important;
		border-radius: 2px !important;
		background: var(--l3-background) !important;
		border: 1px solid var(--l1-border) !important;
		color: var(--l1-foreground) !important;
		font-family: Inter, sans-serif !important;
		font-size: 13px !important;
		font-weight: 400 !important;
		line-height: 1 !important;
		letter-spacing: -0.065px !important;
		padding: 0 8px !important;
		box-sizing: border-box !important;

		.ant-select-selection-placeholder {
			color: var(--l3-foreground) !important;
		}

		.ant-select-selection-item {
			color: var(--l1-foreground) !important;
			line-height: 30px !important;
		}
	}

	.ant-select-arrow {
		color: var(--l3-foreground) !important;
	}

	&.ant-select-focused .ant-select-selector {
		border-color: var(--bg-robin-500) !important;
	}

	&:hover .ant-select-selector {
		border-color: var(--bg-robin-500) !important;
	}
}

.remove-team-member-button {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 32px !important;
	height: 32px !important;
	min-width: 32px !important;
	border: none !important;
	border-radius: 2px !important;
	background: transparent !important;
	color: var(--danger-background) !important;
	opacity: 0.6 !important;
	cursor: pointer;
	padding: 0 !important;
	transition:
		background-color 0.2s,
		opacity 0.2s;
	box-shadow: none !important;

	svg {
		color: var(--danger-background) !important;
		width: 12px !important;
		height: 12px !important;
	}

	&:hover {
		background: color-mix(
			in srgb,
			var(--danger-background) 10%,
			transparent
		) !important;
		opacity: 0.9 !important;
		color: var(--danger-background) !important;

		svg {
			color: var(--danger-background) !important;
		}
	}

	&:active {
		opacity: 0.7 !important;
		background: color-mix(
			in srgb,
			var(--danger-background) 15%,
			transparent
		) !important;
	}

	&:focus-visible {
		outline: 2px solid var(--bg-robin-500);
		outline-offset: 2px;
	}
}

.email-error-message,
.role-error-message {
	font-size: 12px;
	font-weight: 400;
	line-height: 16px;
	margin-top: 4px;
	width: 100%;
	display: block;
	color: var(--danger-background);
}

.invite-team-members-add-another-member-container {
	width: 100%;
	display: flex !important;
	justify-content: flex-start !important;
	align-items: center;
	margin-top: 0;
	flex-shrink: 0;
	height: auto;
}

.add-another-member-button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	border-radius: 2px;
	border: 1px dashed var(--l1-border) !important;
	background: transparent !important;
	color: var(--l2-foreground);
	font-family: Inter, sans-serif;
	font-size: 11px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0;
	height: auto !important;
	padding: 6px 8px;
	transition: all 0.2s;
	cursor: pointer;

	// Ensure icon is visible
	svg,
	[class*='icon'] {
		color: var(--l2-foreground) !important;
		display: inline-block !important;
		opacity: 1 !important;
	}

	button,
	& {
		border: 1px dashed var(--l1-border) !important;
		background: transparent !important;
	}

	&:hover {
		border-color: var(--bg-robin-500) !important;
		border-style: dashed !important;
		color: var(--l1-foreground);
		background: color-mix(
			in srgb,
			var(--primary-background) 10%,
			transparent
		) !important;

		svg,
		[class*='icon'] {
			color: var(--l1-foreground) !important;
		}

		button,
		& {
			border-color: var(--bg-robin-500) !important;
			border-style: dashed !important;
			background: color-mix(
				in srgb,
				var(--primary-background) 10%,
				transparent
			) !important;
		}
	}

	&:focus-visible {
		outline: 2px solid var(--bg-robin-500);
		outline-offset: 2px;
	}
}

.questions-form-container {
	.error-message-container,
	.success-message-container,
	.partially-sent-invites-container {
		border-radius: 4px;
		width: 100%;
		display: flex;
		align-items: center;

		.error-message,
		.success-message {
			font-size: 12px;
			font-weight: 400;

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

	.invite-users-error-message-container,
	.invite-users-success-message-container {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;

		.success-message {
			color: var(--bg-success-500);
		}
	}

	.partially-sent-invites-container {
		margin-top: 16px;
		padding: 8px;
		border: 1px solid var(--l1-border);
		background-color: var(--card);

		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;

		.partially-sent-invites-message {
			color: var(--bg-warning-500);

			font-size: 12px;
			font-weight: 400;

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

@keyframes horizontal-shaking {
	0% {
		transform: translateX(0);
	}
	25% {
		transform: translateX(5px);
	}
	50% {
		transform: translateX(-5px);
	}
	75% {
		transform: translateX(5px);
	}
	100% {
		transform: translateX(0);
	}
}