@import '~shared/styles/colors';
@import '~shared/styles/ansi';

.term {
	background: @gray-dark;
	border-radius: 2px;
	padding: 20px;

	.exitcode {
		-moz-user-select: none;
		-webkit-user-select: none;
		color: rgba(255, 255, 255, 0.6);
		font-family: 'Roboto Mono', monospace;
		font-size: 13px;
		margin-top: 10px;
		min-width: 20px;
		padding: 0px;
		user-select: none;
	}
}


.line {
	color: @white;
	display: flex;
	line-height: 19px;
	max-width: 100%;

	a,
	span,
	div {
		font-family: 'Roboto Mono', monospace;
		font-size: 12px;
	}

	a {
		text-decoration: none;
		color: rgba(255, 255, 255, 0.6);
	}

	div:first-child {
		-webkit-user-select: none;
		color: rgba(255, 255, 255, 0.6);
		min-width: 20px;
		padding-right: 20px;
		user-select: none;
	}

	div:nth-child(2) {
		flex: 1 1 auto;
		min-width: 0px;
		white-space: pre-wrap;
		word-wrap: break-word;
	}

	div:last-child {
		-webkit-user-select: none;
		color: rgba(255, 255, 255, 0.6);
		padding-left: 20px;
		user-select: none;
	}
}

.highlight {
	.line;
	color: @black;
	background-color: @yellow;
}

// log loading message
.loading {
	background: @gray-dark;
	border-radius: 2px;
	color: @white;
	font-family: 'Roboto Mono', monospace;
	font-size: 13px;
	padding: 20px;
}

// log error message
.error {
	background: @gray-dark;
	border-radius: 2px;
	color: @red;
	font-size: 14px;
	margin-bottom: 10px;
	padding: 20px;
}
