dsh-remote-vs 0.24.0 → 0.26.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/README.en.md +50 -16
- package/README.md +40 -15
- package/THIRD-PARTY-NOTICES.md +188 -0
- package/lib/client.js +6512 -77887
- package/lib/index.js +1461 -1024
- package/lib/p2-router-fs.js +1 -1
- package/lib/types/client/CodeEditor.d.ts +25 -0
- package/lib/types/client/EditorPane.d.ts +16 -5
- package/lib/types/client/FloatingPlaceholder.d.ts +16 -5
- package/lib/types/client/RemoteEditorView.d.ts +13 -10
- package/lib/types/client/RemoteExplorer.d.ts +53 -0
- package/lib/types/client/RemoteRoot.d.ts +5 -5
- package/lib/types/client/TerminalSnippets.d.ts +36 -0
- package/lib/types/client/TerminalView.d.ts +1 -1
- package/lib/types/client/XTerm.d.ts +33 -0
- package/lib/types/client/api.d.ts +37 -2
- package/lib/types/client/changes/review-state.d.ts +19 -0
- package/lib/types/client/connection.d.ts +16 -0
- package/lib/types/client/editor-capability.d.ts +27 -0
- package/lib/types/client/i18n.d.ts +1 -1
- package/lib/types/client/request-gate.d.ts +110 -0
- package/lib/types/client/scm/DiffView.d.ts +45 -7
- package/lib/types/client/scm/actions.d.ts +31 -3
- package/lib/types/client/store.d.ts +112 -4
- package/lib/types/client/terminal-input.d.ts +23 -0
- package/lib/types/client/terminal-snippets.d.ts +86 -0
- package/lib/types/client/vsc/FindWidget.d.ts +6 -0
- package/lib/types/client/vsc/breadcrumb.d.ts +30 -0
- package/lib/types/client/vsc/change-marks.d.ts +16 -6
- package/lib/types/client/vsc/editor-caret.d.ts +32 -0
- package/lib/types/client/vsc/editor-keymap.d.ts +35 -1
- package/lib/types/client/vsc/editor-langs.d.ts +9 -0
- package/lib/types/client/vsc/editor-settings.d.ts +55 -0
- package/lib/types/client/vsc/image-preview.d.ts +36 -0
- package/lib/types/client/vsc/kit.d.ts +13 -0
- package/lib/types/client/vsc/save-shortcut.d.ts +21 -0
- package/lib/types/client/vsc/terminal-clipboard.d.ts +15 -0
- package/lib/types/client/vsc/terminal-line.d.ts +25 -0
- package/lib/types/client/vsc/terminal-links.d.ts +62 -0
- package/lib/types/client/vsc/terminal-theme.d.ts +48 -0
- package/lib/types/client/vsc/terminal-writer.d.ts +52 -0
- package/lib/types/forward.d.ts +12 -0
- package/lib/types/fs-ops.d.ts +42 -0
- package/lib/types/http.d.ts +2 -0
- package/lib/types/keygen.d.ts +9 -0
- package/lib/types/monitor.d.ts +8 -0
- package/lib/types/notices.d.ts +16 -1
- package/lib/types/p2/helper-rpc.d.ts +45 -0
- package/lib/types/pool.d.ts +25 -0
- package/lib/types/routes.d.ts +2 -0
- package/lib/types/store.d.ts +7 -0
- package/lib/types/terminal.d.ts +33 -1
- package/lib/types/view-settings.d.ts +5 -0
- package/lib/{worlds-B7gEDBzC.js → worlds-RG8K5eom.js} +113 -15
- package/package.json +2 -1
- package/src/client/CodeEditor.tsx +205 -10
- package/src/client/DirectoryFlow.tsx +16 -0
- package/src/client/DoctorPanel.tsx +70 -7
- package/src/client/EditorPane.tsx +545 -118
- package/src/client/FloatingPlaceholder.tsx +34 -5
- package/src/client/HostsView.tsx +12 -3
- package/src/client/RemoteDirectoryPicker.tsx +12 -0
- package/src/client/RemoteEditorView.tsx +14 -11
- package/src/client/RemoteExplorer.tsx +929 -40
- package/src/client/RemoteRoot.tsx +167 -147
- package/src/client/SearchView.tsx +8 -0
- package/src/client/TerminalSnippets.tsx +432 -0
- package/src/client/TerminalView.tsx +50 -1
- package/src/client/XTerm.tsx +228 -58
- package/src/client/api.ts +106 -13
- package/src/client/auto-open-remote.ts +11 -9
- package/src/client/changes/ChangesDock.tsx +188 -6
- package/src/client/changes/changes.css +10 -3
- package/src/client/changes/review-state.ts +34 -0
- package/src/client/connection.ts +29 -0
- package/src/client/downloads.ts +49 -4
- package/src/client/editor-capability.ts +42 -0
- package/src/client/i18n.ts +228 -12
- package/src/client/index.tsx +22 -6
- package/src/client/request-gate.ts +221 -0
- package/src/client/scm/CommitPane.tsx +20 -2
- package/src/client/scm/DiffView.tsx +343 -117
- package/src/client/scm/HistoryPanel.tsx +23 -2
- package/src/client/scm/RepoPicker.tsx +1 -1
- package/src/client/scm/ScmPanel.tsx +391 -87
- package/src/client/scm/actions.ts +95 -12
- package/src/client/store.tsx +537 -22
- package/src/client/terminal-input.ts +44 -0
- package/src/client/terminal-snippets.ts +216 -0
- package/src/client/ui.tsx +4 -0
- package/src/client/vsc/FindWidget.tsx +24 -9
- package/src/client/vsc/breadcrumb.tsx +339 -0
- package/src/client/vsc/change-marks.ts +93 -44
- package/src/client/vsc/editor-caret.ts +30 -0
- package/src/client/vsc/editor-keymap.ts +59 -1
- package/src/client/vsc/editor-langs.ts +20 -0
- package/src/client/vsc/editor-settings.ts +146 -0
- package/src/client/vsc/editor-theme.ts +4 -5
- package/src/client/vsc/file-icons.tsx +17 -3
- package/src/client/vsc/image-preview.tsx +110 -0
- package/src/client/vsc/kit.tsx +46 -10
- package/src/client/vsc/save-shortcut.ts +47 -1
- package/src/client/vsc/terminal-clipboard.ts +19 -0
- package/src/client/vsc/terminal-line.ts +101 -0
- package/src/client/vsc/terminal-links.ts +166 -0
- package/src/client/vsc/terminal-theme.ts +97 -0
- package/src/client/vsc/terminal-writer.ts +112 -0
- package/src/client/vsc/vsc.css +1078 -181
- package/src/forward.ts +47 -9
- package/src/fs-ops.ts +124 -4
- package/src/git-ops.ts +20 -3
- package/src/http.ts +35 -4
- package/src/keygen.ts +55 -4
- package/src/monitor.ts +13 -0
- package/src/notices.ts +23 -1
- package/src/p2/helper-rpc.ts +113 -7
- package/src/p2/worlds.ts +14 -1
- package/src/pool.ts +99 -27
- package/src/routes.ts +212 -43
- package/src/sftp.ts +51 -14
- package/src/store.ts +10 -0
- package/src/terminal.ts +225 -24
- package/src/view-settings.ts +50 -10
- package/lib/types/client/Dialog.d.ts +0 -14
- package/src/client/Dialog.tsx +0 -76
package/src/client/vsc/vsc.css
CHANGED
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
* (dsh-solution-explorer): 13px/20px panel type, 5px/10px tree rows with a
|
|
9
9
|
* 10px radius, a 30px activity button with the badge tucked into the icon's
|
|
10
10
|
* bottom-right corner, GitHub-Dark token colors, and the
|
|
11
|
-
* `--e2b714 / #4ec9b0 / #
|
|
11
|
+
* `--e2b714 / #4ec9b0 / #ff8b8b` modified/added/deleted triple (the light
|
|
12
|
+
* scheme gets the GitHub-Light set from the `body:not(...)` block below).
|
|
12
13
|
*/
|
|
13
14
|
|
|
14
15
|
.rvs-root {
|
|
@@ -19,22 +20,39 @@
|
|
|
19
20
|
--rvs-active: var(--dsw-alias-interactive-bg-active, rgba(77, 107, 254, .22));
|
|
20
21
|
--rvs-border: var(--dsw-alias-border-l1, rgba(127, 127, 127, .25));
|
|
21
22
|
--rvs-border2: var(--dsw-alias-border-l2, rgba(127, 127, 127, .38));
|
|
23
|
+
/* Region boundaries — panel header underline, activity-bar edge, diff gutter
|
|
24
|
+
columns, SCM sections. border-l1 is a 4%-black hairline: it composites to
|
|
25
|
+
1.09–1.25:1 and reads as no line at all, so structure takes the l3 step
|
|
26
|
+
(1.31/1.67/1.41/1.98). Pure decoration keeps `--rvs-border`. */
|
|
27
|
+
--rvs-divider: var(--dsw-alias-border-l3, rgba(127, 127, 127, .32));
|
|
22
28
|
--rvs-input: var(--dsw-alias-bg-input, rgba(127, 127, 127, .12));
|
|
23
29
|
--rvs-overlay: var(--dsw-alias-bg-overlay, #24262e);
|
|
24
30
|
--rvs-layer3: var(--dsw-alias-bg-layer-3, rgba(127, 127, 127, .16));
|
|
25
31
|
--rvs-brand: var(--dsw-alias-brand-primary, #4d6bfe);
|
|
26
32
|
--rvs-accent: var(--dsw-alias-button-info-fill, #4d6bfe);
|
|
27
33
|
--rvs-danger: var(--dsw-alias-state-error-primary, #e05555);
|
|
28
|
-
|
|
34
|
+
/* The error colour as TEXT (banner copy, status read-outs). The state token
|
|
35
|
+
is tuned for a white plate: 4.30:1 on the panel and 3.08–3.43:1 on the
|
|
36
|
+
banner's own red tint, so text takes a deeper step of the same hue. */
|
|
37
|
+
--rvs-danger-text: #ff8b8b;
|
|
38
|
+
--rvs-error: var(--rvs-danger-text);
|
|
39
|
+
/* Dark scheme status colours. The dark leaves composite to #1b1b1c
|
|
40
|
+
(vanilla) / #222944 (island), where the GitHub-Dark steps measured
|
|
41
|
+
D 4.00, X 2.80, ok 4.24 — the light block below keeps its own (≥4.5) set. */
|
|
42
|
+
--rvs-ok: #3fb950;
|
|
29
43
|
--rvs-git-m: #e2b714;
|
|
30
44
|
--rvs-git-a: #4ec9b0;
|
|
31
|
-
--rvs-git-d: #
|
|
45
|
+
--rvs-git-d: #ff8b8b;
|
|
32
46
|
--rvs-git-r: #4ec9b0;
|
|
33
47
|
--rvs-git-c: #58a6ff;
|
|
34
|
-
--rvs-git-u: #
|
|
35
|
-
--rvs-git-x: #
|
|
48
|
+
--rvs-git-u: #ff8b8b;
|
|
49
|
+
--rvs-git-x: #9aa0a6;
|
|
36
50
|
--rvs-add-bg: rgba(78, 201, 176, .15);
|
|
37
51
|
--rvs-del-bg: rgba(241, 76, 76, .15);
|
|
52
|
+
/* Diff row text, kept apart from the git-* letter colours: a row sits on a
|
|
53
|
+
tint of its own hue, which costs ~1.1:1, so these two are a shade deeper. */
|
|
54
|
+
--rvs-diff-add: #146c2e;
|
|
55
|
+
--rvs-diff-del: #a40e26;
|
|
38
56
|
/* Opaque equivalents, for elements that must not show what scrolls under
|
|
39
57
|
them (the pinned diff line numbers). */
|
|
40
58
|
--rvs-add-solid: #e4f6f1;
|
|
@@ -44,6 +62,15 @@
|
|
|
44
62
|
--rvs-code-bg: #ffffff;
|
|
45
63
|
--rvs-code-fg: #1f1f1f;
|
|
46
64
|
--rvs-code-gutter-fg: #237893;
|
|
65
|
+
/* Editor chrome (tab strip / file info bar / breadcrumb / status bar) and
|
|
66
|
+
the editor's own surfaces: Light+ defaults, flipped by the dark block
|
|
67
|
+
below. The float window inherits them because it carries `.rvs-root`. */
|
|
68
|
+
--rvs-editor-panel-bg: #f3f3f3;
|
|
69
|
+
--rvs-editor-panel-fg: #1f1f1f;
|
|
70
|
+
--rvs-editor-input-bg: #ffffff;
|
|
71
|
+
--rvs-editor-chrome-border: rgba(0, 0, 0, .12);
|
|
72
|
+
/* Reserved for the editor's own type scale (the font A−/A+ controls). */
|
|
73
|
+
--rvs-editor-font-size: 13px;
|
|
47
74
|
|
|
48
75
|
display: flex;
|
|
49
76
|
flex-direction: row;
|
|
@@ -64,8 +91,55 @@ body[data-ds-dark-theme] .rvs-root {
|
|
|
64
91
|
--rvs-code-bg: #1e1e1e;
|
|
65
92
|
--rvs-code-fg: #d4d4d4;
|
|
66
93
|
--rvs-code-gutter-fg: #858585;
|
|
94
|
+
--rvs-diff-add: #7ee2c6;
|
|
95
|
+
--rvs-diff-del: #ff8b8b;
|
|
67
96
|
--rvs-add-solid: #16332e;
|
|
68
97
|
--rvs-del-solid: #3b2325;
|
|
98
|
+
--rvs-editor-panel-bg: #252526;
|
|
99
|
+
--rvs-editor-panel-fg: #cccccc;
|
|
100
|
+
--rvs-editor-input-bg: #3c3c3c;
|
|
101
|
+
--rvs-editor-chrome-border: rgba(255, 255, 255, .12);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Light scheme for the NON-code surfaces. The token block above is GitHub-Dark:
|
|
106
|
+
* on a white/cream panel its git triple reads 1.7–3.4:1, so light gets the
|
|
107
|
+
* GitHub-Light set (all ≥4.5:1 — measured 2026-11-23). The code surfaces are
|
|
108
|
+
* scheme-fixed rather than skin-fixed and are already flipped by the block
|
|
109
|
+
* above, so they are deliberately not repeated here.
|
|
110
|
+
*/
|
|
111
|
+
body:not([data-ds-dark-theme]) .rvs-root {
|
|
112
|
+
--rvs-ok: #1a7f37;
|
|
113
|
+
--rvs-git-m: #8a5c00;
|
|
114
|
+
--rvs-git-a: #1a7f37;
|
|
115
|
+
--rvs-git-d: #cf222e;
|
|
116
|
+
--rvs-git-r: #1a7f37;
|
|
117
|
+
--rvs-git-c: #0969da;
|
|
118
|
+
--rvs-git-u: #cf222e;
|
|
119
|
+
--rvs-git-x: #57606a;
|
|
120
|
+
--rvs-add-bg: rgba(26, 127, 55, .10);
|
|
121
|
+
--rvs-del-bg: rgba(207, 34, 46, .10);
|
|
122
|
+
--rvs-danger-text: #a52a2a;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* The sidebar panel gets its own base in the light schemes. Without one every
|
|
127
|
+
* text colour in this sheet is composited against whatever leaf the host — and,
|
|
128
|
+
* under a skin, the wallpaper behind it — paints under the sidebar: the skin's
|
|
129
|
+
* leaf is `rgba(250,247,234,.74)`, which already costs the tertiary step 0.2:1
|
|
130
|
+
* and drops it to 2.67:1 if a host mount paints no leaf at all.
|
|
131
|
+
*
|
|
132
|
+
* Light-only on purpose: the dark leaf is opaque and stable, and raising the
|
|
133
|
+
* dark panel to bg-layer-2 (#2c2c2e) would cost the python sheet icon 3.36:1 →
|
|
134
|
+
* 2.72:1 for no readability gain.
|
|
135
|
+
*
|
|
136
|
+
* The two other surfaces that carry `.rvs-root` paint their own base and must
|
|
137
|
+
* keep it: `.rvs-float-window` is an opaque code surface, and `.rvs-center` is
|
|
138
|
+
* documented as chrome-transparent so the full-width mount sits on the host's
|
|
139
|
+
* own background.
|
|
140
|
+
*/
|
|
141
|
+
body:not([data-ds-dark-theme]) .rvs-root:not(.rvs-float-window):not(.rvs-center) {
|
|
142
|
+
background: var(--dsw-alias-bg-layer-2, #ffffff);
|
|
69
143
|
}
|
|
70
144
|
|
|
71
145
|
.rvs-edge {
|
|
@@ -88,7 +162,7 @@ body[data-ds-dark-theme] .rvs-root {
|
|
|
88
162
|
align-items: center;
|
|
89
163
|
gap: 4px;
|
|
90
164
|
padding: 8px 0;
|
|
91
|
-
border-right: 1px solid var(--rvs-
|
|
165
|
+
border-right: 1px solid var(--rvs-divider);
|
|
92
166
|
background: var(--dsw-specific-sidebar-fill, transparent);
|
|
93
167
|
}
|
|
94
168
|
|
|
@@ -104,7 +178,7 @@ body[data-ds-dark-theme] .rvs-root {
|
|
|
104
178
|
border: none;
|
|
105
179
|
border-radius: 6px;
|
|
106
180
|
background: transparent;
|
|
107
|
-
color: var(--rvs-
|
|
181
|
+
color: var(--rvs-fg2);
|
|
108
182
|
cursor: pointer;
|
|
109
183
|
}
|
|
110
184
|
|
|
@@ -120,7 +194,7 @@ body[data-ds-dark-theme] .rvs-root {
|
|
|
120
194
|
}
|
|
121
195
|
|
|
122
196
|
.rvs-rail-btn.danger:hover {
|
|
123
|
-
color: var(--rvs-danger);
|
|
197
|
+
color: var(--rvs-danger-text);
|
|
124
198
|
}
|
|
125
199
|
|
|
126
200
|
.rvs-rail-badge {
|
|
@@ -131,8 +205,11 @@ body[data-ds-dark-theme] .rvs-root {
|
|
|
131
205
|
height: 14px;
|
|
132
206
|
padding: 0 3px;
|
|
133
207
|
border-radius: 7px;
|
|
134
|
-
|
|
135
|
-
|
|
208
|
+
/* Ink badge. A filled accent behind white text measures 2.1–3.0:1 under the
|
|
209
|
+
skins (4.2 in plain light), so the count rides the fg/code-bg pair, which
|
|
210
|
+
contrasts in every scheme and skin. */
|
|
211
|
+
background: var(--rvs-fg);
|
|
212
|
+
color: var(--rvs-code-bg);
|
|
136
213
|
font-size: 9px;
|
|
137
214
|
font-weight: 700;
|
|
138
215
|
line-height: 14px;
|
|
@@ -145,7 +222,7 @@ body[data-ds-dark-theme] .rvs-root {
|
|
|
145
222
|
width: 20px;
|
|
146
223
|
height: 1px;
|
|
147
224
|
margin: 4px 0;
|
|
148
|
-
background: var(--rvs-
|
|
225
|
+
background: var(--rvs-divider);
|
|
149
226
|
}
|
|
150
227
|
|
|
151
228
|
/* -------------------------------------------------------- panel + editor */
|
|
@@ -208,7 +285,7 @@ body[data-ds-dark-theme] .rvs-root {
|
|
|
208
285
|
gap: 6px;
|
|
209
286
|
height: 34px;
|
|
210
287
|
padding: 0 8px 0 10px;
|
|
211
|
-
border-bottom: 1px solid var(--rvs-
|
|
288
|
+
border-bottom: 1px solid var(--rvs-divider);
|
|
212
289
|
}
|
|
213
290
|
|
|
214
291
|
.rvs-header .rvs-title {
|
|
@@ -221,7 +298,7 @@ body[data-ds-dark-theme] .rvs-root {
|
|
|
221
298
|
font-weight: 700;
|
|
222
299
|
letter-spacing: .04em;
|
|
223
300
|
text-transform: uppercase;
|
|
224
|
-
color: var(--rvs-
|
|
301
|
+
color: var(--rvs-fg2);
|
|
225
302
|
}
|
|
226
303
|
|
|
227
304
|
.rvs-hbtn {
|
|
@@ -235,7 +312,7 @@ body[data-ds-dark-theme] .rvs-root {
|
|
|
235
312
|
border: none;
|
|
236
313
|
border-radius: 5px;
|
|
237
314
|
background: transparent;
|
|
238
|
-
color: var(--rvs-
|
|
315
|
+
color: var(--rvs-fg2);
|
|
239
316
|
cursor: pointer;
|
|
240
317
|
}
|
|
241
318
|
|
|
@@ -245,8 +322,12 @@ body[data-ds-dark-theme] .rvs-root {
|
|
|
245
322
|
}
|
|
246
323
|
|
|
247
324
|
.rvs-hbtn.danger:hover {
|
|
248
|
-
|
|
249
|
-
|
|
325
|
+
/* Ink icon on the hover wash plus a 1px danger ring. White on the state token
|
|
326
|
+
measures 3.29:1 in dark and 2.71:1 under island-dark; the ring keeps the
|
|
327
|
+
destructive cue at ≥3.6:1 without depending on a filled red. */
|
|
328
|
+
color: var(--rvs-fg);
|
|
329
|
+
background: var(--rvs-hover);
|
|
330
|
+
box-shadow: inset 0 0 0 1px var(--rvs-danger);
|
|
250
331
|
}
|
|
251
332
|
|
|
252
333
|
.rvs-hbtn:disabled {
|
|
@@ -267,7 +348,7 @@ body[data-ds-dark-theme] .rvs-root {
|
|
|
267
348
|
align-items: center;
|
|
268
349
|
gap: 6px;
|
|
269
350
|
padding: 4px 8px;
|
|
270
|
-
border-bottom: 1px solid var(--rvs-
|
|
351
|
+
border-bottom: 1px solid var(--rvs-divider);
|
|
271
352
|
font-size: 11px;
|
|
272
353
|
}
|
|
273
354
|
|
|
@@ -319,7 +400,7 @@ body[data-ds-dark-theme] .rvs-root {
|
|
|
319
400
|
}
|
|
320
401
|
|
|
321
402
|
.rvs-conn-error {
|
|
322
|
-
color: var(--rvs-danger);
|
|
403
|
+
color: var(--rvs-danger-text);
|
|
323
404
|
}
|
|
324
405
|
|
|
325
406
|
.rvs-conn-error .rvs-conn-dot {
|
|
@@ -416,7 +497,9 @@ body[data-ds-dark-theme] .rvs-root {
|
|
|
416
497
|
|
|
417
498
|
.rvs-node.drop-target {
|
|
418
499
|
background: var(--rvs-active);
|
|
419
|
-
outline:
|
|
500
|
+
/* The drop row's outline is the STATE cue, not decoration: the skin's mint
|
|
501
|
+
brand is 1.94:1 on the selected-row tint, the fg is 8.4–13.7:1. */
|
|
502
|
+
outline: 1px solid var(--rvs-fg);
|
|
420
503
|
outline-offset: -1px;
|
|
421
504
|
}
|
|
422
505
|
|
|
@@ -428,7 +511,7 @@ body[data-ds-dark-theme] .rvs-root {
|
|
|
428
511
|
border: 1px dashed var(--rvs-brand);
|
|
429
512
|
border-radius: 3px;
|
|
430
513
|
font-size: 11px;
|
|
431
|
-
color: var(--rvs-
|
|
514
|
+
color: var(--rvs-fg);
|
|
432
515
|
overflow: hidden;
|
|
433
516
|
text-overflow: ellipsis;
|
|
434
517
|
white-space: nowrap;
|
|
@@ -445,7 +528,7 @@ body[data-ds-dark-theme] .rvs-root {
|
|
|
445
528
|
gap: 6px;
|
|
446
529
|
padding: 3px 10px 4px;
|
|
447
530
|
font-size: 11px;
|
|
448
|
-
color: var(--dsw-alias-
|
|
531
|
+
color: var(--dsw-alias-label-secondary, rgba(127, 127, 127, .95));
|
|
449
532
|
}
|
|
450
533
|
|
|
451
534
|
.rvs-upload-text {
|
|
@@ -468,6 +551,22 @@ body[data-ds-dark-theme] .rvs-root {
|
|
|
468
551
|
color: var(--rvs-fg3);
|
|
469
552
|
}
|
|
470
553
|
|
|
554
|
+
/**
|
|
555
|
+
* The file-type palette in `file-icons.tsx` is the dark-friendly set: on a white
|
|
556
|
+
* or cream tree 101 of its 109 `color:` uses measure below 3:1 (js #d5c93f
|
|
557
|
+
* 1.45, archive #d9b64a 1.66, shell #4ec9b0 1.73, tsx #4fc3f7 1.70). One
|
|
558
|
+
* paint-level step for the light schemes only takes the worst case to 3.01:1
|
|
559
|
+
* (python's #ffd75e mark) and the JS sheet to 3.64:1 — measured in-engine with
|
|
560
|
+
* `ctx.filter`, not hand-computed. The artwork is untouched and the dark
|
|
561
|
+
* schemes keep the palette as designed. Scoped to `.rvs-fi`, which only the
|
|
562
|
+
* coloured `FileTypeIcon` / `FolderGlyph` artwork carries: `.rvs-node-icon` is a
|
|
563
|
+
* layout wrapper shared with the neutral outline glyphs (search / SCM / commit),
|
|
564
|
+
* which must not be darkened.
|
|
565
|
+
*/
|
|
566
|
+
body:not([data-ds-dark-theme]) .rvs-fi {
|
|
567
|
+
filter: brightness(.62) saturate(1.1);
|
|
568
|
+
}
|
|
569
|
+
|
|
471
570
|
.rvs-node-name {
|
|
472
571
|
flex: 1;
|
|
473
572
|
min-width: 0;
|
|
@@ -522,7 +621,7 @@ body[data-ds-dark-theme] .rvs-root {
|
|
|
522
621
|
|
|
523
622
|
.rvs-empty {
|
|
524
623
|
padding: 18px 14px;
|
|
525
|
-
color: var(--rvs-
|
|
624
|
+
color: var(--rvs-fg2);
|
|
526
625
|
font-size: 12px;
|
|
527
626
|
text-align: center;
|
|
528
627
|
line-height: 1.7;
|
|
@@ -545,7 +644,7 @@ body[data-ds-dark-theme] .rvs-root {
|
|
|
545
644
|
|
|
546
645
|
.rvs-banner.error {
|
|
547
646
|
background: rgba(200, 60, 60, .16);
|
|
548
|
-
color: var(--rvs-danger);
|
|
647
|
+
color: var(--rvs-danger-text);
|
|
549
648
|
}
|
|
550
649
|
|
|
551
650
|
.rvs-banner.warn {
|
|
@@ -587,14 +686,14 @@ body[data-ds-dark-theme] .rvs-root {
|
|
|
587
686
|
position: sticky;
|
|
588
687
|
top: 0;
|
|
589
688
|
padding: 4px 8px;
|
|
590
|
-
background: var(--rvs-
|
|
689
|
+
background: var(--rvs-hover);
|
|
591
690
|
border-bottom: 1px solid var(--rvs-border);
|
|
592
691
|
font-family: inherit;
|
|
593
692
|
}
|
|
594
693
|
|
|
595
694
|
.rvs-conflict-hunk-head {
|
|
596
695
|
padding: 2px 8px;
|
|
597
|
-
color: var(--rvs-
|
|
696
|
+
color: var(--rvs-fg2);
|
|
598
697
|
border-bottom: 1px solid var(--rvs-border);
|
|
599
698
|
}
|
|
600
699
|
|
|
@@ -605,23 +704,23 @@ body[data-ds-dark-theme] .rvs-root {
|
|
|
605
704
|
|
|
606
705
|
.rvs-conflict-row.add {
|
|
607
706
|
background: rgba(78, 201, 176, .14);
|
|
608
|
-
color: var(--rvs-
|
|
707
|
+
color: var(--rvs-diff-add);
|
|
609
708
|
}
|
|
610
709
|
|
|
611
710
|
.rvs-conflict-row.del {
|
|
612
711
|
background: rgba(241, 76, 76, .12);
|
|
613
|
-
color: var(--rvs-
|
|
712
|
+
color: var(--rvs-diff-del);
|
|
614
713
|
}
|
|
615
714
|
|
|
616
715
|
.rvs-conflict-more {
|
|
617
716
|
padding: 4px 8px;
|
|
618
|
-
color: var(--rvs-
|
|
717
|
+
color: var(--rvs-fg2);
|
|
619
718
|
}
|
|
620
719
|
|
|
621
720
|
/* --------------------------------------------------------- source control */
|
|
622
721
|
|
|
623
722
|
.rvs-scm-section {
|
|
624
|
-
border-bottom: 1px solid var(--rvs-
|
|
723
|
+
border-bottom: 1px solid var(--rvs-divider);
|
|
625
724
|
}
|
|
626
725
|
|
|
627
726
|
.rvs-scm-head {
|
|
@@ -648,7 +747,7 @@ body[data-ds-dark-theme] .rvs-root {
|
|
|
648
747
|
font-size: 11px;
|
|
649
748
|
font-weight: 600;
|
|
650
749
|
letter-spacing: 0;
|
|
651
|
-
color: var(--rvs-
|
|
750
|
+
color: var(--rvs-fg2);
|
|
652
751
|
}
|
|
653
752
|
|
|
654
753
|
.rvs-scm-head-actions {
|
|
@@ -705,7 +804,7 @@ body[data-ds-dark-theme] .rvs-root {
|
|
|
705
804
|
|
|
706
805
|
.rvs-scm-dir {
|
|
707
806
|
flex: none;
|
|
708
|
-
color: var(--rvs-
|
|
807
|
+
color: var(--rvs-fg2);
|
|
709
808
|
}
|
|
710
809
|
|
|
711
810
|
.rvs-scm-actions {
|
|
@@ -722,7 +821,7 @@ body[data-ds-dark-theme] .rvs-root {
|
|
|
722
821
|
.rvs-commit-box {
|
|
723
822
|
flex: none;
|
|
724
823
|
padding: 8px 10px;
|
|
725
|
-
border-bottom: 1px solid var(--rvs-
|
|
824
|
+
border-bottom: 1px solid var(--rvs-divider);
|
|
726
825
|
}
|
|
727
826
|
|
|
728
827
|
.rvs-commit-input {
|
|
@@ -742,7 +841,9 @@ body[data-ds-dark-theme] .rvs-root {
|
|
|
742
841
|
}
|
|
743
842
|
|
|
744
843
|
.rvs-commit-input:focus {
|
|
745
|
-
|
|
844
|
+
/* Focus is a theme pair, not the brand hue: the skin's mint brand lands at
|
|
845
|
+
2.22:1 on the input surface, the fg pair at 7.4–15.9:1 in every scheme. */
|
|
846
|
+
border-color: var(--rvs-fg);
|
|
746
847
|
}
|
|
747
848
|
|
|
748
849
|
.rvs-commit-row {
|
|
@@ -756,8 +857,9 @@ body[data-ds-dark-theme] .rvs-root {
|
|
|
756
857
|
padding: 5px 8px;
|
|
757
858
|
border: none;
|
|
758
859
|
border-radius: 6px;
|
|
759
|
-
|
|
760
|
-
|
|
860
|
+
/* See .rvs-rail-badge: ink pair instead of accent + white. */
|
|
861
|
+
background: var(--rvs-fg);
|
|
862
|
+
color: var(--rvs-code-bg);
|
|
761
863
|
font: inherit;
|
|
762
864
|
font-size: 12.5px;
|
|
763
865
|
font-weight: 600;
|
|
@@ -797,7 +899,7 @@ body[data-ds-dark-theme] .rvs-root {
|
|
|
797
899
|
.rvs-repo-branch {
|
|
798
900
|
flex: none;
|
|
799
901
|
font-size: 11px;
|
|
800
|
-
color: var(--rvs-
|
|
902
|
+
color: var(--rvs-fg2);
|
|
801
903
|
}
|
|
802
904
|
|
|
803
905
|
.rvs-pill {
|
|
@@ -817,7 +919,7 @@ body[data-ds-dark-theme] .rvs-root {
|
|
|
817
919
|
.rvs-pill-cached {
|
|
818
920
|
flex: none;
|
|
819
921
|
font-weight: 500;
|
|
820
|
-
color: var(--rvs-
|
|
922
|
+
color: var(--rvs-fg2);
|
|
821
923
|
border: 1px solid var(--rvs-border2);
|
|
822
924
|
background: transparent;
|
|
823
925
|
}
|
|
@@ -856,15 +958,18 @@ body[data-ds-dark-theme] .rvs-root {
|
|
|
856
958
|
}
|
|
857
959
|
|
|
858
960
|
.rvs-chip.primary {
|
|
859
|
-
background: var(--rvs-
|
|
961
|
+
background: var(--rvs-fg);
|
|
860
962
|
border-color: transparent;
|
|
861
|
-
color:
|
|
963
|
+
color: var(--rvs-code-bg);
|
|
862
964
|
}
|
|
863
965
|
|
|
864
966
|
.rvs-chip.danger:hover {
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
967
|
+
/* Same call as `.rvs-hbtn.danger`: white on the state token is 2.7–3.3:1 in
|
|
968
|
+
the dark schemes; the ink pair plus a danger border keeps both halves
|
|
969
|
+
readable. */
|
|
970
|
+
background: var(--rvs-hover);
|
|
971
|
+
border-color: var(--rvs-danger);
|
|
972
|
+
color: var(--rvs-fg);
|
|
868
973
|
}
|
|
869
974
|
|
|
870
975
|
.rvs-input {
|
|
@@ -881,7 +986,7 @@ body[data-ds-dark-theme] .rvs-root {
|
|
|
881
986
|
}
|
|
882
987
|
|
|
883
988
|
.rvs-input:focus {
|
|
884
|
-
border-color: var(--rvs-
|
|
989
|
+
border-color: var(--rvs-fg);
|
|
885
990
|
}
|
|
886
991
|
|
|
887
992
|
.rvs-select {
|
|
@@ -955,16 +1060,26 @@ body[data-ds-dark-theme] .rvs-root {
|
|
|
955
1060
|
|
|
956
1061
|
/* ---------------------------------------------------------------- editor */
|
|
957
1062
|
|
|
1063
|
+
/**
|
|
1064
|
+
* The editor shell keeps a code editor's proportions (30px tab strip, 26px
|
|
1065
|
+
* file info bar) rather than the surrounding panel's. Everything above the
|
|
1066
|
+
* code surface stays transparent and is separated only by
|
|
1067
|
+
* `--rvs-editor-chrome-border`, so the shell sits on any host background
|
|
1068
|
+
* without drawing a frame of its own. The `.rvs-center` rules further down
|
|
1069
|
+
* scale the same shell up for the full-width (conversation view) mount; the
|
|
1070
|
+
* float window keeps the compact size.
|
|
1071
|
+
*/
|
|
958
1072
|
.rvs-etabs {
|
|
959
1073
|
flex: none;
|
|
960
1074
|
display: flex;
|
|
961
1075
|
align-items: stretch;
|
|
962
|
-
gap:
|
|
963
|
-
height:
|
|
964
|
-
padding: 0
|
|
1076
|
+
gap: 1px;
|
|
1077
|
+
height: 30px;
|
|
1078
|
+
padding: 0;
|
|
965
1079
|
overflow-x: auto;
|
|
966
1080
|
overflow-y: hidden;
|
|
967
|
-
|
|
1081
|
+
background: transparent;
|
|
1082
|
+
border-bottom: 1px solid var(--rvs-editor-chrome-border);
|
|
968
1083
|
scrollbar-width: none;
|
|
969
1084
|
}
|
|
970
1085
|
|
|
@@ -976,27 +1091,33 @@ body[data-ds-dark-theme] .rvs-root {
|
|
|
976
1091
|
flex: none;
|
|
977
1092
|
display: flex;
|
|
978
1093
|
align-items: center;
|
|
979
|
-
gap:
|
|
1094
|
+
gap: 4px;
|
|
980
1095
|
max-width: 190px;
|
|
981
|
-
margin:
|
|
982
|
-
padding:
|
|
983
|
-
border:
|
|
984
|
-
border-
|
|
1096
|
+
margin: 0;
|
|
1097
|
+
padding: 3px 6px;
|
|
1098
|
+
border: 0;
|
|
1099
|
+
border-right: 1px solid transparent;
|
|
1100
|
+
border-radius: 4px 4px 0 0;
|
|
985
1101
|
background: transparent;
|
|
986
|
-
color: var(--rvs-
|
|
1102
|
+
color: var(--rvs-fg2);
|
|
987
1103
|
font: inherit;
|
|
988
|
-
font-size:
|
|
1104
|
+
font-size: 11px;
|
|
1105
|
+
white-space: nowrap;
|
|
989
1106
|
cursor: pointer;
|
|
1107
|
+
position: relative;
|
|
990
1108
|
}
|
|
991
1109
|
|
|
992
1110
|
.rvs-etab:hover {
|
|
993
1111
|
background: var(--rvs-hover);
|
|
994
|
-
color: var(--rvs-
|
|
1112
|
+
color: var(--rvs-fg2);
|
|
995
1113
|
}
|
|
996
1114
|
|
|
1115
|
+
/* The active tab is marked by the insert line under it, not by a filled
|
|
1116
|
+
block: the strip sits directly on the code surface. */
|
|
997
1117
|
.rvs-etab.active {
|
|
998
|
-
background: var(--rvs-
|
|
1118
|
+
background: var(--rvs-hover);
|
|
999
1119
|
color: var(--rvs-fg);
|
|
1120
|
+
box-shadow: inset 0 -2px 0 var(--rvs-accent);
|
|
1000
1121
|
}
|
|
1001
1122
|
|
|
1002
1123
|
.rvs-etab-name {
|
|
@@ -1005,43 +1126,56 @@ body[data-ds-dark-theme] .rvs-root {
|
|
|
1005
1126
|
white-space: nowrap;
|
|
1006
1127
|
}
|
|
1007
1128
|
|
|
1129
|
+
.rvs-etab-glyph { color: var(--rvs-fg3); font-size: 10px; display: inline-flex; }
|
|
1130
|
+
|
|
1131
|
+
.rvs-etab-diff .rvs-etab-glyph { color: var(--rvs-git-c); }
|
|
1132
|
+
|
|
1133
|
+
/* Unsaved marker: a solid dot rather than a glyph, so its size does not
|
|
1134
|
+
follow the tab's font size. */
|
|
1008
1135
|
.rvs-etab-dot {
|
|
1009
1136
|
flex: none;
|
|
1010
|
-
|
|
1011
|
-
|
|
1137
|
+
width: 7px;
|
|
1138
|
+
height: 7px;
|
|
1139
|
+
border-radius: 50%;
|
|
1140
|
+
background: var(--rvs-git-m);
|
|
1012
1141
|
}
|
|
1013
1142
|
|
|
1014
1143
|
.rvs-etab-close {
|
|
1015
1144
|
flex: none;
|
|
1016
|
-
|
|
1017
|
-
height: 16px;
|
|
1018
|
-
display: flex;
|
|
1145
|
+
display: inline-flex;
|
|
1019
1146
|
align-items: center;
|
|
1020
1147
|
justify-content: center;
|
|
1021
|
-
padding: 0;
|
|
1022
|
-
border:
|
|
1023
|
-
border-radius:
|
|
1148
|
+
padding: 0 1px;
|
|
1149
|
+
border: 0;
|
|
1150
|
+
border-radius: 3px;
|
|
1024
1151
|
background: transparent;
|
|
1025
1152
|
color: inherit;
|
|
1026
1153
|
cursor: pointer;
|
|
1027
|
-
|
|
1154
|
+
font: inherit;
|
|
1155
|
+
line-height: 1;
|
|
1156
|
+
opacity: .45;
|
|
1028
1157
|
}
|
|
1029
1158
|
|
|
1030
1159
|
.rvs-etab-close:hover {
|
|
1031
|
-
background: var(--rvs-hover);
|
|
1032
1160
|
opacity: 1;
|
|
1161
|
+
background: var(--rvs-hover);
|
|
1033
1162
|
}
|
|
1034
1163
|
|
|
1164
|
+
/* File info bar: path on the left, actions on the right. The sidebar mount
|
|
1165
|
+
shows the path only (it has no room for a breadcrumb); the conversation
|
|
1166
|
+
mount swaps the path for one and appends its own action group. */
|
|
1035
1167
|
.rvs-einfo {
|
|
1036
1168
|
flex: none;
|
|
1037
1169
|
display: flex;
|
|
1038
1170
|
align-items: center;
|
|
1039
|
-
gap:
|
|
1040
|
-
|
|
1041
|
-
|
|
1171
|
+
gap: 6px;
|
|
1172
|
+
min-width: 0;
|
|
1173
|
+
min-height: 26px;
|
|
1174
|
+
padding: 2px 6px;
|
|
1175
|
+
border-bottom: 1px solid var(--rvs-editor-chrome-border);
|
|
1176
|
+
background: transparent;
|
|
1177
|
+
color: inherit;
|
|
1042
1178
|
font-size: 11px;
|
|
1043
|
-
line-height: 18px;
|
|
1044
|
-
color: var(--rvs-fg3);
|
|
1045
1179
|
}
|
|
1046
1180
|
|
|
1047
1181
|
.rvs-einfo-path {
|
|
@@ -1062,6 +1196,30 @@ body[data-ds-dark-theme] .rvs-root {
|
|
|
1062
1196
|
margin-left: auto;
|
|
1063
1197
|
}
|
|
1064
1198
|
|
|
1199
|
+
.rvs-einfo-actions {
|
|
1200
|
+
display: flex;
|
|
1201
|
+
align-items: center;
|
|
1202
|
+
gap: 2px;
|
|
1203
|
+
flex: 0 0 auto;
|
|
1204
|
+
}
|
|
1205
|
+
|
|
1206
|
+
.rvs-einfo-actions-divider {
|
|
1207
|
+
width: 1px;
|
|
1208
|
+
height: 14px;
|
|
1209
|
+
margin: 0 2px;
|
|
1210
|
+
background: var(--rvs-editor-chrome-border);
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1213
|
+
/* Font A−/A+ glyphs: two letters read faster than two more icon shapes. */
|
|
1214
|
+
.rvs-font-glyph { font-size: 10.5px; font-weight: 600; letter-spacing: -.06em; }
|
|
1215
|
+
|
|
1216
|
+
/* Conversation mount: one size up, and room to breathe. */
|
|
1217
|
+
.rvs-center .rvs-etabs { height: 34px; gap: 2px; padding: 0 6px; }
|
|
1218
|
+
|
|
1219
|
+
.rvs-center .rvs-etab { font-size: 12.5px; padding: 5px 10px; max-width: 240px; gap: 6px; }
|
|
1220
|
+
|
|
1221
|
+
.rvs-center .rvs-einfo { min-height: 32px; padding: 3px 10px; font-size: 12px; }
|
|
1222
|
+
|
|
1065
1223
|
.rvs-status.dirty { color: var(--rvs-git-m); }
|
|
1066
1224
|
.rvs-status.saved { color: var(--rvs-git-a); }
|
|
1067
1225
|
.rvs-status.saving { color: var(--rvs-fg2); }
|
|
@@ -1106,32 +1264,352 @@ body[data-ds-dark-theme] .rvs-root {
|
|
|
1106
1264
|
background-color: rgba(226, 183, 20, .48);
|
|
1107
1265
|
}
|
|
1108
1266
|
|
|
1109
|
-
/*
|
|
1267
|
+
/* ------------------------------------------------------------- status bar */
|
|
1268
|
+
|
|
1269
|
+
/**
|
|
1270
|
+
* VS Code-style status line: one 22px row of muted facts under the editor.
|
|
1271
|
+
* The surface is the editor panel colour (not the host background), which is
|
|
1272
|
+
* what separates it from the code surface above it in both themes.
|
|
1273
|
+
*/
|
|
1274
|
+
.rvs-statusbar {
|
|
1275
|
+
display: flex;
|
|
1276
|
+
align-items: center;
|
|
1277
|
+
justify-content: space-between;
|
|
1278
|
+
gap: 8px;
|
|
1279
|
+
flex: none;
|
|
1280
|
+
height: 22px;
|
|
1281
|
+
padding: 0 8px;
|
|
1282
|
+
font-size: 11px;
|
|
1283
|
+
color: var(--rvs-fg2);
|
|
1284
|
+
background: var(--rvs-editor-panel-bg);
|
|
1285
|
+
border-top: 1px solid var(--rvs-editor-chrome-border);
|
|
1286
|
+
}
|
|
1287
|
+
|
|
1288
|
+
.rvs-status-left,
|
|
1289
|
+
.rvs-status-right {
|
|
1290
|
+
display: flex;
|
|
1291
|
+
align-items: center;
|
|
1292
|
+
gap: 10px;
|
|
1293
|
+
min-width: 0;
|
|
1294
|
+
overflow: hidden;
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1297
|
+
.rvs-status-item {
|
|
1298
|
+
display: inline-flex;
|
|
1299
|
+
align-items: center;
|
|
1300
|
+
gap: 4px;
|
|
1301
|
+
white-space: nowrap;
|
|
1302
|
+
color: var(--rvs-fg2);
|
|
1303
|
+
}
|
|
1304
|
+
|
|
1305
|
+
.rvs-status-btn {
|
|
1306
|
+
border: 0;
|
|
1307
|
+
background: transparent;
|
|
1308
|
+
color: inherit;
|
|
1309
|
+
font: inherit;
|
|
1310
|
+
cursor: pointer;
|
|
1311
|
+
padding: 0 2px;
|
|
1312
|
+
border-radius: 3px;
|
|
1313
|
+
}
|
|
1110
1314
|
|
|
1111
|
-
.rvs-
|
|
1315
|
+
.rvs-status-btn:hover {
|
|
1316
|
+
background: var(--rvs-hover);
|
|
1317
|
+
color: var(--rvs-fg);
|
|
1318
|
+
}
|
|
1319
|
+
|
|
1320
|
+
.rvs-status-error { color: var(--rvs-danger-text); }
|
|
1321
|
+
|
|
1322
|
+
/* Conversation mount: the status line belongs to the editor, so it takes the
|
|
1323
|
+
panel's foreground instead of the sidebar's dimmer one. */
|
|
1324
|
+
.rvs-center .rvs-statusbar { background: var(--rvs-editor-panel-bg); color: var(--rvs-editor-panel-fg); }
|
|
1325
|
+
|
|
1326
|
+
/* -------------------------------------------------------------- breadcrumb */
|
|
1327
|
+
|
|
1328
|
+
/**
|
|
1329
|
+
* Breadcrumb over the full-width editor: path segments that open a sibling
|
|
1330
|
+
* picker on click. The navigation row itself is 22px and clips horizontally;
|
|
1331
|
+
* the dropdown is the only part that may overflow.
|
|
1332
|
+
*
|
|
1333
|
+
* The two child classes shared with the SCM repository picker
|
|
1334
|
+
* (`.rvs-crumb-wrap` / `.rvs-crumb`) are scoped to `.rvs-breadcrumb` here, and
|
|
1335
|
+
* the picker's own rules leave this subtree alone: one class, two surfaces,
|
|
1336
|
+
* neither restyled by the other.
|
|
1337
|
+
*/
|
|
1338
|
+
.rvs-breadcrumb {
|
|
1339
|
+
position: relative;
|
|
1340
|
+
display: flex;
|
|
1341
|
+
align-items: center;
|
|
1342
|
+
flex: 1 1 auto;
|
|
1343
|
+
min-width: 0;
|
|
1344
|
+
height: 22px;
|
|
1345
|
+
overflow: hidden;
|
|
1346
|
+
}
|
|
1347
|
+
|
|
1348
|
+
.rvs-breadcrumb .rvs-crumb-wrap {
|
|
1349
|
+
display: inline-flex;
|
|
1350
|
+
align-items: center;
|
|
1351
|
+
min-width: 0;
|
|
1352
|
+
flex: 0 0 auto;
|
|
1353
|
+
max-width: 240px;
|
|
1354
|
+
}
|
|
1355
|
+
|
|
1356
|
+
.rvs-crumb-sep {
|
|
1357
|
+
color: var(--rvs-fg3);
|
|
1358
|
+
margin: 0 1px;
|
|
1359
|
+
font-size: 10px;
|
|
1360
|
+
flex: 0 0 auto;
|
|
1361
|
+
opacity: .7;
|
|
1362
|
+
}
|
|
1363
|
+
|
|
1364
|
+
.rvs-breadcrumb .rvs-crumb {
|
|
1365
|
+
border: 0;
|
|
1366
|
+
background: transparent;
|
|
1367
|
+
color: var(--rvs-fg2);
|
|
1368
|
+
font: inherit;
|
|
1369
|
+
font-size: 12px;
|
|
1370
|
+
padding: 1px 4px;
|
|
1371
|
+
border-radius: 4px;
|
|
1372
|
+
cursor: pointer;
|
|
1373
|
+
max-width: 240px;
|
|
1374
|
+
overflow: hidden;
|
|
1375
|
+
text-overflow: ellipsis;
|
|
1376
|
+
white-space: nowrap;
|
|
1377
|
+
}
|
|
1378
|
+
|
|
1379
|
+
.rvs-breadcrumb .rvs-crumb:hover {
|
|
1380
|
+
background: var(--rvs-hover);
|
|
1381
|
+
color: var(--rvs-fg);
|
|
1382
|
+
}
|
|
1383
|
+
|
|
1384
|
+
.rvs-breadcrumb .rvs-crumb-file {
|
|
1385
|
+
color: var(--rvs-fg);
|
|
1386
|
+
font-weight: 600;
|
|
1387
|
+
}
|
|
1388
|
+
|
|
1389
|
+
/* Sibling picker, positioned against `.rvs-breadcrumb`. */
|
|
1390
|
+
.rvs-crumb-menu {
|
|
1391
|
+
position: absolute;
|
|
1392
|
+
top: 100%;
|
|
1393
|
+
z-index: 30;
|
|
1394
|
+
min-width: 200px;
|
|
1395
|
+
max-width: 360px;
|
|
1396
|
+
max-height: 320px;
|
|
1397
|
+
display: flex;
|
|
1398
|
+
flex-direction: column;
|
|
1399
|
+
background: var(--rvs-editor-panel-bg);
|
|
1400
|
+
color: var(--rvs-editor-panel-fg);
|
|
1401
|
+
border: 1px solid var(--rvs-editor-chrome-border);
|
|
1402
|
+
border-radius: 6px;
|
|
1403
|
+
box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
|
|
1404
|
+
overflow: hidden;
|
|
1405
|
+
}
|
|
1406
|
+
|
|
1407
|
+
.rvs-crumb-menu-head {
|
|
1408
|
+
display: flex;
|
|
1409
|
+
align-items: center;
|
|
1410
|
+
gap: 4px;
|
|
1411
|
+
flex: 0 0 auto;
|
|
1412
|
+
padding: 3px 6px;
|
|
1413
|
+
border-bottom: 1px solid var(--rvs-editor-chrome-border);
|
|
1414
|
+
color: var(--rvs-fg2);
|
|
1415
|
+
font-size: 11px;
|
|
1416
|
+
}
|
|
1417
|
+
|
|
1418
|
+
.rvs-crumb-menu-up {
|
|
1419
|
+
flex: 0 0 auto;
|
|
1420
|
+
width: 20px;
|
|
1421
|
+
height: 20px;
|
|
1422
|
+
border: 0;
|
|
1423
|
+
border-radius: 4px;
|
|
1424
|
+
background: transparent;
|
|
1425
|
+
color: var(--rvs-fg2);
|
|
1426
|
+
cursor: pointer;
|
|
1427
|
+
line-height: 1;
|
|
1428
|
+
}
|
|
1429
|
+
|
|
1430
|
+
.rvs-crumb-menu-up:hover:not(:disabled) { background: var(--rvs-hover); color: var(--rvs-fg); }
|
|
1431
|
+
|
|
1432
|
+
.rvs-crumb-menu-up:disabled { opacity: .3; cursor: default; }
|
|
1433
|
+
|
|
1434
|
+
.rvs-crumb-menu-path {
|
|
1435
|
+
min-width: 0;
|
|
1436
|
+
overflow: hidden;
|
|
1437
|
+
text-overflow: ellipsis;
|
|
1438
|
+
white-space: nowrap;
|
|
1439
|
+
direction: rtl;
|
|
1440
|
+
unicode-bidi: plaintext;
|
|
1441
|
+
text-align: left;
|
|
1442
|
+
}
|
|
1443
|
+
|
|
1444
|
+
.rvs-crumb-menu-list {
|
|
1445
|
+
flex: 1 1 auto;
|
|
1446
|
+
min-height: 0;
|
|
1447
|
+
overflow: auto;
|
|
1448
|
+
padding: 2px 0;
|
|
1449
|
+
}
|
|
1450
|
+
|
|
1451
|
+
.rvs-crumb-menu-note {
|
|
1452
|
+
padding: 6px 10px;
|
|
1453
|
+
font-size: 11px;
|
|
1454
|
+
color: var(--rvs-fg2);
|
|
1455
|
+
}
|
|
1456
|
+
|
|
1457
|
+
/* The note doubles as the dropdown's error line (see `.rvs-status-error`);
|
|
1458
|
+
the compound selector outranks the note's own muted colour. */
|
|
1459
|
+
.rvs-crumb-menu-note.rvs-status-error { color: var(--rvs-danger-text); }
|
|
1460
|
+
|
|
1461
|
+
.rvs-crumb-menu-item {
|
|
1462
|
+
display: flex;
|
|
1463
|
+
align-items: center;
|
|
1464
|
+
gap: 6px;
|
|
1465
|
+
width: 100%;
|
|
1466
|
+
padding: 4px 10px;
|
|
1467
|
+
border: 0;
|
|
1468
|
+
background: transparent;
|
|
1469
|
+
color: var(--rvs-fg);
|
|
1470
|
+
font: inherit;
|
|
1471
|
+
font-size: 12px;
|
|
1472
|
+
text-align: left;
|
|
1473
|
+
cursor: pointer;
|
|
1474
|
+
white-space: nowrap;
|
|
1475
|
+
overflow: hidden;
|
|
1476
|
+
}
|
|
1477
|
+
|
|
1478
|
+
.rvs-crumb-menu-item:hover { background: var(--rvs-hover); }
|
|
1479
|
+
|
|
1480
|
+
.rvs-crumb-menu-item.rvs-dir { color: var(--rvs-fg2); }
|
|
1481
|
+
|
|
1482
|
+
.rvs-crumb-menu-glyph { width: 10px; flex: 0 0 auto; color: var(--rvs-fg3); font-size: 10px; }
|
|
1483
|
+
|
|
1484
|
+
.rvs-crumb-menu-name { overflow: hidden; text-overflow: ellipsis; }
|
|
1485
|
+
|
|
1486
|
+
/* --------------------------------------------------------- image preview */
|
|
1487
|
+
|
|
1488
|
+
/**
|
|
1489
|
+
* Binary image preview: `fit` scales the picture to the pane, `actual` keeps
|
|
1490
|
+
* natural pixels inside a scrollable one. The meta line stays out of the
|
|
1491
|
+
* picture's way (bottom, dim).
|
|
1492
|
+
*/
|
|
1493
|
+
.rvs-image-preview {
|
|
1112
1494
|
flex: 1;
|
|
1113
1495
|
min-height: 0;
|
|
1114
1496
|
display: flex;
|
|
1497
|
+
flex-direction: column;
|
|
1115
1498
|
align-items: center;
|
|
1116
1499
|
justify-content: center;
|
|
1500
|
+
gap: 8px;
|
|
1117
1501
|
overflow: auto;
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1502
|
+
padding: 12px;
|
|
1503
|
+
cursor: zoom-in;
|
|
1504
|
+
background: var(--rvs-code-bg);
|
|
1505
|
+
}
|
|
1506
|
+
|
|
1507
|
+
.rvs-image-preview.rvs-image-actual {
|
|
1508
|
+
cursor: zoom-out;
|
|
1509
|
+
align-items: flex-start;
|
|
1510
|
+
justify-content: flex-start;
|
|
1126
1511
|
}
|
|
1127
1512
|
|
|
1128
|
-
.rvs-preview-img
|
|
1513
|
+
.rvs-image-preview-img {
|
|
1129
1514
|
max-width: 100%;
|
|
1130
|
-
max-height: 100
|
|
1515
|
+
max-height: calc(100% - 24px);
|
|
1131
1516
|
object-fit: contain;
|
|
1132
1517
|
image-rendering: auto;
|
|
1133
1518
|
}
|
|
1134
1519
|
|
|
1520
|
+
.rvs-image-actual .rvs-image-preview-img {
|
|
1521
|
+
max-width: none;
|
|
1522
|
+
max-height: none;
|
|
1523
|
+
}
|
|
1524
|
+
|
|
1525
|
+
.rvs-image-preview-meta {
|
|
1526
|
+
display: flex;
|
|
1527
|
+
gap: 10px;
|
|
1528
|
+
flex: none;
|
|
1529
|
+
font-size: 11px;
|
|
1530
|
+
color: var(--rvs-fg2);
|
|
1531
|
+
}
|
|
1532
|
+
|
|
1533
|
+
.rvs-image-preview-hint { opacity: .75; }
|
|
1534
|
+
|
|
1535
|
+
.rvs-image-preview-failed {
|
|
1536
|
+
cursor: default;
|
|
1537
|
+
color: var(--rvs-fg2);
|
|
1538
|
+
text-align: center;
|
|
1539
|
+
}
|
|
1540
|
+
|
|
1541
|
+
/* -------------------------------------------------- editor notices / empty */
|
|
1542
|
+
|
|
1543
|
+
/* Read-only / binary / loading copy inside the editor body. */
|
|
1544
|
+
.rvs-editor-notice {
|
|
1545
|
+
flex: 1;
|
|
1546
|
+
display: flex;
|
|
1547
|
+
flex-direction: column;
|
|
1548
|
+
align-items: center;
|
|
1549
|
+
justify-content: center;
|
|
1550
|
+
gap: 6px;
|
|
1551
|
+
padding: 16px;
|
|
1552
|
+
font-size: 12px;
|
|
1553
|
+
color: var(--rvs-fg2);
|
|
1554
|
+
background: var(--rvs-code-bg);
|
|
1555
|
+
text-align: center;
|
|
1556
|
+
}
|
|
1557
|
+
|
|
1558
|
+
.rvs-editor-notice-title {
|
|
1559
|
+
color: var(--rvs-fg);
|
|
1560
|
+
font-size: 13px;
|
|
1561
|
+
margin-bottom: 6px;
|
|
1562
|
+
}
|
|
1563
|
+
|
|
1564
|
+
/* Conversation mount with no open file: say where files come from instead of
|
|
1565
|
+
leaving the pane blank. */
|
|
1566
|
+
.rvs-editor-empty {
|
|
1567
|
+
flex: 1;
|
|
1568
|
+
display: flex;
|
|
1569
|
+
flex-direction: column;
|
|
1570
|
+
align-items: center;
|
|
1571
|
+
justify-content: center;
|
|
1572
|
+
gap: 8px;
|
|
1573
|
+
padding: 24px;
|
|
1574
|
+
text-align: center;
|
|
1575
|
+
color: var(--rvs-fg2);
|
|
1576
|
+
}
|
|
1577
|
+
|
|
1578
|
+
.rvs-editor-empty-glyph {
|
|
1579
|
+
font-size: 34px;
|
|
1580
|
+
line-height: 1;
|
|
1581
|
+
opacity: .3;
|
|
1582
|
+
}
|
|
1583
|
+
|
|
1584
|
+
.rvs-editor-empty-title {
|
|
1585
|
+
font-size: 15px;
|
|
1586
|
+
font-weight: 600;
|
|
1587
|
+
color: var(--rvs-fg);
|
|
1588
|
+
}
|
|
1589
|
+
|
|
1590
|
+
.rvs-editor-empty-hint {
|
|
1591
|
+
font-size: 12px;
|
|
1592
|
+
line-height: 1.7;
|
|
1593
|
+
max-width: 560px;
|
|
1594
|
+
}
|
|
1595
|
+
|
|
1596
|
+
/* Quieter empty state for the compact panes. */
|
|
1597
|
+
.rvs-empty-title {
|
|
1598
|
+
font-size: 13px;
|
|
1599
|
+
color: var(--rvs-fg2);
|
|
1600
|
+
}
|
|
1601
|
+
|
|
1602
|
+
.rvs-empty-hint {
|
|
1603
|
+
font-size: 11px;
|
|
1604
|
+
color: var(--rvs-fg2);
|
|
1605
|
+
margin-top: 4px;
|
|
1606
|
+
}
|
|
1607
|
+
|
|
1608
|
+
/* ------------------------------------------------------- preview surfaces */
|
|
1609
|
+
|
|
1610
|
+
/* Image previews are the ported `.rvs-image-preview*` block above: the old
|
|
1611
|
+
plain `<img>` shell (`rvs-preview-img`) had no other user and was removed
|
|
1612
|
+
with the pane that rendered it. */
|
|
1135
1613
|
.rvs-markdown {
|
|
1136
1614
|
flex: 1;
|
|
1137
1615
|
min-height: 0;
|
|
@@ -1176,7 +1654,7 @@ body[data-ds-dark-theme] .rvs-root {
|
|
|
1176
1654
|
border-left: 3px solid var(--rvs-border2);
|
|
1177
1655
|
color: var(--rvs-fg2);
|
|
1178
1656
|
}
|
|
1179
|
-
.rvs-markdown a { color: var(--dsw-alias-
|
|
1657
|
+
.rvs-markdown a { color: var(--dsw-alias-link, #58a6ff); text-decoration: none; }
|
|
1180
1658
|
.rvs-markdown a:hover { text-decoration: underline; }
|
|
1181
1659
|
.rvs-markdown table { border-collapse: collapse; margin: 8px 0; font-size: 12px; }
|
|
1182
1660
|
.rvs-markdown th, .rvs-markdown td { border: 1px solid var(--rvs-border2); padding: 4px 8px; }
|
|
@@ -1208,7 +1686,7 @@ body[data-ds-dark-theme] .rvs-root {
|
|
|
1208
1686
|
padding: 3px 8px;
|
|
1209
1687
|
border-bottom: 1px solid var(--rvs-border);
|
|
1210
1688
|
font-size: 11px;
|
|
1211
|
-
color: var(--rvs-
|
|
1689
|
+
color: var(--rvs-fg2);
|
|
1212
1690
|
}
|
|
1213
1691
|
|
|
1214
1692
|
/**
|
|
@@ -1230,7 +1708,7 @@ body[data-ds-dark-theme] .rvs-root {
|
|
|
1230
1708
|
text-align: center;
|
|
1231
1709
|
font-size: 11px;
|
|
1232
1710
|
font-variant-numeric: tabular-nums;
|
|
1233
|
-
color: var(--rvs-
|
|
1711
|
+
color: var(--rvs-fg2);
|
|
1234
1712
|
user-select: none;
|
|
1235
1713
|
}
|
|
1236
1714
|
|
|
@@ -1398,8 +1876,8 @@ body[data-ds-dark-theme] .rvs-root {
|
|
|
1398
1876
|
.rvs-gutter-col {
|
|
1399
1877
|
flex: none;
|
|
1400
1878
|
width: 30px;
|
|
1401
|
-
border-left: 1px solid var(--rvs-
|
|
1402
|
-
border-right: 1px solid var(--rvs-
|
|
1879
|
+
border-left: 1px solid var(--rvs-divider);
|
|
1880
|
+
border-right: 1px solid var(--rvs-divider);
|
|
1403
1881
|
user-select: none;
|
|
1404
1882
|
}
|
|
1405
1883
|
|
|
@@ -1438,7 +1916,7 @@ body[data-ds-dark-theme] .rvs-root {
|
|
|
1438
1916
|
.rvs-row-del .rvs-dline-text,
|
|
1439
1917
|
.rvs-row-del .rvs-dline-num,
|
|
1440
1918
|
.rvs-row-del .rvs-num {
|
|
1441
|
-
color:
|
|
1919
|
+
color: var(--rvs-diff-del);
|
|
1442
1920
|
}
|
|
1443
1921
|
|
|
1444
1922
|
.rvs-row-add {
|
|
@@ -1448,11 +1926,11 @@ body[data-ds-dark-theme] .rvs-root {
|
|
|
1448
1926
|
.rvs-row-add .rvs-dline-text,
|
|
1449
1927
|
.rvs-row-add .rvs-dline-num,
|
|
1450
1928
|
.rvs-row-add .rvs-num {
|
|
1451
|
-
color:
|
|
1929
|
+
color: var(--rvs-diff-add);
|
|
1452
1930
|
}
|
|
1453
1931
|
|
|
1454
1932
|
.rvs-row-empty {
|
|
1455
|
-
color: var(--rvs-
|
|
1933
|
+
color: var(--rvs-fg2);
|
|
1456
1934
|
opacity: .35;
|
|
1457
1935
|
}
|
|
1458
1936
|
|
|
@@ -1462,8 +1940,8 @@ body[data-ds-dark-theme] .rvs-root {
|
|
|
1462
1940
|
display: flex;
|
|
1463
1941
|
align-items: center;
|
|
1464
1942
|
justify-content: center;
|
|
1465
|
-
border-left: 1px solid var(--rvs-
|
|
1466
|
-
border-right: 1px solid var(--rvs-
|
|
1943
|
+
border-left: 1px solid var(--rvs-divider);
|
|
1944
|
+
border-right: 1px solid var(--rvs-divider);
|
|
1467
1945
|
user-select: none;
|
|
1468
1946
|
}
|
|
1469
1947
|
|
|
@@ -1489,7 +1967,7 @@ body[data-ds-dark-theme] .rvs-root {
|
|
|
1489
1967
|
border: none;
|
|
1490
1968
|
border-radius: 3px;
|
|
1491
1969
|
background: transparent;
|
|
1492
|
-
color: var(--rvs-
|
|
1970
|
+
color: var(--rvs-fg2);
|
|
1493
1971
|
font-size: 11px;
|
|
1494
1972
|
line-height: 1;
|
|
1495
1973
|
cursor: pointer;
|
|
@@ -1539,6 +2017,8 @@ body:not([data-ds-dark-theme]) .rvs-t-variable { color: #001080; }
|
|
|
1539
2017
|
body:not([data-ds-dark-theme]) .rvs-t-operator,
|
|
1540
2018
|
body:not([data-ds-dark-theme]) .rvs-t-punct { color: #1f1f1f; }
|
|
1541
2019
|
body:not([data-ds-dark-theme]) .rvs-t-meta { color: #af00db; }
|
|
2020
|
+
body:not([data-ds-dark-theme]) .rvs-t-insert { color: var(--rvs-diff-add); }
|
|
2021
|
+
body:not([data-ds-dark-theme]) .rvs-t-delete { color: var(--rvs-diff-del); }
|
|
1542
2022
|
|
|
1543
2023
|
/**
|
|
1544
2024
|
* CodeMirror token colors, applied through FIXED class names emitted by the
|
|
@@ -1913,7 +2393,9 @@ body:not([data-ds-dark-theme]) .rvs-edge .rvs-change-block-del {
|
|
|
1913
2393
|
.rvs-change-nav-btn:hover {
|
|
1914
2394
|
border-color: var(--rvs-border2);
|
|
1915
2395
|
background: var(--rvs-hover);
|
|
1916
|
-
|
|
2396
|
+
/* The ball is a control users must find; the brand token is 2.6:1 under the
|
|
2397
|
+
island light skin, so the glyph rides the primary foreground instead. */
|
|
2398
|
+
color: var(--rvs-fg);
|
|
1917
2399
|
}
|
|
1918
2400
|
|
|
1919
2401
|
.rvs-change-nav-btn:active { background: var(--rvs-active); }
|
|
@@ -1955,7 +2437,8 @@ body:not([data-ds-dark-theme]) .rvs-edge .rvs-change-block-del {
|
|
|
1955
2437
|
.rvs-undo-affordance:hover {
|
|
1956
2438
|
background-color: #f85149;
|
|
1957
2439
|
border-color: #f85149;
|
|
1958
|
-
|
|
2440
|
+
/* Dark ink, not white: white on #f85149 is 3.35:1. */
|
|
2441
|
+
color: #1e2229;
|
|
1959
2442
|
}
|
|
1960
2443
|
|
|
1961
2444
|
.rvs-undo-affordance:active {
|
|
@@ -1963,8 +2446,11 @@ body:not([data-ds-dark-theme]) .rvs-edge .rvs-change-block-del {
|
|
|
1963
2446
|
}
|
|
1964
2447
|
|
|
1965
2448
|
.rvs-undo-affordance:focus-visible {
|
|
1966
|
-
|
|
1967
|
-
|
|
2449
|
+
/* The pill hangs off <body>, where `--rvs-*` does not resolve, so its focus
|
|
2450
|
+
ring comes from its own two-scheme pair: the pale ink of the dark pill
|
|
2451
|
+
(9.4:1 on the code surface) and the deep red of the light pill (7.9:1). */
|
|
2452
|
+
outline: 2px solid #ffb4ae;
|
|
2453
|
+
outline-offset: 2px;
|
|
1968
2454
|
}
|
|
1969
2455
|
|
|
1970
2456
|
/* 删除锚点:这一行其实已经不在了,虚线边框把它和"真实存在的行"分开。 */
|
|
@@ -1986,7 +2472,7 @@ body:not([data-ds-dark-theme]) .rvs-undo-affordance:hover {
|
|
|
1986
2472
|
}
|
|
1987
2473
|
|
|
1988
2474
|
body:not([data-ds-dark-theme]) .rvs-undo-affordance:focus-visible {
|
|
1989
|
-
outline-color: #
|
|
2475
|
+
outline-color: #a40e26;
|
|
1990
2476
|
}
|
|
1991
2477
|
|
|
1992
2478
|
/**
|
|
@@ -2014,14 +2500,30 @@ body:not([data-ds-dark-theme]) .rvs-undo-affordance:focus-visible {
|
|
|
2014
2500
|
padding: 0 5px;
|
|
2015
2501
|
border: 1px solid var(--rvs-border);
|
|
2016
2502
|
border-radius: 4px;
|
|
2017
|
-
color: var(--rvs-
|
|
2503
|
+
color: var(--rvs-fg2);
|
|
2018
2504
|
font-size: 10px;
|
|
2019
2505
|
font-family: var(--rvs-mono);
|
|
2020
2506
|
opacity: .85;
|
|
2021
2507
|
user-select: text;
|
|
2022
2508
|
}
|
|
2023
2509
|
|
|
2510
|
+
/**
|
|
2511
|
+
* Find box, aligned with the editor panel it floats over.
|
|
2512
|
+
*
|
|
2513
|
+
* It is PORTALLED to <body>, i.e. OUTSIDE `.rvs-root` where the editor tokens
|
|
2514
|
+
* are declared, so it carries that subset itself (same rule as the other
|
|
2515
|
+
* portalled panels): the dark block right below flips it back.
|
|
2516
|
+
*/
|
|
2024
2517
|
.rvs-find {
|
|
2518
|
+
--rvs-editor-panel-bg: #f3f3f3;
|
|
2519
|
+
--rvs-editor-panel-fg: #1f1f1f;
|
|
2520
|
+
--rvs-editor-input-bg: #ffffff;
|
|
2521
|
+
--rvs-editor-chrome-border: rgba(0, 0, 0, .12);
|
|
2522
|
+
/* The "no results" count. `.rvs-find` is portalled outside `.rvs-root`, so
|
|
2523
|
+
red tokens never resolved here: the `.none` rule silently inherited the
|
|
2524
|
+
panel fg instead of turning red. This local pair makes the state real and
|
|
2525
|
+
readable on the editor plate (7.1:1 light / 6.8:1 dark). */
|
|
2526
|
+
--rvs-danger-text: #a52a2a;
|
|
2025
2527
|
position: absolute;
|
|
2026
2528
|
top: 6px;
|
|
2027
2529
|
right: 18px;
|
|
@@ -2030,42 +2532,53 @@ body:not([data-ds-dark-theme]) .rvs-undo-affordance:focus-visible {
|
|
|
2030
2532
|
align-items: center;
|
|
2031
2533
|
gap: 3px;
|
|
2032
2534
|
padding: 3px 4px 3px 7px;
|
|
2033
|
-
border: 1px solid var(--rvs-
|
|
2535
|
+
border: 1px solid var(--rvs-editor-chrome-border);
|
|
2034
2536
|
border-radius: 8px;
|
|
2035
|
-
background
|
|
2036
|
-
|
|
2037
|
-
color: var(--rvs-fg);
|
|
2537
|
+
background: var(--rvs-editor-panel-bg);
|
|
2538
|
+
color: var(--rvs-editor-panel-fg);
|
|
2038
2539
|
box-shadow: 0 4px 14px rgba(0, 0, 0, .28);
|
|
2039
2540
|
font-size: 12px;
|
|
2040
2541
|
}
|
|
2041
2542
|
|
|
2543
|
+
body[data-ds-dark-theme] .rvs-find {
|
|
2544
|
+
--rvs-editor-panel-bg: #252526;
|
|
2545
|
+
--rvs-editor-panel-fg: #cccccc;
|
|
2546
|
+
--rvs-editor-input-bg: #3c3c3c;
|
|
2547
|
+
--rvs-editor-chrome-border: rgba(255, 255, 255, .12);
|
|
2548
|
+
--rvs-danger-text: #ff8b8b;
|
|
2549
|
+
}
|
|
2550
|
+
|
|
2042
2551
|
.rvs-find-input {
|
|
2043
2552
|
width: 170px;
|
|
2044
2553
|
padding: 2px 6px;
|
|
2045
|
-
border: 1px solid var(--rvs-
|
|
2554
|
+
border: 1px solid var(--rvs-editor-chrome-border);
|
|
2046
2555
|
border-radius: 5px;
|
|
2047
|
-
background: var(--rvs-input);
|
|
2048
|
-
color: var(--rvs-fg);
|
|
2556
|
+
background: var(--rvs-editor-input-bg);
|
|
2557
|
+
color: var(--rvs-editor-panel-fg);
|
|
2049
2558
|
font: inherit;
|
|
2050
2559
|
font-size: 12px;
|
|
2051
2560
|
outline: none;
|
|
2052
2561
|
}
|
|
2053
2562
|
|
|
2054
2563
|
.rvs-find-input:focus {
|
|
2055
|
-
|
|
2564
|
+
/* `.rvs-find` is portalled away from `.rvs-root`, so `--rvs-brand` never
|
|
2565
|
+
resolved here (the declaration was invalid and fell back to currentColor):
|
|
2566
|
+
the editor's own fg is the pair that exists in this subtree. 16.5:1 light /
|
|
2567
|
+
6.9:1 dark. */
|
|
2568
|
+
border-color: var(--rvs-editor-panel-fg);
|
|
2056
2569
|
}
|
|
2057
2570
|
|
|
2058
2571
|
.rvs-find-count {
|
|
2059
2572
|
flex: none;
|
|
2060
2573
|
min-width: 54px;
|
|
2061
2574
|
text-align: center;
|
|
2062
|
-
color: var(--rvs-
|
|
2575
|
+
color: var(--rvs-editor-panel-fg);
|
|
2063
2576
|
font-size: 11px;
|
|
2064
2577
|
white-space: nowrap;
|
|
2065
2578
|
}
|
|
2066
2579
|
|
|
2067
2580
|
.rvs-find-count.none {
|
|
2068
|
-
color: var(--rvs-
|
|
2581
|
+
color: var(--rvs-danger-text);
|
|
2069
2582
|
}
|
|
2070
2583
|
|
|
2071
2584
|
.rvs-code {
|
|
@@ -2136,7 +2649,7 @@ body:not([data-ds-dark-theme]) .rvs-undo-affordance:focus-visible {
|
|
|
2136
2649
|
flex: none;
|
|
2137
2650
|
font-family: var(--rvs-mono);
|
|
2138
2651
|
font-size: 11px;
|
|
2139
|
-
color: var(--rvs-
|
|
2652
|
+
color: var(--rvs-fg2);
|
|
2140
2653
|
}
|
|
2141
2654
|
|
|
2142
2655
|
.rvs-commit-msg {
|
|
@@ -2150,7 +2663,7 @@ body:not([data-ds-dark-theme]) .rvs-undo-affordance:focus-visible {
|
|
|
2150
2663
|
.rvs-commit-date {
|
|
2151
2664
|
flex: none;
|
|
2152
2665
|
font-size: 11px;
|
|
2153
|
-
color: var(--rvs-
|
|
2666
|
+
color: var(--rvs-fg2);
|
|
2154
2667
|
}
|
|
2155
2668
|
|
|
2156
2669
|
.rvs-ref-badge {
|
|
@@ -2186,7 +2699,7 @@ body:not([data-ds-dark-theme]) .rvs-undo-affordance:focus-visible {
|
|
|
2186
2699
|
}
|
|
2187
2700
|
|
|
2188
2701
|
.rvs-detail-meta {
|
|
2189
|
-
color: var(--rvs-
|
|
2702
|
+
color: var(--rvs-fg2);
|
|
2190
2703
|
font-size: 11px;
|
|
2191
2704
|
margin-bottom: 6px;
|
|
2192
2705
|
white-space: pre-wrap;
|
|
@@ -2301,7 +2814,7 @@ body:not([data-ds-dark-theme]) .rvs-undo-affordance:focus-visible {
|
|
|
2301
2814
|
border: none;
|
|
2302
2815
|
border-bottom: 2px solid transparent;
|
|
2303
2816
|
background: transparent;
|
|
2304
|
-
color: var(--rvs-
|
|
2817
|
+
color: var(--rvs-fg2);
|
|
2305
2818
|
font: inherit;
|
|
2306
2819
|
font-size: 12px;
|
|
2307
2820
|
padding: 5px 8px 4px;
|
|
@@ -2327,7 +2840,7 @@ body:not([data-ds-dark-theme]) .rvs-undo-affordance:focus-visible {
|
|
|
2327
2840
|
margin-right: 2px;
|
|
2328
2841
|
font-family: var(--rvs-mono);
|
|
2329
2842
|
font-size: 10.5px;
|
|
2330
|
-
color: var(--rvs-
|
|
2843
|
+
color: var(--rvs-fg2);
|
|
2331
2844
|
}
|
|
2332
2845
|
|
|
2333
2846
|
/**
|
|
@@ -2365,7 +2878,7 @@ body:not([data-ds-dark-theme]) .rvs-undo-affordance:focus-visible {
|
|
|
2365
2878
|
gap: 6px;
|
|
2366
2879
|
min-height: 21px;
|
|
2367
2880
|
font-size: 11.5px;
|
|
2368
|
-
color: var(--rvs-
|
|
2881
|
+
color: var(--rvs-fg2);
|
|
2369
2882
|
}
|
|
2370
2883
|
|
|
2371
2884
|
.rvs-hmeta-icon {
|
|
@@ -2443,7 +2956,7 @@ body:not([data-ds-dark-theme]) .rvs-undo-affordance:focus-visible {
|
|
|
2443
2956
|
.rvs-hhint {
|
|
2444
2957
|
margin-bottom: 6px;
|
|
2445
2958
|
font-size: 11px;
|
|
2446
|
-
color: var(--rvs-
|
|
2959
|
+
color: var(--rvs-fg2);
|
|
2447
2960
|
}
|
|
2448
2961
|
|
|
2449
2962
|
/* One line: how many files, and the path filter that makes a 60-file commit
|
|
@@ -2458,7 +2971,7 @@ body:not([data-ds-dark-theme]) .rvs-undo-affordance:focus-visible {
|
|
|
2458
2971
|
.rvs-hcount {
|
|
2459
2972
|
flex: none;
|
|
2460
2973
|
font-size: 11px;
|
|
2461
|
-
color: var(--rvs-
|
|
2974
|
+
color: var(--rvs-fg2);
|
|
2462
2975
|
}
|
|
2463
2976
|
|
|
2464
2977
|
.rvs-hfilter {
|
|
@@ -2502,7 +3015,7 @@ body:not([data-ds-dark-theme]) .rvs-undo-affordance:focus-visible {
|
|
|
2502
3015
|
.rvs-hfolder-count {
|
|
2503
3016
|
flex: none;
|
|
2504
3017
|
font-size: 10.5px;
|
|
2505
|
-
color: var(--rvs-
|
|
3018
|
+
color: var(--rvs-fg2);
|
|
2506
3019
|
}
|
|
2507
3020
|
|
|
2508
3021
|
/* Files under a folder keep the editor tree's indent idiom. */
|
|
@@ -2533,7 +3046,7 @@ body:not([data-ds-dark-theme]) .rvs-undo-affordance:focus-visible {
|
|
|
2533
3046
|
.rvs-commit-item:focus-visible,
|
|
2534
3047
|
.rvs-patch-chevron:focus-visible,
|
|
2535
3048
|
.rvs-vsplit-handle:focus-visible {
|
|
2536
|
-
outline: 2px solid var(--rvs-
|
|
3049
|
+
outline: 2px solid var(--rvs-fg);
|
|
2537
3050
|
outline-offset: -2px;
|
|
2538
3051
|
}
|
|
2539
3052
|
|
|
@@ -2750,7 +3263,7 @@ body:not([data-ds-dark-theme]) .rvs-undo-affordance:focus-visible {
|
|
|
2750
3263
|
margin: 2px 0;
|
|
2751
3264
|
border-top: 1px dashed var(--rvs-border);
|
|
2752
3265
|
border-bottom: 1px dashed var(--rvs-border);
|
|
2753
|
-
color: var(--rvs-
|
|
3266
|
+
color: var(--rvs-fg2);
|
|
2754
3267
|
font-size: 11px;
|
|
2755
3268
|
text-align: center;
|
|
2756
3269
|
user-select: none;
|
|
@@ -2759,7 +3272,7 @@ body:not([data-ds-dark-theme]) .rvs-undo-affordance:focus-visible {
|
|
|
2759
3272
|
.rvs-patch-note {
|
|
2760
3273
|
padding: 6px 8px;
|
|
2761
3274
|
font-size: 11px;
|
|
2762
|
-
color: var(--rvs-
|
|
3275
|
+
color: var(--rvs-fg2);
|
|
2763
3276
|
}
|
|
2764
3277
|
|
|
2765
3278
|
/* ---------------------------------------------------- floating editor window */
|
|
@@ -2839,9 +3352,15 @@ body:not([data-ds-dark-theme]) .rvs-undo-affordance:focus-visible {
|
|
|
2839
3352
|
outline: none;
|
|
2840
3353
|
}
|
|
2841
3354
|
|
|
2842
|
-
.rvs-float-ball:hover
|
|
3355
|
+
.rvs-float-ball:hover {
|
|
3356
|
+
background: var(--rvs-hover);
|
|
3357
|
+
}
|
|
3358
|
+
|
|
3359
|
+
/* `outline: none` on the ball removed the only keyboard cue; restore it. */
|
|
2843
3360
|
.rvs-float-ball:focus-visible {
|
|
2844
3361
|
background: var(--rvs-hover);
|
|
3362
|
+
outline: 2px solid var(--rvs-fg);
|
|
3363
|
+
outline-offset: 2px;
|
|
2845
3364
|
}
|
|
2846
3365
|
|
|
2847
3366
|
.rvs-float-ball-glyph {
|
|
@@ -2898,7 +3417,7 @@ body:not([data-ds-dark-theme]) .rvs-undo-affordance:focus-visible {
|
|
|
2898
3417
|
text-overflow: ellipsis;
|
|
2899
3418
|
white-space: nowrap;
|
|
2900
3419
|
font-size: 11.5px;
|
|
2901
|
-
color: var(--rvs-
|
|
3420
|
+
color: var(--rvs-fg2);
|
|
2902
3421
|
direction: rtl;
|
|
2903
3422
|
unicode-bidi: plaintext;
|
|
2904
3423
|
text-align: left;
|
|
@@ -2933,7 +3452,7 @@ body:not([data-ds-dark-theme]) .rvs-undo-affordance:focus-visible {
|
|
|
2933
3452
|
|
|
2934
3453
|
.rvs-float-close:hover {
|
|
2935
3454
|
background: rgba(241, 76, 76, .18);
|
|
2936
|
-
color: var(--rvs-danger);
|
|
3455
|
+
color: var(--rvs-danger-text);
|
|
2937
3456
|
}
|
|
2938
3457
|
|
|
2939
3458
|
.rvs-float-body {
|
|
@@ -2982,7 +3501,7 @@ body:not([data-ds-dark-theme]) .rvs-undo-affordance:focus-visible {
|
|
|
2982
3501
|
gap: 10px;
|
|
2983
3502
|
padding: 24px;
|
|
2984
3503
|
text-align: center;
|
|
2985
|
-
color: var(--rvs-
|
|
3504
|
+
color: var(--rvs-fg2);
|
|
2986
3505
|
font-size: 12.5px;
|
|
2987
3506
|
}
|
|
2988
3507
|
|
|
@@ -2999,10 +3518,48 @@ body:not([data-ds-dark-theme]) .rvs-undo-affordance:focus-visible {
|
|
|
2999
3518
|
|
|
3000
3519
|
/* --------------------------------------------------------- context menu */
|
|
3001
3520
|
|
|
3002
|
-
|
|
3521
|
+
/**
|
|
3522
|
+
* PORTALED surfaces (menu / modal / toast) mount on <body>, i.e. OUTSIDE
|
|
3523
|
+
* `.rvs-root` where the tokens are declared — without this block every var()
|
|
3524
|
+
* below resolves to nothing: the confirm button lost its fill and painted white
|
|
3525
|
+
* text straight on the light dialog plate (1.1–1.2:1, reported 2026-11-23 on
|
|
3526
|
+
* the git-push confirm), the menu had no border and no hover feedback, and the
|
|
3527
|
+
* toast fell back to inherited text colour. Keep this subset in sync with
|
|
3528
|
+
* `.rvs-root`; it lists exactly the tokens the `.rvs-menu*`, `.rvs-modal*`,
|
|
3529
|
+
* `.rvs-input`, `.rvs-toast*` and `.rvs-snips-panel` rules read.
|
|
3530
|
+
*
|
|
3531
|
+
* `.rvs-toasts` is NOT inside `.rvs-portal` (DialogHost portals the modal and
|
|
3532
|
+
* the toast stack as separate body children), so it carries the same block.
|
|
3533
|
+
*/
|
|
3534
|
+
.rvs-portal,
|
|
3535
|
+
.rvs-toasts {
|
|
3536
|
+
--rvs-fg: var(--dsw-alias-label-primary, #e6e6e6);
|
|
3537
|
+
--rvs-fg2: var(--dsw-alias-label-secondary, #b9b9b9);
|
|
3538
|
+
--rvs-fg3: var(--dsw-alias-label-tertiary, #8b8b8b);
|
|
3539
|
+
--rvs-hover: var(--dsw-alias-interactive-bg-hover, rgba(127, 127, 127, .14));
|
|
3540
|
+
--rvs-active: var(--dsw-alias-interactive-bg-active, rgba(77, 107, 254, .22));
|
|
3541
|
+
--rvs-border: var(--dsw-alias-border-l1, rgba(127, 127, 127, .25));
|
|
3542
|
+
--rvs-border2: var(--dsw-alias-border-l2, rgba(127, 127, 127, .38));
|
|
3543
|
+
--rvs-input: var(--dsw-alias-bg-input, rgba(127, 127, 127, .12));
|
|
3544
|
+
--rvs-layer3: var(--dsw-alias-bg-layer-3, rgba(127, 127, 127, .16));
|
|
3545
|
+
--rvs-brand: var(--dsw-alias-brand-primary, #4d6bfe);
|
|
3546
|
+
--rvs-danger: var(--dsw-alias-state-error-primary, #e05555);
|
|
3547
|
+
/* The opaque "ink" pair filled buttons use: --rvs-fg and --rvs-code-bg
|
|
3548
|
+
contrast in every scheme/skin, which the accent tokens do not. */
|
|
3549
|
+
--rvs-code-bg: #ffffff;
|
|
3550
|
+
--rvs-mono: 'Cascadia Code', 'Fira Code', 'JetBrains Mono', Consolas, 'Courier New', monospace;
|
|
3003
3551
|
font-family: inherit;
|
|
3004
3552
|
}
|
|
3005
3553
|
|
|
3554
|
+
body[data-ds-dark-theme] .rvs-portal,
|
|
3555
|
+
body[data-ds-dark-theme] .rvs-toasts {
|
|
3556
|
+
--rvs-code-bg: #1e1e1e;
|
|
3557
|
+
/* The dark overlay plate is mid-grey (#61666b), not near-black: the host's
|
|
3558
|
+
secondary label token reads 3.85:1 there. Portal copy steps up to a value
|
|
3559
|
+
that clears AA on that plate (measured 4.9:1). */
|
|
3560
|
+
--rvs-fg2: #e9ebed;
|
|
3561
|
+
}
|
|
3562
|
+
|
|
3006
3563
|
/**
|
|
3007
3564
|
* Floating surfaces (menu / modal / toast) paint an OPAQUE base first and then
|
|
3008
3565
|
* lay the skin's overlay token on top. The token is frequently translucent, so
|
|
@@ -3018,6 +3575,23 @@ body:not([data-ds-dark-theme]) .rvs-undo-affordance:focus-visible {
|
|
|
3018
3575
|
color: var(--rvs-fg);
|
|
3019
3576
|
}
|
|
3020
3577
|
|
|
3578
|
+
/*
|
|
3579
|
+
* Dark floating plates. The host dark `--dsw-alias-bg-overlay` is MID-GREY
|
|
3580
|
+
* (#61666b), not near-black: menu labels measured 2.5-3.4:1, the menu red
|
|
3581
|
+
* 3.41:1, and the body copy of the INLINE modals (which take `.rvs-root`
|
|
3582
|
+
* tokens) 3.85:1 there. The host paints its own menus on a dark elevated
|
|
3583
|
+
* surface, so every dark floating surface takes bg-layer-2 over the Canvas
|
|
3584
|
+
* base (#121212): labels then measure 7.9-13.3:1 and the modal body 9.6:1.
|
|
3585
|
+
* The error toast keeps its own dark-red plate (`:not(.error)` keeps the two
|
|
3586
|
+
* rules disjoint); light is untouched.
|
|
3587
|
+
*/
|
|
3588
|
+
body[data-ds-dark-theme] .rvs-menu,
|
|
3589
|
+
body[data-ds-dark-theme] .rvs-modal-box,
|
|
3590
|
+
body[data-ds-dark-theme] .rvs-snips-panel,
|
|
3591
|
+
body[data-ds-dark-theme] .rvs-toast:not(.error) {
|
|
3592
|
+
background-image: linear-gradient(var(--dsw-alias-bg-layer-2, #2c2c2e), var(--dsw-alias-bg-layer-2, #2c2c2e));
|
|
3593
|
+
}
|
|
3594
|
+
|
|
3021
3595
|
.rvs-menu {
|
|
3022
3596
|
position: fixed;
|
|
3023
3597
|
z-index: 1000;
|
|
@@ -3058,13 +3632,32 @@ body:not([data-ds-dark-theme]) .rvs-undo-affordance:focus-visible {
|
|
|
3058
3632
|
}
|
|
3059
3633
|
|
|
3060
3634
|
.rvs-menu-item.danger {
|
|
3061
|
-
color: var(--
|
|
3635
|
+
color: var(--rvs-danger, #f14c4c);
|
|
3062
3636
|
}
|
|
3063
3637
|
|
|
3638
|
+
/* The host error token targets a plain surface: on the menu's opaque overlay
|
|
3639
|
+
plate it reads 3.8 (vanilla light) / 4.4 (vanilla dark), so each scheme gets
|
|
3640
|
+
a local red that clears AA. */
|
|
3641
|
+
body:not([data-ds-dark-theme]) .rvs-menu-item.danger { color: #cf222e; }
|
|
3642
|
+
/* The dark plate is mid-grey: #ff7b72 reads 2.30 there, so use a lighter red
|
|
3643
|
+
that keeps the "danger" hue while clearing AA (measured 5.7). */
|
|
3644
|
+
body[data-ds-dark-theme] .rvs-menu-item.danger { color: #ffb3b3; }
|
|
3645
|
+
|
|
3064
3646
|
.rvs-menu-item.danger:hover {
|
|
3065
3647
|
background: rgba(241, 76, 76, .16);
|
|
3066
3648
|
}
|
|
3067
3649
|
|
|
3650
|
+
/* The hover tint lightens the plate, so the danger label needs a deeper red on
|
|
3651
|
+
light schemes and a brighter one on dark. */
|
|
3652
|
+
body:not([data-ds-dark-theme]) .rvs-menu-item.danger:hover {
|
|
3653
|
+
background: rgba(207, 34, 46, .10);
|
|
3654
|
+
color: #a40e26;
|
|
3655
|
+
}
|
|
3656
|
+
body[data-ds-dark-theme] .rvs-menu-item.danger:hover {
|
|
3657
|
+
background: rgba(255, 255, 255, .10);
|
|
3658
|
+
color: #ffd7d5;
|
|
3659
|
+
}
|
|
3660
|
+
|
|
3068
3661
|
.rvs-menu-item:disabled {
|
|
3069
3662
|
opacity: .45;
|
|
3070
3663
|
cursor: default;
|
|
@@ -3077,7 +3670,12 @@ body:not([data-ds-dark-theme]) .rvs-undo-affordance:focus-visible {
|
|
|
3077
3670
|
.rvs-menu-hint {
|
|
3078
3671
|
margin-left: auto;
|
|
3079
3672
|
font-size: 11px;
|
|
3080
|
-
|
|
3673
|
+
/* 11 px text on the menu plate: at .6 the shortcut hints measured 3.19:1 on
|
|
3674
|
+
island-light (light host plate) — below the 4.5 small-text floor. .8 lifts
|
|
3675
|
+
that to ~5.2:1 and leaves the light vanilla case (4.68 → ~6:1) and both
|
|
3676
|
+
dark plates above it. The colour stays the inherited `--rvs-fg`; only the
|
|
3677
|
+
alpha moves, so the approved ink/portal/fg2 scheme is untouched. */
|
|
3678
|
+
opacity: .8;
|
|
3081
3679
|
}
|
|
3082
3680
|
|
|
3083
3681
|
/* ------------------------------------------------------- modal + toast */
|
|
@@ -3142,18 +3740,29 @@ body:not([data-ds-dark-theme]) .rvs-undo-affordance:focus-visible {
|
|
|
3142
3740
|
background: var(--rvs-hover);
|
|
3143
3741
|
}
|
|
3144
3742
|
|
|
3743
|
+
/* Filled controls use the ink pair, never "accent fill + #fff": the accent
|
|
3744
|
+
under white text is 2.1–4.2:1 once the skins remap it (measured 2026-11-23).
|
|
3745
|
+
Danger keeps its red as the BORDER so the label stays on the plate's own
|
|
3746
|
+
foreground instead of white-on-red. */
|
|
3145
3747
|
.rvs-modal-btn.primary {
|
|
3146
3748
|
border-color: transparent;
|
|
3147
|
-
background: var(--rvs-
|
|
3148
|
-
color:
|
|
3749
|
+
background: var(--rvs-fg);
|
|
3750
|
+
color: var(--rvs-code-bg);
|
|
3149
3751
|
}
|
|
3150
3752
|
|
|
3151
3753
|
.rvs-modal-btn.danger {
|
|
3754
|
+
/* Solid fill with an ink label, not a 1px red outline: the outline measured
|
|
3755
|
+
1.76:1 on the dark mid-grey plate, i.e. the only "danger" cue vanished. */
|
|
3152
3756
|
border-color: transparent;
|
|
3153
|
-
background:
|
|
3757
|
+
background: #cf222e;
|
|
3154
3758
|
color: #fff;
|
|
3155
3759
|
}
|
|
3156
3760
|
|
|
3761
|
+
body[data-ds-dark-theme] .rvs-modal-btn.danger {
|
|
3762
|
+
background: #f25a5a;
|
|
3763
|
+
color: #1e2229;
|
|
3764
|
+
}
|
|
3765
|
+
|
|
3157
3766
|
.rvs-toasts {
|
|
3158
3767
|
position: fixed;
|
|
3159
3768
|
right: 16px;
|
|
@@ -3183,6 +3792,10 @@ body:not([data-ds-dark-theme]) .rvs-undo-affordance:focus-visible {
|
|
|
3183
3792
|
.rvs-toast.error {
|
|
3184
3793
|
border-color: rgba(241, 76, 76, .6);
|
|
3185
3794
|
background-image: linear-gradient(rgba(58, 31, 34, .92), rgba(58, 31, 34, .92));
|
|
3795
|
+
/* The error toast keeps its deliberately dark red plate in BOTH schemes, so
|
|
3796
|
+
its label cannot follow --rvs-fg (a near-black label in the light theme:
|
|
3797
|
+
1.2–1.6:1). */
|
|
3798
|
+
color: #ffe3e0;
|
|
3186
3799
|
}
|
|
3187
3800
|
|
|
3188
3801
|
/* ------------------------------------------------------------- terminal */
|
|
@@ -3215,7 +3828,7 @@ body:not([data-ds-dark-theme]) .rvs-undo-affordance:focus-visible {
|
|
|
3215
3828
|
border: none;
|
|
3216
3829
|
border-radius: 6px;
|
|
3217
3830
|
background: transparent;
|
|
3218
|
-
color: var(--rvs-
|
|
3831
|
+
color: var(--rvs-fg2);
|
|
3219
3832
|
font: inherit;
|
|
3220
3833
|
font-size: 12px;
|
|
3221
3834
|
cursor: pointer;
|
|
@@ -3239,6 +3852,12 @@ body:not([data-ds-dark-theme]) .rvs-undo-affordance:focus-visible {
|
|
|
3239
3852
|
position: absolute;
|
|
3240
3853
|
right: 3px;
|
|
3241
3854
|
opacity: 0;
|
|
3855
|
+
/* The shared `.rvs-etab-close` is content-sized for the editor tab strip
|
|
3856
|
+
(where the ✕ sits inside a padded tab). The terminal tab pairs it with an
|
|
3857
|
+
absolutely positioned wrapper, so it keeps the 16x16 box it always had
|
|
3858
|
+
instead of shrinking with the new padding. */
|
|
3859
|
+
width: 16px;
|
|
3860
|
+
height: 16px;
|
|
3242
3861
|
}
|
|
3243
3862
|
|
|
3244
3863
|
.rvs-term-tabwrap:hover .rvs-etab-close,
|
|
@@ -3289,6 +3908,239 @@ body:not([data-ds-dark-theme]) .rvs-undo-affordance:focus-visible {
|
|
|
3289
3908
|
color: var(--rvs-code-fg);
|
|
3290
3909
|
}
|
|
3291
3910
|
|
|
3911
|
+
/* --------------------------------------------------------- terminal snippets
|
|
3912
|
+
*
|
|
3913
|
+
* The "常用指令" button lives in the terminal header; its popover is portaled to
|
|
3914
|
+
* <body>, so it CANNOT use the `.rvs-root`-scoped `--rvs-*` tokens (they resolve
|
|
3915
|
+
* to nothing there). It follows the plugin's popup convention instead: an opaque
|
|
3916
|
+
* `Canvas` base plus the skin's overlay token, and the app-wide `--dsw-alias-*`
|
|
3917
|
+
* colours (with literal fallbacks) for text, hover and accents.
|
|
3918
|
+
*/
|
|
3919
|
+
.rvs-snips-btn {
|
|
3920
|
+
flex: none;
|
|
3921
|
+
width: auto;
|
|
3922
|
+
min-width: 0;
|
|
3923
|
+
gap: 3px;
|
|
3924
|
+
padding: 0 6px;
|
|
3925
|
+
font-size: 11px;
|
|
3926
|
+
white-space: nowrap;
|
|
3927
|
+
}
|
|
3928
|
+
|
|
3929
|
+
.rvs-snips-panel {
|
|
3930
|
+
position: fixed;
|
|
3931
|
+
z-index: 60;
|
|
3932
|
+
display: flex;
|
|
3933
|
+
flex-direction: column;
|
|
3934
|
+
max-height: 420px;
|
|
3935
|
+
overflow: hidden;
|
|
3936
|
+
border: 1px solid var(--dsw-alias-border-l2, rgba(127, 127, 127, .38));
|
|
3937
|
+
border-radius: 8px;
|
|
3938
|
+
background-color: Canvas;
|
|
3939
|
+
background-image: linear-gradient(var(--dsw-alias-bg-overlay, transparent), var(--dsw-alias-bg-overlay, transparent));
|
|
3940
|
+
color: var(--dsw-alias-label-primary, CanvasText);
|
|
3941
|
+
box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
|
|
3942
|
+
font-size: 12px;
|
|
3943
|
+
}
|
|
3944
|
+
|
|
3945
|
+
.rvs-snips-head {
|
|
3946
|
+
flex: none;
|
|
3947
|
+
display: flex;
|
|
3948
|
+
align-items: center;
|
|
3949
|
+
gap: 6px;
|
|
3950
|
+
padding: 6px 8px;
|
|
3951
|
+
border-bottom: 1px solid var(--dsw-alias-border-l1, rgba(127, 127, 127, .25));
|
|
3952
|
+
}
|
|
3953
|
+
|
|
3954
|
+
.rvs-snips-title {
|
|
3955
|
+
font-weight: 600;
|
|
3956
|
+
font-size: 12px;
|
|
3957
|
+
}
|
|
3958
|
+
|
|
3959
|
+
.rvs-snips-spacer { flex: 1; }
|
|
3960
|
+
|
|
3961
|
+
.rvs-snips-add {
|
|
3962
|
+
width: 22px;
|
|
3963
|
+
height: 20px;
|
|
3964
|
+
display: flex;
|
|
3965
|
+
align-items: center;
|
|
3966
|
+
justify-content: center;
|
|
3967
|
+
padding: 0;
|
|
3968
|
+
border: 1px solid var(--rvs-fg2);
|
|
3969
|
+
border-radius: 5px;
|
|
3970
|
+
background: transparent;
|
|
3971
|
+
color: var(--rvs-fg2);
|
|
3972
|
+
font: inherit;
|
|
3973
|
+
font-size: 14px;
|
|
3974
|
+
line-height: 1;
|
|
3975
|
+
cursor: pointer;
|
|
3976
|
+
}
|
|
3977
|
+
|
|
3978
|
+
.rvs-snips-add:hover {
|
|
3979
|
+
/* Same ink pair as the other filled controls: a brand fill behind #fff is
|
|
3980
|
+
1.8–3.0:1 under the skins. */
|
|
3981
|
+
background: var(--dsw-alias-label-primary, CanvasText);
|
|
3982
|
+
color: var(--rvs-code-bg, Canvas);
|
|
3983
|
+
}
|
|
3984
|
+
|
|
3985
|
+
.rvs-snips-list {
|
|
3986
|
+
flex: 1;
|
|
3987
|
+
min-height: 0;
|
|
3988
|
+
display: flex;
|
|
3989
|
+
flex-direction: column;
|
|
3990
|
+
gap: 1px;
|
|
3991
|
+
padding: 4px;
|
|
3992
|
+
overflow: auto;
|
|
3993
|
+
}
|
|
3994
|
+
|
|
3995
|
+
.rvs-snips-empty {
|
|
3996
|
+
padding: 10px 8px;
|
|
3997
|
+
color: var(--rvs-fg2);
|
|
3998
|
+
font-size: 11px;
|
|
3999
|
+
line-height: 1.6;
|
|
4000
|
+
}
|
|
4001
|
+
|
|
4002
|
+
.rvs-snips-row {
|
|
4003
|
+
display: flex;
|
|
4004
|
+
align-items: center;
|
|
4005
|
+
gap: 3px;
|
|
4006
|
+
padding: 1px 3px;
|
|
4007
|
+
border-radius: 5px;
|
|
4008
|
+
}
|
|
4009
|
+
|
|
4010
|
+
.rvs-snips-row:hover { background: var(--dsw-alias-interactive-bg-hover, rgba(127, 127, 127, .14)); }
|
|
4011
|
+
|
|
4012
|
+
/* Drop indicator: a line above the row the pointer is over. */
|
|
4013
|
+
.rvs-snips-row.drop { box-shadow: inset 0 2px 0 var(--dsw-alias-brand-primary, #4d6bfe); }
|
|
4014
|
+
|
|
4015
|
+
.rvs-snips-grip {
|
|
4016
|
+
flex: none;
|
|
4017
|
+
padding: 0 2px;
|
|
4018
|
+
color: var(--rvs-fg2);
|
|
4019
|
+
font-size: 11px;
|
|
4020
|
+
cursor: grab;
|
|
4021
|
+
user-select: none;
|
|
4022
|
+
}
|
|
4023
|
+
|
|
4024
|
+
.rvs-snips-grip:active { cursor: grabbing; }
|
|
4025
|
+
|
|
4026
|
+
.rvs-snips-insert {
|
|
4027
|
+
flex: 1;
|
|
4028
|
+
min-width: 0;
|
|
4029
|
+
display: flex;
|
|
4030
|
+
align-items: baseline;
|
|
4031
|
+
gap: 5px;
|
|
4032
|
+
padding: 4px 2px;
|
|
4033
|
+
border: 0;
|
|
4034
|
+
background: transparent;
|
|
4035
|
+
color: inherit;
|
|
4036
|
+
font: inherit;
|
|
4037
|
+
text-align: left;
|
|
4038
|
+
cursor: pointer;
|
|
4039
|
+
}
|
|
4040
|
+
|
|
4041
|
+
.rvs-snips-name {
|
|
4042
|
+
flex: 0 1 auto;
|
|
4043
|
+
max-width: 45%;
|
|
4044
|
+
overflow: hidden;
|
|
4045
|
+
text-overflow: ellipsis;
|
|
4046
|
+
white-space: nowrap;
|
|
4047
|
+
color: var(--dsw-alias-label-primary, CanvasText);
|
|
4048
|
+
font-weight: 600;
|
|
4049
|
+
font-size: 11.5px;
|
|
4050
|
+
}
|
|
4051
|
+
|
|
4052
|
+
.rvs-snips-arrow {
|
|
4053
|
+
flex: none;
|
|
4054
|
+
color: var(--dsw-alias-label-tertiary, #8b8b8b);
|
|
4055
|
+
font-size: 10px;
|
|
4056
|
+
}
|
|
4057
|
+
|
|
4058
|
+
.rvs-snips-text {
|
|
4059
|
+
flex: 1;
|
|
4060
|
+
min-width: 0;
|
|
4061
|
+
overflow: hidden;
|
|
4062
|
+
text-overflow: ellipsis;
|
|
4063
|
+
white-space: nowrap;
|
|
4064
|
+
color: var(--rvs-fg2);
|
|
4065
|
+
font-family: var(--rvs-mono, ui-monospace, monospace);
|
|
4066
|
+
font-size: 11px;
|
|
4067
|
+
}
|
|
4068
|
+
|
|
4069
|
+
.rvs-snips-icon {
|
|
4070
|
+
flex: none;
|
|
4071
|
+
width: 20px;
|
|
4072
|
+
height: 20px;
|
|
4073
|
+
display: flex;
|
|
4074
|
+
align-items: center;
|
|
4075
|
+
justify-content: center;
|
|
4076
|
+
padding: 0;
|
|
4077
|
+
border: 0;
|
|
4078
|
+
border-radius: 4px;
|
|
4079
|
+
background: transparent;
|
|
4080
|
+
color: var(--rvs-fg2);
|
|
4081
|
+
font: inherit;
|
|
4082
|
+
font-size: 12px;
|
|
4083
|
+
line-height: 1;
|
|
4084
|
+
cursor: pointer;
|
|
4085
|
+
}
|
|
4086
|
+
|
|
4087
|
+
.rvs-snips-icon:hover {
|
|
4088
|
+
background: var(--dsw-alias-interactive-bg-hover, rgba(127, 127, 127, .14));
|
|
4089
|
+
color: var(--dsw-alias-label-primary, CanvasText);
|
|
4090
|
+
}
|
|
4091
|
+
|
|
4092
|
+
.rvs-snips-icon.danger:hover { color: var(--dsw-alias-state-error-primary, #e05555); }
|
|
4093
|
+
|
|
4094
|
+
.rvs-snips-foot {
|
|
4095
|
+
flex: none;
|
|
4096
|
+
padding: 4px 8px;
|
|
4097
|
+
border-top: 1px solid var(--dsw-alias-border-l1, rgba(127, 127, 127, .25));
|
|
4098
|
+
color: var(--rvs-fg2);
|
|
4099
|
+
font-size: 10.5px;
|
|
4100
|
+
}
|
|
4101
|
+
|
|
4102
|
+
/* The add/edit form reuses the shared modal chrome; only its fields and error
|
|
4103
|
+
line are local, and they carry their own colours because the modal is
|
|
4104
|
+
portaled outside `.rvs-root` as well. */
|
|
4105
|
+
.rvs-snips-field {
|
|
4106
|
+
display: flex;
|
|
4107
|
+
flex-direction: column;
|
|
4108
|
+
gap: 4px;
|
|
4109
|
+
margin: 8px 0;
|
|
4110
|
+
color: var(--rvs-fg2);
|
|
4111
|
+
font-size: 11.5px;
|
|
4112
|
+
}
|
|
4113
|
+
|
|
4114
|
+
.rvs-snips-field input,
|
|
4115
|
+
.rvs-snips-field textarea {
|
|
4116
|
+
flex: none;
|
|
4117
|
+
width: 100%;
|
|
4118
|
+
padding: 5px 8px;
|
|
4119
|
+
border: 1px solid var(--dsw-alias-border-l2, rgba(127, 127, 127, .38));
|
|
4120
|
+
border-radius: 6px;
|
|
4121
|
+
background: var(--dsw-alias-bg-input, rgba(127, 127, 127, .12));
|
|
4122
|
+
color: inherit;
|
|
4123
|
+
font: inherit;
|
|
4124
|
+
font-size: 12px;
|
|
4125
|
+
outline: none;
|
|
4126
|
+
}
|
|
4127
|
+
|
|
4128
|
+
.rvs-snips-field input:focus,
|
|
4129
|
+
.rvs-snips-field textarea:focus {
|
|
4130
|
+
border-color: var(--rvs-fg);
|
|
4131
|
+
}
|
|
4132
|
+
|
|
4133
|
+
.rvs-snips-command {
|
|
4134
|
+
font-family: var(--rvs-mono, ui-monospace, monospace) !important;
|
|
4135
|
+
resize: vertical;
|
|
4136
|
+
}
|
|
4137
|
+
|
|
4138
|
+
.rvs-snips-error {
|
|
4139
|
+
margin: 2px 0 0;
|
|
4140
|
+
color: var(--dsw-alias-state-error-primary, #e05555);
|
|
4141
|
+
font-size: 11.5px;
|
|
4142
|
+
}
|
|
4143
|
+
|
|
3292
4144
|
/* `.rvs-toast.error` is styled with the overlay form further up, so the popup
|
|
3293
4145
|
opacity convention (an opaque Canvas base plus a token layer) still governs
|
|
3294
4146
|
it. A flat `background: #3a1f22` shorthand sat here and overrode that chain —
|
|
@@ -3366,7 +4218,7 @@ body:not([data-ds-dark-theme]) .rvs-undo-affordance:focus-visible {
|
|
|
3366
4218
|
flex: none;
|
|
3367
4219
|
align-self: center;
|
|
3368
4220
|
font-size: 11px;
|
|
3369
|
-
color: var(--rvs-
|
|
4221
|
+
color: var(--rvs-fg2);
|
|
3370
4222
|
white-space: nowrap;
|
|
3371
4223
|
}
|
|
3372
4224
|
|
|
@@ -3412,7 +4264,7 @@ body:not([data-ds-dark-theme]) .rvs-undo-affordance:focus-visible {
|
|
|
3412
4264
|
font-size: 10.5px;
|
|
3413
4265
|
line-height: 15px;
|
|
3414
4266
|
text-align: center;
|
|
3415
|
-
color: var(--rvs-
|
|
4267
|
+
color: var(--rvs-fg2);
|
|
3416
4268
|
}
|
|
3417
4269
|
|
|
3418
4270
|
.rvs-hit-lineno {
|
|
@@ -3442,7 +4294,7 @@ body:not([data-ds-dark-theme]) .rvs-undo-affordance:focus-visible {
|
|
|
3442
4294
|
|
|
3443
4295
|
.rvs-hit-dir {
|
|
3444
4296
|
flex: none;
|
|
3445
|
-
color: var(--rvs-
|
|
4297
|
+
color: var(--rvs-fg2);
|
|
3446
4298
|
font-size: 11px;
|
|
3447
4299
|
}
|
|
3448
4300
|
|
|
@@ -3456,7 +4308,7 @@ body:not([data-ds-dark-theme]) .rvs-undo-affordance:focus-visible {
|
|
|
3456
4308
|
border: 1px solid var(--rvs-border2);
|
|
3457
4309
|
border-radius: 4px;
|
|
3458
4310
|
font-size: 10px;
|
|
3459
|
-
color: var(--rvs-
|
|
4311
|
+
color: var(--rvs-fg2);
|
|
3460
4312
|
}
|
|
3461
4313
|
|
|
3462
4314
|
/* --- SCM: repository directory row (git runs in THIS directory) ------------- */
|
|
@@ -3467,13 +4319,13 @@ body:not([data-ds-dark-theme]) .rvs-undo-affordance:focus-visible {
|
|
|
3467
4319
|
gap: 4px;
|
|
3468
4320
|
padding: 4px 8px 4px 10px;
|
|
3469
4321
|
border-bottom: 1px solid var(--rvs-border);
|
|
3470
|
-
background: var(--
|
|
4322
|
+
background: var(--dsw-alias-bg-layer-1, #1b1b1b);
|
|
3471
4323
|
font-size: 11px;
|
|
3472
4324
|
flex: none;
|
|
3473
4325
|
}
|
|
3474
4326
|
|
|
3475
4327
|
.rvs-repo-bar-label {
|
|
3476
|
-
color: var(--rvs-
|
|
4328
|
+
color: var(--rvs-fg2);
|
|
3477
4329
|
white-space: nowrap;
|
|
3478
4330
|
}
|
|
3479
4331
|
|
|
@@ -3489,7 +4341,7 @@ body:not([data-ds-dark-theme]) .rvs-undo-affordance:focus-visible {
|
|
|
3489
4341
|
padding: 2px 6px;
|
|
3490
4342
|
border: 1px solid var(--rvs-border2);
|
|
3491
4343
|
border-radius: 4px;
|
|
3492
|
-
background: var(--rvs-
|
|
4344
|
+
background: var(--rvs-input);
|
|
3493
4345
|
color: var(--rvs-fg);
|
|
3494
4346
|
font-family: var(--rvs-mono, ui-monospace, Consolas, monospace);
|
|
3495
4347
|
font-size: 11px;
|
|
@@ -3498,7 +4350,7 @@ body:not([data-ds-dark-theme]) .rvs-undo-affordance:focus-visible {
|
|
|
3498
4350
|
|
|
3499
4351
|
.rvs-repo-bar-path:hover {
|
|
3500
4352
|
border-color: var(--rvs-brand);
|
|
3501
|
-
color: var(--rvs-
|
|
4353
|
+
color: var(--rvs-fg);
|
|
3502
4354
|
}
|
|
3503
4355
|
|
|
3504
4356
|
.rvs-repo-bar-fix {
|
|
@@ -3545,13 +4397,13 @@ body:not([data-ds-dark-theme]) .rvs-undo-affordance:focus-visible {
|
|
|
3545
4397
|
background: none;
|
|
3546
4398
|
padding: 1px 3px;
|
|
3547
4399
|
border-radius: 3px;
|
|
3548
|
-
color: var(--rvs-
|
|
4400
|
+
color: var(--rvs-fg);
|
|
3549
4401
|
font: inherit;
|
|
3550
4402
|
cursor: pointer;
|
|
3551
4403
|
}
|
|
3552
4404
|
|
|
3553
4405
|
.rvs-crumb:hover {
|
|
3554
|
-
background: var(--rvs-
|
|
4406
|
+
background: var(--rvs-hover);
|
|
3555
4407
|
}
|
|
3556
4408
|
|
|
3557
4409
|
.rvs-repopick-probe {
|
|
@@ -3559,7 +4411,7 @@ body:not([data-ds-dark-theme]) .rvs-undo-affordance:focus-visible {
|
|
|
3559
4411
|
border-radius: 4px;
|
|
3560
4412
|
font-size: 11.5px;
|
|
3561
4413
|
border: 1px solid var(--rvs-border2);
|
|
3562
|
-
background: var(--rvs-
|
|
4414
|
+
background: var(--rvs-input);
|
|
3563
4415
|
color: var(--rvs-fg2);
|
|
3564
4416
|
}
|
|
3565
4417
|
|
|
@@ -3570,7 +4422,7 @@ body:not([data-ds-dark-theme]) .rvs-undo-affordance:focus-visible {
|
|
|
3570
4422
|
|
|
3571
4423
|
.rvs-repopick-probe.inside {
|
|
3572
4424
|
border-color: var(--rvs-brand);
|
|
3573
|
-
color: var(--rvs-
|
|
4425
|
+
color: var(--rvs-fg);
|
|
3574
4426
|
}
|
|
3575
4427
|
|
|
3576
4428
|
.rvs-repopick-found {
|
|
@@ -3582,7 +4434,7 @@ body:not([data-ds-dark-theme]) .rvs-undo-affordance:focus-visible {
|
|
|
3582
4434
|
}
|
|
3583
4435
|
|
|
3584
4436
|
.rvs-repopick-found-label {
|
|
3585
|
-
color: var(--rvs-
|
|
4437
|
+
color: var(--rvs-fg2);
|
|
3586
4438
|
font-size: 11px;
|
|
3587
4439
|
white-space: nowrap;
|
|
3588
4440
|
}
|
|
@@ -3594,7 +4446,7 @@ body:not([data-ds-dark-theme]) .rvs-undo-affordance:focus-visible {
|
|
|
3594
4446
|
overflow: auto;
|
|
3595
4447
|
border: 1px solid var(--rvs-border);
|
|
3596
4448
|
border-radius: 5px;
|
|
3597
|
-
background:
|
|
4449
|
+
background: rgba(0, 0, 0, .18);
|
|
3598
4450
|
padding: 2px;
|
|
3599
4451
|
}
|
|
3600
4452
|
|
|
@@ -3615,7 +4467,7 @@ body:not([data-ds-dark-theme]) .rvs-undo-affordance:focus-visible {
|
|
|
3615
4467
|
}
|
|
3616
4468
|
|
|
3617
4469
|
.rvs-repopick-row:hover {
|
|
3618
|
-
background: var(--rvs-
|
|
4470
|
+
background: var(--rvs-hover);
|
|
3619
4471
|
}
|
|
3620
4472
|
|
|
3621
4473
|
.rvs-repopick-row span {
|
|
@@ -3625,7 +4477,7 @@ body:not([data-ds-dark-theme]) .rvs-undo-affordance:focus-visible {
|
|
|
3625
4477
|
}
|
|
3626
4478
|
|
|
3627
4479
|
.rvs-repopick-dim {
|
|
3628
|
-
color: var(--rvs-
|
|
4480
|
+
color: var(--rvs-fg2);
|
|
3629
4481
|
font-size: 11.5px;
|
|
3630
4482
|
padding: 6px;
|
|
3631
4483
|
}
|
|
@@ -3670,6 +4522,7 @@ body:not([data-ds-dark-theme]) .rvs-undo-affordance:focus-visible {
|
|
|
3670
4522
|
--rvs-overlay: var(--dsw-alias-bg-overlay, #24262e);
|
|
3671
4523
|
--rvs-brand: var(--dsw-alias-brand-primary, #4d6bfe);
|
|
3672
4524
|
--rvs-danger: var(--dsw-alias-state-error-primary, #e05555);
|
|
4525
|
+
--rvs-danger-text: #ff8b8b;
|
|
3673
4526
|
--rvs-git-m: #e2b714;
|
|
3674
4527
|
--rvs-git-a: #4ec9b0;
|
|
3675
4528
|
--rvs-mono: 'Cascadia Code', 'Fira Code', 'JetBrains Mono', Consolas, 'Courier New', monospace;
|
|
@@ -3696,6 +4549,16 @@ body[data-ds-dark-theme] .rvs-execpanel {
|
|
|
3696
4549
|
--rvs-code-fg: #d4d4d4;
|
|
3697
4550
|
}
|
|
3698
4551
|
|
|
4552
|
+
/* The triple above is the DARK set: on the light overlay plate its mint "done"
|
|
4553
|
+
is 1.72:1 and its amber "cancelled" 1.61:1. The pair `.rvs-root` uses brings
|
|
4554
|
+
them to 5.52 / 4.91 (vanilla) and 6.01 / 5.35 (skin cream), declared here
|
|
4555
|
+
because this panel is portalled away from `.rvs-root`. */
|
|
4556
|
+
body:not([data-ds-dark-theme]) .rvs-execpanel {
|
|
4557
|
+
--rvs-git-m: #8a5c00;
|
|
4558
|
+
--rvs-git-a: #146c2e;
|
|
4559
|
+
--rvs-danger-text: #a52a2a;
|
|
4560
|
+
}
|
|
4561
|
+
|
|
3699
4562
|
|
|
3700
4563
|
.rvs-execpanel-head {
|
|
3701
4564
|
flex: none;
|
|
@@ -3718,12 +4581,12 @@ body[data-ds-dark-theme] .rvs-execpanel {
|
|
|
3718
4581
|
.rvs-execpanel-status {
|
|
3719
4582
|
flex: none;
|
|
3720
4583
|
font-size: 11px;
|
|
3721
|
-
color: var(--rvs-
|
|
4584
|
+
color: var(--rvs-fg2);
|
|
3722
4585
|
font-variant-numeric: tabular-nums;
|
|
3723
4586
|
}
|
|
3724
4587
|
|
|
3725
4588
|
.rvs-execpanel-status.done { color: var(--rvs-git-a); }
|
|
3726
|
-
.rvs-execpanel-status.error { color: var(--rvs-danger); }
|
|
4589
|
+
.rvs-execpanel-status.error { color: var(--rvs-danger-text); }
|
|
3727
4590
|
.rvs-execpanel-status.cancelled { color: var(--rvs-git-m); }
|
|
3728
4591
|
|
|
3729
4592
|
.rvs-execpanel-spacer {
|
|
@@ -3751,7 +4614,7 @@ body[data-ds-dark-theme] .rvs-execpanel {
|
|
|
3751
4614
|
flex: none;
|
|
3752
4615
|
padding: 4px 10px 6px;
|
|
3753
4616
|
border-top: 1px solid var(--rvs-border);
|
|
3754
|
-
color: var(--rvs-
|
|
4617
|
+
color: var(--rvs-fg2);
|
|
3755
4618
|
font-size: 11px;
|
|
3756
4619
|
}
|
|
3757
4620
|
|
|
@@ -3767,6 +4630,7 @@ body[data-ds-dark-theme] .rvs-execpanel {
|
|
|
3767
4630
|
--rvs-overlay: var(--dsw-alias-bg-overlay, #24262e);
|
|
3768
4631
|
--rvs-brand: var(--dsw-alias-brand-primary, #4d6bfe);
|
|
3769
4632
|
--rvs-danger: var(--dsw-alias-state-error-primary, #e05555);
|
|
4633
|
+
--rvs-danger-text: #ff8b8b;
|
|
3770
4634
|
--rvs-git-m: #e2b714;
|
|
3771
4635
|
--rvs-git-a: #4ec9b0;
|
|
3772
4636
|
position: fixed;
|
|
@@ -3792,6 +4656,12 @@ body[data-ds-dark-theme] .rvs-execpanel {
|
|
|
3792
4656
|
box-shadow: 0 18px 60px rgba(0, 0, 0, .45), 0 2px 8px rgba(0, 0, 0, .28);
|
|
3793
4657
|
}
|
|
3794
4658
|
|
|
4659
|
+
body:not([data-ds-dark-theme]) .rvs-downloads {
|
|
4660
|
+
--rvs-git-m: #8a5c00;
|
|
4661
|
+
--rvs-git-a: #146c2e;
|
|
4662
|
+
--rvs-danger-text: #a52a2a;
|
|
4663
|
+
}
|
|
4664
|
+
|
|
3795
4665
|
.rvs-download {
|
|
3796
4666
|
display: flex;
|
|
3797
4667
|
flex-direction: column;
|
|
@@ -3829,11 +4699,11 @@ body[data-ds-dark-theme] .rvs-execpanel {
|
|
|
3829
4699
|
.rvs-download-status {
|
|
3830
4700
|
flex: none;
|
|
3831
4701
|
font-size: 11px;
|
|
3832
|
-
color: var(--rvs-
|
|
4702
|
+
color: var(--rvs-fg2);
|
|
3833
4703
|
}
|
|
3834
4704
|
|
|
3835
4705
|
.rvs-download-status.done { color: var(--rvs-git-a); }
|
|
3836
|
-
.rvs-download-status.failed { color: var(--rvs-danger); }
|
|
4706
|
+
.rvs-download-status.failed { color: var(--rvs-danger-text); }
|
|
3837
4707
|
.rvs-download-status.cancelled { color: var(--rvs-git-m); }
|
|
3838
4708
|
|
|
3839
4709
|
.rvs-download-bar {
|
|
@@ -3868,13 +4738,13 @@ body[data-ds-dark-theme] .rvs-execpanel {
|
|
|
3868
4738
|
|
|
3869
4739
|
.rvs-download-meta {
|
|
3870
4740
|
overflow: hidden;
|
|
3871
|
-
color: var(--rvs-
|
|
4741
|
+
color: var(--rvs-fg2);
|
|
3872
4742
|
font-size: 11px;
|
|
3873
4743
|
text-overflow: ellipsis;
|
|
3874
4744
|
white-space: nowrap;
|
|
3875
4745
|
}
|
|
3876
4746
|
|
|
3877
|
-
.rvs-download-meta.failed { color: var(--rvs-danger); white-space: normal; word-break: break-word; }
|
|
4747
|
+
.rvs-download-meta.failed { color: var(--rvs-danger-text); white-space: normal; word-break: break-word; }
|
|
3878
4748
|
.rvs-download-meta.done { color: var(--rvs-fg2); }
|
|
3879
4749
|
.rvs-download-meta.cancelled { color: var(--rvs-git-m); }
|
|
3880
4750
|
|
|
@@ -3918,6 +4788,28 @@ body[data-ds-dark-theme] .rvs-execpanel {
|
|
|
3918
4788
|
box-shadow: 0 8px 32px rgba(0, 0, 0, .35);
|
|
3919
4789
|
}
|
|
3920
4790
|
|
|
4791
|
+
/* `ok` / `missing` on the light plate: #2ea043 is 3.09:1 on the skin's cream,
|
|
4792
|
+
#8a5c00 keeps the amber readable (5.35:1). Declared here because this sheet
|
|
4793
|
+
is portalled away from `.rvs-root`, whose light overrides cannot reach it. */
|
|
4794
|
+
body:not([data-ds-dark-theme]) .rvs-doctor {
|
|
4795
|
+
--rvs-ok: #146c2e;
|
|
4796
|
+
--rvs-git-m: #8a5c00;
|
|
4797
|
+
}
|
|
4798
|
+
|
|
4799
|
+
/*
|
|
4800
|
+
* Dark tool plates. The exec panel, download dock and doctor card carry
|
|
4801
|
+
* status colours from the dark git set, tuned for the #1b1b1c / #222944
|
|
4802
|
+
* leaves: on the mid-grey overlay plate they measured 1.7-3.0:1 (done
|
|
4803
|
+
* 2.85, cancelled 3.04, error 2.57, status 2.72). They are OPAQUE tool
|
|
4804
|
+
* windows, so dark paints the code surface (#1e1e1e, the log body colour)
|
|
4805
|
+
* and every status then measures 6.2-8.7:1. Light is unchanged.
|
|
4806
|
+
*/
|
|
4807
|
+
body[data-ds-dark-theme] .rvs-execpanel,
|
|
4808
|
+
body[data-ds-dark-theme] .rvs-downloads,
|
|
4809
|
+
body[data-ds-dark-theme] .rvs-doctor {
|
|
4810
|
+
--rvs-overlay: #1e1e1e;
|
|
4811
|
+
}
|
|
4812
|
+
|
|
3921
4813
|
.rvs-doctor-head {
|
|
3922
4814
|
flex: none;
|
|
3923
4815
|
display: flex;
|
|
@@ -3988,7 +4880,7 @@ body[data-ds-dark-theme] .rvs-execpanel {
|
|
|
3988
4880
|
.rvs-doctor-badge.unknown { color: var(--rvs-fg3); }
|
|
3989
4881
|
|
|
3990
4882
|
.rvs-doctor-detail {
|
|
3991
|
-
color: var(--rvs-
|
|
4883
|
+
color: var(--rvs-fg2);
|
|
3992
4884
|
font-family: var(--rvs-mono);
|
|
3993
4885
|
font-size: 11px;
|
|
3994
4886
|
word-break: break-word;
|
|
@@ -3999,7 +4891,7 @@ body[data-ds-dark-theme] .rvs-execpanel {
|
|
|
3999
4891
|
flex: none;
|
|
4000
4892
|
padding: 8px 12px;
|
|
4001
4893
|
border-top: 1px solid var(--rvs-border);
|
|
4002
|
-
color: var(--rvs-
|
|
4894
|
+
color: var(--rvs-fg2);
|
|
4003
4895
|
font-size: 11px;
|
|
4004
4896
|
}
|
|
4005
4897
|
|
|
@@ -4052,7 +4944,7 @@ body[data-ds-dark-theme] .rvs-execpanel {
|
|
|
4052
4944
|
}
|
|
4053
4945
|
|
|
4054
4946
|
.rvs-ports-label {
|
|
4055
|
-
color: var(--rvs-
|
|
4947
|
+
color: var(--rvs-fg2);
|
|
4056
4948
|
font-size: 11px;
|
|
4057
4949
|
}
|
|
4058
4950
|
|
|
@@ -4092,7 +4984,7 @@ body[data-ds-dark-theme] .rvs-execpanel {
|
|
|
4092
4984
|
padding: 0 6px;
|
|
4093
4985
|
border-radius: 999px;
|
|
4094
4986
|
background: var(--rvs-hover);
|
|
4095
|
-
color: var(--rvs-
|
|
4987
|
+
color: var(--rvs-fg2);
|
|
4096
4988
|
font-size: 10.5px;
|
|
4097
4989
|
letter-spacing: 0;
|
|
4098
4990
|
}
|
|
@@ -4133,7 +5025,7 @@ body[data-ds-dark-theme] .rvs-execpanel {
|
|
|
4133
5025
|
overflow: hidden;
|
|
4134
5026
|
text-overflow: ellipsis;
|
|
4135
5027
|
white-space: nowrap;
|
|
4136
|
-
color: var(--rvs-
|
|
5028
|
+
color: var(--rvs-fg2);
|
|
4137
5029
|
font-size: 11px;
|
|
4138
5030
|
}
|
|
4139
5031
|
|
|
@@ -4155,13 +5047,13 @@ body[data-ds-dark-theme] .rvs-execpanel {
|
|
|
4155
5047
|
}
|
|
4156
5048
|
|
|
4157
5049
|
.rvs-ports-conn {
|
|
4158
|
-
color: var(--rvs-
|
|
5050
|
+
color: var(--rvs-fg2);
|
|
4159
5051
|
font-size: 11px;
|
|
4160
5052
|
white-space: nowrap;
|
|
4161
5053
|
}
|
|
4162
5054
|
|
|
4163
5055
|
.rvs-ports-err {
|
|
4164
|
-
color: var(--rvs-danger);
|
|
5056
|
+
color: var(--rvs-danger-text);
|
|
4165
5057
|
font-size: 11px;
|
|
4166
5058
|
line-height: 1.45;
|
|
4167
5059
|
overflow-wrap: anywhere;
|
|
@@ -4182,7 +5074,7 @@ body[data-ds-dark-theme] .rvs-execpanel {
|
|
|
4182
5074
|
|
|
4183
5075
|
.rvs-ports-hint {
|
|
4184
5076
|
margin-top: 4px;
|
|
4185
|
-
color: var(--rvs-
|
|
5077
|
+
color: var(--rvs-fg2);
|
|
4186
5078
|
font-size: 11px;
|
|
4187
5079
|
line-height: 1.45;
|
|
4188
5080
|
overflow-wrap: anywhere;
|
|
@@ -4237,7 +5129,7 @@ body[data-ds-dark-theme] .rvs-execpanel {
|
|
|
4237
5129
|
}
|
|
4238
5130
|
|
|
4239
5131
|
.rvs-monitor-settings-hint {
|
|
4240
|
-
color: var(--rvs-
|
|
5132
|
+
color: var(--rvs-fg2);
|
|
4241
5133
|
font-size: 10.5px;
|
|
4242
5134
|
}
|
|
4243
5135
|
|
|
@@ -4298,7 +5190,7 @@ body[data-ds-dark-theme] .rvs-execpanel {
|
|
|
4298
5190
|
text-overflow: ellipsis;
|
|
4299
5191
|
white-space: nowrap;
|
|
4300
5192
|
text-align: right;
|
|
4301
|
-
color: var(--rvs-
|
|
5193
|
+
color: var(--rvs-fg2);
|
|
4302
5194
|
font-size: 10.5px;
|
|
4303
5195
|
}
|
|
4304
5196
|
|
|
@@ -4321,15 +5213,15 @@ body[data-ds-dark-theme] .rvs-execpanel {
|
|
|
4321
5213
|
}
|
|
4322
5214
|
|
|
4323
5215
|
.rvs-monitor-state.error {
|
|
4324
|
-
color: var(--rvs-danger);
|
|
5216
|
+
color: var(--rvs-danger-text);
|
|
4325
5217
|
}
|
|
4326
5218
|
|
|
4327
5219
|
.rvs-monitor-state.unknown {
|
|
4328
|
-
color: var(--rvs-
|
|
5220
|
+
color: var(--rvs-fg2);
|
|
4329
5221
|
}
|
|
4330
5222
|
|
|
4331
5223
|
.rvs-monitor-age {
|
|
4332
|
-
color: var(--rvs-
|
|
5224
|
+
color: var(--rvs-fg2);
|
|
4333
5225
|
font-variant-numeric: tabular-nums;
|
|
4334
5226
|
}
|
|
4335
5227
|
|
|
@@ -4463,7 +5355,7 @@ body[data-ds-dark-theme] .rvs-execpanel {
|
|
|
4463
5355
|
align-items: center;
|
|
4464
5356
|
gap: 7px;
|
|
4465
5357
|
flex: none;
|
|
4466
|
-
color: var(--rvs-
|
|
5358
|
+
color: var(--rvs-fg2);
|
|
4467
5359
|
font-size: 10px;
|
|
4468
5360
|
}
|
|
4469
5361
|
|
|
@@ -4522,13 +5414,13 @@ body[data-ds-dark-theme] .rvs-execpanel {
|
|
|
4522
5414
|
.rvs-monitor-spark-empty {
|
|
4523
5415
|
padding: 8px 0 4px;
|
|
4524
5416
|
text-align: center;
|
|
4525
|
-
color: var(--rvs-
|
|
5417
|
+
color: var(--rvs-fg2);
|
|
4526
5418
|
font-size: 10.5px;
|
|
4527
5419
|
}
|
|
4528
5420
|
|
|
4529
5421
|
.rvs-monitor-hint {
|
|
4530
5422
|
margin-top: 8px;
|
|
4531
|
-
color: var(--rvs-
|
|
5423
|
+
color: var(--rvs-fg2);
|
|
4532
5424
|
font-size: 10.5px;
|
|
4533
5425
|
line-height: 1.5;
|
|
4534
5426
|
overflow-wrap: anywhere;
|
|
@@ -4542,7 +5434,7 @@ body[data-ds-dark-theme] .rvs-execpanel {
|
|
|
4542
5434
|
|
|
4543
5435
|
.rvs-monitor-summary {
|
|
4544
5436
|
padding: 0 2px 4px;
|
|
4545
|
-
color: var(--rvs-
|
|
5437
|
+
color: var(--rvs-fg2);
|
|
4546
5438
|
font-size: 11px;
|
|
4547
5439
|
}
|
|
4548
5440
|
|
|
@@ -4593,7 +5485,7 @@ body[data-ds-dark-theme] .rvs-execpanel {
|
|
|
4593
5485
|
overflow: hidden;
|
|
4594
5486
|
text-overflow: ellipsis;
|
|
4595
5487
|
white-space: nowrap;
|
|
4596
|
-
color: var(--rvs-
|
|
5488
|
+
color: var(--rvs-fg2);
|
|
4597
5489
|
font-size: 10.5px;
|
|
4598
5490
|
}
|
|
4599
5491
|
|
|
@@ -4621,7 +5513,7 @@ body[data-ds-dark-theme] .rvs-execpanel {
|
|
|
4621
5513
|
display: grid;
|
|
4622
5514
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
4623
5515
|
gap: 8px;
|
|
4624
|
-
color: var(--rvs-
|
|
5516
|
+
color: var(--rvs-fg2);
|
|
4625
5517
|
font-size: 10.5px;
|
|
4626
5518
|
font-variant-numeric: tabular-nums;
|
|
4627
5519
|
}
|
|
@@ -4670,6 +5562,7 @@ body[data-ds-dark-theme] .rvs-execpanel {
|
|
|
4670
5562
|
--rvs-input: var(--dsw-alias-bg-input, rgba(127, 127, 127, .12));
|
|
4671
5563
|
--rvs-brand: var(--dsw-alias-brand-primary, #4d6bfe);
|
|
4672
5564
|
--rvs-danger: var(--dsw-alias-state-error-primary, #e05555);
|
|
5565
|
+
--rvs-danger-text: #ff8b8b;
|
|
4673
5566
|
--rvs-git-m: #e2b714;
|
|
4674
5567
|
--rvs-mono: 'Cascadia Code', 'Fira Code', 'JetBrains Mono', Consolas, 'Courier New', monospace;
|
|
4675
5568
|
position: fixed;
|
|
@@ -4685,6 +5578,11 @@ body[data-ds-dark-theme] .rvs-execpanel {
|
|
|
4685
5578
|
animation: rvsFade .12s ease;
|
|
4686
5579
|
}
|
|
4687
5580
|
|
|
5581
|
+
body:not([data-ds-dark-theme]) .rvs-qo-mask {
|
|
5582
|
+
--rvs-git-m: #8a5c00;
|
|
5583
|
+
--rvs-danger-text: #a52a2a;
|
|
5584
|
+
}
|
|
5585
|
+
|
|
4688
5586
|
/**
|
|
4689
5587
|
* Opaque base first, skin overlay on top: the overlay token is frequently
|
|
4690
5588
|
* translucent, and using it alone let the panel's text bleed through the sheet
|
|
@@ -4729,12 +5627,12 @@ body[data-ds-dark-theme] .rvs-execpanel {
|
|
|
4729
5627
|
}
|
|
4730
5628
|
|
|
4731
5629
|
.rvs-qo-input:focus {
|
|
4732
|
-
border-color: var(--rvs-
|
|
5630
|
+
border-color: var(--rvs-fg);
|
|
4733
5631
|
}
|
|
4734
5632
|
|
|
4735
5633
|
.rvs-qo-hint {
|
|
4736
5634
|
flex: none;
|
|
4737
|
-
color: var(--rvs-
|
|
5635
|
+
color: var(--rvs-fg2);
|
|
4738
5636
|
font-size: 11px;
|
|
4739
5637
|
white-space: nowrap;
|
|
4740
5638
|
}
|
|
@@ -4771,7 +5669,7 @@ body[data-ds-dark-theme] .rvs-execpanel {
|
|
|
4771
5669
|
min-width: 0;
|
|
4772
5670
|
overflow: hidden;
|
|
4773
5671
|
text-overflow: ellipsis;
|
|
4774
|
-
color: var(--rvs-
|
|
5672
|
+
color: var(--rvs-fg2);
|
|
4775
5673
|
font-size: 11.5px;
|
|
4776
5674
|
}
|
|
4777
5675
|
|
|
@@ -4799,7 +5697,7 @@ body[data-ds-dark-theme] .rvs-execpanel {
|
|
|
4799
5697
|
overflow-y: auto;
|
|
4800
5698
|
padding: 6px 12px;
|
|
4801
5699
|
border-top: 1px solid var(--rvs-border);
|
|
4802
|
-
color: var(--rvs-
|
|
5700
|
+
color: var(--rvs-fg2);
|
|
4803
5701
|
font-size: 11px;
|
|
4804
5702
|
}
|
|
4805
5703
|
|
|
@@ -4810,10 +5708,9 @@ body[data-ds-dark-theme] .rvs-execpanel {
|
|
|
4810
5708
|
}
|
|
4811
5709
|
|
|
4812
5710
|
.rvs-qo-note.error {
|
|
4813
|
-
color: var(--rvs-danger);
|
|
5711
|
+
color: var(--rvs-danger-text);
|
|
4814
5712
|
}
|
|
4815
5713
|
|
|
4816
5714
|
.rvs-qo-note.warn {
|
|
4817
5715
|
color: var(--rvs-git-m);
|
|
4818
5716
|
}
|
|
4819
|
-
|