@codingame/monaco-vscode-theme-service-override 37.2.0 → 37.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +2 -1
- package/package.json +3 -3
- package/vscode/src/vs/sessions/common/sizes.d.ts +22 -0
- package/vscode/src/vs/sessions/common/sizes.js +20 -0
- package/vscode/src/vs/workbench/contrib/themes/browser/themes.contribution.js +49 -49
- package/vscode/src/vs/workbench/services/themes/browser/fileIconThemeData.js +5 -5
- package/vscode/src/vs/workbench/services/themes/browser/productIconThemeData.js +13 -13
- package/vscode/src/vs/workbench/services/themes/browser/workbenchThemeService.js +5 -5
- package/vscode/src/vs/workbench/services/themes/common/colorThemeSchema.js +16 -16
- package/vscode/src/vs/workbench/services/themes/common/fileIconThemeSchema.js +39 -39
- package/vscode/src/vs/workbench/services/themes/common/productIconThemeSchema.js +7 -7
- package/vscode/src/vs/workbench/services/themes/common/themeConfiguration.js +55 -47
- package/vscode/src/vs/workbench/services/themes/common/themeExtensionPoints.js +21 -21
- package/vscode/src/vs/workbench/contrib/modernUI/browser/media/activityBar.css +0 -301
- package/vscode/src/vs/workbench/contrib/modernUI/browser/media/commandCenter.css +0 -47
- package/vscode/src/vs/workbench/contrib/modernUI/browser/media/editorBorder.css +0 -96
- package/vscode/src/vs/workbench/contrib/modernUI/browser/media/fontRamp.css +0 -206
- package/vscode/src/vs/workbench/contrib/modernUI/browser/media/keyboardFocusOnly.css +0 -44
- package/vscode/src/vs/workbench/contrib/modernUI/browser/media/notificationsDialogs.css +0 -146
- package/vscode/src/vs/workbench/contrib/modernUI/browser/media/padding.css +0 -377
- package/vscode/src/vs/workbench/contrib/modernUI/browser/media/paneHeaders.css +0 -123
- package/vscode/src/vs/workbench/contrib/modernUI/browser/media/roundedCorners.css +0 -287
- package/vscode/src/vs/workbench/contrib/modernUI/browser/media/sashHandles.css +0 -94
- package/vscode/src/vs/workbench/contrib/modernUI/browser/media/shadows.css +0 -52
- package/vscode/src/vs/workbench/contrib/modernUI/browser/media/statusBar.css +0 -97
- package/vscode/src/vs/workbench/contrib/modernUI/browser/media/tabs.css +0 -1044
- package/vscode/src/vs/workbench/contrib/modernUI/browser/media/titlebar.css +0 -19
- package/vscode/src/vs/workbench/contrib/modernUI/browser/modernUI.contribution.d.ts +0 -28
- package/vscode/src/vs/workbench/contrib/modernUI/browser/modernUI.contribution.js +0 -219
- package/vscode/src/vs/workbench/services/themes/browser/modernTabColorCustomizations.d.ts +0 -1
- package/vscode/src/vs/workbench/services/themes/browser/modernTabColorCustomizations.js +0 -255
|
@@ -1,287 +0,0 @@
|
|
|
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
|
-
/*
|
|
7
|
-
* Modern UI module: "Rounded Corners".
|
|
8
|
-
*
|
|
9
|
-
* Applies a disciplined, three-tier corner-radius system across the workbench
|
|
10
|
-
* based on the role each surface plays:
|
|
11
|
-
*
|
|
12
|
-
* - Outer radius (8px): overlays / anything floating above the rest of the UI
|
|
13
|
-
* (quick input, hovers, suggest, context menus, toasts, dialogs, find,
|
|
14
|
-
* rename, color picker, ...).
|
|
15
|
-
* - Inner radius (6px): non-control containers that sit within the UI
|
|
16
|
-
* (notification center surfaces, ...).
|
|
17
|
-
* - Controls (4px): all interactable UI controls (text inputs, selects,
|
|
18
|
-
* list/tree rows, ...).
|
|
19
|
-
*
|
|
20
|
-
* All rules are gated behind the `.modern-ui` class, which
|
|
21
|
-
* the ModernUIContribution toggles onto the workbench container(s) when
|
|
22
|
-
* the `workbench.experimental.modernUI` (Modern UI Update) setting is enabled.
|
|
23
|
-
* Without that class these rules never apply.
|
|
24
|
-
*/
|
|
25
|
-
|
|
26
|
-
/* =============================================================================
|
|
27
|
-
* Controls (4px) — inputs, selects, list/tree rows, anything interactable.
|
|
28
|
-
* ========================================================================== */
|
|
29
|
-
|
|
30
|
-
/* Text inputs and find inputs */
|
|
31
|
-
.modern-ui .monaco-inputbox,
|
|
32
|
-
.modern-ui .monaco-findInput,
|
|
33
|
-
.modern-ui .monaco-findInput .monaco-inputbox {
|
|
34
|
-
border-radius: var(--vscode-cornerRadius-small);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.modern-ui .browser-root .browser-url-container {
|
|
38
|
-
border-radius: var(--vscode-cornerRadius-small);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
/* Select / dropdown controls */
|
|
42
|
-
.modern-ui .monaco-select-box,
|
|
43
|
-
.modern-ui .monaco-select-box-dropdown-container {
|
|
44
|
-
border-radius: var(--vscode-cornerRadius-small);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
/* List / tree rows (including the notification center list rows) */
|
|
48
|
-
.modern-ui .monaco-list .monaco-list-row:not(.separator) {
|
|
49
|
-
border-radius: var(--vscode-cornerRadius-small);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
/* Action bar labels / keybindings (toolbar icon buttons) */
|
|
53
|
-
.modern-ui .monaco-action-bar .action-label,
|
|
54
|
-
.modern-ui .monaco-action-bar .action-item .keybinding {
|
|
55
|
-
border-radius: var(--vscode-cornerRadius-small);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/*
|
|
59
|
-
* Split buttons (dropdown action items — e.g. the extension list/editor
|
|
60
|
-
* "Install"/"Disable" buttons). These connect a primary action label to a
|
|
61
|
-
* trailing dropdown chevron with a 1px separator between them. Rounding each
|
|
62
|
-
* label on all corners (via the rule above) puts radii on the inner seam where
|
|
63
|
-
* the two segments meet. Round only the outer edges of the pair — left corners
|
|
64
|
-
* on the primary label, right corners on the chevron — so the seam stays flat.
|
|
65
|
-
*/
|
|
66
|
-
.modern-ui .monaco-action-bar .action-item.action-dropdown-item > .action-label {
|
|
67
|
-
border-radius: var(--vscode-cornerRadius-small) 0 0 var(--vscode-cornerRadius-small);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.modern-ui .monaco-action-bar .action-item.action-dropdown-item > .monaco-dropdown .action-label {
|
|
71
|
-
border-radius: 0 var(--vscode-cornerRadius-small) var(--vscode-cornerRadius-small) 0;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.modern-ui .monaco-action-bar .action-item.action-dropdown-item.empty > .action-label {
|
|
75
|
-
border-radius: var(--vscode-cornerRadius-small);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
/* Update indicator (title-bar "Update" button — base CSS uses medium, but as a
|
|
79
|
-
* control it belongs to the controls tier). */
|
|
80
|
-
.modern-ui .monaco-action-bar .update-indicator {
|
|
81
|
-
border-radius: var(--vscode-cornerRadius-small);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
/*
|
|
85
|
-
* Agent status pill (experimental title-bar widget). A connected pill/badge
|
|
86
|
-
* group whose segments hardcode 5-6px per-corner radii, with a few intentional
|
|
87
|
-
* flat (0) seams where segments butt together. Re-map every rounded corner to
|
|
88
|
-
* the controls tier while preserving each segment's shape and the flat seams.
|
|
89
|
-
*/
|
|
90
|
-
|
|
91
|
-
/* All-corners segments */
|
|
92
|
-
.modern-ui .agent-status-pill,
|
|
93
|
-
.modern-ui .agent-status-badge,
|
|
94
|
-
.modern-ui .agent-status-badge-section:only-child,
|
|
95
|
-
.modern-ui .agent-status-esc-button,
|
|
96
|
-
.modern-ui .agent-status-enter-button {
|
|
97
|
-
border-radius: var(--vscode-cornerRadius-small);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
/* Leading-edge segments (rounded left, flat right) */
|
|
101
|
-
.modern-ui .agent-status-pill .agent-status-input-area,
|
|
102
|
-
.modern-ui .agent-status-command-center-toolbar,
|
|
103
|
-
.modern-ui .agent-status-badge-section:first-child,
|
|
104
|
-
.modern-ui .agent-status-badge-section.sparkle .action-container {
|
|
105
|
-
border-radius: var(--vscode-cornerRadius-small) 0 0 var(--vscode-cornerRadius-small);
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
/* Trailing-edge segments (flat left, rounded right) */
|
|
109
|
-
.modern-ui .agent-status-badge-section:last-child,
|
|
110
|
-
.modern-ui .agent-status-badge-section.sparkle:last-child .dropdown-action-container {
|
|
111
|
-
border-radius: 0 var(--vscode-cornerRadius-small) var(--vscode-cornerRadius-small) 0;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
/* Intentional flat seams where a segment butts up against its neighbour */
|
|
115
|
-
.modern-ui .agent-status-line-separator + .agent-status-input-area,
|
|
116
|
-
.modern-ui .agent-status-pill.compact-mode .agent-status-badge-section.sparkle .action-container {
|
|
117
|
-
border-radius: 0;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
/* Scrollbar sliders (panels, editor, lists — all consistent) */
|
|
121
|
-
.modern-ui .monaco-scrollable-element > .scrollbar > .slider {
|
|
122
|
-
border-radius: var(--vscode-cornerRadius-small);
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
/* Match the minimap viewport slider to the adjacent editor scrollbar. */
|
|
126
|
-
.modern-ui .monaco-editor .minimap-slider .minimap-slider-horizontal {
|
|
127
|
-
border-radius: var(--vscode-cornerRadius-small);
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
/*
|
|
131
|
-
* Diff editor "fake united slider": when the overview ruler is shown, the diff
|
|
132
|
-
* editor draws its own combined viewport slider (`.diffViewport`, spanning both
|
|
133
|
-
* overview rulers). The modified editor's real scrollbar slider sits over the
|
|
134
|
-
* right edge of that band. Rounding all four corners floats the right corners
|
|
135
|
-
* clear of the joined viewport and breaks the combined widget, so round only
|
|
136
|
-
* the left corners (facing the editor) and keep the right side flat/flush.
|
|
137
|
-
*
|
|
138
|
-
* Gate on the `has-diff-overview` state class so this only applies when the
|
|
139
|
-
* combined slider is actually present: with `diffEditor.renderOverviewRuler`
|
|
140
|
-
* off there is no `.diffViewport`, so the real slider is the sole scrollbar and
|
|
141
|
-
* should stay rounded on all corners like every other scrollbar. The
|
|
142
|
-
* `modified-in-monaco-diff-editor` class lives on the `.monaco-editor` root, so
|
|
143
|
-
* target the slider as a descendant.
|
|
144
|
-
*/
|
|
145
|
-
.modern-ui .monaco-diff-editor.has-diff-overview .modified-in-monaco-diff-editor .monaco-scrollable-element > .scrollbar.vertical > .slider {
|
|
146
|
-
border-radius: var(--vscode-cornerRadius-small) 0 0 var(--vscode-cornerRadius-small);
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
/* Terminal uses xterm.js' own scrollbar (.xterm-scrollable-element) */
|
|
150
|
-
.modern-ui .xterm .xterm-scrollable-element > .xterm-scrollbar > .xterm-slider {
|
|
151
|
-
border-radius: var(--vscode-cornerRadius-small);
|
|
152
|
-
/* Inset the slider so both left and right rounded corners are visible */
|
|
153
|
-
left: calc(var(--vscode-strokeThickness));
|
|
154
|
-
width: calc(100% - var(--vscode-strokeThickness));
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
/* Editor sticky scroll container */
|
|
158
|
-
.modern-ui .monaco-editor .sticky-widget {
|
|
159
|
-
border-radius: 0;
|
|
160
|
-
overflow: hidden;
|
|
161
|
-
width: 100%;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
/* =============================================================================
|
|
165
|
-
* Inner (6px) — non-control containers that live within the UI.
|
|
166
|
-
* ========================================================================== */
|
|
167
|
-
|
|
168
|
-
/*
|
|
169
|
-
* Workbench parts (side bar, panel, auxiliary bar). The editor part is framed
|
|
170
|
-
* separately by the "Editor Border" module; round the remaining parts to the
|
|
171
|
-
* inner tier so the whole workbench reads as a set of distinct rounded
|
|
172
|
-
* surfaces. `overflow: hidden` clips their content to the rounded corners.
|
|
173
|
-
*/
|
|
174
|
-
.modern-ui .monaco-grid-view .part:is(.sidebar, .panel, .auxiliarybar) {
|
|
175
|
-
overflow: hidden;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
/*
|
|
179
|
-
* Settings editor row container. The focused/hovered row paints a background
|
|
180
|
-
* (and the focused row draws an outline) on this element, so round it to the
|
|
181
|
-
* inner tier to match.
|
|
182
|
-
*/
|
|
183
|
-
.modern-ui .settings-editor .settings-tree-container .setting-item-contents.settings-row-inner-container {
|
|
184
|
-
border-radius: var(--vscode-cornerRadius-medium);
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
/* =============================================================================
|
|
188
|
-
* Outer (8px) — overlays / floating UI above the rest of the workbench.
|
|
189
|
-
* ========================================================================== */
|
|
190
|
-
|
|
191
|
-
/* Quick input (command palette, quick open) */
|
|
192
|
-
.modern-ui .quick-input-widget {
|
|
193
|
-
border-radius: var(--vscode-cornerRadius-large);
|
|
194
|
-
overflow: hidden;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
/* Editor / workbench hover, suggest and parameter hint widgets */
|
|
198
|
-
.modern-ui .monaco-hover,
|
|
199
|
-
.modern-ui .editor-widget.suggest-widget,
|
|
200
|
-
.modern-ui .monaco-editor .parameter-hints-widget {
|
|
201
|
-
border-radius: var(--vscode-cornerRadius-large);
|
|
202
|
-
overflow: hidden;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
/* Only boundary rows adopt the overlay's outer corners; interior rows keep the Control radius. */
|
|
206
|
-
.modern-ui .editor-widget.suggest-widget .monaco-list .monaco-list-row:not(.separator):first-child {
|
|
207
|
-
border-radius: var(--vscode-cornerRadius-large) var(--vscode-cornerRadius-large) 0 0;
|
|
208
|
-
}
|
|
209
|
-
.modern-ui .editor-widget.suggest-widget .monaco-list .monaco-list-row:not(.separator):last-child {
|
|
210
|
-
border-radius: 0 0 var(--vscode-cornerRadius-large) var(--vscode-cornerRadius-large);
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
/* Context menus and general menu surfaces */
|
|
214
|
-
.modern-ui .monaco-menu .monaco-action-bar.vertical {
|
|
215
|
-
border-radius: var(--vscode-cornerRadius-large);
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
/* Modal dialogs */
|
|
219
|
-
.modern-ui .monaco-dialog-box {
|
|
220
|
-
border-radius: var(--vscode-cornerRadius-large);
|
|
221
|
-
overflow: hidden;
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
/* Editor find / replace widget */
|
|
225
|
-
.modern-ui .monaco-editor .find-widget {
|
|
226
|
-
border-radius: var(--vscode-cornerRadius-large);
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
/* Rename input widget */
|
|
230
|
-
.modern-ui .monaco-editor .rename-box {
|
|
231
|
-
border-radius: var(--vscode-cornerRadius-large);
|
|
232
|
-
overflow: hidden;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
/* Color picker widget */
|
|
236
|
-
.modern-ui .colorpicker-widget {
|
|
237
|
-
border-radius: var(--vscode-cornerRadius-large);
|
|
238
|
-
overflow: hidden;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
/* =============================================================================
|
|
242
|
-
* Sashes — round the hover/drag affordance ends (mirrors the Agents window).
|
|
243
|
-
* ========================================================================== */
|
|
244
|
-
.modern-ui .monaco-sash:before {
|
|
245
|
-
border-radius: calc(var(--vscode-sash-hover-size) / 2);
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
/* Keep the diff editor's bottom boundary from clipping the sash radius. */
|
|
249
|
-
.modern-ui .monaco-diff-editor > .monaco-sash.vertical:before {
|
|
250
|
-
height: calc(100% - (var(--vscode-sash-hover-size) / 2));
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
.modern-ui .monaco-sash:not(.disabled) > .orthogonal-drag-handle {
|
|
254
|
-
border-radius: var(--vscode-sash-size);
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
.modern-ui.monaco-workbench .pane-body.integrated-terminal .tabs-container.has-text .terminal-tabs-chat-entry .terminal-tabs-entry {
|
|
258
|
-
border-radius: var(--vscode-cornerRadius-small);
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
.modern-ui.monaco-workbench .terminal-resize-overlay {
|
|
262
|
-
border-radius: var(--vscode-cornerRadius-large);
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
/*
|
|
266
|
-
* Short numeric count badges (e.g. Search result and tree item counts) are small
|
|
267
|
-
* and roughly circular, so a full-circle radius reads as a clean round dot. (The
|
|
268
|
-
* activity-bar badge is a separate `.badge .badge-content` element, not a
|
|
269
|
-
* `.monaco-count-badge`, so it is unaffected by these rules.)
|
|
270
|
-
*/
|
|
271
|
-
.modern-ui.monaco-workbench .monaco-count-badge:not(.long) {
|
|
272
|
-
border-radius: var(--vscode-cornerRadius-circle);
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
/*
|
|
276
|
-
* Long text badges (`.long`, e.g. the Run and Debug call-stack "Running" /
|
|
277
|
-
* "Paused" state labels) are wide pills. A full-circle radius turns them into
|
|
278
|
-
* stadium-shaped capsules; the controls-tier radius keeps them as rectangular
|
|
279
|
-
* pills, matching the base `countBadge.css` intent where `.long` is squared off.
|
|
280
|
-
*/
|
|
281
|
-
.modern-ui.monaco-workbench .monaco-count-badge.long {
|
|
282
|
-
border-radius: var(--vscode-cornerRadius-small);
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
.modern-ui.monaco-workbench .part.panel .scm-view .scm-editor-container {
|
|
286
|
-
border-radius: var(--vscode-cornerRadius-small);
|
|
287
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
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
|
-
/*
|
|
7
|
-
* Modern UI module: "Sash Handles".
|
|
8
|
-
*
|
|
9
|
-
* With the Modern UI floating-panel treatment the workbench parts read as
|
|
10
|
-
* separate cards with a gap between them, which hides where one part ends and
|
|
11
|
-
* the next begins. Sashes are invisible until hovered, so the resize boundary
|
|
12
|
-
* is hard to find. This module gives every inter-panel sash a persistent,
|
|
13
|
-
* low-contrast grip — three small dots — so users can see where parts meet and
|
|
14
|
-
* where to grab to resize. The grip is suppressed for sashes within a part
|
|
15
|
-
* (editor splits, tree/view resizers) so only the boundaries between top-level
|
|
16
|
-
* parts are marked. On hover/active the grip fades out in favour of the
|
|
17
|
-
* existing full-length highlight (see base sash.css), so behaviour while
|
|
18
|
-
* dragging is unchanged.
|
|
19
|
-
*
|
|
20
|
-
* The grip color is themeable through `modernSash.gripForeground`, which also
|
|
21
|
-
* carries the opaque high contrast default.
|
|
22
|
-
*
|
|
23
|
-
* All rules are gated behind the `.modern-ui` class, which the
|
|
24
|
-
* ModernUIContribution toggles onto the workbench container(s) when the
|
|
25
|
-
* `workbench.experimental.modernUI` (Modern UI Update) setting is enabled.
|
|
26
|
-
* Without that class these rules never apply.
|
|
27
|
-
*/
|
|
28
|
-
|
|
29
|
-
/* Persistent grip handle, centered on the sash, drawn via the spare pseudo. */
|
|
30
|
-
.modern-ui .monaco-sash:not(.disabled)::after {
|
|
31
|
-
content: '';
|
|
32
|
-
position: absolute;
|
|
33
|
-
pointer-events: none;
|
|
34
|
-
width: 2px;
|
|
35
|
-
height: 2px;
|
|
36
|
-
border-radius: 50%;
|
|
37
|
-
background: var(--vscode-modernSash-gripForeground);
|
|
38
|
-
/* The orientation rules below repeat the dot via `box-shadow`, which reads `currentColor`. */
|
|
39
|
-
color: var(--vscode-modernSash-gripForeground);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.monaco-enable-motion .modern-ui .monaco-sash:not(.disabled)::after {
|
|
43
|
-
transition: opacity 0.1s ease-out;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
/* Vertical sash: three dots stacked vertically, centered. */
|
|
47
|
-
.modern-ui .monaco-sash.vertical:not(.disabled)::after {
|
|
48
|
-
top: 50%;
|
|
49
|
-
left: 50%;
|
|
50
|
-
transform: translate(-50%, -50%);
|
|
51
|
-
box-shadow: 0 -5px currentColor, 0 5px currentColor;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/* Horizontal sash: three dots in a row, centered. */
|
|
55
|
-
.modern-ui .monaco-sash.horizontal:not(.disabled)::after {
|
|
56
|
-
left: 50%;
|
|
57
|
-
top: 50%;
|
|
58
|
-
transform: translate(-50%, -50%);
|
|
59
|
-
box-shadow: -5px 0 currentColor, 5px 0 currentColor;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/* While hovering/dragging, defer to the base full-length highlight. */
|
|
63
|
-
.modern-ui .monaco-sash.hover:not(.disabled)::after,
|
|
64
|
-
.modern-ui .monaco-sash.active:not(.disabled)::after {
|
|
65
|
-
opacity: 0;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
/* Compact cards meet edge-to-edge, so the persistent grips are unnecessary. */
|
|
69
|
-
.modern-ui.modern-ui-compact .monaco-sash:not(.disabled)::after {
|
|
70
|
-
content: none;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
/* Only mark boundaries between top-level parts. Sashes inside a part (editor
|
|
74
|
-
* splits, tree/view resizers) live within `.part`, so suppress their grip. */
|
|
75
|
-
.modern-ui .part .monaco-sash::after {
|
|
76
|
-
content: none;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
/* Hide grips for collapsed parts whose reveal sash has no inter-card gap to sit in. Their
|
|
80
|
-
* reveal sashes remain enabled at an extent, and the panel grip can also be clipped by the
|
|
81
|
-
* status bar. A collapsed primary side bar is the exception while the activity bar is
|
|
82
|
-
* visible: the rail then stands alone as its own card, so the reveal sash sits in the gap
|
|
83
|
-
* between it and the next card and the grip marks a real, grabbable boundary. */
|
|
84
|
-
.modern-ui.nopanel .monaco-sash.horizontal::after,
|
|
85
|
-
.modern-ui.nosidebar.noactivitybar .monaco-sash.vertical.primary-sidebar-sash::after {
|
|
86
|
-
content: none;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
@media (forced-colors: active) {
|
|
90
|
-
.modern-ui .monaco-sash:not(.disabled)::after {
|
|
91
|
-
background: CanvasText;
|
|
92
|
-
color: CanvasText;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
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
|
-
/*
|
|
7
|
-
* Modern UI module: "No Part Shadows".
|
|
8
|
-
*
|
|
9
|
-
* The `workbench.shadows` setting (default on) casts elevation shadows from the
|
|
10
|
-
* workbench parts onto their neighbours: the title bar, the activity bar, the
|
|
11
|
-
* editor tabs and the panel "depth" shadows that fall on the editor surface.
|
|
12
|
-
* The Modern UI look is flat, so this module neutralises those part shadows
|
|
13
|
-
* regardless of the `workbench.shadows` setting.
|
|
14
|
-
*
|
|
15
|
-
* Only the part-level shadows are suppressed. The floating-modal shadows
|
|
16
|
-
* (`--vscode-shadow-lg` / `--vscode-shadow-xl` used by hovers, dropdowns,
|
|
17
|
-
* dialogs and notifications) are intentionally left alone — these are preserved
|
|
18
|
-
* even when `workbench.shadows` is disabled.
|
|
19
|
-
*
|
|
20
|
-
* All rules are gated behind the `.modern-ui` class, which the
|
|
21
|
-
* ModernUIContribution toggles onto the workbench container(s) when the
|
|
22
|
-
* `workbench.experimental.modernUI` (Modern UI Update) setting is enabled.
|
|
23
|
-
*/
|
|
24
|
-
|
|
25
|
-
.modern-ui.monaco-workbench {
|
|
26
|
-
/*
|
|
27
|
-
* Use zero-offset transparent shadows instead of `none` because these
|
|
28
|
-
* variables are interpolated into multi-value box-shadow declarations.
|
|
29
|
-
*/
|
|
30
|
-
--vscode-shadow-active-tab: 0 0 0 0 transparent;
|
|
31
|
-
--vscode-shadow-depth-x: 0 0 0 0 transparent;
|
|
32
|
-
--vscode-shadow-depth-y: 0 0 0 0 transparent;
|
|
33
|
-
--vscode-shadow-sm: 0 0 0 0 transparent;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.modern-ui.monaco-workbench .part.titlebar,
|
|
37
|
-
.modern-ui.monaco-workbench .part.activitybar,
|
|
38
|
-
.modern-ui.monaco-workbench.nosidebar .part.activitybar,
|
|
39
|
-
.modern-ui.monaco-workbench.activitybar-right .part.activitybar,
|
|
40
|
-
.modern-ui.monaco-workbench .part.editor .tabs-container > .tab,
|
|
41
|
-
.modern-ui.monaco-workbench .part.editor .tabs-container > .tab:hover:not(.active),
|
|
42
|
-
.modern-ui.monaco-workbench .part.editor .tabs-container > .tab.active {
|
|
43
|
-
box-shadow: none !important;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.modern-ui.monaco-workbench:not(.hc-black):not(.hc-light) .terminal-resize-overlay {
|
|
47
|
-
box-shadow: var(--vscode-shadow-lg);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.modern-ui.monaco-workbench .monaco-diff-editor.side-by-side .editor.modified {
|
|
51
|
-
border-left: 1px solid var(--vscode-surface-border);
|
|
52
|
-
}
|
|
@@ -1,97 +0,0 @@
|
|
|
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
|
-
.modern-ui.monaco-workbench.floating-panels .part.statusbar {
|
|
7
|
-
padding-top: 0;
|
|
8
|
-
padding-bottom: var(--vscode-spacing-size40);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
/*
|
|
12
|
-
* Round the status bar item backgrounds to a control-sized pill. The interactive
|
|
13
|
-
* hover/active background lives on the label (`a.statusbar-item-label`); custom
|
|
14
|
-
* and kind (warning/error) backgrounds live on the item container. Round both so
|
|
15
|
-
* whichever surface paints a background reads as rounded.
|
|
16
|
-
*
|
|
17
|
-
* Compact combo controls — a left/right pair that visually merges into a single
|
|
18
|
-
* control — are flagged with `.compact-left` / `.compact-right` (an item can be
|
|
19
|
-
* both, when it sits in the middle of a 3+ combo). Only the combo's outer corners
|
|
20
|
-
* are rounded so the pair reads as one pill: `.compact-left` joins its neighbor on
|
|
21
|
-
* the left (square left, round right), `.compact-right` joins on the right (square
|
|
22
|
-
* right, round left), and a middle item stays square on both sides.
|
|
23
|
-
*/
|
|
24
|
-
.modern-ui .part.statusbar > .items-container > .statusbar-item,
|
|
25
|
-
.modern-ui .part.statusbar > .items-container > .statusbar-item > .statusbar-item-label {
|
|
26
|
-
border-radius: var(--vscode-cornerRadius-small);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.modern-ui .part.statusbar > .items-container > .statusbar-item.compact-left,
|
|
30
|
-
.modern-ui .part.statusbar > .items-container > .statusbar-item.compact-left > .statusbar-item-label {
|
|
31
|
-
border-top-left-radius: 0;
|
|
32
|
-
border-bottom-left-radius: 0;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.modern-ui .part.statusbar > .items-container > .statusbar-item.compact-right,
|
|
36
|
-
.modern-ui .part.statusbar > .items-container > .statusbar-item.compact-right > .statusbar-item-label {
|
|
37
|
-
border-top-right-radius: 0;
|
|
38
|
-
border-bottom-right-radius: 0;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.modern-ui .part.statusbar > .left-items > .statusbar-item.visible-background-color-neighbor {
|
|
42
|
-
margin-left: var(--vscode-spacing-size40);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.modern-ui .part.statusbar > .right-items > .statusbar-item.visible-background-color-neighbor {
|
|
46
|
-
margin-right: var(--vscode-spacing-size40);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.modern-ui.modern-ui-compact .part.statusbar > .items-container > .statusbar-item > .statusbar-item-label {
|
|
50
|
-
margin-left: var(--vscode-spacing-size20);
|
|
51
|
-
margin-right: var(--vscode-spacing-size20);
|
|
52
|
-
padding-left: var(--vscode-spacing-size40);
|
|
53
|
-
padding-right: var(--vscode-spacing-size40);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.modern-ui.modern-ui-compact .part.statusbar > .left-items > .statusbar-item.visible-background-color-neighbor {
|
|
57
|
-
margin-left: var(--vscode-spacing-size20);
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.modern-ui.modern-ui-compact .part.statusbar > .right-items > .statusbar-item.visible-background-color-neighbor {
|
|
61
|
-
margin-right: var(--vscode-spacing-size20);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
/*
|
|
65
|
-
* Compact combo controls — a left/right pair that merges into one pill — give
|
|
66
|
-
* the whole combo a single hover tint (painted inline on every sub-item's label
|
|
67
|
-
* by the part), which makes the directly hovered sub-item indistinguishable from
|
|
68
|
-
* its neighbors. The part also sets `statusBarItem.compactHoverBackground` inline
|
|
69
|
-
* on the hovered sub-item, but the base `a:hover` rule forces the label
|
|
70
|
-
* `background-color` with `!important`, so that brighter tint never shows.
|
|
71
|
-
*
|
|
72
|
-
* Stack the brighter tint via `background-image` instead: it paints on top of the
|
|
73
|
-
* `!important` `background-color`, so the hovered sub-item reads as a brighter,
|
|
74
|
-
* stacked surface over the combo's shared hover background. The default
|
|
75
|
-
* `compactHoverBackground` is translucent, so layering it over the existing hover
|
|
76
|
-
* tint doubles the alpha for a subtle lift; themes that customize the color get
|
|
77
|
-
* their own stacked tint.
|
|
78
|
-
*/
|
|
79
|
-
.modern-ui .part.statusbar > .items-container > .statusbar-item:is(.compact-left, .compact-right) > a.statusbar-item-label:hover:not(.disabled) {
|
|
80
|
-
background-image: linear-gradient(var(--vscode-statusBarItem-compactHoverBackground), var(--vscode-statusBarItem-compactHoverBackground));
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
/*
|
|
84
|
-
* The items at either end of the status bar attach to the corner in the base
|
|
85
|
-
* styles, which pads them asymmetrically. As pills they need even padding on
|
|
86
|
-
* both sides, so give both end items the same symmetric inset.
|
|
87
|
-
*/
|
|
88
|
-
.modern-ui .part.statusbar > .items-container > .statusbar-item.left.first-visible-item > .statusbar-item-label,
|
|
89
|
-
.modern-ui .part.statusbar > .items-container > .statusbar-item.right.last-visible-item > .statusbar-item-label {
|
|
90
|
-
padding: 0 var(--vscode-spacing-size60);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.modern-ui.modern-ui-compact .part.statusbar > .items-container > .statusbar-item.left.first-visible-item > .statusbar-item-label,
|
|
94
|
-
.modern-ui.modern-ui-compact .part.statusbar > .items-container > .statusbar-item.right.last-visible-item > .statusbar-item-label {
|
|
95
|
-
padding-left: var(--vscode-spacing-size40);
|
|
96
|
-
padding-right: var(--vscode-spacing-size40);
|
|
97
|
-
}
|