/*---------------------------------------------------------------------------------------------
 *  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: -16px;
	margin-top: 5px;
	height: 29px;
}

code-component .toolbar .carbon-taskbar.monaco-toolbar .monaco-action-bar .codicon.action-label {
	height: 25px;
	width: 25px;
	padding: 0px;
	background-size: 20px;
	background-position: center;
}

.notebook-cell:not(.active):hover code-component .toolbarIconRun,
.hc-light .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.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 collapse-component {
	flex-grow: 1;
}

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;
	margin-top: 4px;
	margin-bottom: 4px;
}

code-component .cellLanguage {
	padding: 2px 15px;
	display: inline-block;
	text-align: center;
	font-size: 12px;
	border-style: none;
	background-color: transparent;
}

code-component .parameter {
	bottom: 0;
	margin-right: 15px;
	position: absolute;
	right: 0;
}

code-component .parameter span {
	display: inline-block;
	padding: 3px 7px;
	text-align: center;
}
