@import "theme-@{THEME}.less";

#dlg-datapoints {
}

.widgets {
	display: grid;
	grid-template-columns: min-content 1fr;
	gap: 8px 16px;

	.label {
		margin-top: 4px;
	}

	input[type="text"], textarea {
		width: 100%;
	}

	.datapoints {
		font: "Roboto Mono", monospace;
		display: grid;
		grid-template-columns: repeat(4, min-content);
		gap: 6px 8px;
		margin-bottom: 8px;
		white-space: nowrap;

		div {
			white-space: nowrap;
		}

		.invalid {
			color: #c83737;
		}

		.delete img {
			height: 16px;
		}

		.values img {
			height: 16px;
			width: 16px;
		}
	}

	.action {
		display: grid;
		grid-template-columns: min-content min-content 1fr;
		grid-gap: 8px;

		#run-result {
			font-family: 'Roboto Mono', monospace;
			margin-left: 16px;
			padding: 16px;
			background: @bg2;
			min-height: 8em;

			&.ok {
				color: @text1;
			}

			&.error {
				color: @error;
			}
		}
	}
}
