/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ /* Tabs Container */ .monaco-workbench > .part.editor > .content > .one-editor-container > .title > .monaco-scrollable-element { flex: 1; } .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container { display: flex; background-color: rgba(128, 128, 128, 0.2); height: 35px; } .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container.scroll { overflow: scroll !important; } .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container::-webkit-scrollbar { display: none; } /* Tab */ .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab { display: flex; width: 120px; min-width: fit-content; overflow: hidden; white-space: nowrap; cursor: pointer; border-left: 1px solid rgba(128, 128, 128, 0.2); border-bottom: 1px solid rgba(128, 128, 128, 0.2); box-sizing: border-box; padding-left: 10px; } .vs .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab, .hc-black .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab { opacity: 0.7 !important; } .vs-dark .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab { opacity: 0.5 !important; } .hc-black .monaco-workbench > .part.editor > .content > .one-editor-container > .title.active .tabs-container > .tab.active { border: 1px solid #f38518; } .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab:first-child { border-left: 0; } .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab.active { border-bottom-color: transparent; opacity: 1 !important; } .vs .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container.dropfeedback { background-color: rgba(51,153,255, 0.18); } .vs .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab.dropfeedback { background-color: rgba(187, 230, 255, 0.5); opacity: 1 !important; } .vs-dark .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container.dropfeedback, .vs-dark .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab.dropfeedback { background-color: rgba(83, 89, 93, 0.5); } .hc-black .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container.dropfeedback, .hc-black .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab.dropfeedback { background: none !important; outline: 2px dashed #f38518; outline-offset: -2px; } /* Tab Label */ .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab .tab-label { margin-top: auto; margin-bottom: auto; } /* Tab Close */ .monaco-workbench > .part.editor > .content > .one-editor-container .title .tabs-container > .tab > .tab-close { margin-top: auto; margin-bottom: auto; width: 28px; } .monaco-workbench > .part.editor > .content > .one-editor-container .title.active .tabs-container > .tab.active > .tab-close .action-label, /* always show it for active tab */ .monaco-workbench > .part.editor > .content > .one-editor-container .title.active .tabs-container > .tab > .tab-close .action-label:focus, /* always show it on focus */ .monaco-workbench > .part.editor > .content > .one-editor-container .title.active .tabs-container > .tab:hover > .tab-close .action-label, /* always show it on hover */ .monaco-workbench > .part.editor > .content > .one-editor-container .title.active .tabs-container > .tab.active:hover > .tab-close .action-label, /* always show it on hover */ .monaco-workbench > .part.editor > .content > .one-editor-container .title .tabs-container > .tab.dirty > .tab-close .action-label { /* always show it for dirty tabs */ opacity: 1; } .monaco-workbench > .part.editor > .content > .one-editor-container .title .tabs-container > .tab.active > .tab-close .action-label, /* show dimmed for inactive group */ .monaco-workbench > .part.editor > .content > .one-editor-container .title .tabs-container > .tab.active:hover > .tab-close .action-label { /* show dimmed for inactive group */ opacity: 0.5; } .monaco-workbench > .part.editor > .content > .one-editor-container .title .tabs-container > .tab:hover > .tab-close .action-label { /* show more dimmed for inactive group and tab */ opacity: 0.4; } .monaco-workbench > .part.editor > .content > .one-editor-container .title .tabs-container > .tab > .tab-close .action-label { opacity: 0; display: block; height: 16px; width: 16px; background-size: 16px; background-position: center center; background-repeat: no-repeat; margin-right: 0.5em; } .vs .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab.dirty .close-editor-action { background: url('close-dirty.svg') center center no-repeat; } .vs-dark .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab.dirty .close-editor-action { background: url('close-dirty-inverse.svg') center center no-repeat; } .vs .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab.dirty .close-editor-action:hover { background: url('close.svg') center center no-repeat; } .vs-dark .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab.dirty .close-editor-action:hover { background: url('close-inverse.svg') center center no-repeat; } .hc-black .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab.dirty .close-editor-action, .hc-black .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab.dirty .close-editor-action:hover { background: none; } .hc-black .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab.dirty .close-editor-action { content: url('close-dirty-inverse.svg'); } .hc-black .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab .close-editor-action, .hc-black .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab.dirty .close-editor-action:hover { content: url('close-inverse.svg'); } /* Group Actions */ .monaco-workbench > .part.editor > .content > .one-editor-container > .title .group-actions { flex: initial; padding-left: 4px; background-color: rgba(128, 128, 128, 0.2); }