@codingame/monaco-vscode-theme-service-override 36.2.7 → 37.1.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 +1 -0
- package/package.json +3 -3
- package/vscode/src/vs/workbench/contrib/modernUI/browser/media/activityBar.css +301 -0
- package/vscode/src/vs/workbench/contrib/modernUI/browser/media/commandCenter.css +47 -0
- package/vscode/src/vs/workbench/contrib/modernUI/browser/media/editorBorder.css +96 -0
- package/vscode/src/vs/workbench/contrib/modernUI/browser/media/fontRamp.css +206 -0
- package/vscode/src/vs/workbench/contrib/modernUI/browser/media/keyboardFocusOnly.css +44 -0
- package/vscode/src/vs/workbench/contrib/modernUI/browser/media/notificationsDialogs.css +146 -0
- package/vscode/src/vs/workbench/contrib/modernUI/browser/media/padding.css +377 -0
- package/vscode/src/vs/workbench/contrib/modernUI/browser/media/paneHeaders.css +123 -0
- package/vscode/src/vs/workbench/contrib/modernUI/browser/media/roundedCorners.css +287 -0
- package/vscode/src/vs/workbench/contrib/modernUI/browser/media/sashHandles.css +94 -0
- package/vscode/src/vs/workbench/contrib/modernUI/browser/media/shadows.css +52 -0
- package/vscode/src/vs/workbench/contrib/modernUI/browser/media/statusBar.css +97 -0
- package/vscode/src/vs/workbench/contrib/modernUI/browser/media/tabs.css +1044 -0
- package/vscode/src/vs/workbench/contrib/modernUI/browser/media/titlebar.css +19 -0
- package/vscode/src/vs/workbench/contrib/modernUI/browser/modernUI.contribution.d.ts +28 -0
- package/vscode/src/vs/workbench/contrib/modernUI/browser/modernUI.contribution.js +219 -0
- package/vscode/src/vs/workbench/contrib/themes/browser/themes.contribution.js +45 -45
- package/vscode/src/vs/workbench/services/themes/browser/fileIconThemeData.js +7 -5
- package/vscode/src/vs/workbench/services/themes/browser/modernTabColorCustomizations.d.ts +1 -0
- package/vscode/src/vs/workbench/services/themes/browser/modernTabColorCustomizations.js +255 -0
- package/vscode/src/vs/workbench/services/themes/browser/productIconThemeData.js +12 -12
- package/vscode/src/vs/workbench/services/themes/browser/workbenchThemeService.js +14 -5
- package/vscode/src/vs/workbench/services/themes/common/colorThemeSchema.js +16 -16
- package/vscode/src/vs/workbench/services/themes/common/fileIconThemeSchema.js +45 -38
- package/vscode/src/vs/workbench/services/themes/common/productIconThemeSchema.js +7 -7
- package/vscode/src/vs/workbench/services/themes/common/themeConfiguration.d.ts +2 -0
- package/vscode/src/vs/workbench/services/themes/common/themeConfiguration.js +46 -36
- package/vscode/src/vs/workbench/services/themes/common/themeExtensionPoints.js +21 -21
|
@@ -0,0 +1,206 @@
|
|
|
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: "Font Ramp".
|
|
8
|
+
*
|
|
9
|
+
* Applies a single, disciplined typographic ramp across the workbench. Each role
|
|
10
|
+
* maps to a size and weight:
|
|
11
|
+
*
|
|
12
|
+
* - Heading 1 26px / 600 welcome screen title
|
|
13
|
+
* - Heading 2 18px / 600 title
|
|
14
|
+
* - Heading 3 13px / 600 subtitle
|
|
15
|
+
* - Body 1 13px / 400 primary text (Strong: 600)
|
|
16
|
+
* - Body 2 11px / 400 secondary text (Strong: 600)
|
|
17
|
+
* - Label 1 12px / 400 section titles (Strong: 600)
|
|
18
|
+
* - Label 2 11px / 400 metadata (Strong: 600)
|
|
19
|
+
* - Label 3 10px / 400 badges
|
|
20
|
+
*
|
|
21
|
+
* Headings, section titles, editor tabs and badges are mapped onto their
|
|
22
|
+
* canonical surfaces using the shared font-size and font-weight tokens.
|
|
23
|
+
*
|
|
24
|
+
* All rules are gated behind the `.modern-ui` class, which the
|
|
25
|
+
* ModernUIContribution toggles onto the workbench container(s) when the
|
|
26
|
+
* `workbench.experimental.modernUI` (Modern UI Update) setting is enabled. Without
|
|
27
|
+
* that class these rules never apply.
|
|
28
|
+
*/
|
|
29
|
+
|
|
30
|
+
/* Anchor the workbench base font on Body 1 so inheriting surfaces follow the ramp. */
|
|
31
|
+
.modern-ui.monaco-workbench {
|
|
32
|
+
font-size: var(--vscode-fontSize-body1);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/* =============================================================================
|
|
36
|
+
* Headings — prominent titles rendered at SemiBold (600).
|
|
37
|
+
* ========================================================================== */
|
|
38
|
+
|
|
39
|
+
/* Heading 1 (26px) — welcome / getting started screen title. */
|
|
40
|
+
.modern-ui.monaco-workbench .part.editor > .content .gettingStartedContainer h1 {
|
|
41
|
+
font-size: var(--vscode-fontSize-heading1);
|
|
42
|
+
font-weight: var(--vscode-fontWeight-semiBold);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/* Heading 2 (18px) — welcome subtitle and secondary screen titles. */
|
|
46
|
+
.modern-ui.monaco-workbench .part.editor > .content .gettingStartedContainer .subtitle,
|
|
47
|
+
.modern-ui.monaco-workbench .part.editor > .content .gettingStartedContainer h2 {
|
|
48
|
+
font-size: var(--vscode-fontSize-heading2);
|
|
49
|
+
font-weight: var(--vscode-fontWeight-semiBold);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/* =============================================================================
|
|
53
|
+
* Label 1 (12px) — section titles.
|
|
54
|
+
* ========================================================================== */
|
|
55
|
+
|
|
56
|
+
/* View pane (sidebar / panel section) header titles — section title, Strong. */
|
|
57
|
+
.modern-ui .monaco-pane-view .pane > .pane-header .title {
|
|
58
|
+
font-size: var(--vscode-fontSize-label1);
|
|
59
|
+
font-weight: var(--vscode-fontWeight-semiBold);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/* Part (sidebar / auxiliary bar / panel) title labels — section title, Strong. */
|
|
63
|
+
.modern-ui.monaco-workbench .part > .title > .title-label h2 {
|
|
64
|
+
font-size: var(--vscode-fontSize-label1);
|
|
65
|
+
font-weight: var(--vscode-fontWeight-semiBold);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/* Auxiliary bar composite header labels use the same regular body role as other tabs. */
|
|
69
|
+
.modern-ui.monaco-workbench .part.auxiliarybar > .title > .composite-bar-container > .composite-bar > .monaco-action-bar .action-item .action-label {
|
|
70
|
+
font-weight: var(--vscode-fontWeight-regular);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.modern-ui.monaco-workbench .part.auxiliarybar > .title > .composite-bar-container > .composite-bar > .monaco-action-bar .action-item .action-label.codicon {
|
|
74
|
+
font-weight: var(--vscode-fontWeight-regular);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/*
|
|
78
|
+
* Size panel / composite tab labels directly because actionbar.css sets their
|
|
79
|
+
* font size; leave casing inherited so tabs.css preserves localized labels.
|
|
80
|
+
*/
|
|
81
|
+
.modern-ui.monaco-workbench .pane-composite-part > .title > .composite-bar-container > .composite-bar > .monaco-action-bar .action-item .action-label,
|
|
82
|
+
.modern-ui.monaco-workbench .pane-composite-part > .header-or-footer > .composite-bar-container > .composite-bar > .monaco-action-bar .action-item .action-label {
|
|
83
|
+
font-size: var(--vscode-fontSize-label1);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/* Editor tab labels use Body 1 for comfortable readability at a normal viewing distance. */
|
|
87
|
+
.modern-ui.monaco-workbench .part.editor > .content .editor-group-container > .title .tabs-container > .tab .tab-label {
|
|
88
|
+
font-size: var(--vscode-fontSize-body1);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/* =============================================================================
|
|
92
|
+
* Label 3 (10px) — badges and counters.
|
|
93
|
+
* ========================================================================== */
|
|
94
|
+
|
|
95
|
+
.modern-ui .monaco-count-badge,
|
|
96
|
+
.modern-ui .monaco-action-bar .badge .badge-content {
|
|
97
|
+
font-size: var(--vscode-fontSize-label3);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.modern-ui.monaco-workbench .activitybar > .content :not(.monaco-menu) > .monaco-action-bar .badge .badge-content {
|
|
101
|
+
font-weight: var(--vscode-fontWeight-regular);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/* =============================================================================
|
|
105
|
+
* Casing — replace ALL-CAPS labels with capitalized (title-case) text. The
|
|
106
|
+
* underlying strings are already properly cased, so these surfaces only need
|
|
107
|
+
* their `text-transform: uppercase` swapped for `capitalize`. The extra
|
|
108
|
+
* `.modern-ui` ancestor raises specificity over the base rules.
|
|
109
|
+
* ========================================================================== */
|
|
110
|
+
|
|
111
|
+
/* View pane (sidebar / panel section) header titles. */
|
|
112
|
+
.modern-ui .monaco-pane-view .pane > .pane-header > .title,
|
|
113
|
+
/* Part titles (sidebar, auxiliary bar, panel) — but never editor filenames. */
|
|
114
|
+
.modern-ui.monaco-workbench .part:not(.editor) > .title > .title-label h2,
|
|
115
|
+
/* Notifications center header. */
|
|
116
|
+
.modern-ui.monaco-workbench > .notifications-center > .notifications-center-header > .notifications-center-header-title,
|
|
117
|
+
/* Debug call-stack session state labels. */
|
|
118
|
+
.modern-ui .debug-pane .debug-call-stack .session > .state.label,
|
|
119
|
+
/* Settings editor section headers. */
|
|
120
|
+
.modern-ui .monaco-editor .settings-header-widget .title-container .title,
|
|
121
|
+
/* Agent sessions list header ("SESSIONS"). */
|
|
122
|
+
.modern-ui .chat-viewpane.has-sessions-control .agent-sessions-container .agent-sessions-title-container {
|
|
123
|
+
text-transform: capitalize;
|
|
124
|
+
font-size: var(--vscode-fontSize-label1);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
/*
|
|
128
|
+
* Notifications center header title — the shared ramp above only handles casing
|
|
129
|
+
* and size. Its semibold weight lives here so all of this header's typography
|
|
130
|
+
* stays in one module.
|
|
131
|
+
*/
|
|
132
|
+
.modern-ui.monaco-workbench > .notifications-center > .notifications-center-header > .notifications-center-header-title {
|
|
133
|
+
font-weight: var(--vscode-fontWeight-semiBold);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
/*
|
|
137
|
+
* Named File Explorer workspace titles preserve the casing supplied by the
|
|
138
|
+
* user. Untitled workspaces continue to use the standard capitalized header.
|
|
139
|
+
*/
|
|
140
|
+
.modern-ui.monaco-workbench .part.preserve-merged-workspace-name-case > .title > .title-label h2,
|
|
141
|
+
.modern-ui .pane.preserve-workspace-name-case > .pane-header > .icon.codicon-explorer-view-icon + .title {
|
|
142
|
+
text-transform: none;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
/* Restore the legacy casing for view, part, and composite tab headers when requested. */
|
|
146
|
+
.modern-ui.modern-ui-uppercase-view-headers .monaco-pane-view .pane > .pane-header > .title,
|
|
147
|
+
.modern-ui.modern-ui-uppercase-view-headers.monaco-workbench .part:not(.editor) > .title > .title-label h2,
|
|
148
|
+
.modern-ui.modern-ui-uppercase-view-headers.monaco-workbench .pane-composite-part > .title > .composite-bar-container > .composite-bar > .monaco-action-bar .action-item .action-label,
|
|
149
|
+
.modern-ui.modern-ui-uppercase-view-headers.monaco-workbench .pane-composite-part > .header-or-footer > .composite-bar-container > .composite-bar > .monaco-action-bar .action-item .action-label,
|
|
150
|
+
.modern-ui.modern-ui-uppercase-view-headers .monaco-pane-view .pane > .pane-header > .icon.codicon-explorer-view-icon + .title {
|
|
151
|
+
text-transform: uppercase;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/*
|
|
155
|
+
* Chat view title — the conversation title (e.g. "hello") shown in the chat
|
|
156
|
+
* view header. It is dynamic text (user / model generated), so respect its real
|
|
157
|
+
* casing rather than forcing ALL-CAPS like the base rule
|
|
158
|
+
* (chatViewTitleControl.css) does.
|
|
159
|
+
*/
|
|
160
|
+
.modern-ui .chat-viewpane .chat-view-title-container .chat-view-title-label {
|
|
161
|
+
text-transform: none;
|
|
162
|
+
font-size: var(--vscode-fontSize-label1);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
/*
|
|
166
|
+
* Drop the active-tab underline on the auxiliary bar composite header so a
|
|
167
|
+
* single-composite header (e.g. the secondary side bar "Chat") reads as a plain
|
|
168
|
+
* section title that matches the primary side bar, rather than a highlighted
|
|
169
|
+
* tab. The base rules (auxiliaryBarPart.css) paint the indicator with
|
|
170
|
+
* `!important` from a `.part.auxiliarybar` selector, so the override must mirror
|
|
171
|
+
* those exact selectors (including the `:not(:focus)` / `.clicked:focus` states)
|
|
172
|
+
* and rely on the extra `.modern-ui` class to win on specificity.
|
|
173
|
+
*/
|
|
174
|
+
.modern-ui.monaco-workbench .part.auxiliarybar > .title > .composite-bar-container > .composite-bar > .monaco-action-bar .action-item.checked:not(:focus) .active-item-indicator:before,
|
|
175
|
+
.modern-ui.monaco-workbench .part.auxiliarybar > .title > .composite-bar-container > .composite-bar > .monaco-action-bar .action-item.checked.clicked:focus .active-item-indicator:before,
|
|
176
|
+
.modern-ui.monaco-workbench .part.auxiliarybar > .header-or-footer > .composite-bar-container > .composite-bar > .monaco-action-bar .action-item.checked:not(:focus) .active-item-indicator:before,
|
|
177
|
+
.modern-ui.monaco-workbench .part.auxiliarybar > .header-or-footer > .composite-bar-container > .composite-bar > .monaco-action-bar .action-item.checked.clicked:focus .active-item-indicator:before {
|
|
178
|
+
border-top-color: transparent !important;
|
|
179
|
+
border-bottom-color: transparent !important;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.modern-ui .debug-pane .debug-call-stack .session > .state.label {
|
|
183
|
+
font-size: var(--vscode-fontSize-label2);
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.modern-ui.monaco-workbench .agent-sessions-viewer {
|
|
187
|
+
.agent-session-section {
|
|
188
|
+
text-transform: none;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.agent-session-item .agent-session-details-row {
|
|
192
|
+
font-size: var(--vscode-fontSize-label2);
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.modern-ui.monaco-workbench .chat-viewpane.has-sessions-control {
|
|
197
|
+
.agent-session-section {
|
|
198
|
+
padding-left: var(--vscode-spacing-size120);
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.modern-ui.monaco-workbench .monaco-icon-label::after,
|
|
203
|
+
.modern-ui.monaco-workbench .explorer-folders-view .explorer-item::after {
|
|
204
|
+
margin-right: var(--vscode-spacing-size80);
|
|
205
|
+
font-size: var(--vscode-fontSize-label2);
|
|
206
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,146 @@
|
|
|
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
|
+
}
|