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

.monaco-workbench.nopanel .part.panel {
	display: none !important;
	visibility: hidden !important;
}

.monaco-workbench .part.panel {
	z-index: initial;
}

.monaco-workbench .part.panel .title {
	height: 35px;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.monaco-workbench .part.panel.bottom .title {
	border-top-width: 1px;
	border-top-style: solid;
}

.monaco-workbench.noeditorarea .part.panel.bottom .title {
	border-top-width: 0; /* no border when editor area is hiden */
}

.monaco-workbench .part.panel.right {
	border-left-width: 1px;
	border-left-style: solid;
}

.monaco-workbench.noeditorarea .part.panel.right {
	border-left-width: 0; /* no border when editor area is hiden */
}

.monaco-workbench .part.panel > .title > .title-actions .monaco-action-bar .action-item .action-label {
	outline-offset: -2px;
}

/** Panel Switcher */

.monaco-workbench .part.panel > .title > .panel-switcher-container.composite-bar > .monaco-action-bar .action-label.toggle-more {
	background-image: url('ellipsis-light.svg');
	display: block;
	height: 28px;
	min-width: 28px;
	margin-left: 0px;
	margin-right: 0px;
	background-size: 16px;
	background-repeat: no-repeat;
	background-position: center center;
}

.vs-dark .monaco-workbench .part.panel > .title > .panel-switcher-container.composite-bar > .monaco-action-bar .action-label.toggle-more {
	background-image: url('ellipsis-dark.svg');
}

.hc-black .monaco-workbench .part.panel > .title > .panel-switcher-container.composite-bar > .monaco-action-bar .action-label.toggle-more {
	background-image: url('ellipsis-hc.svg');
}

.monaco-workbench .part.panel > .title > .panel-switcher-container > .monaco-action-bar {
	line-height: 27px; /* matches panel titles in settings */
	height: 35px;
}

.monaco-workbench .part.panel > .title > .panel-switcher-container > .monaco-action-bar .action-item:first-child {
	padding-left: 12px;
}

.monaco-workbench .part.panel > .title > .panel-switcher-container > .monaco-action-bar .action-item {
	text-transform: uppercase;
	padding-left: 10px;
	padding-right: 10px;
	font-size: 11px;
	padding-bottom: 3px; /* puts the bottom border down */
	padding-top: 4px;
	display: flex;
}

.monaco-workbench .part.panel > .title > .panel-switcher-container > .monaco-action-bar .action-item .action-label{
	margin-right: 0;
}

.monaco-workbench .part.panel > .title > .panel-switcher-container > .monaco-action-bar .action-item:last-child {
	padding-right: 10px;
}

.monaco-workbench .part.panel > .title > .panel-switcher-container > .monaco-action-bar .action-item.checked .action-label {
	border-bottom: 1px solid;
	margin-right: 0;
}

.monaco-workbench .part.panel > .title > .panel-switcher-container > .monaco-action-bar .badge {
	margin-left: 8px;
}

.monaco-workbench .part.panel > .title > .panel-switcher-container > .monaco-action-bar .badge .badge-content {
	padding: 3px 5px;
	border-radius: 11px;
	font-size: 11px;
	min-width: 18px;
	min-height: 18px;
	line-height: 11px;
	font-weight: normal;
	text-align: center;
	display: inline-block;
	box-sizing: border-box;
	}

/** Actions */

.monaco-workbench .panel .monaco-action-bar .action-item.select-container {
	cursor: default;
}

.monaco-workbench .panel .monaco-action-bar .action-item .monaco-select-box {
	cursor: pointer;
	min-width: 110px;
	margin-right: 10px;
}

/* Rotate icons when panel is on right */
.monaco-workbench .part.panel.right .title-actions .codicon-split-horizontal,
.monaco-workbench .part.panel.right .title-actions .codicon-chevron-up,
.monaco-workbench .part.panel.right .title-actions .codicon-chevron-down {
	transform: rotate(-90deg);
}
