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

code-component {
	height: 100%;
	width: 100%;
	display: block;
}

.notebook-cell:not(.active) code-component .toolbar {
	border-right-color: transparent!important;
}

code-component .toolbar {
	border-right-style: solid;
	border-right-width: 1px;
	box-sizing: border-box;
	display: flex;
	flex: 0 0 auto;
	flex-flow:column;
	min-height: 40px;
	orientation: portrait;
	width: 52px;
}

code-component .toolbar.markdown {
	display: none;
}

code-component .toolbar .carbon-taskbar {
	position: sticky;
	top: 0px;
	margin-top: 5px;
}

code-component .toolbar .codicon {
	height: 20px;
	padding-bottom: 10px;
}

.notebook-cell:not(.active):hover code-component .toolbarIconRun {
	background-image: url('./media/execute_cell_grey.svg');
}
.vs-dark .notebook-cell:not(.active):hover code-component .toolbarIconRun {
	background-image: url('./media/execute_cell_dark.svg');
}
.hc-black .notebook-cell:not(.active):hover code-component .toolbarIconRun {
	background-image: url('./media/execute_cell_hc.svg');
}

code-component .editor {
	margin: 14px 0px 5px 0px
}

code-cell-component code-component .monaco-editor .margin-view-overlays .line-numbers {
	left: 0!important;
}

code-cell-component .monaco-editor .margin,
code-cell-component code-component .monaco-editor,
code-cell-component code-component .monaco-editor-background,
code-cell-component code-component .monaco-editor .inputarea.ime-input {
	background-color: transparent;
}

/* overview ruler */
code-component .monaco-editor .decorationsOverviewRuler {
	visibility: hidden;
}

.vs code-component .monaco-editor .rangeHighlight {
	background-color: rgba(255, 255, 0, 0.2)
}

.vs-dark code-component .monaco-editor .rangeHighlight {
	background-color: rgba(255, 255, 0, 0.2)
}

code-component .carbon-taskbar .codicon {
	background-size: 20px;
	width: 40px;
}

code-component .carbon-taskbar .codicon.hideIcon {
	width: 0px;
	padding-left: 0px;
	padding-top: 6px;
	font-family: monospace;
	font-size: 14px;
}

code-component .carbon-taskbar .codicon.hideIcon.execCountTen {
	margin-left: -2px;
}

code-component .carbon-taskbar .codicon.hideIcon.execCountHundred {
	margin-left: -6px;
}

code-component .hide-component-button {
	height: 16px;
	width: 100%;
	box-sizing: border-box;
	border-width: 0px;
	background-repeat: no-repeat;
	background-position: center;
	background-color: transparent;
}
