Path: blob/main/src/vs/workbench/electron-browser/actions/media/openInAgents.css
13401 views
/*---------------------------------------------------------------------------------------------1* Copyright (c) Microsoft Corporation. All rights reserved.2* Licensed under the MIT License. See License.txt in the project root for license information.3*--------------------------------------------------------------------------------------------*/45/* "Open in Agents" titlebar widget — icon-only at rest, expands on hover/focus. */6.monaco-workbench .open-in-agents-titlebar-widget {7display: inline-flex;8align-items: center;9height: 22px;10padding: 0 4px;11margin: 0 10px 0 2px;12border-radius: 5px;13cursor: pointer;14color: var(--vscode-titleBar-activeForeground);15-webkit-app-region: no-drag;16white-space: nowrap;17position: relative;18}1920/* Vertical separator drawn as an absolutely positioned pseudo-element so it isn't clipped by any ancestor `overflow: hidden`. */21.monaco-workbench .open-in-agents-titlebar-widget::after {22content: '';23position: absolute;24right: -6px;25top: 4px;26bottom: 4px;27width: 1px;28background-color: var(--vscode-widget-border, rgba(128, 128, 128, 0.5));29pointer-events: none;30}3132.monaco-workbench .open-in-agents-titlebar-widget > .open-in-agents-titlebar-widget-icon {33width: 16px;34height: 16px;35flex: 0 0 auto;36background-image: url('../../../../sessions/browser/media/sessions-icon.svg');37background-repeat: no-repeat;38background-position: center center;39background-size: contain;40/* Keep desaturated for legibility against light/dark titlebar backgrounds; brighten on hover/focus. */41filter: grayscale(1);42transition: filter 150ms ease;43}4445.monaco-workbench .open-in-agents-titlebar-widget:hover > .open-in-agents-titlebar-widget-icon,46.monaco-workbench .open-in-agents-titlebar-widget:focus-visible > .open-in-agents-titlebar-widget-icon {47filter: none;48}4950.monaco-workbench .open-in-agents-titlebar-widget > .open-in-agents-titlebar-widget-label {51display: inline-block;52max-width: 0;53opacity: 0;54margin-left: 0;55color: var(--vscode-foreground);56font: inherit;57overflow: hidden;58white-space: nowrap;59transition: max-width 150ms ease, opacity 150ms ease, margin-left 150ms ease;60}6162.monaco-workbench .open-in-agents-titlebar-widget:hover,63.monaco-workbench .open-in-agents-titlebar-widget:focus-visible {64background-color: var(--vscode-toolbar-hoverBackground);65outline: none;66}6768.monaco-workbench .open-in-agents-titlebar-widget:hover > .open-in-agents-titlebar-widget-label,69.monaco-workbench .open-in-agents-titlebar-widget:focus-visible > .open-in-agents-titlebar-widget-label {70max-width: 200px;71opacity: 1;72margin-left: 6px;73}7475.monaco-workbench .open-in-agents-titlebar-widget:focus-visible {76outline: 1px solid var(--vscode-focusBorder);77outline-offset: -1px;78}798081