Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/src/vs/workbench/contrib/chat/browser/media/chatCodeBlockPill.css
3296 views
1
/*---------------------------------------------------------------------------------------------
2
* Copyright (c) Microsoft Corporation. All rights reserved.
3
* Licensed under the MIT License. See License.txt in the project root for license information.
4
*--------------------------------------------------------------------------------------------*/
5
6
.chat-codeblock-pill-widget {
7
border: 1px solid var(--vscode-chat-requestBorder, var(--vscode-input-background, transparent));
8
border-radius: 4px;
9
text-wrap: nowrap;
10
width: fit-content;
11
font-weight: normal;
12
text-decoration: none;
13
font-size: var(--vscode-chat-font-size-body-xs);
14
padding: 0 3px;
15
cursor: pointer;
16
}
17
18
.chat-codeblock-pill-widget .icon-label {
19
padding: 0px 3px;
20
text-wrap: wrap;
21
}
22
23
.interactive-item-container .value .rendered-markdown .chat-codeblock-pill-widget {
24
color: inherit;
25
}
26
27
.chat-codeblock-pill-widget:hover {
28
background-color: var(--vscode-list-hoverBackground);
29
}
30
31
.chat-codeblock-pill-widget .icon {
32
vertical-align: middle;
33
line-height: 1em;
34
font-size: 90%;
35
overflow: hidden;
36
}
37
38
.show-file-icons.chat-codeblock-pill-widget .icon::before {
39
display: inline-block;
40
line-height: 100%;
41
overflow: hidden;
42
background-size: contain;
43
background-position: center;
44
background-repeat: no-repeat;
45
flex-shrink: 0;
46
}
47
48
span.label-detail {
49
padding-left: 4px;
50
font-style: italic;
51
color: var(--vscode-descriptionForeground);
52
53
&:empty {
54
display: none;
55
}
56
}
57
58
span.label-added {
59
font-weight: bold;
60
padding-left: 4px;
61
color: var(--vscode-chat-linesAddedForeground);
62
}
63
64
span.label-removed {
65
font-weight: bold;
66
padding-left: 4px;
67
color: var(--vscode-chat-linesRemovedForeground);
68
}
69
70