@innovatorved/code-lab 0.5.0 → 0.6.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/ARCHITECTURE.md +3 -3
- package/CHANGELOG.md +15 -0
- package/README.md +3 -3
- package/dist/code-lab-sql.esm.js +1 -1
- package/dist/code-lab-sql.umd.js +2 -2
- package/dist/code-lab.css +32 -7273
- package/dist/code-lab.d.ts +1 -1
- package/dist/code-lab.esm.js +4669 -74678
- package/dist/code-lab.js +4655 -74665
- package/dist/code-lab.umd.js +4655 -74665
- package/dist/extensions/cpp.d.ts +2 -2
- package/dist/extensions/cpp.esm.js +1788 -14707
- package/dist/extensions/cpp.js +1788 -14707
- package/dist/extensions/guided-lab.esm.js +2938 -16127
- package/dist/extensions/guided-lab.js +2938 -16127
- package/dist/extensions/python.d.ts +2 -2
- package/dist/extensions/python.esm.js +1769 -14701
- package/dist/extensions/python.js +1769 -14701
- package/dist/index.d.ts +1 -1
- package/dist/preview-sw.js +4 -188
- package/dist/runtime.esm.js +109 -10284
- package/dist/runtime.js +107 -10284
- package/dist/schemas.d.ts +2 -2
- package/dist/schemas.esm.js +2938 -16127
- package/dist/schemas.js +2941 -16130
- package/dist/scm.d.ts +221 -20
- package/dist/shell.esm.js +811 -10002
- package/dist/shell.js +811 -10002
- package/dist/storage.d.ts +9 -0
- package/dist/terminal.esm.js +20 -1347
- package/dist/terminal.js +20 -1347
- package/dist/workbench/command-palette.d.ts +16 -1
- package/dist/workbench/diff-editor.d.ts +27 -1
- package/dist/workbench/icons.d.ts +6 -2
- package/dist/workbench/index.d.ts +32 -0
- package/dist/workbench/intellisense.d.ts +194 -0
- package/dist/workbench/xterm-adapter.d.ts +122 -0
- package/package.json +7 -1
- package/packages/commands/package.json +1 -1
- package/packages/core/package.json +1 -1
- package/packages/editor/package.json +1 -1
- package/packages/fs/package.json +1 -1
- package/packages/preview/package.json +1 -1
- package/packages/runtime/package.json +1 -1
- package/packages/settings/package.json +1 -1
- package/packages/sql/package.json +1 -1
- package/packages/terminal/package.json +1 -1
- package/packages/ui/package.json +1 -1
- package/packages/ui/src/settings-dialog.ts +36 -24
- package/packages/ui/src/themes.ts +89 -23
- package/src/code-lab.css +1345 -481
- package/src/extensions/cpp.ts +304 -38
- package/src/extensions/python.ts +342 -43
- package/src/index.ts +1 -1
- package/src/runtime.ts +272 -43
- package/src/schemas.ts +2 -2
- package/src/scm.ts +1467 -92
- package/src/shell.ts +1075 -93
- package/src/storage.ts +66 -3
- package/src/terminal.ts +148 -12
- package/src/workbench/command-palette.ts +289 -48
- package/src/workbench/diff-editor.ts +240 -78
- package/src/workbench/icons.ts +250 -53
- package/src/workbench/index.ts +7 -1
- package/src/workbench/intellisense.ts +1859 -0
- package/src/workbench/xterm-adapter.ts +1566 -0
- package/src/workbench.ts +1605 -236
package/src/code-lab.css
CHANGED
|
@@ -4,18 +4,25 @@
|
|
|
4
4
|
Crafted to Linear / Zed / StackBlitz / Stripe Docs Desktop Standards
|
|
5
5
|
═══════════════════════════════════════════════════════════════════════════ */
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
code-lab,
|
|
8
|
+
.codelab,
|
|
9
|
+
.codelab-workbench,
|
|
10
|
+
[data-theme="dark"] .codelab,
|
|
9
11
|
[data-cl-theme="dark"],
|
|
10
12
|
.codelab-workbench--dark,
|
|
11
|
-
.codelab[data-theme="dark"]
|
|
12
|
-
|
|
13
|
-
/*
|
|
14
|
-
--cl-bg:
|
|
15
|
-
--cl-bg-
|
|
16
|
-
--cl-bg-
|
|
17
|
-
--cl-
|
|
18
|
-
--cl-bg-
|
|
13
|
+
.codelab[data-theme="dark"],
|
|
14
|
+
dialog.codelab-dialog {
|
|
15
|
+
/* VS Code Dark Modern Design System */
|
|
16
|
+
--cl-bg: #1f1f1f;
|
|
17
|
+
--cl-bg-editor: #1f1f1f;
|
|
18
|
+
--cl-bg-elevated: #181818;
|
|
19
|
+
--cl-chrome: #181818;
|
|
20
|
+
--cl-bg-panel: #202020;
|
|
21
|
+
--cl-input-bg: #313131;
|
|
22
|
+
--cl-bg-hover: #2a2d2e;
|
|
23
|
+
--cl-bg-active: #37373d;
|
|
24
|
+
--cl-list-active: #04395e;
|
|
25
|
+
--cl-list-active-fg: #ffffff;
|
|
19
26
|
|
|
20
27
|
/* Backwards-compatible surface aliases */
|
|
21
28
|
--cl-surface: var(--cl-bg-elevated);
|
|
@@ -24,58 +31,80 @@
|
|
|
24
31
|
--cl-hover: var(--cl-bg-hover);
|
|
25
32
|
--cl-active: var(--cl-bg-active);
|
|
26
33
|
|
|
27
|
-
/* Crisp 1px
|
|
28
|
-
--cl-border-subtle:
|
|
29
|
-
--cl-border:
|
|
30
|
-
--cl-border-strong:
|
|
34
|
+
/* Crisp 1px VS Code Dark Modern borders */
|
|
35
|
+
--cl-border-subtle: #252526;
|
|
36
|
+
--cl-border: #2b2b2b;
|
|
37
|
+
--cl-border-strong: #454545;
|
|
31
38
|
|
|
32
|
-
/*
|
|
33
|
-
--cl-fg:
|
|
34
|
-
--cl-fg-muted:
|
|
35
|
-
--cl-fg-faint:
|
|
39
|
+
/* Foreground hierarchy (WCAG AA >= 4.5:1 against #181818 and #1f1f1f) */
|
|
40
|
+
--cl-fg: #cccccc;
|
|
41
|
+
--cl-fg-muted: #9d9d9d;
|
|
42
|
+
--cl-fg-faint: #8b949e;
|
|
36
43
|
--cl-fg-subtle: var(--cl-fg-faint);
|
|
37
44
|
|
|
38
|
-
/*
|
|
39
|
-
--cl-accent:
|
|
40
|
-
--cl-accent-fg:
|
|
41
|
-
--cl-
|
|
42
|
-
--cl-
|
|
43
|
-
--cl-
|
|
44
|
-
--cl-
|
|
45
|
-
--cl-
|
|
46
|
-
--cl-
|
|
47
|
-
--cl-
|
|
48
|
-
--cl-
|
|
49
|
-
--cl-
|
|
50
|
-
--cl-
|
|
51
|
-
--cl-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
--cl-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
--cl-
|
|
58
|
-
--cl-
|
|
59
|
-
--cl-
|
|
60
|
-
--cl-
|
|
61
|
-
--cl-
|
|
62
|
-
--cl-
|
|
63
|
-
--cl-
|
|
64
|
-
|
|
65
|
-
/* GFM
|
|
66
|
-
--cl-
|
|
67
|
-
--cl-
|
|
68
|
-
--cl-
|
|
69
|
-
--cl-
|
|
70
|
-
--cl-
|
|
71
|
-
--cl-
|
|
72
|
-
--cl-
|
|
73
|
-
|
|
74
|
-
--cl-
|
|
75
|
-
--cl-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
--cl-
|
|
45
|
+
/* VS Code Dark Modern Accent & Primary Button Tokens */
|
|
46
|
+
--cl-accent: #4daafc;
|
|
47
|
+
--cl-accent-fg: #091929;
|
|
48
|
+
--cl-btn-primary-bg: #0078d4;
|
|
49
|
+
--cl-btn-primary-fg: #ffffff;
|
|
50
|
+
--cl-btn-primary-hover: #026ec1;
|
|
51
|
+
--cl-blue: #4daafc;
|
|
52
|
+
--cl-blue-muted: rgba(77, 170, 252, 0.14);
|
|
53
|
+
--cl-green: #73c991;
|
|
54
|
+
--cl-green-bright: #89d185;
|
|
55
|
+
--cl-green-muted: rgba(115, 201, 145, 0.14);
|
|
56
|
+
--cl-amber: #cca700;
|
|
57
|
+
--cl-amber-muted: rgba(204, 167, 0, 0.14);
|
|
58
|
+
--cl-red: #f14c4c;
|
|
59
|
+
--cl-red-muted: rgba(241, 76, 76, 0.14);
|
|
60
|
+
--cl-purple: #b180d7;
|
|
61
|
+
--cl-purple-muted: rgba(177, 128, 215, 0.14);
|
|
62
|
+
|
|
63
|
+
/* Git & Diagnostic Tokens */
|
|
64
|
+
--cl-git-added: #73c991;
|
|
65
|
+
--cl-git-modified: #e2c08d;
|
|
66
|
+
--cl-git-deleted: #c74e39;
|
|
67
|
+
--cl-git-untracked: #73c991;
|
|
68
|
+
--cl-diag-error: #f14c4c;
|
|
69
|
+
--cl-diag-warning: #cca700;
|
|
70
|
+
--cl-diag-info: #3794ff;
|
|
71
|
+
|
|
72
|
+
/* GFM Callout Alert Tokens */
|
|
73
|
+
--cl-callout-note: var(--cl-blue, #4daafc);
|
|
74
|
+
--cl-callout-note-bg: rgba(77, 170, 252, 0.08);
|
|
75
|
+
--cl-callout-tip: var(--cl-green, #73c991);
|
|
76
|
+
--cl-callout-tip-bg: rgba(115, 201, 145, 0.08);
|
|
77
|
+
--cl-callout-important: #b180d7;
|
|
78
|
+
--cl-callout-important-bg: rgba(177, 128, 215, 0.08);
|
|
79
|
+
--cl-callout-warning: var(--cl-amber, #cca700);
|
|
80
|
+
--cl-callout-warning-bg: rgba(204, 167, 0, 0.08);
|
|
81
|
+
--cl-callout-caution: var(--cl-red, #f14c4c);
|
|
82
|
+
--cl-callout-caution-bg: rgba(241, 76, 76, 0.08);
|
|
83
|
+
|
|
84
|
+
/* Syntax Highlighting Tokens (Dark+ / Dark Modern) */
|
|
85
|
+
--cl-tok-comment: #6a9955;
|
|
86
|
+
--cl-tok-keyword: #569cd6;
|
|
87
|
+
--cl-tok-string: #ce9178;
|
|
88
|
+
--cl-tok-number: #b5cea8;
|
|
89
|
+
--cl-tok-type: #4ec9b0;
|
|
90
|
+
--cl-tok-function: #dcdcaa;
|
|
91
|
+
--cl-tok-punctuation: #808080;
|
|
92
|
+
|
|
93
|
+
--cl-radius-sm: 3px;
|
|
94
|
+
--cl-radius-md: 5px;
|
|
95
|
+
--cl-radius-lg: 6px;
|
|
96
|
+
--cl-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, Ubuntu, sans-serif;
|
|
97
|
+
--cl-font-mono: "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", ui-monospace, monospace;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
code-lab,
|
|
101
|
+
.codelab,
|
|
102
|
+
.codelab-workbench,
|
|
103
|
+
[data-cl-theme="dark"],
|
|
104
|
+
.codelab-workbench--dark,
|
|
105
|
+
.codelab[data-theme="dark"],
|
|
106
|
+
dialog.codelab-dialog {
|
|
107
|
+
color-scheme: dark;
|
|
79
108
|
}
|
|
80
109
|
|
|
81
110
|
code-lab,
|
|
@@ -90,18 +119,29 @@ code-lab,
|
|
|
90
119
|
box-sizing: border-box;
|
|
91
120
|
}
|
|
92
121
|
|
|
93
|
-
|
|
122
|
+
.codelab :where(button, input, select, textarea),
|
|
123
|
+
.codelab-workbench :where(button, input, select, textarea),
|
|
124
|
+
dialog.codelab-dialog :where(button, input, select, textarea) {
|
|
125
|
+
font-family: var(--cl-font-sans);
|
|
126
|
+
}
|
|
127
|
+
|
|
94
128
|
[data-theme="light"] .codelab,
|
|
95
129
|
[data-cl-theme="light"],
|
|
96
130
|
.codelab[data-theme="light"],
|
|
97
|
-
.codelab-workbench--light
|
|
131
|
+
.codelab-workbench--light,
|
|
132
|
+
dialog.codelab-dialog[data-cl-theme="light"] {
|
|
98
133
|
color-scheme: light;
|
|
99
|
-
/*
|
|
100
|
-
--cl-bg:
|
|
101
|
-
--cl-bg-
|
|
102
|
-
--cl-bg-
|
|
103
|
-
--cl-
|
|
104
|
-
--cl-bg-
|
|
134
|
+
/* VS Code Light Modern Design System */
|
|
135
|
+
--cl-bg: #ffffff;
|
|
136
|
+
--cl-bg-editor: #ffffff;
|
|
137
|
+
--cl-bg-elevated: #f8f8f8;
|
|
138
|
+
--cl-chrome: #f8f8f8;
|
|
139
|
+
--cl-bg-panel: #f3f3f3;
|
|
140
|
+
--cl-input-bg: #ffffff;
|
|
141
|
+
--cl-bg-hover: #e8e8e8;
|
|
142
|
+
--cl-bg-active: #dfdfdf;
|
|
143
|
+
--cl-list-active: #0060c0;
|
|
144
|
+
--cl-list-active-fg: #ffffff;
|
|
105
145
|
|
|
106
146
|
--cl-surface: var(--cl-bg-elevated);
|
|
107
147
|
--cl-surface-2: var(--cl-bg-panel);
|
|
@@ -109,49 +149,60 @@ code-lab,
|
|
|
109
149
|
--cl-hover: var(--cl-bg-hover);
|
|
110
150
|
--cl-active: var(--cl-bg-active);
|
|
111
151
|
|
|
112
|
-
--cl-border-subtle:
|
|
113
|
-
--cl-border:
|
|
114
|
-
--cl-border-strong:
|
|
152
|
+
--cl-border-subtle: #ededed;
|
|
153
|
+
--cl-border: #e5e5e5;
|
|
154
|
+
--cl-border-strong: #cecece;
|
|
115
155
|
|
|
116
|
-
--cl-fg:
|
|
117
|
-
--cl-fg-muted:
|
|
118
|
-
--cl-fg-faint:
|
|
156
|
+
--cl-fg: #3b3b3b;
|
|
157
|
+
--cl-fg-muted: #616161;
|
|
158
|
+
--cl-fg-faint: #6e6e6e;
|
|
119
159
|
--cl-fg-subtle: var(--cl-fg-faint);
|
|
120
160
|
|
|
121
|
-
--cl-accent:
|
|
122
|
-
--cl-accent-fg:
|
|
123
|
-
--cl-
|
|
124
|
-
--cl-
|
|
125
|
-
--cl-
|
|
126
|
-
--cl-
|
|
127
|
-
--cl-
|
|
128
|
-
--cl-
|
|
129
|
-
--cl-
|
|
130
|
-
--cl-
|
|
131
|
-
--cl-
|
|
132
|
-
--cl-
|
|
133
|
-
--cl-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
--cl-
|
|
137
|
-
|
|
138
|
-
--cl-
|
|
139
|
-
--cl-
|
|
161
|
+
--cl-accent: #005fb8;
|
|
162
|
+
--cl-accent-fg: #ffffff;
|
|
163
|
+
--cl-btn-primary-bg: #005fb8;
|
|
164
|
+
--cl-btn-primary-fg: #ffffff;
|
|
165
|
+
--cl-btn-primary-hover: #0258a8;
|
|
166
|
+
--cl-blue: #005fb8;
|
|
167
|
+
--cl-blue-muted: rgba(0, 95, 184, 0.1);
|
|
168
|
+
--cl-green: #1a7f37;
|
|
169
|
+
--cl-green-bright: #1a7f37;
|
|
170
|
+
--cl-green-muted: rgba(26, 127, 55, 0.1);
|
|
171
|
+
--cl-amber: #9a6700;
|
|
172
|
+
--cl-amber-muted: rgba(154, 103, 0, 0.1);
|
|
173
|
+
--cl-red: #d1242f;
|
|
174
|
+
--cl-red-muted: rgba(209, 36, 47, 0.1);
|
|
175
|
+
--cl-purple: #8250df;
|
|
176
|
+
--cl-purple-muted: rgba(130, 80, 223, 0.1);
|
|
177
|
+
|
|
178
|
+
--cl-git-added: #1a7f37;
|
|
179
|
+
--cl-git-modified: #9a6700;
|
|
180
|
+
--cl-git-deleted: #cf222e;
|
|
181
|
+
--cl-git-untracked: #1a7f37;
|
|
182
|
+
--cl-diag-error: #d1242f;
|
|
183
|
+
--cl-diag-warning: #9a6700;
|
|
184
|
+
--cl-diag-info: #005fb8;
|
|
185
|
+
|
|
186
|
+
/* GFM Callout Alert Tokens */
|
|
187
|
+
--cl-callout-note: var(--cl-blue, #005fb8);
|
|
188
|
+
--cl-callout-note-bg: rgba(0, 95, 184, 0.06);
|
|
189
|
+
--cl-callout-tip: var(--cl-green, #1a7f37);
|
|
190
|
+
--cl-callout-tip-bg: rgba(26, 127, 55, 0.06);
|
|
140
191
|
--cl-callout-important: #8250df;
|
|
141
192
|
--cl-callout-important-bg: rgba(130, 80, 223, 0.06);
|
|
142
|
-
--cl-callout-warning: var(--cl-amber, #
|
|
143
|
-
--cl-callout-warning-bg: rgba(
|
|
144
|
-
--cl-callout-caution: var(--cl-red, #
|
|
145
|
-
--cl-callout-caution-bg: rgba(
|
|
193
|
+
--cl-callout-warning: var(--cl-amber, #9a6700);
|
|
194
|
+
--cl-callout-warning-bg: rgba(154, 103, 0, 0.06);
|
|
195
|
+
--cl-callout-caution: var(--cl-red, #d1242f);
|
|
196
|
+
--cl-callout-caution-bg: rgba(209, 36, 47, 0.06);
|
|
146
197
|
|
|
147
|
-
/*
|
|
148
|
-
--cl-tok-comment: #
|
|
149
|
-
--cl-tok-keyword: #
|
|
150
|
-
--cl-tok-string: #
|
|
151
|
-
--cl-tok-number: #
|
|
152
|
-
--cl-tok-type: #
|
|
153
|
-
--cl-tok-function: #
|
|
154
|
-
--cl-tok-punctuation: #
|
|
198
|
+
/* Syntax Highlighting Tokens (Light+ / Light Modern) */
|
|
199
|
+
--cl-tok-comment: #008000;
|
|
200
|
+
--cl-tok-keyword: #0000ff;
|
|
201
|
+
--cl-tok-string: #a31515;
|
|
202
|
+
--cl-tok-number: #098658;
|
|
203
|
+
--cl-tok-type: #267f99;
|
|
204
|
+
--cl-tok-function: #795e26;
|
|
205
|
+
--cl-tok-punctuation: #3b3b3b;
|
|
155
206
|
}
|
|
156
207
|
|
|
157
208
|
/* ── Fullscreen Body Lock & Back Button ──────────────────────────────────── */
|
|
@@ -199,6 +250,14 @@ code-lab,
|
|
|
199
250
|
position: relative;
|
|
200
251
|
}
|
|
201
252
|
|
|
253
|
+
.codelab.codelab--sized-host,
|
|
254
|
+
.codelab-workbench.codelab--sized-host {
|
|
255
|
+
width: 100%;
|
|
256
|
+
height: 100%;
|
|
257
|
+
min-height: 0;
|
|
258
|
+
max-height: none;
|
|
259
|
+
}
|
|
260
|
+
|
|
202
261
|
.codelab.codelab--fullbleed,
|
|
203
262
|
.codelab-workbench.codelab--fullbleed,
|
|
204
263
|
.codelab-fullbleed > .codelab,
|
|
@@ -242,15 +301,15 @@ code-lab,
|
|
|
242
301
|
border: none !important;
|
|
243
302
|
}
|
|
244
303
|
|
|
245
|
-
/* ── Top Workbench Titlebar (
|
|
304
|
+
/* ── Top Workbench Titlebar (35px VS Code Titlebar) ── */
|
|
246
305
|
.codelab-topbar,
|
|
247
306
|
.codelab-titlebar,
|
|
248
307
|
.codelab-toolbar {
|
|
249
308
|
display: flex;
|
|
250
309
|
align-items: center;
|
|
251
310
|
justify-content: space-between;
|
|
252
|
-
height:
|
|
253
|
-
padding: 0
|
|
311
|
+
height: 35px;
|
|
312
|
+
padding: 0 8px;
|
|
254
313
|
background: var(--cl-bg-elevated);
|
|
255
314
|
border-bottom: 1px solid var(--cl-border);
|
|
256
315
|
gap: 8px;
|
|
@@ -258,19 +317,20 @@ code-lab,
|
|
|
258
317
|
user-select: none;
|
|
259
318
|
position: relative;
|
|
260
319
|
z-index: 30;
|
|
320
|
+
font-family: var(--cl-font-sans);
|
|
261
321
|
}
|
|
262
322
|
|
|
263
323
|
.codelab-topbar__left {
|
|
264
324
|
display: flex;
|
|
265
325
|
align-items: center;
|
|
266
|
-
gap:
|
|
326
|
+
gap: 4px;
|
|
267
327
|
min-width: 0;
|
|
268
|
-
flex: 1
|
|
328
|
+
flex: 1 0 auto;
|
|
269
329
|
}
|
|
270
330
|
|
|
271
331
|
.codelab-toolbar__sep {
|
|
272
332
|
width: 1px;
|
|
273
|
-
height:
|
|
333
|
+
height: 16px;
|
|
274
334
|
background: var(--cl-border);
|
|
275
335
|
flex-shrink: 0;
|
|
276
336
|
margin: 0 2px;
|
|
@@ -279,27 +339,35 @@ code-lab,
|
|
|
279
339
|
.codelab-brand {
|
|
280
340
|
display: inline-flex;
|
|
281
341
|
align-items: center;
|
|
282
|
-
gap:
|
|
283
|
-
font-family: var(--cl-font-
|
|
284
|
-
font-size:
|
|
342
|
+
gap: 6px;
|
|
343
|
+
font-family: var(--cl-font-sans);
|
|
344
|
+
font-size: 12px;
|
|
285
345
|
font-weight: 600;
|
|
286
|
-
padding:
|
|
287
|
-
border-radius:
|
|
288
|
-
background:
|
|
289
|
-
border: 1px solid
|
|
346
|
+
padding: 2px 6px;
|
|
347
|
+
border-radius: 4px;
|
|
348
|
+
background: transparent;
|
|
349
|
+
border: 1px solid transparent;
|
|
290
350
|
color: var(--cl-fg);
|
|
291
351
|
letter-spacing: -0.01em;
|
|
292
|
-
max-width:
|
|
352
|
+
max-width: 200px;
|
|
293
353
|
overflow: hidden;
|
|
294
354
|
text-overflow: ellipsis;
|
|
295
355
|
white-space: nowrap;
|
|
296
356
|
}
|
|
297
357
|
|
|
358
|
+
.codelab-brand--compact {
|
|
359
|
+
padding: 2px 4px;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
.codelab-brand--compact .codelab-brand__label {
|
|
363
|
+
display: none;
|
|
364
|
+
}
|
|
365
|
+
|
|
298
366
|
.codelab-brand__dot {
|
|
299
|
-
width:
|
|
300
|
-
height:
|
|
301
|
-
border-radius:
|
|
302
|
-
background: var(--cl-
|
|
367
|
+
width: 7px;
|
|
368
|
+
height: 7px;
|
|
369
|
+
border-radius: 2px;
|
|
370
|
+
background: var(--cl-btn-primary-bg, #0078d4);
|
|
303
371
|
flex-shrink: 0;
|
|
304
372
|
}
|
|
305
373
|
|
|
@@ -307,26 +375,27 @@ code-lab,
|
|
|
307
375
|
.codelab-mode-switch {
|
|
308
376
|
display: inline-flex;
|
|
309
377
|
align-items: center;
|
|
310
|
-
background: var(--cl-bg);
|
|
378
|
+
background: var(--cl-bg-panel);
|
|
311
379
|
border: 1px solid var(--cl-border);
|
|
312
|
-
border-radius:
|
|
313
|
-
padding:
|
|
314
|
-
gap:
|
|
380
|
+
border-radius: 4px;
|
|
381
|
+
padding: 1px;
|
|
382
|
+
gap: 1px;
|
|
315
383
|
}
|
|
316
384
|
|
|
317
385
|
.codelab-mode-btn {
|
|
318
386
|
display: inline-flex;
|
|
319
387
|
align-items: center;
|
|
320
|
-
gap:
|
|
321
|
-
padding:
|
|
388
|
+
gap: 5px;
|
|
389
|
+
padding: 3px 8px;
|
|
390
|
+
font-family: var(--cl-font-sans);
|
|
322
391
|
font-size: 11.5px;
|
|
323
392
|
font-weight: 500;
|
|
324
|
-
border-radius:
|
|
393
|
+
border-radius: 3px;
|
|
325
394
|
color: var(--cl-fg-muted);
|
|
326
395
|
background: transparent;
|
|
327
396
|
border: none;
|
|
328
397
|
cursor: pointer;
|
|
329
|
-
transition: color
|
|
398
|
+
transition: color 100ms ease, background-color 100ms ease;
|
|
330
399
|
white-space: nowrap;
|
|
331
400
|
}
|
|
332
401
|
|
|
@@ -340,45 +409,47 @@ code-lab,
|
|
|
340
409
|
font-weight: 600;
|
|
341
410
|
}
|
|
342
411
|
|
|
343
|
-
/* Language Toggle
|
|
412
|
+
/* Language Toggle (Guided Lab Mode Only) */
|
|
344
413
|
.codelab-lang-switch {
|
|
345
414
|
display: inline-flex;
|
|
346
415
|
align-items: center;
|
|
347
|
-
background: var(--cl-bg);
|
|
416
|
+
background: var(--cl-bg-panel);
|
|
348
417
|
border: 1px solid var(--cl-border);
|
|
349
|
-
border-radius:
|
|
350
|
-
padding:
|
|
351
|
-
gap:
|
|
418
|
+
border-radius: 4px;
|
|
419
|
+
padding: 1px;
|
|
420
|
+
gap: 1px;
|
|
352
421
|
}
|
|
353
422
|
|
|
354
423
|
.codelab-lang-btn {
|
|
355
|
-
font-family: var(--cl-font-
|
|
424
|
+
font-family: var(--cl-font-sans);
|
|
356
425
|
font-size: 11px;
|
|
357
426
|
font-weight: 600;
|
|
358
|
-
padding:
|
|
359
|
-
border-radius:
|
|
427
|
+
padding: 2px 8px;
|
|
428
|
+
border-radius: 3px;
|
|
360
429
|
color: var(--cl-fg-muted);
|
|
361
430
|
background: transparent;
|
|
362
431
|
border: none;
|
|
363
432
|
cursor: pointer;
|
|
364
|
-
transition: all
|
|
433
|
+
transition: all 100ms ease;
|
|
365
434
|
}
|
|
366
435
|
|
|
367
436
|
.codelab-lang-btn:hover {
|
|
368
437
|
color: var(--cl-fg);
|
|
369
438
|
}
|
|
370
439
|
|
|
371
|
-
.codelab-lang-btn.active
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
color: var(--cl-fg);
|
|
440
|
+
.codelab-lang-btn.active {
|
|
441
|
+
background: var(--cl-btn-primary-bg, #0078d4);
|
|
442
|
+
color: var(--cl-btn-primary-fg, #ffffff);
|
|
375
443
|
}
|
|
376
444
|
|
|
377
445
|
.codelab-topbar__center {
|
|
378
446
|
display: flex;
|
|
379
447
|
align-items: center;
|
|
448
|
+
justify-content: center;
|
|
380
449
|
gap: 6px;
|
|
381
|
-
|
|
450
|
+
flex: 0 1 320px;
|
|
451
|
+
min-width: 0;
|
|
452
|
+
overflow: hidden;
|
|
382
453
|
scrollbar-width: none;
|
|
383
454
|
}
|
|
384
455
|
|
|
@@ -396,9 +467,9 @@ code-lab,
|
|
|
396
467
|
display: inline-flex;
|
|
397
468
|
align-items: center;
|
|
398
469
|
gap: 5px;
|
|
399
|
-
padding:
|
|
470
|
+
padding: 2px 9px;
|
|
400
471
|
border-radius: 999px;
|
|
401
|
-
font-family: var(--cl-font-
|
|
472
|
+
font-family: var(--cl-font-sans);
|
|
402
473
|
font-variant-numeric: tabular-nums;
|
|
403
474
|
font-size: 11px;
|
|
404
475
|
font-weight: 500;
|
|
@@ -406,7 +477,7 @@ code-lab,
|
|
|
406
477
|
border: 1px solid var(--cl-border);
|
|
407
478
|
color: var(--cl-fg-muted);
|
|
408
479
|
cursor: pointer;
|
|
409
|
-
transition: all
|
|
480
|
+
transition: all 100ms ease;
|
|
410
481
|
white-space: nowrap;
|
|
411
482
|
}
|
|
412
483
|
|
|
@@ -417,9 +488,9 @@ code-lab,
|
|
|
417
488
|
}
|
|
418
489
|
|
|
419
490
|
.codelab-step-pill.active {
|
|
420
|
-
border-color: var(--cl-
|
|
421
|
-
color: var(--cl-
|
|
422
|
-
background: var(--cl-
|
|
491
|
+
border-color: var(--cl-btn-primary-bg, #0078d4);
|
|
492
|
+
color: var(--cl-btn-primary-fg, #ffffff);
|
|
493
|
+
background: var(--cl-btn-primary-bg, #0078d4);
|
|
423
494
|
font-weight: 600;
|
|
424
495
|
}
|
|
425
496
|
|
|
@@ -440,23 +511,27 @@ code-lab,
|
|
|
440
511
|
.codelab-topbar__right {
|
|
441
512
|
display: flex;
|
|
442
513
|
align-items: center;
|
|
443
|
-
|
|
514
|
+
justify-content: flex-end;
|
|
515
|
+
gap: 4px;
|
|
516
|
+
flex: 1 0 auto;
|
|
517
|
+
min-width: 0;
|
|
444
518
|
}
|
|
445
519
|
|
|
446
520
|
.codelab-btn {
|
|
447
521
|
display: inline-flex;
|
|
448
522
|
align-items: center;
|
|
449
|
-
gap:
|
|
450
|
-
height:
|
|
451
|
-
padding: 0
|
|
452
|
-
border-radius:
|
|
523
|
+
gap: 5px;
|
|
524
|
+
height: 26px;
|
|
525
|
+
padding: 0 9px;
|
|
526
|
+
border-radius: var(--cl-radius-sm, 3px);
|
|
527
|
+
font-family: var(--cl-font-sans);
|
|
453
528
|
font-size: 12px;
|
|
454
529
|
font-weight: 500;
|
|
455
530
|
border: 1px solid var(--cl-border);
|
|
456
|
-
background: var(--cl-bg);
|
|
531
|
+
background: var(--cl-bg-panel);
|
|
457
532
|
color: var(--cl-fg);
|
|
458
533
|
cursor: pointer;
|
|
459
|
-
transition:
|
|
534
|
+
transition: background 100ms ease, border-color 100ms ease, color 100ms ease;
|
|
460
535
|
white-space: nowrap;
|
|
461
536
|
}
|
|
462
537
|
|
|
@@ -470,15 +545,30 @@ code-lab,
|
|
|
470
545
|
cursor: not-allowed;
|
|
471
546
|
}
|
|
472
547
|
|
|
548
|
+
.codelab-btn--primary {
|
|
549
|
+
background: var(--cl-btn-primary-bg, #0078d4);
|
|
550
|
+
border-color: var(--cl-btn-primary-bg, #0078d4);
|
|
551
|
+
color: var(--cl-btn-primary-fg, #ffffff);
|
|
552
|
+
font-weight: 500;
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
.codelab-btn--primary:hover:not(:disabled) {
|
|
556
|
+
background: var(--cl-btn-primary-hover, #026ec1);
|
|
557
|
+
border-color: var(--cl-btn-primary-hover, #026ec1);
|
|
558
|
+
color: var(--cl-btn-primary-fg, #ffffff);
|
|
559
|
+
}
|
|
560
|
+
|
|
473
561
|
.codelab-btn--run {
|
|
474
|
-
background:
|
|
475
|
-
border-color:
|
|
562
|
+
background: transparent;
|
|
563
|
+
border-color: transparent;
|
|
476
564
|
color: var(--cl-fg);
|
|
565
|
+
height: 24px;
|
|
566
|
+
padding: 0 7px;
|
|
477
567
|
}
|
|
478
568
|
|
|
479
569
|
.codelab-btn--run:hover {
|
|
480
|
-
background: var(--cl-bg-
|
|
481
|
-
border-color: var(--cl-
|
|
570
|
+
background: var(--cl-bg-hover);
|
|
571
|
+
border-color: var(--cl-border);
|
|
482
572
|
}
|
|
483
573
|
|
|
484
574
|
.codelab-btn--stop {
|
|
@@ -496,12 +586,14 @@ code-lab,
|
|
|
496
586
|
.codelab-btn--ctrl-c {
|
|
497
587
|
color: var(--cl-fg-muted);
|
|
498
588
|
border-color: transparent;
|
|
589
|
+
background: transparent;
|
|
499
590
|
font-weight: 600;
|
|
500
591
|
letter-spacing: 0.02em;
|
|
501
592
|
}
|
|
502
593
|
|
|
503
594
|
.codelab-btn--ctrl-c:hover {
|
|
504
595
|
color: var(--cl-fg);
|
|
596
|
+
background: var(--cl-bg-hover);
|
|
505
597
|
border-color: var(--cl-border);
|
|
506
598
|
}
|
|
507
599
|
|
|
@@ -512,32 +604,41 @@ code-lab,
|
|
|
512
604
|
}
|
|
513
605
|
|
|
514
606
|
.codelab-btn--test {
|
|
515
|
-
background: var(--cl-
|
|
516
|
-
border-color: var(--cl-
|
|
517
|
-
color: var(--cl-
|
|
518
|
-
font-weight:
|
|
607
|
+
background: var(--cl-btn-primary-bg, #0078d4);
|
|
608
|
+
border-color: var(--cl-btn-primary-bg, #0078d4);
|
|
609
|
+
color: var(--cl-btn-primary-fg, #ffffff);
|
|
610
|
+
font-weight: 500;
|
|
611
|
+
height: 24px;
|
|
612
|
+
padding: 0 9px;
|
|
519
613
|
}
|
|
520
614
|
|
|
521
|
-
.codelab-btn--test:hover {
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
615
|
+
.codelab-btn--test:hover:not(:disabled) {
|
|
616
|
+
background: var(--cl-btn-primary-hover, #026ec1);
|
|
617
|
+
border-color: var(--cl-btn-primary-hover, #026ec1);
|
|
618
|
+
color: var(--cl-btn-primary-fg, #ffffff);
|
|
525
619
|
}
|
|
526
620
|
|
|
527
621
|
.codelab-btn--icon {
|
|
528
|
-
|
|
622
|
+
height: 24px;
|
|
623
|
+
width: 26px;
|
|
624
|
+
padding: 0;
|
|
625
|
+
justify-content: center;
|
|
626
|
+
border-color: transparent;
|
|
627
|
+
background: transparent;
|
|
529
628
|
color: var(--cl-fg-muted);
|
|
530
629
|
}
|
|
531
630
|
|
|
532
631
|
.codelab-btn--icon:hover {
|
|
533
632
|
color: var(--cl-fg);
|
|
633
|
+
background: var(--cl-bg-hover);
|
|
634
|
+
border-color: transparent;
|
|
534
635
|
}
|
|
535
636
|
|
|
536
637
|
.codelab-btn--icon.active,
|
|
537
638
|
.codelab-btn--icon[aria-pressed="true"] {
|
|
538
639
|
color: var(--cl-fg);
|
|
539
|
-
background: var(--cl-bg-
|
|
540
|
-
border-color:
|
|
640
|
+
background: var(--cl-bg-active);
|
|
641
|
+
border-color: transparent;
|
|
541
642
|
}
|
|
542
643
|
|
|
543
644
|
.codelab-btn--subtle {
|
|
@@ -1084,6 +1185,9 @@ code-lab,
|
|
|
1084
1185
|
.codelab-workbench.panel-collapsed .codelab-splitter-h,
|
|
1085
1186
|
.codelab-workbench.panel-collapsed .codelab-drawer {
|
|
1086
1187
|
display: none !important;
|
|
1188
|
+
height: 0 !important;
|
|
1189
|
+
min-height: 0 !important;
|
|
1190
|
+
overflow: hidden !important;
|
|
1087
1191
|
}
|
|
1088
1192
|
|
|
1089
1193
|
.codelab.panel-maximized .codelab-editor-row,
|
|
@@ -1122,7 +1226,7 @@ code-lab,
|
|
|
1122
1226
|
|
|
1123
1227
|
.codelab-splitter-files:hover,
|
|
1124
1228
|
.codelab-splitter-files.is-dragging {
|
|
1125
|
-
background: var(--cl-
|
|
1229
|
+
background: var(--cl-btn-primary-bg, #0078d4);
|
|
1126
1230
|
}
|
|
1127
1231
|
|
|
1128
1232
|
/* Primary Sidebar (Explorer, Search, Source Control, Plugins) */
|
|
@@ -1130,10 +1234,10 @@ code-lab,
|
|
|
1130
1234
|
.codelab-explorer {
|
|
1131
1235
|
display: flex;
|
|
1132
1236
|
flex-direction: column;
|
|
1133
|
-
width: var(--cl-explorer-width,
|
|
1237
|
+
width: var(--cl-explorer-width, 240px);
|
|
1134
1238
|
min-width: 160px;
|
|
1135
1239
|
max-width: 520px;
|
|
1136
|
-
flex: 0 0 var(--cl-explorer-width,
|
|
1240
|
+
flex: 0 0 var(--cl-explorer-width, 240px);
|
|
1137
1241
|
height: 100%;
|
|
1138
1242
|
min-height: 0;
|
|
1139
1243
|
background: var(--cl-bg-elevated);
|
|
@@ -1141,6 +1245,7 @@ code-lab,
|
|
|
1141
1245
|
overflow: hidden;
|
|
1142
1246
|
user-select: none;
|
|
1143
1247
|
order: 4;
|
|
1248
|
+
font-family: var(--cl-font-sans);
|
|
1144
1249
|
}
|
|
1145
1250
|
|
|
1146
1251
|
.codelab-sidebar__view {
|
|
@@ -1159,10 +1264,10 @@ code-lab,
|
|
|
1159
1264
|
flex: 1 1 auto;
|
|
1160
1265
|
min-height: 0;
|
|
1161
1266
|
overflow-y: auto;
|
|
1162
|
-
padding:
|
|
1267
|
+
padding: 2px 0;
|
|
1163
1268
|
display: flex;
|
|
1164
1269
|
flex-direction: column;
|
|
1165
|
-
gap:
|
|
1270
|
+
gap: 0;
|
|
1166
1271
|
}
|
|
1167
1272
|
|
|
1168
1273
|
.codelab-explorer__header {
|
|
@@ -1170,12 +1275,12 @@ code-lab,
|
|
|
1170
1275
|
align-items: center;
|
|
1171
1276
|
justify-content: space-between;
|
|
1172
1277
|
height: 35px;
|
|
1173
|
-
padding: 0 12px;
|
|
1174
|
-
font-family: var(--cl-font-
|
|
1175
|
-
font-size:
|
|
1278
|
+
padding: 0 8px 0 12px;
|
|
1279
|
+
font-family: var(--cl-font-sans);
|
|
1280
|
+
font-size: 11px;
|
|
1176
1281
|
font-weight: 600;
|
|
1177
1282
|
text-transform: uppercase;
|
|
1178
|
-
letter-spacing: 0.
|
|
1283
|
+
letter-spacing: 0.04em;
|
|
1179
1284
|
color: var(--cl-fg-muted);
|
|
1180
1285
|
border-bottom: 1px solid var(--cl-border);
|
|
1181
1286
|
flex-shrink: 0;
|
|
@@ -1184,18 +1289,20 @@ code-lab,
|
|
|
1184
1289
|
.codelab-file-item {
|
|
1185
1290
|
display: flex;
|
|
1186
1291
|
align-items: center;
|
|
1187
|
-
gap:
|
|
1292
|
+
gap: 6px;
|
|
1188
1293
|
width: 100%;
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
border:
|
|
1294
|
+
min-height: 22px;
|
|
1295
|
+
padding: 2px 10px 2px 14px;
|
|
1296
|
+
border-radius: 0;
|
|
1297
|
+
border: none;
|
|
1192
1298
|
background: transparent;
|
|
1193
|
-
font-family: var(--cl-font-
|
|
1194
|
-
font-size:
|
|
1195
|
-
|
|
1299
|
+
font-family: var(--cl-font-sans);
|
|
1300
|
+
font-size: 13px;
|
|
1301
|
+
line-height: 18px;
|
|
1302
|
+
color: var(--cl-fg);
|
|
1196
1303
|
text-align: left;
|
|
1197
1304
|
cursor: pointer;
|
|
1198
|
-
transition: background
|
|
1305
|
+
transition: background 80ms ease, color 80ms ease;
|
|
1199
1306
|
}
|
|
1200
1307
|
|
|
1201
1308
|
.codelab-file-item:hover {
|
|
@@ -1204,66 +1311,87 @@ code-lab,
|
|
|
1204
1311
|
}
|
|
1205
1312
|
|
|
1206
1313
|
.codelab-file-item.active {
|
|
1207
|
-
background: var(--cl-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1314
|
+
background: var(--cl-list-active, #04395e);
|
|
1315
|
+
color: var(--cl-list-active-fg, #ffffff);
|
|
1316
|
+
font-weight: 400;
|
|
1317
|
+
}
|
|
1318
|
+
|
|
1319
|
+
.codelab-file-item.active .codelab-file-icon,
|
|
1320
|
+
.codelab-file-item.active .codelab-file-badge {
|
|
1321
|
+
color: var(--cl-list-active-fg, #ffffff);
|
|
1211
1322
|
}
|
|
1212
1323
|
|
|
1213
1324
|
.codelab-file-badge {
|
|
1214
1325
|
margin-left: auto;
|
|
1215
|
-
font-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1326
|
+
font-family: var(--cl-font-sans);
|
|
1327
|
+
font-size: 11px;
|
|
1328
|
+
font-weight: 600;
|
|
1329
|
+
padding: 0 4px;
|
|
1330
|
+
border-radius: 2px;
|
|
1331
|
+
background: transparent;
|
|
1219
1332
|
color: var(--cl-fg-muted);
|
|
1220
|
-
border:
|
|
1333
|
+
border: none;
|
|
1334
|
+
}
|
|
1335
|
+
|
|
1336
|
+
.codelab-file-git {
|
|
1337
|
+
margin-left: auto;
|
|
1338
|
+
font-family: var(--cl-font-sans);
|
|
1339
|
+
font-size: 11px;
|
|
1340
|
+
font-weight: 600;
|
|
1341
|
+
padding-left: 6px;
|
|
1342
|
+
flex-shrink: 0;
|
|
1221
1343
|
}
|
|
1222
1344
|
|
|
1345
|
+
.codelab-file-git--M { color: var(--cl-git-modified, #e2c08d); }
|
|
1346
|
+
.codelab-file-git--U,
|
|
1347
|
+
.codelab-file-git--A { color: var(--cl-git-added, #73c991); }
|
|
1348
|
+
.codelab-file-git--D { color: var(--cl-git-deleted, #c74e39); text-decoration: line-through; }
|
|
1349
|
+
|
|
1223
1350
|
.codelab-explorer__actions {
|
|
1224
1351
|
display: inline-flex;
|
|
1225
1352
|
align-items: center;
|
|
1226
|
-
gap:
|
|
1353
|
+
gap: 2px;
|
|
1227
1354
|
margin-left: auto;
|
|
1228
|
-
margin-right:
|
|
1355
|
+
margin-right: 2px;
|
|
1229
1356
|
}
|
|
1230
1357
|
|
|
1231
1358
|
.codelab-explorer__btn {
|
|
1232
1359
|
display: inline-flex;
|
|
1233
1360
|
align-items: center;
|
|
1234
1361
|
justify-content: center;
|
|
1235
|
-
width:
|
|
1236
|
-
height:
|
|
1237
|
-
border-radius:
|
|
1238
|
-
border:
|
|
1362
|
+
width: 22px;
|
|
1363
|
+
height: 22px;
|
|
1364
|
+
border-radius: 3px;
|
|
1365
|
+
border: none;
|
|
1239
1366
|
background: transparent;
|
|
1240
1367
|
color: var(--cl-fg-muted);
|
|
1241
1368
|
cursor: pointer;
|
|
1242
1369
|
padding: 0;
|
|
1243
|
-
transition:
|
|
1370
|
+
transition: background 80ms ease, color 80ms ease;
|
|
1244
1371
|
}
|
|
1245
1372
|
|
|
1246
1373
|
.codelab-explorer__btn:hover {
|
|
1247
1374
|
background: var(--cl-bg-hover);
|
|
1248
1375
|
color: var(--cl-fg);
|
|
1249
|
-
border-color: var(--cl-border);
|
|
1250
1376
|
}
|
|
1251
1377
|
|
|
1252
1378
|
.codelab-folder-item {
|
|
1253
1379
|
display: flex;
|
|
1254
1380
|
align-items: center;
|
|
1255
|
-
gap:
|
|
1381
|
+
gap: 4px;
|
|
1256
1382
|
width: 100%;
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
border:
|
|
1383
|
+
min-height: 22px;
|
|
1384
|
+
padding: 2px 8px;
|
|
1385
|
+
border-radius: 0;
|
|
1386
|
+
border: none;
|
|
1260
1387
|
background: transparent;
|
|
1261
|
-
font-family: var(--cl-font-
|
|
1262
|
-
font-size:
|
|
1388
|
+
font-family: var(--cl-font-sans);
|
|
1389
|
+
font-size: 13px;
|
|
1390
|
+
line-height: 18px;
|
|
1263
1391
|
color: var(--cl-fg);
|
|
1264
1392
|
text-align: left;
|
|
1265
1393
|
cursor: pointer;
|
|
1266
|
-
transition: background
|
|
1394
|
+
transition: background 80ms ease;
|
|
1267
1395
|
position: relative;
|
|
1268
1396
|
}
|
|
1269
1397
|
|
|
@@ -1273,8 +1401,8 @@ code-lab,
|
|
|
1273
1401
|
|
|
1274
1402
|
.codelab-folder-item.drag-over {
|
|
1275
1403
|
background: var(--cl-bg-hover);
|
|
1276
|
-
|
|
1277
|
-
outline: 1px
|
|
1404
|
+
outline: 1px dashed var(--cl-btn-primary-bg, #0078d4);
|
|
1405
|
+
outline-offset: -1px;
|
|
1278
1406
|
}
|
|
1279
1407
|
|
|
1280
1408
|
.codelab-chevron {
|
|
@@ -1286,7 +1414,7 @@ code-lab,
|
|
|
1286
1414
|
padding: 0;
|
|
1287
1415
|
border: none;
|
|
1288
1416
|
background: transparent;
|
|
1289
|
-
color: var(--cl-fg-
|
|
1417
|
+
color: var(--cl-fg-muted);
|
|
1290
1418
|
cursor: pointer;
|
|
1291
1419
|
flex-shrink: 0;
|
|
1292
1420
|
border-radius: 3px;
|
|
@@ -1294,7 +1422,6 @@ code-lab,
|
|
|
1294
1422
|
|
|
1295
1423
|
.codelab-chevron:hover {
|
|
1296
1424
|
color: var(--cl-fg);
|
|
1297
|
-
background: var(--cl-bg-panel);
|
|
1298
1425
|
}
|
|
1299
1426
|
|
|
1300
1427
|
.codelab-folder-icon {
|
|
@@ -1309,7 +1436,7 @@ code-lab,
|
|
|
1309
1436
|
overflow: hidden;
|
|
1310
1437
|
text-overflow: ellipsis;
|
|
1311
1438
|
white-space: nowrap;
|
|
1312
|
-
font-weight:
|
|
1439
|
+
font-weight: 400;
|
|
1313
1440
|
}
|
|
1314
1441
|
|
|
1315
1442
|
.codelab-node-actions {
|
|
@@ -1319,7 +1446,8 @@ code-lab,
|
|
|
1319
1446
|
margin-left: auto;
|
|
1320
1447
|
}
|
|
1321
1448
|
|
|
1322
|
-
.codelab-folder-item:hover .codelab-node-actions
|
|
1449
|
+
.codelab-folder-item:hover .codelab-node-actions,
|
|
1450
|
+
.codelab-file-item:hover .codelab-node-actions {
|
|
1323
1451
|
display: inline-flex;
|
|
1324
1452
|
}
|
|
1325
1453
|
|
|
@@ -1331,22 +1459,24 @@ code-lab,
|
|
|
1331
1459
|
height: 18px;
|
|
1332
1460
|
padding: 0;
|
|
1333
1461
|
border-radius: 3px;
|
|
1334
|
-
border:
|
|
1462
|
+
border: none;
|
|
1335
1463
|
background: transparent;
|
|
1336
1464
|
color: var(--cl-fg-muted);
|
|
1337
1465
|
cursor: pointer;
|
|
1338
1466
|
}
|
|
1339
1467
|
|
|
1340
1468
|
.codelab-node-action:hover {
|
|
1341
|
-
background: var(--cl-bg-
|
|
1469
|
+
background: var(--cl-bg-active);
|
|
1342
1470
|
color: var(--cl-fg);
|
|
1343
|
-
border-color: var(--cl-border);
|
|
1344
1471
|
}
|
|
1345
1472
|
|
|
1346
1473
|
.codelab-file-icon {
|
|
1347
1474
|
display: inline-flex;
|
|
1348
1475
|
align-items: center;
|
|
1349
|
-
|
|
1476
|
+
justify-content: center;
|
|
1477
|
+
width: 16px;
|
|
1478
|
+
height: 16px;
|
|
1479
|
+
color: var(--cl-fg-muted);
|
|
1350
1480
|
flex-shrink: 0;
|
|
1351
1481
|
}
|
|
1352
1482
|
|
|
@@ -1361,7 +1491,7 @@ code-lab,
|
|
|
1361
1491
|
display: flex;
|
|
1362
1492
|
align-items: center;
|
|
1363
1493
|
gap: 6px;
|
|
1364
|
-
padding:
|
|
1494
|
+
padding: 2px 8px;
|
|
1365
1495
|
}
|
|
1366
1496
|
|
|
1367
1497
|
.codelab-tree-create-icon {
|
|
@@ -1373,19 +1503,19 @@ code-lab,
|
|
|
1373
1503
|
|
|
1374
1504
|
.codelab-tree-input {
|
|
1375
1505
|
flex: 1;
|
|
1376
|
-
height:
|
|
1506
|
+
height: 22px;
|
|
1377
1507
|
padding: 0 6px;
|
|
1378
|
-
border-radius:
|
|
1379
|
-
border: 1px solid var(--cl-
|
|
1380
|
-
background: var(--cl-bg);
|
|
1508
|
+
border-radius: 2px;
|
|
1509
|
+
border: 1px solid var(--cl-btn-primary-bg, #0078d4);
|
|
1510
|
+
background: var(--cl-input-bg, #313131);
|
|
1381
1511
|
color: var(--cl-fg);
|
|
1382
|
-
font-family: var(--cl-font-
|
|
1383
|
-
font-size:
|
|
1512
|
+
font-family: var(--cl-font-sans);
|
|
1513
|
+
font-size: 12.5px;
|
|
1384
1514
|
outline: none;
|
|
1385
1515
|
}
|
|
1386
1516
|
|
|
1387
1517
|
.codelab-tree-input:focus {
|
|
1388
|
-
border-color: var(--cl-
|
|
1518
|
+
border-color: var(--cl-btn-primary-bg, #0078d4);
|
|
1389
1519
|
}
|
|
1390
1520
|
|
|
1391
1521
|
/* Editor Column */
|
|
@@ -1398,7 +1528,7 @@ code-lab,
|
|
|
1398
1528
|
background: var(--cl-bg);
|
|
1399
1529
|
}
|
|
1400
1530
|
|
|
1401
|
-
/* File Tab Bar (35px height, WAI-ARIA tablist + sibling actions) */
|
|
1531
|
+
/* File Tab Bar (35px VS Code height, WAI-ARIA tablist + sibling actions) */
|
|
1402
1532
|
.codelab-tabs-bar {
|
|
1403
1533
|
display: flex;
|
|
1404
1534
|
align-items: center;
|
|
@@ -1424,8 +1554,8 @@ code-lab,
|
|
|
1424
1554
|
.codelab-tabs-actions {
|
|
1425
1555
|
display: flex;
|
|
1426
1556
|
align-items: center;
|
|
1427
|
-
gap:
|
|
1428
|
-
padding: 0
|
|
1557
|
+
gap: 2px;
|
|
1558
|
+
padding: 0 6px;
|
|
1429
1559
|
height: 100%;
|
|
1430
1560
|
flex-shrink: 0;
|
|
1431
1561
|
background: var(--cl-bg-elevated);
|
|
@@ -1439,11 +1569,12 @@ code-lab,
|
|
|
1439
1569
|
.codelab-tab {
|
|
1440
1570
|
display: inline-flex;
|
|
1441
1571
|
align-items: center;
|
|
1442
|
-
gap:
|
|
1572
|
+
gap: 6px;
|
|
1443
1573
|
height: 100%;
|
|
1444
|
-
padding: 0 12px;
|
|
1445
|
-
font-family: var(--cl-font-
|
|
1446
|
-
font-size:
|
|
1574
|
+
padding: 0 10px 0 12px;
|
|
1575
|
+
font-family: var(--cl-font-sans);
|
|
1576
|
+
font-size: 13px;
|
|
1577
|
+
font-weight: 400;
|
|
1447
1578
|
color: var(--cl-fg-muted);
|
|
1448
1579
|
border: none;
|
|
1449
1580
|
border-right: 1px solid var(--cl-border);
|
|
@@ -1452,59 +1583,51 @@ code-lab,
|
|
|
1452
1583
|
white-space: nowrap;
|
|
1453
1584
|
position: relative;
|
|
1454
1585
|
user-select: none;
|
|
1455
|
-
transition: background
|
|
1586
|
+
transition: background 80ms ease, color 80ms ease;
|
|
1587
|
+
}
|
|
1588
|
+
|
|
1589
|
+
.codelab-tab--preview .codelab-tab__label {
|
|
1590
|
+
font-style: italic;
|
|
1456
1591
|
}
|
|
1457
1592
|
|
|
1458
1593
|
.codelab-tab:hover {
|
|
1459
1594
|
color: var(--cl-fg);
|
|
1460
|
-
background: var(--cl-bg
|
|
1595
|
+
background: var(--cl-bg);
|
|
1461
1596
|
}
|
|
1462
1597
|
|
|
1463
1598
|
.codelab-tab.active,
|
|
1464
1599
|
.codelab-tab[aria-selected="true"] {
|
|
1465
1600
|
color: var(--cl-fg);
|
|
1466
1601
|
background: var(--cl-bg);
|
|
1467
|
-
font-weight:
|
|
1468
|
-
box-shadow: inset 0
|
|
1602
|
+
font-weight: 400;
|
|
1603
|
+
box-shadow: inset 0 1px 0 var(--cl-btn-primary-bg, #0078d4);
|
|
1469
1604
|
}
|
|
1470
1605
|
|
|
1471
1606
|
.codelab-tab__ext {
|
|
1472
1607
|
display: inline-flex;
|
|
1473
1608
|
align-items: center;
|
|
1474
1609
|
justify-content: center;
|
|
1475
|
-
|
|
1476
|
-
|
|
1610
|
+
width: 16px;
|
|
1611
|
+
height: 16px;
|
|
1612
|
+
font-family: var(--cl-font-sans);
|
|
1613
|
+
font-size: 10px;
|
|
1477
1614
|
font-weight: 700;
|
|
1478
|
-
padding:
|
|
1479
|
-
border-radius:
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
.codelab-tab__ext--js {
|
|
1484
|
-
background: var(--cl-amber-muted);
|
|
1485
|
-
color: var(--cl-amber);
|
|
1486
|
-
}
|
|
1487
|
-
|
|
1488
|
-
.codelab-tab__ext--ts {
|
|
1489
|
-
background: var(--cl-blue-muted);
|
|
1490
|
-
color: var(--cl-blue);
|
|
1491
|
-
}
|
|
1492
|
-
|
|
1493
|
-
.codelab-tab__ext--json {
|
|
1494
|
-
background: var(--cl-purple-muted);
|
|
1495
|
-
color: var(--cl-purple);
|
|
1615
|
+
padding: 0;
|
|
1616
|
+
border-radius: 2px;
|
|
1617
|
+
background: transparent;
|
|
1618
|
+
flex-shrink: 0;
|
|
1496
1619
|
}
|
|
1497
1620
|
|
|
1498
|
-
.codelab-tab__ext--
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
}
|
|
1621
|
+
.codelab-tab__ext--js { color: #f1dd3f; }
|
|
1622
|
+
.codelab-tab__ext--ts { color: #3178c6; }
|
|
1623
|
+
.codelab-tab__ext--json { color: #cbcb41; }
|
|
1624
|
+
.codelab-tab__ext--md { color: #519aba; }
|
|
1502
1625
|
|
|
1503
1626
|
.codelab-tab__dot {
|
|
1504
|
-
width:
|
|
1505
|
-
height:
|
|
1627
|
+
width: 7px;
|
|
1628
|
+
height: 7px;
|
|
1506
1629
|
border-radius: 50%;
|
|
1507
|
-
background: var(--cl-
|
|
1630
|
+
background: var(--cl-fg-muted);
|
|
1508
1631
|
}
|
|
1509
1632
|
|
|
1510
1633
|
.codelab-tab__close {
|
|
@@ -1513,15 +1636,21 @@ code-lab,
|
|
|
1513
1636
|
justify-content: center;
|
|
1514
1637
|
width: 18px;
|
|
1515
1638
|
height: 18px;
|
|
1516
|
-
border-radius:
|
|
1517
|
-
font-size:
|
|
1639
|
+
border-radius: 3px;
|
|
1640
|
+
font-size: 14px;
|
|
1518
1641
|
line-height: 1;
|
|
1519
|
-
color: var(--cl-fg-
|
|
1520
|
-
margin-left:
|
|
1642
|
+
color: var(--cl-fg-muted);
|
|
1643
|
+
margin-left: 2px;
|
|
1521
1644
|
cursor: pointer;
|
|
1522
1645
|
background: transparent;
|
|
1523
1646
|
border: none;
|
|
1524
|
-
|
|
1647
|
+
opacity: 0.75;
|
|
1648
|
+
transition: background 80ms ease, color 80ms ease, opacity 80ms ease;
|
|
1649
|
+
}
|
|
1650
|
+
|
|
1651
|
+
.codelab-tab:hover .codelab-tab__close,
|
|
1652
|
+
.codelab-tab.active .codelab-tab__close {
|
|
1653
|
+
opacity: 1;
|
|
1525
1654
|
}
|
|
1526
1655
|
|
|
1527
1656
|
.codelab-tab__close:hover {
|
|
@@ -1933,22 +2062,24 @@ code-lab,
|
|
|
1933
2062
|
padding: 1px 6px;
|
|
1934
2063
|
}
|
|
1935
2064
|
|
|
1936
|
-
/* ── Bottom
|
|
2065
|
+
/* ── Bottom Panel: PROBLEMS, OUTPUT, TERMINAL, PORTS, TESTS ──────────────── */
|
|
1937
2066
|
.codelab-drawer,
|
|
1938
2067
|
.codelab-bottom {
|
|
1939
2068
|
display: flex;
|
|
1940
2069
|
flex-direction: column;
|
|
1941
2070
|
height: var(--cl-drawer-height, 220px);
|
|
1942
|
-
min-height:
|
|
1943
|
-
max-height:
|
|
2071
|
+
min-height: 80px;
|
|
2072
|
+
max-height: 78%;
|
|
1944
2073
|
background: var(--cl-bg-elevated);
|
|
2074
|
+
border-top: 1px solid var(--cl-border);
|
|
1945
2075
|
flex-shrink: 0;
|
|
1946
2076
|
}
|
|
1947
2077
|
|
|
1948
2078
|
.codelab-drawer.is-minimized,
|
|
1949
2079
|
.codelab-bottom.is-minimized {
|
|
1950
|
-
|
|
1951
|
-
|
|
2080
|
+
display: none !important;
|
|
2081
|
+
height: 0 !important;
|
|
2082
|
+
min-height: 0 !important;
|
|
1952
2083
|
}
|
|
1953
2084
|
|
|
1954
2085
|
.codelab-drawer__bar {
|
|
@@ -1956,31 +2087,26 @@ code-lab,
|
|
|
1956
2087
|
align-items: center;
|
|
1957
2088
|
justify-content: space-between;
|
|
1958
2089
|
gap: 8px;
|
|
1959
|
-
height:
|
|
1960
|
-
padding: 0
|
|
1961
|
-
background: var(--cl-bg);
|
|
2090
|
+
height: 35px;
|
|
2091
|
+
padding: 0 8px 0 12px;
|
|
2092
|
+
background: var(--cl-bg-elevated);
|
|
1962
2093
|
border-bottom: 1px solid var(--cl-border);
|
|
1963
2094
|
flex-shrink: 0;
|
|
1964
2095
|
user-select: none;
|
|
1965
2096
|
min-width: 0;
|
|
1966
2097
|
}
|
|
1967
2098
|
|
|
1968
|
-
/* Keep the
|
|
1969
|
-
.codelab-drawer__bar > div:last-child
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
/* On narrow/guided layouts, drop the tab pill badges so labels never wrap. */
|
|
1974
|
-
@media (max-width: 720px) {
|
|
1975
|
-
.codelab-drawer__tab .codelab-drawer__pill {
|
|
1976
|
-
display: none;
|
|
1977
|
-
}
|
|
2099
|
+
/* Keep the right-side Split / + / Clear / Maximize / Close controls pinned. */
|
|
2100
|
+
.codelab-drawer__bar > div:last-child,
|
|
2101
|
+
.codelab-drawer__actions {
|
|
2102
|
+
flex: 0 0 auto;
|
|
2103
|
+
margin-left: auto;
|
|
1978
2104
|
}
|
|
1979
2105
|
|
|
1980
2106
|
.codelab-drawer__tabs {
|
|
1981
2107
|
display: flex;
|
|
1982
2108
|
align-items: center;
|
|
1983
|
-
gap:
|
|
2109
|
+
gap: 2px;
|
|
1984
2110
|
height: 100%;
|
|
1985
2111
|
flex: 1 1 auto;
|
|
1986
2112
|
flex-wrap: nowrap;
|
|
@@ -1998,38 +2124,51 @@ code-lab,
|
|
|
1998
2124
|
.codelab-drawer__tab {
|
|
1999
2125
|
display: inline-flex;
|
|
2000
2126
|
align-items: center;
|
|
2001
|
-
gap:
|
|
2127
|
+
gap: 5px;
|
|
2002
2128
|
height: 100%;
|
|
2003
|
-
padding: 0
|
|
2004
|
-
font-
|
|
2129
|
+
padding: 0 10px;
|
|
2130
|
+
font-family: var(--cl-font-sans);
|
|
2131
|
+
font-size: 11px;
|
|
2005
2132
|
font-weight: 500;
|
|
2133
|
+
text-transform: uppercase;
|
|
2134
|
+
letter-spacing: 0.03em;
|
|
2006
2135
|
color: var(--cl-fg-muted);
|
|
2007
2136
|
background: transparent;
|
|
2008
2137
|
border: none;
|
|
2009
2138
|
cursor: pointer;
|
|
2010
|
-
transition:
|
|
2139
|
+
transition: color 80ms ease;
|
|
2011
2140
|
flex-shrink: 0;
|
|
2012
2141
|
white-space: nowrap;
|
|
2142
|
+
position: relative;
|
|
2013
2143
|
}
|
|
2014
2144
|
|
|
2015
2145
|
.codelab-drawer__tab:hover {
|
|
2016
2146
|
color: var(--cl-fg);
|
|
2017
2147
|
}
|
|
2018
2148
|
|
|
2019
|
-
.codelab-drawer__tab.active
|
|
2149
|
+
.codelab-drawer__tab.active,
|
|
2150
|
+
.codelab-drawer__tab[aria-selected="true"] {
|
|
2020
2151
|
color: var(--cl-fg);
|
|
2021
|
-
box-shadow: inset 0 -
|
|
2022
|
-
font-weight:
|
|
2152
|
+
box-shadow: inset 0 -1px 0 var(--cl-btn-primary-bg, #0078d4);
|
|
2153
|
+
font-weight: 500;
|
|
2023
2154
|
}
|
|
2024
2155
|
|
|
2025
2156
|
.codelab-drawer__pill {
|
|
2026
|
-
font-family: var(--cl-font-
|
|
2157
|
+
font-family: var(--cl-font-sans);
|
|
2027
2158
|
font-variant-numeric: tabular-nums;
|
|
2028
|
-
font-size:
|
|
2029
|
-
|
|
2159
|
+
font-size: 10px;
|
|
2160
|
+
font-weight: 600;
|
|
2161
|
+
text-transform: none;
|
|
2162
|
+
letter-spacing: 0;
|
|
2163
|
+
padding: 1px 6px;
|
|
2030
2164
|
border-radius: 999px;
|
|
2031
|
-
background: var(--cl-bg-
|
|
2032
|
-
color: var(--cl-fg
|
|
2165
|
+
background: var(--cl-bg-active);
|
|
2166
|
+
color: var(--cl-fg);
|
|
2167
|
+
}
|
|
2168
|
+
|
|
2169
|
+
.codelab-drawer__pill:empty,
|
|
2170
|
+
.codelab-drawer__pill[data-empty="true"] {
|
|
2171
|
+
display: none;
|
|
2033
2172
|
}
|
|
2034
2173
|
|
|
2035
2174
|
.codelab-drawer__pill.pass {
|
|
@@ -2047,9 +2186,17 @@ code-lab,
|
|
|
2047
2186
|
flex: 1;
|
|
2048
2187
|
min-height: 0;
|
|
2049
2188
|
overflow-y: auto;
|
|
2050
|
-
padding: 14px
|
|
2189
|
+
padding: 10px 14px;
|
|
2051
2190
|
font-family: var(--cl-font-mono);
|
|
2052
2191
|
font-size: 12.5px;
|
|
2192
|
+
background: var(--cl-bg);
|
|
2193
|
+
}
|
|
2194
|
+
|
|
2195
|
+
.codelab-drawer__body.is-flush-panel {
|
|
2196
|
+
padding: 0;
|
|
2197
|
+
overflow: hidden;
|
|
2198
|
+
display: flex;
|
|
2199
|
+
flex-direction: column;
|
|
2053
2200
|
}
|
|
2054
2201
|
|
|
2055
2202
|
/* Test Results Grid (Zero side-stripes, crisp 1px semantic borders) */
|
|
@@ -2345,21 +2492,21 @@ code-lab,
|
|
|
2345
2492
|
white-space: pre;
|
|
2346
2493
|
}
|
|
2347
2494
|
|
|
2348
|
-
/* ──
|
|
2495
|
+
/* ── 24px VS Code Status Bar Footer (.codelab-statusbar) ───────────────── */
|
|
2349
2496
|
.codelab-statusbar {
|
|
2350
2497
|
display: flex;
|
|
2351
2498
|
align-items: center;
|
|
2352
2499
|
justify-content: space-between;
|
|
2353
2500
|
height: 24px;
|
|
2354
|
-
padding: 0
|
|
2501
|
+
padding: 0 8px;
|
|
2355
2502
|
background: var(--cl-bg-elevated);
|
|
2356
2503
|
border-top: 1px solid var(--cl-border);
|
|
2357
|
-
font-family: var(--cl-font-
|
|
2358
|
-
font-size:
|
|
2504
|
+
font-family: var(--cl-font-sans);
|
|
2505
|
+
font-size: 12px;
|
|
2359
2506
|
color: var(--cl-fg-muted);
|
|
2360
2507
|
user-select: none;
|
|
2361
2508
|
flex-shrink: 0;
|
|
2362
|
-
gap:
|
|
2509
|
+
gap: 6px;
|
|
2363
2510
|
}
|
|
2364
2511
|
|
|
2365
2512
|
.codelab.statusbar-hidden .codelab-statusbar,
|
|
@@ -2371,7 +2518,7 @@ code-lab,
|
|
|
2371
2518
|
.codelab-statusbar__right {
|
|
2372
2519
|
display: flex;
|
|
2373
2520
|
align-items: center;
|
|
2374
|
-
gap:
|
|
2521
|
+
gap: 4px;
|
|
2375
2522
|
min-width: 0;
|
|
2376
2523
|
}
|
|
2377
2524
|
|
|
@@ -2379,6 +2526,8 @@ code-lab,
|
|
|
2379
2526
|
display: inline-flex;
|
|
2380
2527
|
align-items: center;
|
|
2381
2528
|
gap: 5px;
|
|
2529
|
+
padding: 0 5px;
|
|
2530
|
+
height: 22px;
|
|
2382
2531
|
white-space: nowrap;
|
|
2383
2532
|
font-variant-numeric: tabular-nums;
|
|
2384
2533
|
}
|
|
@@ -2387,18 +2536,18 @@ code-lab,
|
|
|
2387
2536
|
display: inline-flex;
|
|
2388
2537
|
align-items: center;
|
|
2389
2538
|
gap: 5px;
|
|
2390
|
-
height:
|
|
2539
|
+
height: 22px;
|
|
2391
2540
|
padding: 0 6px;
|
|
2392
2541
|
border: none;
|
|
2393
|
-
border-radius:
|
|
2542
|
+
border-radius: 0;
|
|
2394
2543
|
background: transparent;
|
|
2395
2544
|
color: var(--cl-fg-muted);
|
|
2396
|
-
font-family: var(--cl-font-
|
|
2397
|
-
font-size:
|
|
2545
|
+
font-family: var(--cl-font-sans);
|
|
2546
|
+
font-size: 12px;
|
|
2398
2547
|
font-variant-numeric: tabular-nums;
|
|
2399
2548
|
cursor: pointer;
|
|
2400
2549
|
white-space: nowrap;
|
|
2401
|
-
transition: background
|
|
2550
|
+
transition: background 80ms ease, color 80ms ease;
|
|
2402
2551
|
}
|
|
2403
2552
|
|
|
2404
2553
|
.codelab-statusbar__btn:hover,
|
|
@@ -2407,9 +2556,22 @@ code-lab,
|
|
|
2407
2556
|
color: var(--cl-fg);
|
|
2408
2557
|
}
|
|
2409
2558
|
|
|
2559
|
+
.codelab-statusbar__remote {
|
|
2560
|
+
display: inline-flex;
|
|
2561
|
+
align-items: center;
|
|
2562
|
+
gap: 4px;
|
|
2563
|
+
height: 22px;
|
|
2564
|
+
padding: 0 8px;
|
|
2565
|
+
margin-left: -8px;
|
|
2566
|
+
background: var(--cl-btn-primary-bg, #0078d4);
|
|
2567
|
+
color: var(--cl-btn-primary-fg, #ffffff);
|
|
2568
|
+
font-size: 11.5px;
|
|
2569
|
+
font-weight: 500;
|
|
2570
|
+
}
|
|
2571
|
+
|
|
2410
2572
|
.codelab-statusbar__sep {
|
|
2411
2573
|
width: 1px;
|
|
2412
|
-
height:
|
|
2574
|
+
height: 11px;
|
|
2413
2575
|
background: var(--cl-border);
|
|
2414
2576
|
}
|
|
2415
2577
|
|
|
@@ -2449,8 +2611,7 @@ code-lab,
|
|
|
2449
2611
|
.codelab-modal-backdrop {
|
|
2450
2612
|
position: absolute;
|
|
2451
2613
|
inset: 0;
|
|
2452
|
-
background: rgba(
|
|
2453
|
-
backdrop-filter: blur(4px);
|
|
2614
|
+
background: rgba(0, 0, 0, 0.52);
|
|
2454
2615
|
z-index: 50;
|
|
2455
2616
|
display: flex;
|
|
2456
2617
|
align-items: center;
|
|
@@ -2460,35 +2621,37 @@ code-lab,
|
|
|
2460
2621
|
|
|
2461
2622
|
.codelab-modal {
|
|
2462
2623
|
width: 100%;
|
|
2463
|
-
max-width:
|
|
2624
|
+
max-width: 640px;
|
|
2464
2625
|
max-height: 85%;
|
|
2465
2626
|
background: var(--cl-bg-elevated);
|
|
2466
2627
|
border: 1px solid var(--cl-border-strong);
|
|
2467
|
-
border-radius:
|
|
2628
|
+
border-radius: var(--cl-radius-md, 5px);
|
|
2468
2629
|
display: flex;
|
|
2469
2630
|
flex-direction: column;
|
|
2470
2631
|
overflow: hidden;
|
|
2471
|
-
box-shadow: 0
|
|
2632
|
+
box-shadow: 0 16px 42px rgba(0, 0, 0, 0.52);
|
|
2633
|
+
font-family: var(--cl-font-sans);
|
|
2472
2634
|
}
|
|
2473
2635
|
|
|
2474
2636
|
.codelab-modal__header {
|
|
2475
2637
|
display: flex;
|
|
2476
2638
|
align-items: center;
|
|
2477
2639
|
justify-content: space-between;
|
|
2478
|
-
padding:
|
|
2479
|
-
background: var(--cl-bg);
|
|
2640
|
+
padding: 10px 16px;
|
|
2641
|
+
background: var(--cl-bg-elevated);
|
|
2480
2642
|
border-bottom: 1px solid var(--cl-border);
|
|
2643
|
+
font-family: var(--cl-font-sans);
|
|
2481
2644
|
font-weight: 600;
|
|
2482
|
-
font-size:
|
|
2645
|
+
font-size: 13px;
|
|
2483
2646
|
}
|
|
2484
2647
|
|
|
2485
2648
|
.codelab-modal__body {
|
|
2486
2649
|
flex: 1;
|
|
2487
2650
|
overflow-y: auto;
|
|
2488
|
-
padding:
|
|
2489
|
-
font-family: var(--cl-font-
|
|
2490
|
-
font-size:
|
|
2491
|
-
line-height: 1.
|
|
2651
|
+
padding: 16px;
|
|
2652
|
+
font-family: var(--cl-font-sans);
|
|
2653
|
+
font-size: 12.5px;
|
|
2654
|
+
line-height: 1.55;
|
|
2492
2655
|
}
|
|
2493
2656
|
|
|
2494
2657
|
.codelab-pkg-grid {
|
|
@@ -2502,34 +2665,35 @@ code-lab,
|
|
|
2502
2665
|
display: flex;
|
|
2503
2666
|
align-items: center;
|
|
2504
2667
|
justify-content: space-between;
|
|
2505
|
-
padding:
|
|
2506
|
-
border-radius:
|
|
2668
|
+
padding: 7px 10px;
|
|
2669
|
+
border-radius: var(--cl-radius-sm, 3px);
|
|
2507
2670
|
background: var(--cl-bg);
|
|
2508
2671
|
border: 1px solid var(--cl-border);
|
|
2509
2672
|
color: var(--cl-fg);
|
|
2510
2673
|
font-family: var(--cl-font-mono);
|
|
2511
2674
|
font-size: 11.5px;
|
|
2512
2675
|
cursor: pointer;
|
|
2513
|
-
transition: all
|
|
2676
|
+
transition: all 100ms ease;
|
|
2514
2677
|
}
|
|
2515
2678
|
|
|
2516
2679
|
.codelab-pkg-chip:hover {
|
|
2517
|
-
border-color: var(--cl-
|
|
2518
|
-
background: var(--cl-
|
|
2680
|
+
border-color: var(--cl-btn-primary-bg, #0078d4);
|
|
2681
|
+
background: var(--cl-bg-hover);
|
|
2519
2682
|
}
|
|
2520
2683
|
|
|
2521
|
-
/* ── Editor Breadcrumbs Bar
|
|
2684
|
+
/* ── 22px VS Code Editor Breadcrumbs Bar ─────────────────────────────────── */
|
|
2522
2685
|
.codelab-breadcrumbs {
|
|
2523
2686
|
display: flex;
|
|
2524
2687
|
align-items: center;
|
|
2525
2688
|
justify-content: space-between;
|
|
2526
|
-
gap:
|
|
2527
|
-
min-height:
|
|
2689
|
+
gap: 6px;
|
|
2690
|
+
min-height: 22px;
|
|
2691
|
+
height: 22px;
|
|
2528
2692
|
padding: 0 12px;
|
|
2529
|
-
background: var(--cl-bg
|
|
2530
|
-
border-bottom: 1px solid var(--cl-border);
|
|
2531
|
-
font-family: var(--cl-font-
|
|
2532
|
-
font-size:
|
|
2693
|
+
background: var(--cl-bg);
|
|
2694
|
+
border-bottom: 1px solid var(--cl-border-subtle);
|
|
2695
|
+
font-family: var(--cl-font-sans);
|
|
2696
|
+
font-size: 12px;
|
|
2533
2697
|
color: var(--cl-fg-muted);
|
|
2534
2698
|
user-select: none;
|
|
2535
2699
|
overflow: visible;
|
|
@@ -2539,19 +2703,19 @@ code-lab,
|
|
|
2539
2703
|
display: none;
|
|
2540
2704
|
align-items: center;
|
|
2541
2705
|
gap: 5px;
|
|
2542
|
-
height:
|
|
2543
|
-
padding: 0
|
|
2706
|
+
height: 18px;
|
|
2707
|
+
padding: 0 6px;
|
|
2544
2708
|
font-size: 11px;
|
|
2545
2709
|
font-family: var(--cl-font-sans);
|
|
2546
2710
|
font-weight: 500;
|
|
2547
2711
|
color: var(--cl-fg-muted);
|
|
2548
|
-
background: var(--cl-bg);
|
|
2712
|
+
background: var(--cl-bg-elevated);
|
|
2549
2713
|
border: 1px solid var(--cl-border);
|
|
2550
|
-
border-radius:
|
|
2714
|
+
border-radius: 3px;
|
|
2551
2715
|
cursor: pointer;
|
|
2552
2716
|
flex-shrink: 0;
|
|
2553
2717
|
margin-right: 6px;
|
|
2554
|
-
transition: all
|
|
2718
|
+
transition: all 100ms ease;
|
|
2555
2719
|
}
|
|
2556
2720
|
|
|
2557
2721
|
.codelab-guide__expand-btn:hover {
|
|
@@ -2569,7 +2733,7 @@ code-lab,
|
|
|
2569
2733
|
.codelab-breadcrumbs__left {
|
|
2570
2734
|
display: inline-flex;
|
|
2571
2735
|
align-items: center;
|
|
2572
|
-
gap:
|
|
2736
|
+
gap: 4px;
|
|
2573
2737
|
min-width: 0;
|
|
2574
2738
|
flex: 1 1 auto;
|
|
2575
2739
|
}
|
|
@@ -2577,7 +2741,7 @@ code-lab,
|
|
|
2577
2741
|
.codelab-breadcrumbs__path {
|
|
2578
2742
|
display: inline-flex;
|
|
2579
2743
|
align-items: center;
|
|
2580
|
-
gap:
|
|
2744
|
+
gap: 2px;
|
|
2581
2745
|
min-width: 0;
|
|
2582
2746
|
white-space: nowrap;
|
|
2583
2747
|
overflow-x: auto;
|
|
@@ -2596,15 +2760,15 @@ code-lab,
|
|
|
2596
2760
|
display: inline-flex;
|
|
2597
2761
|
align-items: center;
|
|
2598
2762
|
gap: 4px;
|
|
2599
|
-
padding:
|
|
2763
|
+
padding: 1px 4px;
|
|
2600
2764
|
border: none;
|
|
2601
|
-
border-radius:
|
|
2765
|
+
border-radius: 3px;
|
|
2602
2766
|
background: transparent;
|
|
2603
2767
|
color: var(--cl-fg-muted);
|
|
2604
|
-
font-family: var(--cl-font-
|
|
2605
|
-
font-size:
|
|
2768
|
+
font-family: var(--cl-font-sans);
|
|
2769
|
+
font-size: 12px;
|
|
2606
2770
|
cursor: pointer;
|
|
2607
|
-
transition: background
|
|
2771
|
+
transition: background 80ms ease, color 80ms ease;
|
|
2608
2772
|
}
|
|
2609
2773
|
|
|
2610
2774
|
.codelab-breadcrumbs__item:hover {
|
|
@@ -2613,19 +2777,19 @@ code-lab,
|
|
|
2613
2777
|
}
|
|
2614
2778
|
|
|
2615
2779
|
.codelab-breadcrumbs__item--root {
|
|
2616
|
-
color: var(--cl-fg-
|
|
2780
|
+
color: var(--cl-fg-muted);
|
|
2617
2781
|
cursor: default;
|
|
2618
2782
|
}
|
|
2619
2783
|
|
|
2620
2784
|
.codelab-breadcrumbs__item--file {
|
|
2621
2785
|
color: var(--cl-fg);
|
|
2622
|
-
font-weight:
|
|
2786
|
+
font-weight: 400;
|
|
2623
2787
|
}
|
|
2624
2788
|
|
|
2625
2789
|
.codelab-breadcrumbs__item--symbol {
|
|
2626
2790
|
color: var(--cl-fg-muted);
|
|
2627
|
-
background:
|
|
2628
|
-
border:
|
|
2791
|
+
background: transparent;
|
|
2792
|
+
border: none;
|
|
2629
2793
|
cursor: default;
|
|
2630
2794
|
}
|
|
2631
2795
|
|
|
@@ -5981,7 +6145,7 @@ dialog.cl-settings-dialog {
|
|
|
5981
6145
|
align-items: center;
|
|
5982
6146
|
justify-content: center;
|
|
5983
6147
|
height: 26px;
|
|
5984
|
-
padding: 0
|
|
6148
|
+
padding: 0 5px;
|
|
5985
6149
|
border: 1px solid transparent;
|
|
5986
6150
|
border-radius: 4px;
|
|
5987
6151
|
background: transparent;
|
|
@@ -6041,14 +6205,14 @@ dialog.cl-settings-dialog {
|
|
|
6041
6205
|
justify-content: space-between;
|
|
6042
6206
|
gap: 10px;
|
|
6043
6207
|
width: 100%;
|
|
6044
|
-
min-height:
|
|
6045
|
-
padding:
|
|
6208
|
+
min-height: 24px;
|
|
6209
|
+
padding: 3px 10px;
|
|
6046
6210
|
border: none;
|
|
6047
|
-
border-radius:
|
|
6211
|
+
border-radius: 3px;
|
|
6048
6212
|
background: transparent;
|
|
6049
6213
|
color: var(--cl-fg);
|
|
6050
6214
|
font-family: var(--cl-font-sans);
|
|
6051
|
-
font-size:
|
|
6215
|
+
font-size: 12px;
|
|
6052
6216
|
text-align: left;
|
|
6053
6217
|
cursor: pointer;
|
|
6054
6218
|
}
|
|
@@ -6056,8 +6220,8 @@ dialog.cl-settings-dialog {
|
|
|
6056
6220
|
.codelab-topbar-menu__item:hover,
|
|
6057
6221
|
.codelab-topbar-menu__item:focus-visible,
|
|
6058
6222
|
.codelab-topbar-menu__item.is-active {
|
|
6059
|
-
background: var(--cl-
|
|
6060
|
-
color: var(--cl-
|
|
6223
|
+
background: var(--cl-list-active, #04395e);
|
|
6224
|
+
color: var(--cl-list-active-fg, #ffffff);
|
|
6061
6225
|
outline: none;
|
|
6062
6226
|
}
|
|
6063
6227
|
|
|
@@ -6087,18 +6251,18 @@ dialog.cl-settings-dialog {
|
|
|
6087
6251
|
}
|
|
6088
6252
|
|
|
6089
6253
|
.codelab-topbar-menu__kbd {
|
|
6090
|
-
font-family: var(--cl-font-
|
|
6091
|
-
font-size:
|
|
6254
|
+
font-family: var(--cl-font-sans);
|
|
6255
|
+
font-size: 11px;
|
|
6092
6256
|
color: var(--cl-fg-muted);
|
|
6093
6257
|
margin-left: auto;
|
|
6094
|
-
padding-left:
|
|
6258
|
+
padding-left: 16px;
|
|
6095
6259
|
flex-shrink: 0;
|
|
6096
6260
|
}
|
|
6097
6261
|
|
|
6098
6262
|
.codelab-topbar-menu__item:hover .codelab-topbar-menu__kbd,
|
|
6099
6263
|
.codelab-topbar-menu__item:focus-visible .codelab-topbar-menu__kbd,
|
|
6100
6264
|
.codelab-topbar-menu__item.is-active .codelab-topbar-menu__kbd {
|
|
6101
|
-
color: var(--cl-
|
|
6265
|
+
color: var(--cl-list-active-fg, #ffffff);
|
|
6102
6266
|
opacity: 0.9;
|
|
6103
6267
|
}
|
|
6104
6268
|
|
|
@@ -6121,7 +6285,7 @@ dialog.cl-settings-dialog {
|
|
|
6121
6285
|
padding: 4px;
|
|
6122
6286
|
background: var(--cl-bg-elevated);
|
|
6123
6287
|
border: 1px solid var(--cl-border-strong);
|
|
6124
|
-
border-radius:
|
|
6288
|
+
border-radius: 5px;
|
|
6125
6289
|
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.48);
|
|
6126
6290
|
display: none;
|
|
6127
6291
|
flex-direction: column;
|
|
@@ -6142,7 +6306,7 @@ dialog.cl-settings-dialog {
|
|
|
6142
6306
|
max-width: 48px;
|
|
6143
6307
|
flex: 0 0 48px;
|
|
6144
6308
|
height: 100%;
|
|
6145
|
-
padding:
|
|
6309
|
+
padding: 0;
|
|
6146
6310
|
background: var(--cl-bg-elevated);
|
|
6147
6311
|
border-right: 1px solid var(--cl-border);
|
|
6148
6312
|
user-select: none;
|
|
@@ -6156,7 +6320,7 @@ dialog.cl-settings-dialog {
|
|
|
6156
6320
|
display: flex;
|
|
6157
6321
|
flex-direction: column;
|
|
6158
6322
|
align-items: center;
|
|
6159
|
-
gap:
|
|
6323
|
+
gap: 0;
|
|
6160
6324
|
width: 100%;
|
|
6161
6325
|
}
|
|
6162
6326
|
|
|
@@ -6167,13 +6331,13 @@ dialog.cl-settings-dialog {
|
|
|
6167
6331
|
align-items: center;
|
|
6168
6332
|
justify-content: center;
|
|
6169
6333
|
width: 48px;
|
|
6170
|
-
height:
|
|
6334
|
+
height: 48px;
|
|
6171
6335
|
padding: 0;
|
|
6172
6336
|
border: none;
|
|
6173
6337
|
background: transparent;
|
|
6174
6338
|
color: var(--cl-fg-muted);
|
|
6175
6339
|
cursor: pointer;
|
|
6176
|
-
transition: color
|
|
6340
|
+
transition: color 80ms ease;
|
|
6177
6341
|
}
|
|
6178
6342
|
|
|
6179
6343
|
.codelab-activitybar__btn:hover,
|
|
@@ -6181,7 +6345,6 @@ dialog.cl-settings-dialog {
|
|
|
6181
6345
|
.codelab-activitybar__item:hover,
|
|
6182
6346
|
.codelab-activitybar__item:focus-visible {
|
|
6183
6347
|
color: var(--cl-fg);
|
|
6184
|
-
background: var(--cl-bg-hover);
|
|
6185
6348
|
}
|
|
6186
6349
|
|
|
6187
6350
|
.codelab-activitybar__btn.active,
|
|
@@ -6189,29 +6352,29 @@ dialog.cl-settings-dialog {
|
|
|
6189
6352
|
.codelab-activitybar__item.active,
|
|
6190
6353
|
.codelab-activitybar__item[aria-pressed="true"] {
|
|
6191
6354
|
color: var(--cl-fg);
|
|
6192
|
-
box-shadow: inset 2px 0 0 var(--cl-
|
|
6355
|
+
box-shadow: inset 2px 0 0 var(--cl-btn-primary-bg, #0078d4);
|
|
6193
6356
|
}
|
|
6194
6357
|
|
|
6195
6358
|
.codelab.sidebar-right .codelab-activitybar__btn.active,
|
|
6196
6359
|
.codelab.sidebar-right .codelab-activitybar__btn[aria-pressed="true"],
|
|
6197
6360
|
.codelab.sidebar-right .codelab-activitybar__item.active,
|
|
6198
6361
|
.codelab.sidebar-right .codelab-activitybar__item[aria-pressed="true"] {
|
|
6199
|
-
box-shadow: inset -2px 0 0 var(--cl-
|
|
6362
|
+
box-shadow: inset -2px 0 0 var(--cl-btn-primary-bg, #0078d4);
|
|
6200
6363
|
}
|
|
6201
6364
|
|
|
6202
6365
|
.codelab-activitybar__badge {
|
|
6203
6366
|
position: absolute;
|
|
6204
|
-
right:
|
|
6205
|
-
bottom:
|
|
6367
|
+
right: 7px;
|
|
6368
|
+
bottom: 7px;
|
|
6206
6369
|
min-width: 16px;
|
|
6207
6370
|
height: 16px;
|
|
6208
6371
|
padding: 0 4px;
|
|
6209
6372
|
border-radius: 999px;
|
|
6210
|
-
background: var(--cl-
|
|
6211
|
-
color: var(--cl-
|
|
6212
|
-
font-family: var(--cl-font-
|
|
6373
|
+
background: var(--cl-btn-primary-bg, #0078d4);
|
|
6374
|
+
color: var(--cl-btn-primary-fg, #ffffff);
|
|
6375
|
+
font-family: var(--cl-font-sans);
|
|
6213
6376
|
font-size: 9.5px;
|
|
6214
|
-
font-weight:
|
|
6377
|
+
font-weight: 600;
|
|
6215
6378
|
line-height: 16px;
|
|
6216
6379
|
text-align: center;
|
|
6217
6380
|
pointer-events: none;
|
|
@@ -6255,7 +6418,7 @@ dialog.cl-settings-dialog {
|
|
|
6255
6418
|
flex: 1 1 auto;
|
|
6256
6419
|
min-height: 0;
|
|
6257
6420
|
overflow-y: auto;
|
|
6258
|
-
padding: 10px;
|
|
6421
|
+
padding: 8px 10px;
|
|
6259
6422
|
gap: 8px;
|
|
6260
6423
|
}
|
|
6261
6424
|
|
|
@@ -6264,42 +6427,45 @@ dialog.cl-settings-dialog {
|
|
|
6264
6427
|
align-items: center;
|
|
6265
6428
|
gap: 4px;
|
|
6266
6429
|
width: 100%;
|
|
6430
|
+
min-width: 0;
|
|
6267
6431
|
}
|
|
6268
6432
|
|
|
6269
6433
|
.codelab-sidebar-input {
|
|
6270
6434
|
flex: 1 1 auto;
|
|
6435
|
+
width: 100%;
|
|
6271
6436
|
min-width: 0;
|
|
6272
|
-
height:
|
|
6437
|
+
height: 26px;
|
|
6273
6438
|
padding: 0 8px;
|
|
6274
|
-
border-radius:
|
|
6439
|
+
border-radius: 2px;
|
|
6275
6440
|
border: 1px solid var(--cl-border-strong);
|
|
6276
|
-
background: var(--cl-bg);
|
|
6441
|
+
background: var(--cl-input-bg, #313131);
|
|
6277
6442
|
color: var(--cl-fg);
|
|
6278
|
-
font-family: var(--cl-font-
|
|
6279
|
-
font-size:
|
|
6443
|
+
font-family: var(--cl-font-sans);
|
|
6444
|
+
font-size: 12.5px;
|
|
6280
6445
|
outline: none;
|
|
6281
6446
|
}
|
|
6282
6447
|
|
|
6283
6448
|
.codelab-sidebar-input:focus {
|
|
6284
|
-
border-color: var(--cl-
|
|
6449
|
+
border-color: var(--cl-btn-primary-bg, #0078d4);
|
|
6285
6450
|
}
|
|
6286
6451
|
|
|
6287
6452
|
.codelab-search-toggles {
|
|
6288
6453
|
display: inline-flex;
|
|
6289
6454
|
align-items: center;
|
|
6290
|
-
gap:
|
|
6455
|
+
gap: 2px;
|
|
6456
|
+
flex-shrink: 0;
|
|
6291
6457
|
}
|
|
6292
6458
|
|
|
6293
6459
|
.codelab-search-toggle {
|
|
6294
6460
|
display: inline-flex;
|
|
6295
6461
|
align-items: center;
|
|
6296
6462
|
justify-content: center;
|
|
6297
|
-
min-width:
|
|
6298
|
-
height:
|
|
6299
|
-
padding: 0
|
|
6300
|
-
border-radius:
|
|
6301
|
-
border: 1px solid
|
|
6302
|
-
background:
|
|
6463
|
+
min-width: 22px;
|
|
6464
|
+
height: 22px;
|
|
6465
|
+
padding: 0 4px;
|
|
6466
|
+
border-radius: 3px;
|
|
6467
|
+
border: 1px solid transparent;
|
|
6468
|
+
background: transparent;
|
|
6303
6469
|
color: var(--cl-fg-muted);
|
|
6304
6470
|
font-family: var(--cl-font-mono);
|
|
6305
6471
|
font-size: 10.5px;
|
|
@@ -6314,26 +6480,33 @@ dialog.cl-settings-dialog {
|
|
|
6314
6480
|
|
|
6315
6481
|
.codelab-search-toggle.active,
|
|
6316
6482
|
.codelab-search-toggle[aria-pressed="true"] {
|
|
6317
|
-
background:
|
|
6318
|
-
color: var(--cl-
|
|
6319
|
-
border-color: var(--cl-
|
|
6483
|
+
background: rgba(0, 120, 212, 0.25);
|
|
6484
|
+
color: var(--cl-fg);
|
|
6485
|
+
border-color: var(--cl-btn-primary-bg, #0078d4);
|
|
6486
|
+
}
|
|
6487
|
+
|
|
6488
|
+
[data-cl-theme="light"] .codelab-search-toggle.active,
|
|
6489
|
+
[data-theme="light"] .codelab-search-toggle.active {
|
|
6490
|
+
background: rgba(0, 95, 184, 0.16);
|
|
6491
|
+
color: var(--cl-fg);
|
|
6320
6492
|
}
|
|
6321
6493
|
|
|
6322
6494
|
.codelab-search-results {
|
|
6323
6495
|
display: flex;
|
|
6324
6496
|
flex-direction: column;
|
|
6325
|
-
gap:
|
|
6497
|
+
gap: 2px;
|
|
6326
6498
|
flex: 1 1 auto;
|
|
6327
6499
|
min-height: 0;
|
|
6328
6500
|
overflow-y: auto;
|
|
6501
|
+
margin: 0 -10px;
|
|
6329
6502
|
}
|
|
6330
6503
|
|
|
6331
6504
|
.codelab-search-group {
|
|
6332
6505
|
display: flex;
|
|
6333
6506
|
flex-direction: column;
|
|
6334
|
-
border:
|
|
6335
|
-
border-radius:
|
|
6336
|
-
background:
|
|
6507
|
+
border: none;
|
|
6508
|
+
border-radius: 0;
|
|
6509
|
+
background: transparent;
|
|
6337
6510
|
overflow: hidden;
|
|
6338
6511
|
}
|
|
6339
6512
|
|
|
@@ -6341,21 +6514,21 @@ dialog.cl-settings-dialog {
|
|
|
6341
6514
|
display: flex;
|
|
6342
6515
|
align-items: center;
|
|
6343
6516
|
justify-content: space-between;
|
|
6344
|
-
padding:
|
|
6345
|
-
background:
|
|
6346
|
-
border-bottom:
|
|
6347
|
-
font-family: var(--cl-font-
|
|
6348
|
-
font-size:
|
|
6349
|
-
font-weight:
|
|
6517
|
+
padding: 3px 10px;
|
|
6518
|
+
background: transparent;
|
|
6519
|
+
border-bottom: none;
|
|
6520
|
+
font-family: var(--cl-font-sans);
|
|
6521
|
+
font-size: 12.5px;
|
|
6522
|
+
font-weight: 500;
|
|
6350
6523
|
color: var(--cl-fg);
|
|
6351
6524
|
}
|
|
6352
6525
|
|
|
6353
6526
|
.codelab-search-match {
|
|
6354
6527
|
display: flex;
|
|
6355
6528
|
align-items: baseline;
|
|
6356
|
-
gap:
|
|
6529
|
+
gap: 6px;
|
|
6357
6530
|
width: 100%;
|
|
6358
|
-
padding:
|
|
6531
|
+
padding: 2px 10px 2px 22px;
|
|
6359
6532
|
border: none;
|
|
6360
6533
|
background: transparent;
|
|
6361
6534
|
color: var(--cl-fg-muted);
|
|
@@ -6375,7 +6548,7 @@ dialog.cl-settings-dialog {
|
|
|
6375
6548
|
color: var(--cl-fg-faint);
|
|
6376
6549
|
font-size: 10.5px;
|
|
6377
6550
|
flex-shrink: 0;
|
|
6378
|
-
min-width:
|
|
6551
|
+
min-width: 24px;
|
|
6379
6552
|
}
|
|
6380
6553
|
|
|
6381
6554
|
.codelab-search-match__text {
|
|
@@ -6387,18 +6560,18 @@ dialog.cl-settings-dialog {
|
|
|
6387
6560
|
.codelab-scm-section {
|
|
6388
6561
|
display: flex;
|
|
6389
6562
|
flex-direction: column;
|
|
6390
|
-
gap:
|
|
6563
|
+
gap: 2px;
|
|
6391
6564
|
}
|
|
6392
6565
|
|
|
6393
6566
|
.codelab-scm-section__head {
|
|
6394
6567
|
display: flex;
|
|
6395
6568
|
align-items: center;
|
|
6396
6569
|
justify-content: space-between;
|
|
6397
|
-
font-family: var(--cl-font-
|
|
6398
|
-
font-size:
|
|
6570
|
+
font-family: var(--cl-font-sans);
|
|
6571
|
+
font-size: 11px;
|
|
6399
6572
|
font-weight: 600;
|
|
6400
6573
|
text-transform: uppercase;
|
|
6401
|
-
letter-spacing: 0.
|
|
6574
|
+
letter-spacing: 0.04em;
|
|
6402
6575
|
color: var(--cl-fg-muted);
|
|
6403
6576
|
padding: 4px 2px;
|
|
6404
6577
|
}
|
|
@@ -6820,9 +6993,9 @@ dialog.cl-settings-dialog {
|
|
|
6820
6993
|
|
|
6821
6994
|
.codelab-problems-sev-btn.active,
|
|
6822
6995
|
.codelab-problems-sev-btn[aria-pressed="true"] {
|
|
6823
|
-
background: var(--cl-
|
|
6824
|
-
color: var(--cl-
|
|
6825
|
-
border-color: var(--cl-
|
|
6996
|
+
background: var(--cl-btn-primary-bg, #0078d4);
|
|
6997
|
+
color: var(--cl-btn-primary-fg, #ffffff);
|
|
6998
|
+
border-color: var(--cl-btn-primary-bg, #0078d4);
|
|
6826
6999
|
}
|
|
6827
7000
|
|
|
6828
7001
|
.codelab-problems-group {
|
|
@@ -6835,13 +7008,13 @@ dialog.cl-settings-dialog {
|
|
|
6835
7008
|
align-items: center;
|
|
6836
7009
|
gap: 6px;
|
|
6837
7010
|
width: 100%;
|
|
6838
|
-
padding:
|
|
7011
|
+
padding: 4px 10px;
|
|
6839
7012
|
border: none;
|
|
6840
7013
|
border-bottom: 1px solid var(--cl-border);
|
|
6841
7014
|
background: var(--cl-bg-panel);
|
|
6842
7015
|
color: var(--cl-fg);
|
|
6843
|
-
font-family: var(--cl-font-
|
|
6844
|
-
font-size:
|
|
7016
|
+
font-family: var(--cl-font-sans);
|
|
7017
|
+
font-size: 12px;
|
|
6845
7018
|
font-weight: 600;
|
|
6846
7019
|
text-align: left;
|
|
6847
7020
|
cursor: pointer;
|
|
@@ -6897,6 +7070,7 @@ dialog.cl-settings-dialog {
|
|
|
6897
7070
|
display: flex;
|
|
6898
7071
|
flex-direction: column;
|
|
6899
7072
|
gap: 6px;
|
|
7073
|
+
width: 100%;
|
|
6900
7074
|
}
|
|
6901
7075
|
|
|
6902
7076
|
.codelab-search-replace-actions {
|
|
@@ -6908,24 +7082,25 @@ dialog.cl-settings-dialog {
|
|
|
6908
7082
|
flex: 1 1 0;
|
|
6909
7083
|
justify-content: center;
|
|
6910
7084
|
font-size: 11.5px;
|
|
6911
|
-
height:
|
|
7085
|
+
height: 24px;
|
|
6912
7086
|
}
|
|
6913
7087
|
|
|
6914
7088
|
.codelab-search-glob-fields {
|
|
6915
7089
|
display: flex;
|
|
6916
7090
|
flex-direction: column;
|
|
6917
7091
|
gap: 4px;
|
|
7092
|
+
width: 100%;
|
|
6918
7093
|
}
|
|
6919
7094
|
|
|
6920
7095
|
.codelab-sidebar-input--compact {
|
|
6921
|
-
height:
|
|
7096
|
+
height: 24px;
|
|
6922
7097
|
padding: 0 8px;
|
|
6923
|
-
font-size:
|
|
7098
|
+
font-size: 11.5px;
|
|
6924
7099
|
}
|
|
6925
7100
|
|
|
6926
7101
|
.codelab-search-error {
|
|
6927
7102
|
padding: 6px 8px;
|
|
6928
|
-
border-radius: var(--cl-radius-sm,
|
|
7103
|
+
border-radius: var(--cl-radius-sm, 3px);
|
|
6929
7104
|
font-size: 11.5px;
|
|
6930
7105
|
line-height: 1.4;
|
|
6931
7106
|
background: #450a0a;
|
|
@@ -6962,15 +7137,19 @@ dialog.cl-settings-dialog {
|
|
|
6962
7137
|
align-items: center;
|
|
6963
7138
|
justify-content: space-between;
|
|
6964
7139
|
gap: 6px;
|
|
6965
|
-
padding:
|
|
6966
|
-
background:
|
|
6967
|
-
border-bottom:
|
|
6968
|
-
font-family: var(--cl-font-
|
|
6969
|
-
font-size:
|
|
6970
|
-
font-weight:
|
|
7140
|
+
padding: 3px 10px;
|
|
7141
|
+
background: transparent;
|
|
7142
|
+
border-bottom: none;
|
|
7143
|
+
font-family: var(--cl-font-sans);
|
|
7144
|
+
font-size: 12.5px;
|
|
7145
|
+
font-weight: 500;
|
|
6971
7146
|
color: var(--cl-fg);
|
|
6972
7147
|
}
|
|
6973
7148
|
|
|
7149
|
+
.codelab-search-group__header:hover {
|
|
7150
|
+
background: var(--cl-bg-hover);
|
|
7151
|
+
}
|
|
7152
|
+
|
|
6974
7153
|
.codelab-search-group__file {
|
|
6975
7154
|
flex: 1 1 auto;
|
|
6976
7155
|
min-width: 0;
|
|
@@ -6991,7 +7170,7 @@ dialog.cl-settings-dialog {
|
|
|
6991
7170
|
align-items: center;
|
|
6992
7171
|
gap: 4px;
|
|
6993
7172
|
width: 100%;
|
|
6994
|
-
padding:
|
|
7173
|
+
padding: 1px 8px 1px 18px;
|
|
6995
7174
|
box-sizing: border-box;
|
|
6996
7175
|
}
|
|
6997
7176
|
|
|
@@ -7001,9 +7180,9 @@ dialog.cl-settings-dialog {
|
|
|
7001
7180
|
gap: 6px;
|
|
7002
7181
|
flex: 1 1 auto;
|
|
7003
7182
|
min-width: 0;
|
|
7004
|
-
padding:
|
|
7183
|
+
padding: 2px 4px;
|
|
7005
7184
|
border: none;
|
|
7006
|
-
border-radius:
|
|
7185
|
+
border-radius: 2px;
|
|
7007
7186
|
background: transparent;
|
|
7008
7187
|
color: var(--cl-fg);
|
|
7009
7188
|
font-family: var(--cl-font-mono);
|
|
@@ -7040,8 +7219,8 @@ dialog.cl-settings-dialog {
|
|
|
7040
7219
|
.codelab-scm-branch-bar {
|
|
7041
7220
|
display: flex;
|
|
7042
7221
|
align-items: center;
|
|
7043
|
-
gap:
|
|
7044
|
-
padding:
|
|
7222
|
+
gap: 4px;
|
|
7223
|
+
padding: 0 0 4px;
|
|
7045
7224
|
}
|
|
7046
7225
|
|
|
7047
7226
|
.codelab-scm-branch-select {
|
|
@@ -7049,17 +7228,17 @@ dialog.cl-settings-dialog {
|
|
|
7049
7228
|
min-width: 0;
|
|
7050
7229
|
height: 26px;
|
|
7051
7230
|
padding: 0 6px;
|
|
7052
|
-
border-radius:
|
|
7053
|
-
border: 1px solid var(--cl-border);
|
|
7054
|
-
background: var(--cl-bg);
|
|
7231
|
+
border-radius: 2px;
|
|
7232
|
+
border: 1px solid var(--cl-border-strong);
|
|
7233
|
+
background: var(--cl-input-bg, #313131);
|
|
7055
7234
|
color: var(--cl-fg);
|
|
7056
|
-
font-family: var(--cl-font-
|
|
7057
|
-
font-size:
|
|
7235
|
+
font-family: var(--cl-font-sans);
|
|
7236
|
+
font-size: 12px;
|
|
7058
7237
|
}
|
|
7059
7238
|
|
|
7060
7239
|
.codelab-scm-branch-select:focus-visible {
|
|
7061
|
-
outline:
|
|
7062
|
-
outline-offset:
|
|
7240
|
+
outline: 1px solid var(--cl-btn-primary-bg, #0078d4);
|
|
7241
|
+
outline-offset: 0;
|
|
7063
7242
|
}
|
|
7064
7243
|
|
|
7065
7244
|
.codelab-scm-new-branch-row {
|
|
@@ -7073,15 +7252,33 @@ dialog.cl-settings-dialog {
|
|
|
7073
7252
|
display: flex;
|
|
7074
7253
|
flex-direction: column;
|
|
7075
7254
|
gap: 6px;
|
|
7255
|
+
width: 100%;
|
|
7256
|
+
}
|
|
7257
|
+
|
|
7258
|
+
.codelab-scm-commit-box .codelab-btn {
|
|
7259
|
+
width: 100%;
|
|
7260
|
+
justify-content: center;
|
|
7261
|
+
height: 28px;
|
|
7262
|
+
background: var(--cl-btn-primary-bg, #0078d4);
|
|
7263
|
+
border-color: var(--cl-btn-primary-bg, #0078d4);
|
|
7264
|
+
color: var(--cl-btn-primary-fg, #ffffff);
|
|
7265
|
+
font-weight: 500;
|
|
7266
|
+
}
|
|
7267
|
+
|
|
7268
|
+
.codelab-scm-commit-box .codelab-btn:hover:not(:disabled) {
|
|
7269
|
+
background: var(--cl-btn-primary-hover, #026ec1);
|
|
7270
|
+
border-color: var(--cl-btn-primary-hover, #026ec1);
|
|
7076
7271
|
}
|
|
7077
7272
|
|
|
7078
7273
|
.codelab-scm-commit-textarea {
|
|
7079
|
-
|
|
7274
|
+
width: 100%;
|
|
7275
|
+
min-height: 54px;
|
|
7080
7276
|
height: auto;
|
|
7081
7277
|
padding: 6px 8px;
|
|
7082
7278
|
resize: vertical;
|
|
7083
7279
|
line-height: 1.4;
|
|
7084
|
-
font-family: var(--cl-font-sans
|
|
7280
|
+
font-family: var(--cl-font-sans);
|
|
7281
|
+
font-size: 12.5px;
|
|
7085
7282
|
}
|
|
7086
7283
|
|
|
7087
7284
|
.codelab-scm-section__header {
|
|
@@ -7089,16 +7286,20 @@ dialog.cl-settings-dialog {
|
|
|
7089
7286
|
align-items: center;
|
|
7090
7287
|
justify-content: space-between;
|
|
7091
7288
|
gap: 6px;
|
|
7289
|
+
font-family: var(--cl-font-sans);
|
|
7092
7290
|
font-size: 11px;
|
|
7093
7291
|
font-weight: 600;
|
|
7292
|
+
text-transform: uppercase;
|
|
7293
|
+
letter-spacing: 0.04em;
|
|
7094
7294
|
color: var(--cl-fg-muted);
|
|
7095
|
-
padding:
|
|
7295
|
+
padding: 6px 2px 2px;
|
|
7096
7296
|
}
|
|
7097
7297
|
|
|
7098
7298
|
.codelab-scm-list {
|
|
7099
7299
|
display: flex;
|
|
7100
7300
|
flex-direction: column;
|
|
7101
|
-
gap:
|
|
7301
|
+
gap: 1px;
|
|
7302
|
+
margin: 0 -6px;
|
|
7102
7303
|
}
|
|
7103
7304
|
|
|
7104
7305
|
.codelab-scm-entry {
|
|
@@ -7106,10 +7307,11 @@ dialog.cl-settings-dialog {
|
|
|
7106
7307
|
align-items: center;
|
|
7107
7308
|
justify-content: space-between;
|
|
7108
7309
|
gap: 6px;
|
|
7109
|
-
|
|
7110
|
-
|
|
7111
|
-
|
|
7112
|
-
|
|
7310
|
+
min-height: 22px;
|
|
7311
|
+
padding: 2px 6px;
|
|
7312
|
+
border-radius: 3px;
|
|
7313
|
+
background: transparent;
|
|
7314
|
+
border: none;
|
|
7113
7315
|
cursor: pointer;
|
|
7114
7316
|
}
|
|
7115
7317
|
|
|
@@ -7126,26 +7328,27 @@ dialog.cl-settings-dialog {
|
|
|
7126
7328
|
background: transparent;
|
|
7127
7329
|
border: none;
|
|
7128
7330
|
color: var(--cl-fg);
|
|
7129
|
-
font-family: var(--cl-font-
|
|
7130
|
-
font-size:
|
|
7331
|
+
font-family: var(--cl-font-sans);
|
|
7332
|
+
font-size: 13px;
|
|
7131
7333
|
text-align: left;
|
|
7132
7334
|
cursor: pointer;
|
|
7133
7335
|
padding: 0;
|
|
7134
7336
|
}
|
|
7135
7337
|
|
|
7136
|
-
.codelab-scm-entry__file:hover {
|
|
7137
|
-
text-decoration: underline;
|
|
7138
|
-
}
|
|
7139
|
-
|
|
7140
7338
|
.codelab-scm-entry__actions {
|
|
7141
7339
|
display: inline-flex;
|
|
7142
7340
|
align-items: center;
|
|
7143
|
-
gap:
|
|
7341
|
+
gap: 2px;
|
|
7144
7342
|
flex-shrink: 0;
|
|
7343
|
+
opacity: 0.72;
|
|
7344
|
+
}
|
|
7345
|
+
|
|
7346
|
+
.codelab-scm-entry:hover .codelab-scm-entry__actions {
|
|
7347
|
+
opacity: 1;
|
|
7145
7348
|
}
|
|
7146
7349
|
|
|
7147
7350
|
.codelab-scm-entry__status {
|
|
7148
|
-
font-family: var(--cl-font-
|
|
7351
|
+
font-family: var(--cl-font-sans);
|
|
7149
7352
|
font-size: 11px;
|
|
7150
7353
|
font-weight: 700;
|
|
7151
7354
|
color: var(--cl-fg-muted);
|
|
@@ -7153,24 +7356,34 @@ dialog.cl-settings-dialog {
|
|
|
7153
7356
|
text-align: center;
|
|
7154
7357
|
}
|
|
7155
7358
|
|
|
7359
|
+
.codelab-scm-entry__status[data-status="M"] { color: var(--cl-git-modified, #e2c08d); }
|
|
7360
|
+
.codelab-scm-entry__status[data-status="A"],
|
|
7361
|
+
.codelab-scm-entry__status[data-status="U"] { color: var(--cl-git-added, #73c991); }
|
|
7362
|
+
.codelab-scm-entry__status[data-status="D"] { color: var(--cl-git-deleted, #c74e39); }
|
|
7363
|
+
|
|
7156
7364
|
.codelab-scm-commits {
|
|
7157
7365
|
display: flex;
|
|
7158
7366
|
flex-direction: column;
|
|
7159
|
-
gap:
|
|
7367
|
+
gap: 2px;
|
|
7160
7368
|
}
|
|
7161
7369
|
|
|
7162
7370
|
.codelab-scm-commit-row {
|
|
7163
7371
|
display: flex;
|
|
7164
7372
|
align-items: baseline;
|
|
7165
7373
|
gap: 8px;
|
|
7166
|
-
padding:
|
|
7167
|
-
border-radius:
|
|
7168
|
-
background:
|
|
7169
|
-
border:
|
|
7170
|
-
font-
|
|
7374
|
+
padding: 3px 6px;
|
|
7375
|
+
border-radius: 3px;
|
|
7376
|
+
background: transparent;
|
|
7377
|
+
border: none;
|
|
7378
|
+
font-family: var(--cl-font-sans);
|
|
7379
|
+
font-size: 12px;
|
|
7171
7380
|
color: var(--cl-fg);
|
|
7172
7381
|
}
|
|
7173
7382
|
|
|
7383
|
+
.codelab-scm-commit-row:hover {
|
|
7384
|
+
background: var(--cl-bg-hover);
|
|
7385
|
+
}
|
|
7386
|
+
|
|
7174
7387
|
.codelab-scm-commit-row code {
|
|
7175
7388
|
font-family: var(--cl-font-mono);
|
|
7176
7389
|
font-size: 11px;
|
|
@@ -7202,7 +7415,7 @@ dialog.cl-settings-dialog {
|
|
|
7202
7415
|
align-items: center;
|
|
7203
7416
|
justify-content: space-between;
|
|
7204
7417
|
gap: 12px;
|
|
7205
|
-
padding:
|
|
7418
|
+
padding: 6px 12px;
|
|
7206
7419
|
background: var(--cl-bg-panel);
|
|
7207
7420
|
border-bottom: 1px solid var(--cl-border);
|
|
7208
7421
|
flex-shrink: 0;
|
|
@@ -7213,6 +7426,7 @@ dialog.cl-settings-dialog {
|
|
|
7213
7426
|
display: flex;
|
|
7214
7427
|
align-items: center;
|
|
7215
7428
|
gap: 10px;
|
|
7429
|
+
font-family: var(--cl-font-sans);
|
|
7216
7430
|
font-size: 12.5px;
|
|
7217
7431
|
min-width: 0;
|
|
7218
7432
|
flex-wrap: wrap;
|
|
@@ -7234,23 +7448,14 @@ dialog.cl-settings-dialog {
|
|
|
7234
7448
|
font-variant-numeric: tabular-nums;
|
|
7235
7449
|
}
|
|
7236
7450
|
|
|
7237
|
-
.codelab-scm-diff-stats__add {
|
|
7238
|
-
|
|
7239
|
-
}
|
|
7240
|
-
|
|
7241
|
-
.codelab-scm-diff-stats__del {
|
|
7242
|
-
color: #f87171;
|
|
7243
|
-
}
|
|
7451
|
+
.codelab-scm-diff-stats__add { color: #4ade80; }
|
|
7452
|
+
.codelab-scm-diff-stats__del { color: #f87171; }
|
|
7244
7453
|
|
|
7245
7454
|
[data-theme="light"] .codelab-scm-diff-stats__add,
|
|
7246
|
-
[data-cl-theme="light"] .codelab-scm-diff-stats__add {
|
|
7247
|
-
color: #15803d;
|
|
7248
|
-
}
|
|
7455
|
+
[data-cl-theme="light"] .codelab-scm-diff-stats__add { color: #15803d; }
|
|
7249
7456
|
|
|
7250
7457
|
[data-theme="light"] .codelab-scm-diff-stats__del,
|
|
7251
|
-
[data-cl-theme="light"] .codelab-scm-diff-stats__del {
|
|
7252
|
-
color: #b91c1c;
|
|
7253
|
-
}
|
|
7458
|
+
[data-cl-theme="light"] .codelab-scm-diff-stats__del { color: #b91c1c; }
|
|
7254
7459
|
|
|
7255
7460
|
.codelab-scm-diff-header__actions {
|
|
7256
7461
|
display: inline-flex;
|
|
@@ -7267,7 +7472,666 @@ dialog.cl-settings-dialog {
|
|
|
7267
7472
|
font-size: 12px;
|
|
7268
7473
|
}
|
|
7269
7474
|
|
|
7475
|
+
/* ═══════════════════════════════════════════════════════════════════════════
|
|
7476
|
+
VS Code Deep Parity: Command Center, Welcome Tab, Explorer Outline/Timeline,
|
|
7477
|
+
Monaco Git Gutter, Split Terminal Panes, xterm.js & Native Modal Dialogs
|
|
7478
|
+
═══════════════════════════════════════════════════════════════════════════ */
|
|
7479
|
+
|
|
7480
|
+
.codelab-cmd-trigger {
|
|
7481
|
+
height: 24px;
|
|
7482
|
+
width: min(360px, 100%);
|
|
7483
|
+
min-width: 0;
|
|
7484
|
+
max-width: 100%;
|
|
7485
|
+
padding: 0 10px;
|
|
7486
|
+
border-radius: 6px;
|
|
7487
|
+
background: var(--cl-bg-panel);
|
|
7488
|
+
border: 1px solid var(--cl-border);
|
|
7489
|
+
color: var(--cl-fg-muted);
|
|
7490
|
+
font-family: var(--cl-font-sans);
|
|
7491
|
+
font-size: 12px;
|
|
7492
|
+
overflow: hidden;
|
|
7493
|
+
}
|
|
7494
|
+
|
|
7495
|
+
.codelab-cmd-trigger > span {
|
|
7496
|
+
overflow: hidden;
|
|
7497
|
+
text-overflow: ellipsis;
|
|
7498
|
+
white-space: nowrap;
|
|
7499
|
+
min-width: 0;
|
|
7500
|
+
}
|
|
7501
|
+
|
|
7502
|
+
.codelab-cmd-trigger:hover,
|
|
7503
|
+
.codelab-cmd-trigger:focus-visible {
|
|
7504
|
+
background: var(--cl-bg-hover);
|
|
7505
|
+
color: var(--cl-fg);
|
|
7506
|
+
border-color: var(--cl-border-strong);
|
|
7507
|
+
}
|
|
7508
|
+
|
|
7509
|
+
.codelab-palette-hl {
|
|
7510
|
+
background: transparent;
|
|
7511
|
+
color: var(--cl-accent);
|
|
7512
|
+
font-weight: 700;
|
|
7513
|
+
}
|
|
7514
|
+
|
|
7515
|
+
.codelab-palette__item:hover,
|
|
7516
|
+
.codelab-palette__item.is-selected {
|
|
7517
|
+
background: var(--cl-list-active, #04395e);
|
|
7518
|
+
color: var(--cl-list-active-fg, #ffffff);
|
|
7519
|
+
}
|
|
7520
|
+
|
|
7521
|
+
.codelab-palette__item:hover .codelab-palette-hl,
|
|
7522
|
+
.codelab-palette__item.is-selected .codelab-palette-hl {
|
|
7523
|
+
color: #75beff;
|
|
7524
|
+
}
|
|
7525
|
+
|
|
7526
|
+
[data-cl-theme="light"] .codelab-palette__item:hover .codelab-palette-hl,
|
|
7527
|
+
[data-cl-theme="light"] .codelab-palette__item.is-selected .codelab-palette-hl {
|
|
7528
|
+
color: #ffffff;
|
|
7529
|
+
text-decoration: underline;
|
|
7530
|
+
}
|
|
7531
|
+
|
|
7532
|
+
/* VS Code Welcome Tab (#cl-welcome-host) */
|
|
7533
|
+
.codelab-welcome-host {
|
|
7534
|
+
position: absolute;
|
|
7535
|
+
inset: 0;
|
|
7536
|
+
z-index: 3;
|
|
7537
|
+
overflow-y: auto;
|
|
7538
|
+
background: var(--cl-bg);
|
|
7539
|
+
color: var(--cl-fg);
|
|
7540
|
+
font-family: var(--cl-font-sans);
|
|
7541
|
+
}
|
|
7542
|
+
|
|
7543
|
+
.codelab-welcome-host[hidden] {
|
|
7544
|
+
display: none !important;
|
|
7545
|
+
}
|
|
7546
|
+
|
|
7547
|
+
.codelab-welcome {
|
|
7548
|
+
max-width: 920px;
|
|
7549
|
+
margin: 0 auto;
|
|
7550
|
+
padding: 40px 36px 48px;
|
|
7551
|
+
display: flex;
|
|
7552
|
+
flex-direction: column;
|
|
7553
|
+
gap: 28px;
|
|
7554
|
+
}
|
|
7555
|
+
|
|
7556
|
+
.codelab-welcome__hero {
|
|
7557
|
+
display: flex;
|
|
7558
|
+
flex-direction: column;
|
|
7559
|
+
gap: 4px;
|
|
7560
|
+
}
|
|
7561
|
+
|
|
7562
|
+
.codelab-welcome__title {
|
|
7563
|
+
margin: 0;
|
|
7564
|
+
font-size: 26px;
|
|
7565
|
+
font-weight: 400;
|
|
7566
|
+
letter-spacing: -0.02em;
|
|
7567
|
+
color: var(--cl-fg);
|
|
7568
|
+
}
|
|
7569
|
+
|
|
7570
|
+
.codelab-welcome__subtitle {
|
|
7571
|
+
margin: 0;
|
|
7572
|
+
font-size: 15px;
|
|
7573
|
+
font-weight: 400;
|
|
7574
|
+
color: var(--cl-fg-muted);
|
|
7575
|
+
}
|
|
7576
|
+
|
|
7577
|
+
.codelab-welcome__grid {
|
|
7578
|
+
display: grid;
|
|
7579
|
+
grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
|
|
7580
|
+
gap: 36px;
|
|
7581
|
+
align-items: start;
|
|
7582
|
+
}
|
|
7583
|
+
|
|
7584
|
+
@media (max-width: 760px) {
|
|
7585
|
+
.codelab-welcome__grid {
|
|
7586
|
+
grid-template-columns: 1fr;
|
|
7587
|
+
gap: 24px;
|
|
7588
|
+
}
|
|
7589
|
+
.codelab-welcome {
|
|
7590
|
+
padding: 24px 20px;
|
|
7591
|
+
}
|
|
7592
|
+
}
|
|
7270
7593
|
|
|
7594
|
+
.codelab-welcome__col {
|
|
7595
|
+
display: flex;
|
|
7596
|
+
flex-direction: column;
|
|
7597
|
+
gap: 18px;
|
|
7598
|
+
}
|
|
7271
7599
|
|
|
7600
|
+
.codelab-welcome__heading {
|
|
7601
|
+
margin: 0 0 6px;
|
|
7602
|
+
font-size: 13px;
|
|
7603
|
+
font-weight: 600;
|
|
7604
|
+
color: var(--cl-fg);
|
|
7605
|
+
}
|
|
7272
7606
|
|
|
7607
|
+
.codelab-welcome__links {
|
|
7608
|
+
display: flex;
|
|
7609
|
+
flex-direction: column;
|
|
7610
|
+
gap: 6px;
|
|
7611
|
+
}
|
|
7612
|
+
|
|
7613
|
+
.codelab-welcome__link {
|
|
7614
|
+
display: inline-flex;
|
|
7615
|
+
align-items: center;
|
|
7616
|
+
gap: 8px;
|
|
7617
|
+
padding: 4px 0;
|
|
7618
|
+
background: transparent;
|
|
7619
|
+
border: none;
|
|
7620
|
+
color: var(--cl-accent);
|
|
7621
|
+
font-family: var(--cl-font-sans);
|
|
7622
|
+
font-size: 13px;
|
|
7623
|
+
text-align: left;
|
|
7624
|
+
cursor: pointer;
|
|
7625
|
+
width: fit-content;
|
|
7626
|
+
}
|
|
7627
|
+
|
|
7628
|
+
.codelab-welcome__link:hover {
|
|
7629
|
+
text-decoration: underline;
|
|
7630
|
+
}
|
|
7631
|
+
|
|
7632
|
+
.codelab-welcome__clone-card {
|
|
7633
|
+
display: flex;
|
|
7634
|
+
flex-direction: column;
|
|
7635
|
+
gap: 8px;
|
|
7636
|
+
padding: 12px 14px;
|
|
7637
|
+
background: var(--cl-bg-elevated);
|
|
7638
|
+
border: 1px solid var(--cl-border);
|
|
7639
|
+
border-radius: 4px;
|
|
7640
|
+
}
|
|
7641
|
+
|
|
7642
|
+
.codelab-welcome__clone-row {
|
|
7643
|
+
display: flex;
|
|
7644
|
+
align-items: center;
|
|
7645
|
+
gap: 6px;
|
|
7646
|
+
}
|
|
7647
|
+
|
|
7648
|
+
.codelab-welcome__clone-input {
|
|
7649
|
+
flex: 1 1 auto;
|
|
7650
|
+
min-width: 0;
|
|
7651
|
+
height: 28px;
|
|
7652
|
+
padding: 0 9px;
|
|
7653
|
+
background: var(--cl-input-bg, #313131);
|
|
7654
|
+
border: 1px solid var(--cl-border-strong);
|
|
7655
|
+
border-radius: 2px;
|
|
7656
|
+
color: var(--cl-fg);
|
|
7657
|
+
font-family: var(--cl-font-sans);
|
|
7658
|
+
font-size: 12.5px;
|
|
7659
|
+
outline: none;
|
|
7660
|
+
}
|
|
7661
|
+
|
|
7662
|
+
.codelab-welcome__clone-input:focus {
|
|
7663
|
+
border-color: var(--cl-btn-primary-bg, #0078d4);
|
|
7664
|
+
}
|
|
7665
|
+
|
|
7666
|
+
.codelab-welcome__templates {
|
|
7667
|
+
display: grid;
|
|
7668
|
+
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
|
7669
|
+
gap: 8px;
|
|
7670
|
+
}
|
|
7671
|
+
|
|
7672
|
+
.codelab-welcome__template {
|
|
7673
|
+
display: flex;
|
|
7674
|
+
flex-direction: column;
|
|
7675
|
+
align-items: flex-start;
|
|
7676
|
+
gap: 4px;
|
|
7677
|
+
padding: 10px 12px;
|
|
7678
|
+
border-radius: 4px;
|
|
7679
|
+
border: 1px solid var(--cl-border);
|
|
7680
|
+
background: var(--cl-bg-elevated);
|
|
7681
|
+
color: var(--cl-fg);
|
|
7682
|
+
font-family: var(--cl-font-sans);
|
|
7683
|
+
text-align: left;
|
|
7684
|
+
cursor: pointer;
|
|
7685
|
+
transition: background 80ms ease, border-color 80ms ease;
|
|
7686
|
+
}
|
|
7687
|
+
|
|
7688
|
+
.codelab-welcome__template:hover {
|
|
7689
|
+
background: var(--cl-bg-hover);
|
|
7690
|
+
border-color: var(--cl-btn-primary-bg, #0078d4);
|
|
7691
|
+
}
|
|
7692
|
+
|
|
7693
|
+
.codelab-welcome__template-title {
|
|
7694
|
+
font-size: 12.5px;
|
|
7695
|
+
font-weight: 600;
|
|
7696
|
+
color: var(--cl-fg);
|
|
7697
|
+
}
|
|
7698
|
+
|
|
7699
|
+
.codelab-welcome__template-desc {
|
|
7700
|
+
font-size: 11.5px;
|
|
7701
|
+
color: var(--cl-fg-muted);
|
|
7702
|
+
line-height: 1.35;
|
|
7703
|
+
}
|
|
7704
|
+
|
|
7705
|
+
/* Explorer Collapsible Sections (OUTLINE & TIMELINE) */
|
|
7706
|
+
.codelab-explorer-sections {
|
|
7707
|
+
display: flex;
|
|
7708
|
+
flex-direction: column;
|
|
7709
|
+
border-top: 1px solid var(--cl-border);
|
|
7710
|
+
flex-shrink: 0;
|
|
7711
|
+
max-height: 45%;
|
|
7712
|
+
overflow-y: auto;
|
|
7713
|
+
}
|
|
7714
|
+
|
|
7715
|
+
.codelab-explorer-section {
|
|
7716
|
+
border-bottom: 1px solid var(--cl-border);
|
|
7717
|
+
}
|
|
7718
|
+
|
|
7719
|
+
.codelab-explorer-section:last-child {
|
|
7720
|
+
border-bottom: none;
|
|
7721
|
+
}
|
|
7722
|
+
|
|
7723
|
+
.codelab-explorer-section > summary {
|
|
7724
|
+
display: flex;
|
|
7725
|
+
align-items: center;
|
|
7726
|
+
gap: 6px;
|
|
7727
|
+
height: 22px;
|
|
7728
|
+
padding: 0 8px;
|
|
7729
|
+
font-family: var(--cl-font-sans);
|
|
7730
|
+
font-size: 11px;
|
|
7731
|
+
font-weight: 700;
|
|
7732
|
+
text-transform: uppercase;
|
|
7733
|
+
letter-spacing: 0.04em;
|
|
7734
|
+
color: var(--cl-fg);
|
|
7735
|
+
background: var(--cl-bg-elevated);
|
|
7736
|
+
cursor: pointer;
|
|
7737
|
+
list-style: none;
|
|
7738
|
+
user-select: none;
|
|
7739
|
+
}
|
|
7740
|
+
|
|
7741
|
+
.codelab-explorer-section > summary::-webkit-details-marker {
|
|
7742
|
+
display: none;
|
|
7743
|
+
}
|
|
7744
|
+
|
|
7745
|
+
.codelab-explorer-section > summary:hover {
|
|
7746
|
+
background: var(--cl-bg-hover);
|
|
7747
|
+
}
|
|
7748
|
+
|
|
7749
|
+
.codelab-explorer-section__chev {
|
|
7750
|
+
display: inline-block;
|
|
7751
|
+
font-size: 10px;
|
|
7752
|
+
transition: transform 100ms ease;
|
|
7753
|
+
color: var(--cl-fg-muted);
|
|
7754
|
+
}
|
|
7755
|
+
|
|
7756
|
+
.codelab-explorer-section[open] .codelab-explorer-section__chev {
|
|
7757
|
+
transform: rotate(90deg);
|
|
7758
|
+
}
|
|
7759
|
+
|
|
7760
|
+
.codelab-explorer-section__body {
|
|
7761
|
+
display: flex;
|
|
7762
|
+
flex-direction: column;
|
|
7763
|
+
max-height: 150px;
|
|
7764
|
+
overflow-y: auto;
|
|
7765
|
+
padding: 2px 0 4px;
|
|
7766
|
+
}
|
|
7767
|
+
|
|
7768
|
+
.codelab-outline-item {
|
|
7769
|
+
display: flex;
|
|
7770
|
+
align-items: center;
|
|
7771
|
+
gap: 6px;
|
|
7772
|
+
width: 100%;
|
|
7773
|
+
min-height: 22px;
|
|
7774
|
+
padding: 1px 10px 1px 18px;
|
|
7775
|
+
background: transparent;
|
|
7776
|
+
border: none;
|
|
7777
|
+
color: var(--cl-fg);
|
|
7778
|
+
font-family: var(--cl-font-sans);
|
|
7779
|
+
font-size: 12.5px;
|
|
7780
|
+
text-align: left;
|
|
7781
|
+
cursor: pointer;
|
|
7782
|
+
}
|
|
7783
|
+
|
|
7784
|
+
.codelab-outline-item:hover {
|
|
7785
|
+
background: var(--cl-bg-hover);
|
|
7786
|
+
}
|
|
7787
|
+
|
|
7788
|
+
.codelab-outline-item__kind {
|
|
7789
|
+
font-family: var(--cl-font-mono);
|
|
7790
|
+
font-size: 10px;
|
|
7791
|
+
font-weight: 700;
|
|
7792
|
+
color: var(--cl-accent);
|
|
7793
|
+
width: 14px;
|
|
7794
|
+
text-align: center;
|
|
7795
|
+
flex-shrink: 0;
|
|
7796
|
+
}
|
|
7797
|
+
|
|
7798
|
+
.codelab-outline-empty {
|
|
7799
|
+
padding: 6px 14px;
|
|
7800
|
+
font-size: 11.5px;
|
|
7801
|
+
color: var(--cl-fg-muted);
|
|
7802
|
+
}
|
|
7803
|
+
|
|
7804
|
+
/* Monaco Live Git Gutter Decorations */
|
|
7805
|
+
.codelab-git-gutter-added {
|
|
7806
|
+
border-left: 3px solid var(--cl-git-added, #73c991) !important;
|
|
7807
|
+
margin-left: 3px;
|
|
7808
|
+
}
|
|
7809
|
+
|
|
7810
|
+
.codelab-git-gutter-modified {
|
|
7811
|
+
border-left: 3px solid var(--cl-git-modified, #0078d4) !important;
|
|
7812
|
+
margin-left: 3px;
|
|
7813
|
+
}
|
|
7814
|
+
|
|
7815
|
+
.codelab-git-gutter-deleted {
|
|
7816
|
+
border-left: 3px solid var(--cl-git-deleted, #f14c4c) !important;
|
|
7817
|
+
margin-left: 3px;
|
|
7818
|
+
}
|
|
7819
|
+
|
|
7820
|
+
/* Native <dialog> Modals (Clone Repo, Confirmations) */
|
|
7821
|
+
dialog.codelab-dialog {
|
|
7822
|
+
padding: 0;
|
|
7823
|
+
margin: auto;
|
|
7824
|
+
border: 1px solid var(--cl-border-strong);
|
|
7825
|
+
border-radius: var(--cl-radius-md, 5px);
|
|
7826
|
+
background: var(--cl-bg-elevated);
|
|
7827
|
+
color: var(--cl-fg);
|
|
7828
|
+
box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
|
|
7829
|
+
max-width: min(520px, 92vw);
|
|
7830
|
+
width: 100%;
|
|
7831
|
+
font-family: var(--cl-font-sans);
|
|
7832
|
+
}
|
|
7833
|
+
|
|
7834
|
+
dialog.codelab-dialog:not([open]) {
|
|
7835
|
+
display: none !important;
|
|
7836
|
+
}
|
|
7837
|
+
|
|
7838
|
+
dialog.codelab-dialog .codelab-modal {
|
|
7839
|
+
border: none;
|
|
7840
|
+
box-shadow: none;
|
|
7841
|
+
border-radius: 0;
|
|
7842
|
+
max-height: 85vh;
|
|
7843
|
+
}
|
|
7844
|
+
|
|
7845
|
+
/* Full-Bleed xterm.js Core Structural Styles (100% Scoped to .codelab) */
|
|
7846
|
+
.codelab .xterm {
|
|
7847
|
+
cursor: text;
|
|
7848
|
+
position: relative;
|
|
7849
|
+
user-select: none;
|
|
7850
|
+
-webkit-user-select: none;
|
|
7851
|
+
}
|
|
7852
|
+
|
|
7853
|
+
.codelab .xterm.focus,
|
|
7854
|
+
.codelab .xterm:focus {
|
|
7855
|
+
outline: none;
|
|
7856
|
+
}
|
|
7857
|
+
|
|
7858
|
+
.codelab .xterm .xterm-helpers {
|
|
7859
|
+
position: absolute;
|
|
7860
|
+
top: 0;
|
|
7861
|
+
z-index: 5;
|
|
7862
|
+
}
|
|
7863
|
+
|
|
7864
|
+
.codelab .xterm .xterm-helper-textarea {
|
|
7865
|
+
padding: 0;
|
|
7866
|
+
border: 0;
|
|
7867
|
+
margin: 0;
|
|
7868
|
+
position: absolute;
|
|
7869
|
+
opacity: 0;
|
|
7870
|
+
left: -9999em;
|
|
7871
|
+
top: 0;
|
|
7872
|
+
width: 0;
|
|
7873
|
+
height: 0;
|
|
7874
|
+
z-index: -5;
|
|
7875
|
+
white-space: nowrap;
|
|
7876
|
+
overflow: hidden;
|
|
7877
|
+
resize: none;
|
|
7878
|
+
}
|
|
7879
|
+
|
|
7880
|
+
.codelab .xterm .composition-view {
|
|
7881
|
+
background: #000;
|
|
7882
|
+
color: #fff;
|
|
7883
|
+
display: none;
|
|
7884
|
+
position: absolute;
|
|
7885
|
+
white-space: nowrap;
|
|
7886
|
+
z-index: 1;
|
|
7887
|
+
}
|
|
7888
|
+
|
|
7889
|
+
.codelab .xterm .composition-view.active {
|
|
7890
|
+
display: block;
|
|
7891
|
+
}
|
|
7892
|
+
|
|
7893
|
+
.codelab .xterm .xterm-viewport {
|
|
7894
|
+
background-color: transparent !important;
|
|
7895
|
+
overflow-y: auto;
|
|
7896
|
+
cursor: default;
|
|
7897
|
+
position: absolute;
|
|
7898
|
+
right: 0;
|
|
7899
|
+
left: 0;
|
|
7900
|
+
top: 0;
|
|
7901
|
+
bottom: 0;
|
|
7902
|
+
}
|
|
7903
|
+
|
|
7904
|
+
.codelab .xterm .xterm-screen {
|
|
7905
|
+
position: relative;
|
|
7906
|
+
}
|
|
7907
|
+
|
|
7908
|
+
.codelab .xterm .xterm-screen canvas {
|
|
7909
|
+
position: absolute;
|
|
7910
|
+
left: 0;
|
|
7911
|
+
top: 0;
|
|
7912
|
+
}
|
|
7913
|
+
|
|
7914
|
+
.codelab .xterm-char-measure-element {
|
|
7915
|
+
display: inline-block;
|
|
7916
|
+
visibility: hidden;
|
|
7917
|
+
position: absolute;
|
|
7918
|
+
top: 0;
|
|
7919
|
+
left: -9999em;
|
|
7920
|
+
line-height: normal;
|
|
7921
|
+
}
|
|
7922
|
+
|
|
7923
|
+
.codelab .xterm.enable-mouse-events {
|
|
7924
|
+
cursor: default;
|
|
7925
|
+
}
|
|
7926
|
+
|
|
7927
|
+
.codelab .xterm.xterm-cursor-pointer,
|
|
7928
|
+
.codelab .xterm .xterm-cursor-pointer {
|
|
7929
|
+
cursor: pointer;
|
|
7930
|
+
}
|
|
7931
|
+
|
|
7932
|
+
.codelab .xterm.column-select.focus {
|
|
7933
|
+
cursor: crosshair;
|
|
7934
|
+
}
|
|
7935
|
+
|
|
7936
|
+
.codelab .xterm .xterm-accessibility:not(.debug),
|
|
7937
|
+
.codelab .xterm .xterm-message {
|
|
7938
|
+
position: absolute;
|
|
7939
|
+
left: 0;
|
|
7940
|
+
top: 0;
|
|
7941
|
+
bottom: 0;
|
|
7942
|
+
right: 0;
|
|
7943
|
+
z-index: 10;
|
|
7944
|
+
color: transparent;
|
|
7945
|
+
pointer-events: none;
|
|
7946
|
+
}
|
|
7947
|
+
|
|
7948
|
+
.codelab .xterm .xterm-accessibility-tree:not(.debug) *::selection {
|
|
7949
|
+
color: transparent;
|
|
7950
|
+
}
|
|
7951
|
+
|
|
7952
|
+
.codelab .xterm .xterm-accessibility-tree {
|
|
7953
|
+
font-family: var(--cl-font-mono);
|
|
7954
|
+
user-select: text;
|
|
7955
|
+
white-space: pre;
|
|
7956
|
+
}
|
|
7957
|
+
|
|
7958
|
+
.codelab .xterm .xterm-accessibility-tree > div {
|
|
7959
|
+
transform-origin: left;
|
|
7960
|
+
width: fit-content;
|
|
7961
|
+
}
|
|
7962
|
+
|
|
7963
|
+
.codelab .xterm .live-region {
|
|
7964
|
+
position: absolute;
|
|
7965
|
+
left: -9999px;
|
|
7966
|
+
width: 1px;
|
|
7967
|
+
height: 1px;
|
|
7968
|
+
overflow: hidden;
|
|
7969
|
+
}
|
|
7970
|
+
|
|
7971
|
+
.codelab .xterm-dim {
|
|
7972
|
+
opacity: 1 !important;
|
|
7973
|
+
}
|
|
7974
|
+
|
|
7975
|
+
.codelab .xterm-underline-1 { text-decoration: underline; }
|
|
7976
|
+
.codelab .xterm-underline-2 { text-decoration: double underline; }
|
|
7977
|
+
.codelab .xterm-underline-3 { text-decoration: wavy underline; }
|
|
7978
|
+
.codelab .xterm-underline-4 { text-decoration: dotted underline; }
|
|
7979
|
+
.codelab .xterm-underline-5 { text-decoration: dashed underline; }
|
|
7980
|
+
.codelab .xterm-overline { text-decoration: overline; }
|
|
7981
|
+
.codelab .xterm-overline.xterm-underline-1 { text-decoration: overline underline; }
|
|
7982
|
+
.codelab .xterm-overline.xterm-underline-2 { text-decoration: overline double underline; }
|
|
7983
|
+
.codelab .xterm-overline.xterm-underline-3 { text-decoration: overline wavy underline; }
|
|
7984
|
+
.codelab .xterm-overline.xterm-underline-4 { text-decoration: overline dotted underline; }
|
|
7985
|
+
.codelab .xterm-overline.xterm-underline-5 { text-decoration: overline dashed underline; }
|
|
7986
|
+
.codelab .xterm-strikethrough { text-decoration: line-through; }
|
|
7987
|
+
|
|
7988
|
+
.codelab .xterm-screen .xterm-decoration-container .xterm-decoration {
|
|
7989
|
+
z-index: 6;
|
|
7990
|
+
position: absolute;
|
|
7991
|
+
}
|
|
7992
|
+
|
|
7993
|
+
.codelab .xterm-screen .xterm-decoration-container .xterm-decoration.xterm-decoration-top-layer {
|
|
7994
|
+
z-index: 7;
|
|
7995
|
+
}
|
|
7996
|
+
|
|
7997
|
+
.codelab .xterm-decoration-overview-ruler {
|
|
7998
|
+
z-index: 8;
|
|
7999
|
+
position: absolute;
|
|
8000
|
+
top: 0;
|
|
8001
|
+
right: 0;
|
|
8002
|
+
pointer-events: none;
|
|
8003
|
+
}
|
|
8004
|
+
|
|
8005
|
+
.codelab .xterm-decoration-top {
|
|
8006
|
+
z-index: 2;
|
|
8007
|
+
position: relative;
|
|
8008
|
+
}
|
|
8009
|
+
|
|
8010
|
+
.codelab .xterm .xterm-scrollable-element > .scrollbar {
|
|
8011
|
+
cursor: default;
|
|
8012
|
+
}
|
|
8013
|
+
|
|
8014
|
+
.codelab .xterm .xterm-scrollable-element > .scrollbar > .scra {
|
|
8015
|
+
cursor: pointer;
|
|
8016
|
+
font-size: 11px !important;
|
|
8017
|
+
}
|
|
8018
|
+
|
|
8019
|
+
.codelab .xterm .xterm-scrollable-element > .visible {
|
|
8020
|
+
opacity: 1;
|
|
8021
|
+
background: rgba(0, 0, 0, 0);
|
|
8022
|
+
transition: opacity 100ms linear;
|
|
8023
|
+
z-index: 11;
|
|
8024
|
+
}
|
|
8025
|
+
|
|
8026
|
+
.codelab .xterm .xterm-scrollable-element > .invisible {
|
|
8027
|
+
opacity: 0;
|
|
8028
|
+
pointer-events: none;
|
|
8029
|
+
}
|
|
8030
|
+
|
|
8031
|
+
.codelab .xterm .xterm-scrollable-element > .invisible.fade {
|
|
8032
|
+
transition: opacity 800ms linear;
|
|
8033
|
+
}
|
|
8034
|
+
|
|
8035
|
+
.codelab .xterm .xterm-scrollable-element > .shadow {
|
|
8036
|
+
position: absolute;
|
|
8037
|
+
display: none;
|
|
8038
|
+
}
|
|
8039
|
+
|
|
8040
|
+
/* Full-Bleed xterm.js & Split Terminal Panes */
|
|
8041
|
+
.codelab-terminal-split-wrap,
|
|
8042
|
+
.codelab-terminal-split-grid,
|
|
8043
|
+
.codelab-terminal-panes {
|
|
8044
|
+
display: flex;
|
|
8045
|
+
flex-direction: row;
|
|
8046
|
+
align-items: stretch;
|
|
8047
|
+
width: 100%;
|
|
8048
|
+
height: 100%;
|
|
8049
|
+
min-height: 0;
|
|
8050
|
+
flex: 1 1 auto;
|
|
8051
|
+
overflow: hidden;
|
|
8052
|
+
background: var(--cl-bg);
|
|
8053
|
+
}
|
|
8054
|
+
|
|
8055
|
+
.codelab-terminal-pane {
|
|
8056
|
+
display: flex;
|
|
8057
|
+
flex-direction: column;
|
|
8058
|
+
flex: 1 1 0;
|
|
8059
|
+
min-width: 0;
|
|
8060
|
+
min-height: 0;
|
|
8061
|
+
height: 100%;
|
|
8062
|
+
overflow: hidden;
|
|
8063
|
+
position: relative;
|
|
8064
|
+
border-right: 1px solid var(--cl-border);
|
|
8065
|
+
}
|
|
8066
|
+
|
|
8067
|
+
.codelab-terminal-pane:last-child {
|
|
8068
|
+
border-right: none;
|
|
8069
|
+
}
|
|
8070
|
+
|
|
8071
|
+
.codelab-terminal-pane.is-focused::before,
|
|
8072
|
+
.codelab-terminal-pane.is-focused-pane::before {
|
|
8073
|
+
content: "";
|
|
8074
|
+
position: absolute;
|
|
8075
|
+
inset: 0 auto auto 0;
|
|
8076
|
+
width: 100%;
|
|
8077
|
+
height: 1px;
|
|
8078
|
+
background: var(--cl-btn-primary-bg, #0078d4);
|
|
8079
|
+
z-index: 4;
|
|
8080
|
+
pointer-events: none;
|
|
8081
|
+
}
|
|
8082
|
+
|
|
8083
|
+
.codelab-terminal--xterm {
|
|
8084
|
+
display: flex;
|
|
8085
|
+
flex-direction: column;
|
|
8086
|
+
width: 100%;
|
|
8087
|
+
height: 100%;
|
|
8088
|
+
min-height: 0;
|
|
8089
|
+
flex: 1 1 auto;
|
|
8090
|
+
padding: 4px 6px 2px 10px;
|
|
8091
|
+
background: var(--cl-bg);
|
|
8092
|
+
overflow: hidden;
|
|
8093
|
+
position: relative;
|
|
8094
|
+
}
|
|
8095
|
+
|
|
8096
|
+
.codelab-xterm-mount {
|
|
8097
|
+
width: 100%;
|
|
8098
|
+
height: 100%;
|
|
8099
|
+
flex: 1 1 auto;
|
|
8100
|
+
min-height: 0;
|
|
8101
|
+
overflow: hidden;
|
|
8102
|
+
}
|
|
8103
|
+
|
|
8104
|
+
.codelab-xterm-mount .xterm {
|
|
8105
|
+
height: 100%;
|
|
8106
|
+
padding: 2px 0;
|
|
8107
|
+
}
|
|
8108
|
+
|
|
8109
|
+
.codelab-terminal__mirror {
|
|
8110
|
+
position: absolute;
|
|
8111
|
+
left: 0;
|
|
8112
|
+
top: 0;
|
|
8113
|
+
width: 1px;
|
|
8114
|
+
height: 1px;
|
|
8115
|
+
overflow: hidden;
|
|
8116
|
+
opacity: 0.001;
|
|
8117
|
+
pointer-events: none;
|
|
8118
|
+
}
|
|
8119
|
+
|
|
8120
|
+
.codelab-xterm-mount .xterm-viewport {
|
|
8121
|
+
background-color: transparent !important;
|
|
8122
|
+
}
|
|
8123
|
+
|
|
8124
|
+
/* Visually hidden DOM mirror inside xterm mode so Playwright / screen-reader locators stay 100% live */
|
|
8125
|
+
.codelab-terminal-a11y-mirror {
|
|
8126
|
+
position: absolute !important;
|
|
8127
|
+
left: 0 !important;
|
|
8128
|
+
bottom: 0 !important;
|
|
8129
|
+
width: 1px !important;
|
|
8130
|
+
height: 1px !important;
|
|
8131
|
+
overflow: hidden !important;
|
|
8132
|
+
clip-path: inset(50%) !important;
|
|
8133
|
+
white-space: pre !important;
|
|
8134
|
+
opacity: 0.01 !important;
|
|
8135
|
+
pointer-events: none !important;
|
|
8136
|
+
}
|
|
7273
8137
|
|