/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ /* START cover the case that slider is visible on mouseover */ .monaco-editor .minimap.slider-mouseover .minimap-slider { opacity: 0; transition: opacity 100ms linear; } .monaco-editor .minimap.slider-mouseover:hover .minimap-slider { opacity: 1; } .monaco-editor .minimap.slider-mouseover .minimap-slider.active { opacity: 1; } /* END cover the case that slider is visible on mouseover */ .monaco-editor .minimap-shadow-hidden { position: absolute; width: 0; } .monaco-editor .minimap-shadow-visible { position: absolute; left: -6px; width: 6px; } .monaco-editor.no-minimap-shadow .minimap-shadow-visible { position: absolute; left: -1px; width: 1px; } /* 0.5s fade in/out for the minimap */ .minimap.autohide { opacity: 0.0; transition: opacity 0.5s; } .minimap.autohide:hover { opacity: 1.0; }