Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/src/vs/sessions/contrib/changes/browser/media/checksWidget.css
13406 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
/* CI Status Widget - beneath the files list */
7
.ci-status-widget {
8
display: flex;
9
flex-direction: column;
10
flex-shrink: 0;
11
box-sizing: border-box;
12
overflow: hidden;
13
font-size: 12px;
14
}
15
16
/* Header */
17
.ci-status-widget-header {
18
position: relative;
19
display: flex;
20
align-items: center;
21
padding: 4px;
22
margin-top: 4px;
23
border-radius: 4px;
24
min-height: 22px;
25
font-weight: 500;
26
cursor: pointer;
27
user-select: none;
28
}
29
30
.ci-status-widget-header:hover {
31
background-color: var(--vscode-list-hoverBackground);
32
padding-right: 22px;
33
}
34
35
.ci-status-widget-header:focus {
36
padding-right: 22px;
37
}
38
39
.ci-status-widget-header:focus-visible {
40
outline: 1px solid var(--vscode-focusBorder);
41
outline-offset: -1px;
42
}
43
44
/* Chevron — right-aligned, visible on hover only */
45
.ci-status-widget-header .group-chevron {
46
position: absolute;
47
right: 4px;
48
top: 50%;
49
transform: translateY(-50%);
50
width: 16px;
51
height: 16px;
52
display: flex;
53
align-items: center;
54
justify-content: center;
55
font-size: 12px;
56
visibility: hidden;
57
opacity: 0;
58
}
59
60
.ci-status-widget-header:hover .group-chevron,
61
.ci-status-widget-header:focus-within .group-chevron {
62
visibility: visible;
63
opacity: 0.7;
64
}
65
66
/* Title - single line, overflow ellipsis */
67
.ci-status-widget-title {
68
flex: 1;
69
display: flex;
70
align-items: center;
71
gap: 6px;
72
overflow: hidden;
73
color: var(--vscode-foreground);
74
}
75
76
.ci-status-widget-title-label {
77
overflow: hidden;
78
text-overflow: ellipsis;
79
white-space: nowrap;
80
}
81
82
/* Status count badges in the header */
83
.ci-status-widget-counts {
84
display: flex;
85
align-items: center;
86
gap: 8px;
87
flex-shrink: 0;
88
margin-left: auto;
89
padding-right: 8px;
90
}
91
92
.ci-status-widget-header:hover .ci-status-widget-counts, .ci-status-widget-header:focus .ci-status-widget-counts {
93
visibility: hidden;
94
}
95
96
.ci-status-widget-count-badge {
97
display: inline-flex;
98
align-items: center;
99
gap: 2px;
100
font-size: 11px;
101
line-height: 1;
102
}
103
104
.ci-status-widget-count-badge .codicon {
105
font-size: 14px;
106
}
107
108
.ci-status-widget-count-badge.ci-status-success .codicon {
109
color: var(--vscode-testing-iconPassed, #73c991);
110
}
111
112
.ci-status-widget-count-badge.ci-status-failure .codicon {
113
color: var(--vscode-testing-iconFailed, #f14c4c);
114
}
115
116
.ci-status-widget-count-badge.ci-status-running .codicon {
117
color: var(--vscode-testing-iconQueued, var(--vscode-editorWarning-foreground));
118
}
119
120
.ci-status-widget-count-badge.ci-status-pending .codicon {
121
color: var(--vscode-descriptionForeground);
122
}
123
124
.ci-status-widget-header-actions {
125
flex-shrink: 0;
126
display: flex;
127
align-items: center;
128
}
129
130
.ci-status-widget-header-actions .monaco-action-bar {
131
display: flex;
132
align-items: center;
133
}
134
135
.ci-status-widget-header-actions .action-item .action-label {
136
width: 16px;
137
height: 16px;
138
}
139
140
/* Body - check list */
141
.ci-status-widget-body {
142
flex: 1;
143
min-height: 0;
144
overflow: hidden;
145
}
146
147
.ci-status-widget-list {
148
height: 100%;
149
background-color: transparent;
150
}
151
152
.ci-status-widget-list > .monaco-list,
153
.ci-status-widget-list > .monaco-list > .monaco-scrollable-element {
154
background-color: transparent;
155
}
156
157
/* Individual check row */
158
.ci-status-widget .ci-status-widget-list .monaco-list-row {
159
border-radius: 4px;
160
}
161
162
.ci-status-widget-check {
163
display: flex;
164
align-items: center;
165
gap: 6px;
166
padding: 4px 0;
167
height: 100%;
168
width: 100%;
169
box-sizing: border-box;
170
min-width: 0;
171
}
172
173
.ci-status-widget-check-label {
174
display: flex;
175
flex: 1;
176
min-width: 0;
177
overflow: hidden;
178
}
179
180
.ci-status-widget-check-label .monaco-icon-label {
181
display: flex;
182
flex: 1;
183
min-width: 0;
184
width: 100%;
185
}
186
187
.ci-status-widget-check-label .monaco-icon-label::before {
188
font-size: 14px;
189
width: 14px;
190
height: 14px;
191
}
192
193
.ci-status-widget-check-label .monaco-icon-label-container,
194
.ci-status-widget-check-label .monaco-icon-name-container {
195
display: block;
196
min-width: 0;
197
overflow: hidden;
198
}
199
200
.ci-status-widget-check-label .label-name {
201
display: block;
202
overflow: hidden;
203
text-overflow: ellipsis;
204
white-space: nowrap;
205
color: var(--vscode-foreground);
206
}
207
208
.ci-status-widget-check.ci-status-success .monaco-icon-label::before {
209
color: var(--vscode-testing-iconPassed, #73c991);
210
}
211
212
.ci-status-widget-check.ci-status-failure .monaco-icon-label::before {
213
color: var(--vscode-testing-iconFailed, #f14c4c);
214
}
215
216
.ci-status-widget-check.ci-status-running .monaco-icon-label::before {
217
color: var(--vscode-testing-iconQueued, var(--vscode-editorWarning-foreground));
218
}
219
220
.ci-status-widget-check.ci-status-pending .monaco-icon-label::before {
221
color: var(--vscode-descriptionForeground);
222
}
223
224
.ci-status-widget-check.ci-status-neutral .monaco-icon-label::before {
225
color: var(--vscode-descriptionForeground);
226
}
227
228
/* Actions - float to the right, visible on hover */
229
.ci-status-widget-check-actions {
230
display: none;
231
flex: 0 0 auto;
232
flex-shrink: 0;
233
padding-right: 12px;
234
margin-left: auto;
235
}
236
237
.ci-status-widget-list .monaco-list-row:hover .ci-status-widget-check-actions,
238
.ci-status-widget-list .monaco-list-row.focused .ci-status-widget-check-actions,
239
.ci-status-widget-list .monaco-list-row.selected .ci-status-widget-check-actions,
240
.ci-status-widget-check:hover .ci-status-widget-check-actions {
241
display: flex;
242
}
243
244
.ci-status-widget-check-actions .monaco-action-bar {
245
display: flex;
246
align-items: center;
247
}
248
249
.ci-status-widget-check-actions .action-bar .action-item .action-label {
250
width: 16px;
251
height: 16px;
252
}
253
254