@codingame/monaco-vscode-theme-service-override 37.2.0 → 37.3.1

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.
Files changed (31) hide show
  1. package/index.js +2 -1
  2. package/package.json +3 -3
  3. package/vscode/src/vs/sessions/common/sizes.d.ts +22 -0
  4. package/vscode/src/vs/sessions/common/sizes.js +20 -0
  5. package/vscode/src/vs/workbench/contrib/themes/browser/themes.contribution.js +49 -49
  6. package/vscode/src/vs/workbench/services/themes/browser/fileIconThemeData.js +5 -5
  7. package/vscode/src/vs/workbench/services/themes/browser/productIconThemeData.js +13 -13
  8. package/vscode/src/vs/workbench/services/themes/browser/workbenchThemeService.js +5 -5
  9. package/vscode/src/vs/workbench/services/themes/common/colorThemeSchema.js +16 -16
  10. package/vscode/src/vs/workbench/services/themes/common/fileIconThemeSchema.js +39 -39
  11. package/vscode/src/vs/workbench/services/themes/common/productIconThemeSchema.js +7 -7
  12. package/vscode/src/vs/workbench/services/themes/common/themeConfiguration.js +55 -47
  13. package/vscode/src/vs/workbench/services/themes/common/themeExtensionPoints.js +21 -21
  14. package/vscode/src/vs/workbench/contrib/modernUI/browser/media/activityBar.css +0 -301
  15. package/vscode/src/vs/workbench/contrib/modernUI/browser/media/commandCenter.css +0 -47
  16. package/vscode/src/vs/workbench/contrib/modernUI/browser/media/editorBorder.css +0 -96
  17. package/vscode/src/vs/workbench/contrib/modernUI/browser/media/fontRamp.css +0 -206
  18. package/vscode/src/vs/workbench/contrib/modernUI/browser/media/keyboardFocusOnly.css +0 -44
  19. package/vscode/src/vs/workbench/contrib/modernUI/browser/media/notificationsDialogs.css +0 -146
  20. package/vscode/src/vs/workbench/contrib/modernUI/browser/media/padding.css +0 -377
  21. package/vscode/src/vs/workbench/contrib/modernUI/browser/media/paneHeaders.css +0 -123
  22. package/vscode/src/vs/workbench/contrib/modernUI/browser/media/roundedCorners.css +0 -287
  23. package/vscode/src/vs/workbench/contrib/modernUI/browser/media/sashHandles.css +0 -94
  24. package/vscode/src/vs/workbench/contrib/modernUI/browser/media/shadows.css +0 -52
  25. package/vscode/src/vs/workbench/contrib/modernUI/browser/media/statusBar.css +0 -97
  26. package/vscode/src/vs/workbench/contrib/modernUI/browser/media/tabs.css +0 -1044
  27. package/vscode/src/vs/workbench/contrib/modernUI/browser/media/titlebar.css +0 -19
  28. package/vscode/src/vs/workbench/contrib/modernUI/browser/modernUI.contribution.d.ts +0 -28
  29. package/vscode/src/vs/workbench/contrib/modernUI/browser/modernUI.contribution.js +0 -219
  30. package/vscode/src/vs/workbench/services/themes/browser/modernTabColorCustomizations.d.ts +0 -1
  31. package/vscode/src/vs/workbench/services/themes/browser/modernTabColorCustomizations.js +0 -255
