Path: blob/main/src/vs/sessions/browser/parts/media/chatCompositeBar.css
13509 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.chat-composite-bar {6display: flex;7align-items: center;8background-color: var(--chat-bar-background);9padding: 0 4px;10height: 35px;11flex-shrink: 0;12overflow: hidden;13}1415.chat-composite-bar-tabs {16display: flex;17align-items: center;18height: 100%;19gap: 0;20overflow-x: auto;21overflow-y: hidden;22}2324.chat-composite-bar-tabs::-webkit-scrollbar {25display: none;26}2728/* Base tab: preserve chat title casing while keeping the same pill treatment */29.chat-composite-bar-tab {30display: flex;31align-items: center;32position: relative;33padding: 0 8px;34cursor: pointer;35white-space: nowrap;36color: var(--chat-tab-inactive-foreground);37font-weight: 500;38font-size: 12px;39line-height: 22px;40height: 26px;41border-radius: 4px;42user-select: none;43}4445.chat-composite-bar-tab:hover {46color: var(--chat-tab-active-foreground);47}4849/* Active state: background container instead of underline — mirrors auxiliarybar checked */50.chat-composite-bar-tab.active {51color: var(--chat-tab-active-foreground);52background-color: color-mix(in srgb, var(--vscode-agentsPanel-foreground, var(--vscode-foreground)) 5%, transparent);53}5455/* Reduce right padding when close button is present to avoid excess spacing */56.chat-composite-bar-tab:has(.chat-composite-bar-tab-actions) {57padding-right: 2px;58}5960/* Hide the underline indicator — mirrors auxiliarybar active-item-indicator hiding */61.chat-composite-bar-tab-indicator {62display: none;63}6465.chat-composite-bar-tab:focus-visible {66outline: 1px solid var(--vscode-focusBorder);67outline-offset: -1px;68}6970/* Remove action bar — always occupies space; opacity toggled like editor tabs */71.chat-composite-bar-tab-actions {72display: flex;73margin-left: 2px;74}7576.chat-composite-bar-tab-actions .action-item .action-label {77width: 16px;78height: 16px;79border-radius: 4px;80color: var(--chat-tab-inactive-foreground, currentColor);81opacity: 0;82}8384.chat-composite-bar-tab.active .chat-composite-bar-tab-actions .action-label,85.chat-composite-bar-tab:hover .chat-composite-bar-tab-actions .action-label,86.chat-composite-bar-tab-actions .action-label:focus {87opacity: 1;88}8990.chat-composite-bar-tab-actions .action-item .action-label:hover {91background-color: var(--vscode-toolbar-hoverBackground);92color: var(--chat-tab-active-foreground);93}949596