/*---------------------------------------------------------------------------------------------
 *  Copyright (c) Microsoft Corporation. All rights reserved.
 *  Licensed under the MIT License. See License.txt in the project root for license information.
 *--------------------------------------------------------------------------------------------*/

/** -- explorer */
.test-explorer {
	display: flex;
	flex-direction: column;
}

.test-explorer > .test-explorer-tree {
	flex-grow: 1;
	height: 0px;
}

.test-explorer .test-item {
	display: flex;
	align-items: center;
}

.test-explorer .monaco-list-row .monaco-action-bar {
	display: none;
	flex-shrink: 0;
	margin-right: 1px;
}

.test-explorer .monaco-list-row:hover .monaco-action-bar {
	display: initial;
}

.test-explorer .name {
	overflow: hidden;
	text-overflow: ellipsis;
	flex-grow: 1;
	height: 22px;
	align-items: center;
}

.test-explorer .computed-state {
	margin-right: 0.25em;
}

.test-explorer .test-explorer-messages {
	padding: 0 12px 8px;
}

.monaco-workbench
	.test-explorer
	.monaco-action-bar
	.action-item
	> .action-label {
	width: 16px;
	height: 100%;
	line-height: 22px;
	margin-right: 8px;
}

.codicon-testing-loading-icon::before {
	/* Use steps to throttle FPS to reduce CPU usage */
	animation: codicon-spin 1.25s steps(30) infinite;
}

/** -- peek */
.monaco-editor .zone-widget.test-output-peek .zone-widget-container.peekview-widget {
	border-top-width: 2px;
	border-bottom-width: 2px;
}

.monaco-editor .zone-widget.test-output-peek .zone-widget-container.peekview-widget .peekview-title .filename {
	max-height: 29px;
}

/** -- filter  */
.testing-filter-action-bar {
	flex-shrink: 0;
	margin: 4px 12px;
}

.testing-filter-action-item {
	display: flex !important;
	flex-grow: 1;
	max-width: 400px;
	align-items: center;
}

.testing-filter-action-bar .testing-filter-action-item {
	max-width: none;
}

.testing-filter-action-item .testing-filter-wrapper {
	flex-grow: 1;
}

/** -- decorations  */

.monaco-editor .testing-run-glyph {
	cursor: pointer;
}

.monaco-editor .testing-inline-message-content {
	cursor: pointer;
}

.monaco-editor .testing-inline-message-line {
	background: red;
}
