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

.terminal-sticky-scroll {
	display: none;
	position: absolute;
	left: 0;
	right: 0;
	z-index: 32; /* Must be higher than .xterm-viewport and decorations */
	background: var(--vscode-terminalStickyScroll-background, var(--vscode-terminal-background, var(--vscode-panel-background)));
	box-shadow: var(--vscode-scrollbar-shadow) 0 3px 2px -2px;
}
.part.sidebar .terminal-sticky-scroll,
.part.auxiliarybar .terminal-sticky-scroll {
	background: var(--vscode-terminalStickyScroll-background, var(--vscode-terminal-background, var(--vscode-sideBar-background)));
}
.editor-instance .terminal-sticky-scroll {
	background: var(--vscode-terminalStickyScroll-background, var(--vscode-terminal-background, var(--vscode-editor-background)));
}

.terminal-sticky-scroll.visible {
	display:block;
}

.terminal-sticky-scroll:hover {
	cursor: pointer !important;
}

.terminal-sticky-scroll .xterm {
	position: relative !important;
	pointer-events: none;
	padding-bottom: 0 !important;
}

.terminal-sticky-scroll .hover-overlay {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	cursor: pointer !important;
}

.terminal-sticky-scroll .hover-overlay:hover {
	background-color: var(--vscode-terminalStickyScrollHover-background, transparent);
}
