Path: blob/main/src/vs/workbench/contrib/chat/browser/media/chatViewWelcome.css
3296 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.pane-body.chat-view-welcome-visible {6& > .interactive-session {7display: none;8}910& > .chat-view-welcome {11display: flex;12}13}1415/* Container for chat widget welcome message and interactive session variants */16.interactive-session {17&.experimental-welcome-view {18.interactive-input-part {19.dropdown-action-container { display: none; }20.chat-attachments-container { display: none; }21}22.chat-input-toolbars > .chat-input-toolbar > div { display: none; }23.chat-input-toolbars .action-item:not(:has(.monaco-dropdown-with-primary)) { display: none; }24}2526/* chat welcome container */27.chat-welcome-view-container {28display: flex;29align-items: center;30justify-content: center;31overflow: hidden;3233&.has-chat-history {34flex-direction: column;35justify-content: flex-start;36align-items: stretch;37height: 100%;38position: relative;39div.chat-welcome-view > .chat-welcome-view-title { display: none; }40.chat-welcome-view-icon .codicon { line-height: 48px; }41div.chat-welcome-view { align-self: center; margin-top: auto; margin-bottom: auto; }42.chat-welcome-view-message.experimental-empty-state,43.chat-welcome-view-disclaimer {44position: absolute;45left: 0;46right: 0;47bottom: 0;48margin: 0;49padding: 0 8px;50max-width: none;51text-align: center;52}53}54}5556.experimental-welcome-view & > .chat-welcome-view-input-part {57max-width: 650px;58margin-bottom: 48px;59}60}6162/* Container for ChatViewPane welcome view */63.pane-body > .chat-view-welcome {64flex-direction: column;65justify-content: center;66overflow: hidden;67height: 100%;68display: none;69}7071div.chat-welcome-view {72display: flex;73flex-direction: column;74align-items: center;7576& > .chat-welcome-view-icon {77min-height: 48px;78}7980& > .chat-welcome-view-icon .codicon {81font-size: 40px;82}8384& > .chat-welcome-view-title {85font-size: 24px;86margin-top: 5px;87font-weight: 500;88text-align: center;89line-height: normal;90padding: 0 8px;91}9293& > .chat-welcome-view-indicator-container {94display: flex;95flex-wrap: wrap;96margin-top: 5px;97gap: 9px;98justify-content: center;99}100101& > .chat-welcome-view-message {102text-align: center;103max-width: 350px;104padding: 0 20px;105margin-top: 10px;106107a {108color: var(--vscode-textLink-foreground);109}110}111112& > .chat-welcome-view-message.experimental-empty-state {113position: relative;114text-align: center;115max-width: 100%;116margin: 0 auto;117color: var(--vscode-input-placeholderForeground);118119a {120color: var(--vscode-textLink-foreground);121}122p{123margin-top: 8px;124margin-bottom: 8px;125}126}127128.monaco-button {129display: inline-block;130width: initial;131padding: 4px 7px;132}133134& > .chat-welcome-view-tips {135max-width: 250px;136margin: 10px 5px 0px;137138.rendered-markdown {139gap: 6px;140display: flex;141align-items: start;142flex-direction: column;143}144145.rendered-markdown p {146display: flex;147gap: 6px;148margin: 6px 0 0 0;149150.codicon {151padding-top: 1px;152}153}154}155156& > .chat-welcome-experimental-view-message {157text-align: center;158max-width: 350px;159padding: 0 20px 32px;160font-size: 16px;161162a {163color: var(--vscode-input-placeholderForeground);164}165}166167& > .chat-welcome-view-experimental-additional-message {168color: var(--vscode-input-placeholderForeground);169text-align: center;170max-width: 400px;171margin-top: 8px;172}173174/* Dedicated disclaimer container appended at root in TS */175.interactive-session .chat-welcome-view-container.has-chat-history & > .chat-welcome-view-disclaimer {176text-align: center;177max-width: 400px;178color: var(--vscode-input-placeholderForeground);179margin: 16px auto;180padding: 0 12px;181a {182color: var(--vscode-textLink-foreground);183}184}185186.interactive-session .chat-welcome-view-container:not(.has-chat-history) & > .chat-welcome-view-disclaimer {187color: var(--vscode-input-placeholderForeground);188text-align: center;189margin: -16px auto;190max-width: 400px;191a {192color: var(--vscode-textLink-foreground);193}194}195196& > .chat-welcome-view-suggested-prompts {197display: flex;198flex-wrap: wrap;199justify-content: center;200row-gap: 8px;201margin-top: 4px;202203> .chat-welcome-view-suggested-prompt {204display: flex;205align-items: center;206padding: 2px;207border-radius: 8px;208background-color: var(--vscode-editorWidget-background);209cursor: pointer;210border: 1px solid var(--vscode-chat-requestBorder, var(--vscode-input-background, transparent));211border-radius: 4px;212max-width: 200px;213width: fit-content;214margin: 0 4px;215216& > .chat-welcome-view-suggested-prompt-icon {217display: flex;218align-items: center;219font-size: 4px;220color: var(--vscode-icon-foreground) !important;221align-items: center;222padding: 4px;223}224225& > .chat-welcome-view-suggested-prompt-label {226font-size: 14px;227color: var(--vscode-editorWidget-foreground);228padding: 4px 4px 4px 0;229overflow: hidden;230text-overflow: ellipsis;231white-space: nowrap;232flex: 1;233min-width: 0;234}235}236237& > .chat-welcome-view-suggested-prompt:hover {238background-color: var(--vscode-list-hoverBackground);239border-color: var(--vscode-focusBorder);240}241}242}243244/* Recent history list shown above the welcome content */245.chat-welcome-history-root {246width: 100%;247padding: 0px 8px 0 8px;248249.chat-welcome-history-header {250display: flex;251align-items: center;252justify-content: space-between;253padding: 2px 4px 4px 4px;254font-size: 11px;255text-transform: uppercase;256letter-spacing: 0.5px;257color: var(--vscode-descriptionForeground);258}259260.chat-welcome-history-header-title {261font-weight: 600;262font-size: 11px;263padding-left: 8px;264}265266.chat-welcome-history-header-actions {267display: flex;268align-items: center;269gap: 4px;270padding-right: 16px;271}272273.chat-welcome-history-show-all {274cursor: pointer;275color: var(--vscode-icon-foreground);276padding: 2px;277border-radius: 4px;278}279280.chat-welcome-history-show-all:hover {281background: var(--vscode-toolbar-hoverBackground, var(--vscode-list-hoverBackground));282}283284.chat-welcome-history-show-all:focus-visible {285outline: 1px solid var(--vscode-focusBorder);286outline-offset: 1px;287}288289.chat-welcome-history {290margin: 0 0 12px;291width: 100%;292}293294.chat-welcome-history-list {295display: flex;296flex-direction: column;297border-radius: 4px;298overflow: hidden;299box-sizing: border-box;300padding: 0 14px 0 0;301}302303.chat-welcome-history-item {304display: flex;305flex-direction: row;306border-radius: 4px;307align-items: center;308justify-content: space-between;309padding: 2px 12px 4px 12px;310line-height: 18px;311gap: 8px;312cursor: pointer;313outline: none;314&:hover { background: var(--vscode-list-hoverBackground); }315.chat-welcome-history-title {316font-size: 13px;317white-space: nowrap;318overflow: hidden;319text-overflow: ellipsis;320flex: 1 1 auto;321}322.chat-welcome-history-date {323font-size: 11px;324color: var(--vscode-descriptionForeground);325flex: 0 0 auto;326margin-left: 8px;327}328}329330.chat-welcome-history-more {331margin: 4px 0 0;332padding-left: 12px;333a { color: var(--vscode-textLink-foreground); cursor: pointer; }334}335}336337338339