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


jobhistory-component .all-jobs {
	display: inline-block;
	font-size: 15px;
}

.overview-container .overview-tab .resultsViewCollapsible {
	padding: 15px;
	display: inline;
}

.job-heading {
	text-align: left;
	padding-left: 13px;
	font-size: 1.5vw;
}

.overview-container {
	padding-top: 10px;
}

.vs-dark .overview-container .overview-tab {
	color: #fff;
}

.hc-black .overview-container .overview-tab {
	color: #ffffff;
}

.overview-container > .overview-tab {
	position: relative;
	margin-bottom: 1px;
	width: 100%;
	color: #4a4a4a;
	overflow: hidden;
}

input#accordion {
	position: absolute;
	opacity: 0;
	z-index: -1;
}

.vs-dark .overview-container .overview-tab label {
	background: #444444;
}

.hc-black .overview-container .overview-tab label {
	background: #000000;
	border: 1px solid #2b56f2;
}

.overview-container .overview-tab label {
	position: relative;
	display: block;
	padding: 0 0 0 1em;
	background: #f4f4f4;
	font-weight: bold;
	line-height: 3;
	cursor: pointer;
	width: 100%;
}

.vs-dark .overview-tab .accordion-content {
	background: #333333;
}

.hc-black .overview-tab .accordion-content {
	background: #000000;
	border: 1px solid #2b56f2;
}

.overview-tab .accordion-content {
	max-height: 0;
	overflow: hidden;
	background: #eaeaea;
	-webkit-transition: max-height .35s;
	-o-transition: max-height .35s;
	transition: max-height .35s;
	width: 100%;
}

.overview-tab .accordion-content p {
	margin: 1em;
}

/* :checked */
input#accordion:checked ~ .accordion-content {
	max-height: 10em;
}

/* Icon */
.overview-container .overview-tab label::after {
	position: absolute;
	right: 0;
	top: 0;
	display: block;
	width: 3em;
	height: 3em;
	line-height: 3;
	text-align: center;
	-webkit-transition: all .3s;
	-o-transition: all .3s;
	transition: all .3s;
}

.all-jobs > .back-button-icon {
	content: url('../common/media/back.svg');
	width: 20px;
	margin-right: 10px;
	float: left;
	cursor: pointer;
	padding-left: 13px;
	padding-bottom: 10px;
}

.vs-dark.monaco-shell .all-jobs >.back-button-icon,
.hc-black.monaco-shell .all-jobs >.back-button-icon {
	content: url('../common/media/back_inverse.svg');
}

.vs .action-label.icon.newStepIcon {
	background-image: url('../common/media/new.svg');
}

.vs-dark .action-label.icon.newStepIcon,
.hc-black .action-label.icon.newStepIcon {
	background-image: url('../common/media/new_inverse.svg');
}

jobhistory-component .hc-black .icon.edit,
jobhistory-component .vs-dark .icon.edit {
	background-image: url('../../../media/icons/edit_inverse.svg');
}

jobhistory-component .vs .icon.edit {
	background-image: url('../../../media/icons/edit.svg');
}

jobhistory-component .actions-container .icon.edit {
	background-position: 0% 50%;
	background-repeat: no-repeat;
	background-size: 12px;
}

a.action-label.icon.runJobIcon.non-runnable {
	opacity: 0.4;
	cursor: default;
}

a.action-label.icon.stopJobIcon.non-runnable {
	opacity: 0.4;
	cursor: default;
}

.accordion-content #col1,
.accordion-content #col2,
.accordion-content #col3,
.accordion-content #col4 {
	padding: 10px;
}

.accordion-content #col1,
.accordion-content #col3 {
	font-weight: bold;
}

.accordion-content #col2 {
	padding-right: 300px;
}

table.step-list tr.step-row td {
	padding-right: 10px;
}

.history-details {
	flex: 1 1 auto;
	display: flex;
}

.history-details > .job-steps {
	flex: 1 1 auto;
	display: flex;
	border-left: 3px solid #f4f4f4;
	padding-left: 10px;
	flex-direction: column;
	width: 100%;
}

.vs-dark .history-details > .job-steps {
	border-left: 3px solid #444444;
}

.hc-black .history-details > .job-steps {
	border-left: 3px solid #2b56f2;
}

.history-details > .job-steps > table.step-list {
	padding-bottom: 10px;
	display: flex;
	flex: 1 1;
	overflow: scroll;
	max-height: 200px;
}

.step-table .monaco-tree .monaco-tree-rows.show-twisties > .monaco-tree-row.has-children > .content:before {
	background: none;
	background-image: none;
}

.step-table .monaco-tree.focused .monaco-tree-rows.show-twisties > .monaco-tree-row.has-children.selected:not(.loading) > .content:before {
	background-image: none;
}

.step-table .list-row .status-icon {
	height: 10px;
	width: 10px;
	display: inline-block;
	vertical-align: middle;
}

.step-table .list-row .label {
	padding-left: 10px;
	display: inline-block;
	vertical-align: middle;
}

.job-passed {
	background: green;
}

.job-failed {
	background: red;
}

.job-unknown {
	background: yellow;
}

.date-column {
	padding-left: 50px;
	width: 140px;
}

.step-table {
	flex: 1 1 auto;
}

.prev-run-list-container {
	display: flex;
	flex-direction: column;
}

jobhistory-component {
	display: flex;
	flex-direction: column;
}

jobhistory-component > .jobhistory-heading-container {
	display: flex;
}

jobhistory-component > .jobhistory-heading-container > .icon.in-progress {
	width: 20px;
	height: 20px;
	padding-top: 16px;
	padding-left: 20px;
}

jobhistory-component > .agent-actionbar-container {
	border-top: 3px solid #f4f4f4;
}

.vs-dark jobhistory-component > .agent-actionbar-container {
	border-top: 3px solid #444444;
}

.hc-black jobhistory-component > .agent-actionbar-container {
	border-top: 3px solid #2b56f2;
}

jobhistory-component .step-table.prev-run-list .monaco-tree-wrapper .monaco-tree-row {
	width: 96%;
}

jobhistory-component .agent-actionbar-container > .monaco-toolbar.carbon-taskbar {
	margin: 10px 0px 5px 0px;
}