@@ -1,44 +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: "Keyboard-Only Focus Borders".
8
- *
9
- * Hides the focus borders that appear when a panel surface is focused via the
10
- * mouse, while keeping them for keyboard navigation. This relies on the
11
- * `:focus-visible` pseudo-class: a pointer (mouse) interaction matches `:focus`
12
- * but not `:focus-visible`, whereas keyboard navigation matches both. Suppressing
13
- * outlines on `:focus:not(:focus-visible)` therefore removes mouse-click focus
14
- * rings and leaves keyboard focus rings intact.
15
- *
16
- * All rules are gated behind the `.modern-ui` class, which
17
- * the ModernUIContribution toggles onto the workbench container(s) when the
18
- * `workbench.experimental.modernUI` (Modern UI Update) setting is enabled.
19
- *
20
- * Scoped to the panel surfaces (side bar, bottom panel, auxiliary bar, status
21
- * bar) so editor and global widget focus rings are unaffected.
22
- */
23
-
24
- /*
25
- * Monaco lists / trees draw the focus ring on the focused row while the list
26
- * *container* is focused. When the list was focused via the mouse it matches
27
- * `:focus` but not `:focus-visible`, so drop the row ring in that case. Keyboard
28
- * focus (`:focus-visible`) keeps it.
29
- */
30
- .modern-ui :is(.part.sidebar, .part.panel, .part.auxiliarybar) .monaco-list:focus:not(:focus-visible) .monaco-list-row.focused {
31
- outline: 0 !important;
32
- }
33
-
34
- /*
35
- * Part-level and control-level focus outlines. Panels (the part element itself,
36
- * which is `[tabindex="0"]`, plus inner tabindex elements, action items and
37
- * inputs) draw an outline on `:focus`. Hide it for mouse focus, keep it for
38
- * keyboard focus. The part element is listed explicitly because a descendant
39
- * combinator would not match the part itself.
40
- */
41
- .modern-ui :is(.part.sidebar, .part.panel, .part.auxiliarybar, .part.statusbar):focus:not(:focus-visible),
42
- .modern-ui :is(.part.sidebar, .part.panel, .part.auxiliarybar, .part.statusbar) :focus:not(:focus-visible) {
43
- outline-color: transparent !important;
44
- }
@@ -1,146 +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: "Notifications and Dialogs".
8
- *
9
- * Shared notification and dialog presentation used by the regular workbench
10
- * and the Agents window. Shell-specific notification insets are customizable
11
- * through the properties used below.
12
- *
13
- * All rules are gated behind the module-specific
14
- * `.modern-ui-notifications-dialogs` class.
15
- */
16
-
17
- .modern-ui-notifications-dialogs.monaco-workbench .notifications-list-container .notification-list-item {
18
- padding: var(--vscode-spacing-size60) var(--vscode-spacing-size20);
19
- }
20
-
21
- .modern-ui-notifications-dialogs.monaco-workbench .notifications-list-container .notification-list-item .notification-list-item-icon {
22
- font-size: var(--vscode-codiconFontSize);
23
- margin: 0 var(--vscode-spacing-size80) 0 var(--vscode-spacing-size60);
24
- }
25
-
26
- .modern-ui-notifications-dialogs.monaco-workbench .notifications-list-container .notification-list-item .notification-list-item-buttons-container > .monaco-button-dropdown,
27
- .modern-ui-notifications-dialogs.monaco-workbench .notifications-list-container .notification-list-item .notification-list-item-buttons-container > .monaco-button {
28
- margin: 0 var(--vscode-spacing-size40) 0 0;
29
- }
30
-
31
- .modern-ui-notifications-dialogs.monaco-workbench .notifications-list-container .notification-list-item .notification-list-item-source {
32
- color: var(--vscode-descriptionForeground);
33
- margin-left: var(--vscode-spacing-size240);
34
- }
35
-
36
- /*
37
- * Reposition the notification center to sit within the Modern UI outer gutter:
38
- * an 8px horizontal inset, and a bottom inset that clears the 28px status bar
39
- * plus the 4px gutter (32px total). `!important` is required to win over the base
40
- * positioning rules (which vary with the status bar) and, for `top-right`, over
41
- * the inline `top` offset the notification controller applies in JS.
42
- *
43
- * `top-right` uses a fixed 35px — the height of the custom title bar
44
- * (DEFAULT_CUSTOM_TITLEBAR_HEIGHT), which the Modern UI experiment always shows
45
- * — so the center tucks directly beneath it.
46
- */
47
- .modern-ui-notifications-dialogs.monaco-workbench > .notifications-center {
48
- right: var(--modern-ui-notifications-inline-inset, var(--vscode-spacing-size80));
49
- bottom: var(--modern-ui-notifications-block-end-inset, var(--vscode-spacing-size320));
50
- border-radius: var(--vscode-cornerRadius-large);
51
- }
52
-
53
- .modern-ui-notifications-dialogs.monaco-workbench.nostatusbar > .notifications-center:not(.top-right) {
54
- bottom: var(--modern-ui-notifications-block-end-inset, var(--vscode-spacing-size320));
55
- }
56
-
57
- .modern-ui-notifications-dialogs.monaco-workbench > .notifications-center.bottom-left {
58
- right: auto;
59
- left: var(--modern-ui-notifications-inline-inset, var(--vscode-spacing-size80));
60
- bottom: var(--modern-ui-notifications-block-end-inset, var(--vscode-spacing-size320));
61
- }
62
-
63
- .modern-ui-notifications-dialogs.monaco-workbench > .notifications-center.top-right {
64
- bottom: auto;
65
- top: var(--modern-ui-notifications-block-start-inset, var(--vscode-spacing-size360)) !important;
66
- }
67
-
68
- /*
69
- * Toasts mirror the center, but each toast carries a 4px margin, so every
70
- * container offset is reduced by 4px to keep the visible toast surface aligned
71
- * with the center (8px / 32px / 35px once the margin is added back).
72
- */
73
- .modern-ui-notifications-dialogs.monaco-workbench > .notifications-toasts {
74
- right: calc(var(--modern-ui-notifications-inline-inset, var(--vscode-spacing-size80)) - var(--vscode-spacing-size40));
75
- bottom: calc(var(--modern-ui-notifications-block-end-inset, var(--vscode-spacing-size320)) - var(--vscode-spacing-size40));
76
- }
77
-
78
- .modern-ui-notifications-dialogs.monaco-workbench.nostatusbar > .notifications-toasts:not(.top-right) {
79
- bottom: calc(var(--modern-ui-notifications-block-end-inset, var(--vscode-spacing-size320)) - var(--vscode-spacing-size40));
80
- }
81
-
82
- .modern-ui-notifications-dialogs.monaco-workbench > .notifications-toasts.bottom-left {
83
- right: auto;
84
- left: calc(var(--modern-ui-notifications-inline-inset, var(--vscode-spacing-size80)) - var(--vscode-spacing-size40));
85
- bottom: calc(var(--modern-ui-notifications-block-end-inset, var(--vscode-spacing-size320)) - var(--vscode-spacing-size40));
86
- }
87
-
88
- .modern-ui-notifications-dialogs.monaco-workbench > .notifications-toasts.top-right {
89
- bottom: auto;
90
- top: calc(var(--modern-ui-notifications-block-start-inset, var(--vscode-spacing-size360)) - var(--vscode-spacing-size40)) !important;
91
- }
92
-
93
- .modern-ui-notifications-dialogs.monaco-workbench > .notifications-center > .notifications-center-header {
94
- padding-right: var(--vscode-spacing-size20);
95
- }
96
-
97
- .modern-ui-notifications-dialogs.monaco-workbench > .notifications-center .notifications-list-container .monaco-list-row:last-child {
98
- border-radius: 0 0 var(--vscode-cornerRadius-large) var(--vscode-cornerRadius-large);
99
- }
100
-
101
- .modern-ui-notifications-dialogs.monaco-workbench > .notifications-toasts,
102
- .modern-ui-notifications-dialogs.monaco-workbench > .notifications-toasts .notifications-list-container,
103
- .modern-ui-notifications-dialogs.monaco-workbench > .notifications-toasts .notification-toast-container > .notification-toast,
104
- .modern-ui-notifications-dialogs.monaco-workbench > .notifications-toasts .notification-toast-container > .notification-toast .monaco-scrollable-element,
105
- .modern-ui-notifications-dialogs.monaco-workbench > .notifications-toasts .notification-toast-container > .notification-toast .monaco-list:not(.element-focused):focus::before,
106
- .modern-ui-notifications-dialogs.monaco-workbench > .notifications-toasts .notification-toast-container > .notification-toast .monaco-list-row {
107
- border-radius: var(--vscode-cornerRadius-large);
108
- }
109
-
110
- .modern-ui-notifications-dialogs .monaco-dialog-box {
111
- padding: var(--vscode-spacing-size40);
112
- min-width: 440px;
113
- }
114
-
115
- .modern-ui-notifications-dialogs .monaco-dialog-box:not(.align-vertical) .dialog-message-row .dialog-message-container {
116
- padding-left: var(--vscode-spacing-size80);
117
- padding-right: var(--vscode-spacing-size200);
118
- }
119
-
120
- .modern-ui-notifications-dialogs .monaco-dialog-box .dialog-message-row .dialog-message-container .dialog-message {
121
- margin: var(--vscode-spacing-size20) 0 var(--vscode-spacing-size120) 0;
122
- font-size: var(--vscode-fontSize-heading3);
123
- font-weight: var(--vscode-fontWeight-semiBold);
124
- }
125
-
126
- .modern-ui-notifications-dialogs .monaco-dialog-box .dialog-message-row .dialog-message-container .dialog-message-detail {
127
- color: var(--vscode-descriptionForeground);
128
- }
129
-
130
- .modern-ui-notifications-dialogs .monaco-dialog-box .dialog-toolbar-row {
131
- position: absolute;
132
- top: var(--vscode-spacing-size80);
133
- right: var(--vscode-spacing-size80);
134
- }
135
-
136
- .modern-ui-notifications-dialogs .monaco-dialog-box .dialog-footer-row {
137
- padding: 0 var(--vscode-spacing-size80);
138
- }
139
-
140
- .modern-ui-notifications-dialogs .monaco-dialog-box .dialog-message-row {
141
- padding: var(--vscode-spacing-size160) var(--vscode-spacing-size80) 0;
142
- }
143
-
144
- .modern-ui-notifications-dialogs .monaco-dialog-box > .dialog-buttons-row {
145
- padding: var(--vscode-spacing-size160) 0 0;
146
- }
@@ -1,377 +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: "Padding".
8
- *
9
- * Adjusts the internal padding of common workbench surfaces to give content
10
- * more breathing room.
11
- *
12
- * All rules are gated behind the `.modern-ui` class, which the
13
- * ModernUIContribution toggles onto the workbench container(s) when the
14
- * `workbench.experimental.modernUI` (Modern UI Update) setting is enabled.
15
- * Without that class these rules never apply.
16
- */
17
-
18
- /*
19
- * Inset view pane content (sidebar / panel / auxiliary bar sections) by a
20
- * horizontal amount matching the Agents window panel padding
21
- * (8px / --vscode-spacing-size80) so content has breathing room from the edges.
22
- *
23
- * The pane *header* is padded, and each list/tree *row* box is inset so there is
24
- * a real margin between the row (including its hover / selection highlight) and
25
- * the pane edge. Rows are `position: absolute; width: 100%`, so insetting them
26
- * with `left` / `right` (and `width: auto`) leaves a gap on both sides. The
27
- * vertical scrollbar is a sibling of the rows inside `.monaco-scrollable-element`
28
- * (not a child of the rows), so it stays pinned to the pane edge.
29
- *
30
- * The chat & agent-sessions UI is excluded: `ChatViewPane` adds the
31
- * `chat-viewpane-container` class directly onto its `.pane`.
32
- */
33
-
34
- /* Header: inset the section title / actions to line up with the rows below. */
35
- .modern-ui .monaco-pane-view .pane:not(.chat-viewpane-container) > .pane-header {
36
- padding-left: var(--vscode-spacing-size40);
37
- padding-right: 0;
38
- margin: 0 var(--vscode-spacing-size40);
39
- }
40
-
41
- /* Body: inset each row box, leaving the scrollbar pinned to the pane edge. */
42
- .modern-ui .monaco-pane-view .pane-body:not(.chat-viewpane) .monaco-list-row {
43
- left: var(--vscode-spacing-size40);
44
- right: var(--vscode-spacing-size40);
45
- width: auto;
46
- }
47
-
48
- /* Tighten part chrome from 35px to 32px.
49
- * KEEP IN SYNC WITH: part.ts PartLayout.AREA_HEIGHT_MODERN_UI */
50
- .modern-ui.monaco-workbench .part > .title,
51
- .modern-ui.monaco-workbench .part > .header-or-footer {
52
- height: 32px;
53
- padding-left: var(--vscode-spacing-size20);
54
- }
55
-
56
- .modern-ui.monaco-workbench .part > .title {
57
- padding-left: var(--vscode-spacing-size40);
58
- padding-right: var(--vscode-spacing-size40);
59
- }
60
-
61
- .modern-ui.monaco-workbench .part > .title > .title-label {
62
- line-height: 32px;
63
- }
64
-
65
- .modern-ui.monaco-workbench .part > .title > .title-actions {
66
- height: 32px;
67
- padding-left: var(--vscode-spacing-size40);
68
- }
69
-
70
- .modern-ui.modern-ui-compact .monaco-pane-view .pane-body:not(.chat-viewpane) .monaco-list-row {
71
- left: var(--vscode-spacing-size20);
72
- right: var(--vscode-spacing-size20);
73
- }
74
-
75
- /*
76
- * In the Run and Debug view give the header actions (play button + launch
77
- * configuration dropdown) the extra room by letting the actions grow while the
78
- * title label stays non-greedy.
79
- */
80
- .modern-ui.monaco-workbench .part > .title.has-start-debug-action-item > .title-actions {
81
- flex: 2;
82
- }
83
-
84
- .modern-ui.monaco-workbench .part.editor > .content .editor-group-container > .title .editor-actions {
85
- padding: 0 var(--vscode-spacing-size40);
86
- }
87
-
88
- .modern-ui.monaco-workbench .part.editor > .content .editor-group-container > .title .editor-actions .actions-container > li:last-child,
89
- .modern-ui.monaco-workbench .part > .title .title-actions .actions-container > li:last-child,
90
- .modern-ui.monaco-workbench .part > .title .global-actions .actions-container > li:last-child {
91
- margin-right: 0;
92
- }
93
-
94
- /* Inset the part title label (e.g. "Explorer") to align with the content below. */
95
- .modern-ui.monaco-workbench .part > .title > .title-label {
96
- padding-left: var(--vscode-spacing-size80, 8px);
97
- overflow: hidden;
98
- white-space: nowrap;
99
- text-overflow: ellipsis;
100
- min-width: 0;
101
- flex: 1;
102
- }
103
-
104
- /*
105
- * Let the title label grow to fill the bar so its actions sit to the right,
106
- * except in the Run and Debug view where the header actions (play button +
107
- * launch configuration dropdown) need the horizontal space instead.
108
- */
109
- .modern-ui.monaco-workbench .part > .title:not(.has-start-debug-action-item) > .title-label {
110
- flex: 2;
111
- }
112
-
113
- .modern-ui.monaco-workbench .pane-body .agent-sessions-viewer .monaco-scrollable-element {
114
- padding: 0 var(--vscode-spacing-size80);
115
- }
116
-
117
- .modern-ui.modern-ui-compact.monaco-workbench .pane-body .agent-sessions-viewer .monaco-scrollable-element {
118
- padding-left: var(--vscode-spacing-size40);
119
- padding-right: var(--vscode-spacing-size40);
120
- }
121
-
122
- .modern-ui.monaco-workbench .agent-sessions-viewer .monaco-list-row.agent-session-list-row {
123
- background-color: transparent;
124
-
125
- > .monaco-tl-row {
126
- border-radius: var(--vscode-cornerRadius-small);
127
- }
128
- }
129
-
130
- .modern-ui.monaco-workbench .agent-sessions-viewer .monaco-list-row.agent-session-item-row {
131
- padding-bottom: var(--vscode-spacing-size40);
132
-
133
- .agent-session-item {
134
- padding-block: var(--vscode-spacing-size60);
135
-
136
- .agent-session-title-row {
137
- padding-bottom: var(--vscode-spacing-size20);
138
- }
139
- }
140
- }
141
-
142
- .modern-ui.monaco-workbench .agent-sessions-viewer .monaco-list-row.agent-session-section-row {
143
- padding-bottom: var(--vscode-spacing-size40);
144
-
145
- .agent-session-section {
146
- line-height: 26px;
147
- }
148
- }
149
-
150
- .modern-ui.monaco-workbench .agent-sessions-viewer .monaco-list-row.agent-session-list-row:not(.drop-target).focused {
151
- background-color: transparent;
152
- outline: none;
153
-
154
- > .monaco-tl-row {
155
- background-color: var(--vscode-list-inactiveFocusBackground);
156
- }
157
- }
158
-
159
- .modern-ui.monaco-workbench .agent-sessions-viewer .monaco-list-row.agent-session-list-row:not(.drop-target).selected {
160
- background-color: transparent;
161
- outline: none;
162
-
163
- > .monaco-tl-row {
164
- background-color: var(--vscode-list-inactiveSelectionBackground);
165
- }
166
- }
167
-
168
- .modern-ui.monaco-workbench .agent-sessions-viewer .monaco-list:not(.drop-target):not(.dragging) .monaco-list-row.agent-session-list-row:not(.drop-target):hover:not(.selected):not(.focused) {
169
- background-color: transparent;
170
- outline: none;
171
-
172
- > .monaco-tl-row {
173
- background-color: var(--vscode-list-hoverBackground);
174
- }
175
- }
176
-
177
- .modern-ui.monaco-workbench .agent-sessions-viewer .monaco-list:focus .monaco-list-row.agent-session-list-row:not(.drop-target).focused {
178
- background-color: transparent;
179
- outline: none;
180
-
181
- > .monaco-tl-row {
182
- background-color: var(--vscode-list-focusBackground);
183
- }
184
- }
185
-
186
- .modern-ui.monaco-workbench .agent-sessions-viewer .monaco-list:focus .monaco-list-row.agent-session-list-row:not(.drop-target).selected {
187
- background-color: transparent;
188
- outline: none;
189
-
190
- > .monaco-tl-row {
191
- background-color: var(--vscode-list-activeSelectionBackground);
192
- }
193
- }
194
-
195
- .modern-ui.monaco-workbench .agent-sessions-viewer .monaco-list-row.agent-session-list-row:is(.focused, .selected),
196
- .modern-ui.monaco-workbench .agent-sessions-viewer .monaco-list-row.agent-session-list-row:hover {
197
- outline: none;
198
- }
199
-
200
- .modern-ui.monaco-workbench .agent-sessions-viewer .monaco-list-row.agent-session-list-row.focused > .monaco-tl-row {
201
- outline: var(--vscode-strokeThickness) dotted var(--vscode-list-inactiveFocusOutline);
202
- outline-offset: calc(var(--vscode-strokeThickness) * -1);
203
- }
204
-
205
- .modern-ui.monaco-workbench .agent-sessions-viewer .monaco-list-row.agent-session-list-row.focused.selected > .monaco-tl-row {
206
- outline-color: var(--vscode-contrastActiveBorder, var(--vscode-list-inactiveFocusOutline));
207
- }
208
-
209
- .modern-ui.monaco-workbench .agent-sessions-viewer .monaco-list:focus .monaco-list-row.agent-session-list-row.focused > .monaco-tl-row,
210
- .context-menu-visible .modern-ui.monaco-workbench .agent-sessions-viewer .monaco-list.last-focused .monaco-list-row.agent-session-list-row.focused > .monaco-tl-row {
211
- outline: var(--vscode-strokeThickness) solid var(--vscode-list-focusOutline);
212
- outline-offset: calc(var(--vscode-strokeThickness) * -1);
213
- }
214
-
215
- .modern-ui.monaco-workbench .agent-sessions-viewer .monaco-list-row.agent-session-list-row.selected:not(.focused) > .monaco-tl-row {
216
- outline: var(--vscode-strokeThickness) dotted var(--vscode-contrastActiveBorder);
217
- outline-offset: calc(var(--vscode-strokeThickness) * -1);
218
- }
219
-
220
- .modern-ui.monaco-workbench .agent-sessions-viewer .monaco-list-row.agent-session-list-row:hover:not(.focused):not(.selected) > .monaco-tl-row {
221
- outline: var(--vscode-strokeThickness) dashed var(--vscode-contrastActiveBorder);
222
- outline-offset: calc(var(--vscode-strokeThickness) * -1);
223
- }
224
-
225
- .modern-ui.monaco-workbench .agent-sessions-viewer .monaco-list:focus .monaco-list-row.agent-session-list-row.focused.selected > .monaco-tl-row {
226
- outline-color: var(--vscode-list-focusAndSelectionOutline, var(--vscode-contrastActiveBorder, var(--vscode-list-focusOutline)));
227
- }
228
-
229
- .modern-ui.monaco-workbench .chat-viewpane {
230
- .agent-session-item .agent-session-title-toolbar .actions-container {
231
- gap: var(--vscode-spacing-size40);
232
- }
233
- &.chat-view-location-auxiliarybar {
234
- .chat-view-title-inner {
235
- padding: var(--vscode-spacing-size40);
236
- }
237
- }
238
- &:is(.chat-view-location-sidebar, .chat-view-location-panel) {
239
- .chat-view-title-inner {
240
- padding: 0 var(--vscode-spacing-size40) 0 var(--vscode-spacing-size80);
241
- }
242
- }
243
- }
244
-
245
- .modern-ui.monaco-workbench .monaco-pane-view .pane > .pane-header > .actions {
246
- margin-right: 0px;
247
- }
248
-
249
- .modern-ui.monaco-workbench .chat-viewpane.has-sessions-control .agent-sessions-container {
250
- .agent-sessions-title-container {
251
- padding: 0 0 var(--vscode-spacing-size40) var(--vscode-spacing-size120);
252
- }
253
- }
254
-
255
- /* Give the settings / profile (global) actions at the bottom of the default
256
- * vertical activity bar a 4px bottom margin so they sit consistently above the
257
- * window edge, matching the pane header margins. */
258
- .modern-ui.monaco-workbench .activitybar:not(.top):not(.bottom) > .content > :not(.composite-bar):last-child {
259
- margin-bottom: calc(var(--vscode-spacing-size20) + var(--vscode-strokeThickness));
260
- }
261
-
262
- .modern-ui.monaco-workbench .activitybar:not(.top):not(.bottom) > .content > .composite-bar {
263
- margin-top: calc(var(--vscode-spacing-size20) + var(--vscode-strokeThickness));
264
- }
265
-
266
- .modern-ui.monaco-workbench .part.basepanel:is(.bottom, .top, .left, .right) .composite.title {
267
- padding-right: var(--vscode-spacing-size40);
268
- padding-left: var(--vscode-spacing-size20);
269
- overflow: visible;
270
- }
271
-
272
- /* Remove classic 1px top border that shifts 32px pills off-center (#331013) */
273
- .modern-ui.monaco-workbench .part.panel.bottom .composite.title {
274
- border-top: none;
275
- }
276
-
277
- .modern-ui.monaco-workbench .part.basepanel > .composite.title > .title-actions {
278
- min-width: 0;
279
- }
280
-
281
- .modern-ui.monaco-workbench .part.basepanel > .composite.title > .global-actions {
282
- position: relative;
283
- z-index: 1;
284
- flex: 0 0 auto;
285
- }
286
-
287
- .modern-ui.monaco-workbench .quick-input-titlebar {
288
- padding: var(--vscode-spacing-size20) 0 0;
289
- }
290
-
291
- .modern-ui.monaco-workbench .quick-input-widget-overlay .quick-input-titlebar {
292
- padding-top: 0;
293
- }
294
-
295
- .modern-ui.monaco-workbench .quick-input-list .quick-input-list-entry-action-bar {
296
- margin-right: 0;
297
- }
298
-
299
- .modern-ui.monaco-workbench .quick-input-list .quick-input-list-entry {
300
- padding: 0 var(--vscode-spacing-size40);
301
- }
302
-
303
- .modern-ui.monaco-workbench .quick-input-list .quick-input-list-entry .quick-input-list-entry-keybinding {
304
- margin-right: 0;
305
- }
306
-
307
- .modern-ui.monaco-workbench .quick-input-list .quick-input-list-entry-action-bar .action-label:last-child {
308
- margin-right: 0;
309
- margin-left: var(--vscode-spacing-size40);
310
- }
311
-
312
- .modern-ui.monaco-workbench .quick-input-list .quick-input-list-entry .quick-input-list-separator {
313
- margin-right: 0;
314
- margin-left: var(--vscode-spacing-size40);
315
- }
316
- .modern-ui.monaco-workbench .scm-view .monaco-tl-contents > div {
317
- padding-right: var(--vscode-spacing-size40);
318
- }
319
-
320
- .modern-ui.monaco-workbench .search-view .search-widgets-container {
321
- margin: 0 var(--vscode-spacing-size80) 0 var(--vscode-spacing-size20);
322
- }
323
-
324
- .modern-ui.monaco-workbench .extensions-viewlet > .header {
325
- padding: var(--vscode-spacing-size40) var(--vscode-spacing-size80);
326
- }
327
-
328
- .modern-ui.monaco-workbench .extensions-viewlet > .extensions .extension-view-header .count-badge-wrapper {
329
- margin-right: var(--vscode-spacing-size60);
330
- }
331
-
332
- .modern-ui.monaco-workbench .monaco-count-badge {
333
- padding: var(--vscode-spacing-size40) var(--vscode-spacing-size60);
334
- min-width: 19px;
335
- min-height: 19px;
336
- }
337
-
338
- .modern-ui.monaco-workbench .interactive-session .interactive-input-part {
339
- padding-bottom: 0;
340
- }
341
-
342
- /* Keep xterm row rounding below the content so the first line has a stable inset. */
343
- .modern-ui.monaco-workbench .part.panel .pane-body.integrated-terminal .xterm {
344
- top: 0;
345
- bottom: auto;
346
- padding-block: var(--vscode-spacing-size80);
347
- }
348
-
349
- .modern-ui.monaco-workbench .part.panel .pane-body.integrated-terminal .xterm .xterm-helpers {
350
- top: var(--vscode-spacing-size80);
351
- }
352
-
353
- .modern-ui.monaco-workbench .scm-view .monaco-list-row .resource-group .actions-container,
354
- .modern-ui.monaco-workbench .scm-view .monaco-list-row .resource .actions-container {
355
- gap: var(--vscode-spacing-size20);
356
- }
357
-
358
- .modern-ui.monaco-workbench .scm-view .monaco-list-row .resource > .name > .monaco-icon-label::after {
359
- margin-right: var(--vscode-spacing-size40);
360
- }
361
-
362
- .modern-ui.monaco-workbench .monaco-count-badge.long {
363
- padding: var(--vscode-spacing-size20) var(--vscode-spacing-size40);
364
- min-height: 18px;
365
- }
366
-
367
- .modern-ui.monaco-workbench .debug-pane .debug-call-stack .session > .state.label {
368
- margin-right: 0;
369
- }
370
-
371
- .modern-ui.monaco-workbench .sidebar .has-composite-bar.header-or-footer .monaco-action-bar .actions-container {
372
- gap: var(--vscode-spacing-size20);
373
- }
374
-
375
- .modern-ui.monaco-workbench .monaco-pane-view .pane:not(.merged-header) .monaco-progress-container {
376
- top: var(--vscode-spacing-size240);
377
- }
@@ -1,123 +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: "Pane Headers".
8
- *
9
- * Restyles view pane (sidebar / panel section) headers:
10
- * - replaces the full-width separator lines with shorter, inset ones,
11
- * - rounds the header corners, and
12
- * - adds a background tint on hover.
13
- *
14
- * The pane header border (`border-top`) is applied as an inline style by the
15
- * PaneView (src/vs/base/browser/ui/splitview/paneview.ts), so the reset below
16
- * must use `!important` to win over that inline value.
17
- *
18
- * All rules are gated behind the `.modern-ui` class, which the
19
- * ModernUIContribution toggles onto the workbench container(s) when the
20
- * `workbench.experimental.modernUI` (Modern UI Update) setting is enabled.
21
- * Without that class these rules never apply.
22
- */
23
-
24
- /*
25
- * Remove the full-width header separator line (set inline by the PaneView) so
26
- * we can redraw it inset below. The pane's inline left border is retained
27
- * because it separates horizontally stacked panel sections.
28
- */
29
- .modern-ui .monaco-pane-view .pane > .pane-header {
30
- border: none !important;
31
- }
32
-
33
- /*
34
- * Redraw the section separator as a shorter, inset line at the top of each
35
- * header (the header is already `position: relative`).
36
- */
37
- .modern-ui .monaco-pane-view .pane > .pane-header::before {
38
- content: "";
39
- position: absolute;
40
- top: 0;
41
- left: var(--vscode-spacing-size40);
42
- right: var(--vscode-spacing-size40);
43
- height: var(--vscode-strokeThickness);
44
- pointer-events: none;
45
- }
46
-
47
- .modern-ui :is(.part.sidebar, .part.auxiliarybar) .monaco-pane-view .pane > .pane-header::before {
48
- background-color: var(--vscode-sideBarSectionHeader-border, var(--vscode-surface-border));
49
- }
50
-
51
- .modern-ui .part.panel .monaco-pane-view .pane > .pane-header::before {
52
- background-color: var(--vscode-panelSectionHeader-border, var(--vscode-panel-border, var(--vscode-surface-border)));
53
- }
54
-
55
- /*
56
- * The first section in a vertical stack has no separator above it. Horizontally
57
- * arranged panes are the only section in their column, so their left pane border
58
- * separates columns without an additional horizontal line above the header.
59
- */
60
- .modern-ui .monaco-pane-view .split-view-view:first-of-type > .pane > .pane-header::before,
61
- .modern-ui .monaco-pane-view .pane.horizontal > .pane-header::before {
62
- display: none;
63
- }
64
-
65
- .modern-ui :is(.part.sidebar, .part.auxiliarybar) .monaco-pane-view .pane,
66
- .modern-ui.floating-panels :is(.part.sidebar, .part.auxiliarybar) {
67
- background-color: var(--vscode-sideBar-background) !important;
68
- }
69
-
70
- .modern-ui .part.panel .monaco-pane-view .pane {
71
- background-color: var(--vscode-panel-background) !important;
72
- }
73
-
74
- /* Round the header corners and let the header match its surface at rest so it
75
- * reads as part of the panel / side bar body rather than a tinted strip. The
76
- * inline header background from the PaneView is overridden here; the hover tint
77
- * below still wins via its higher specificity. */
78
- .modern-ui .monaco-pane-view .pane > .pane-header {
79
- border-radius: var(--vscode-cornerRadius-small);
80
- }
81
-
82
- .modern-ui :is(.part.sidebar, .part.auxiliarybar) .monaco-pane-view .pane > .pane-header {
83
- background-color: var(--vscode-sideBar-background) !important;
84
- }
85
-
86
- .modern-ui .part.panel .monaco-pane-view .pane > .pane-header {
87
- background-color: var(--vscode-panel-background) !important;
88
- }
89
-
90
- /*
91
- * Add vertical breathing room to the headers. Keep this value in sync with
92
- * MODERN_UI_PANE_HEADER_SIZE so CSS presentation and split-view layout agree.
93
- */
94
- .modern-ui .monaco-pane-view {
95
- --pane-header-size: var(--vscode-spacing-size280, 28px);
96
- }
97
-
98
- /* Tint the header background on hover (overrides the inline header background). */
99
- .modern-ui .monaco-pane-view .pane > .pane-header:hover {
100
- background-color: var(--vscode-list-hoverBackground) !important;
101
- }
102
-
103
- /*
104
- * Remove the focus outline when the header is focused by pointer (click). The
105
- * outline comes from the global `.monaco-workbench [tabindex="0"]:focus` rule.
106
- * `:not(:focus-visible)` keeps the visible focus ring for keyboard users.
107
- */
108
- .modern-ui .monaco-pane-view .pane > .pane-header:focus:not(:focus-visible) {
109
- outline: none !important;
110
- }
111
-
112
- /*
113
- * The global focus rule uses `outline-offset: -1px`, which puts the ring's top
114
- * stroke right on the 1px section separator so it looks clipped. Negate the
115
- * smallest spacing token so the keyboard focus ring clears the separator.
116
- */
117
- .modern-ui .monaco-pane-view .pane > .pane-header:focus {
118
- outline-offset: calc(var(--vscode-spacing-size20) * -1);
119
- }
120
-
121
- .modern-ui.monaco-workbench .part > .title > .title-actions .start-debug-action-item {
122
- min-width: 36px;
123
- }