dsh-remote-vs 0.24.0 → 0.25.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 +40 -10
- package/README.md +31 -9
- package/lib/client.js +2616 -542
- package/lib/index.js +186 -40
- package/lib/types/client/CodeEditor.d.ts +17 -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/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/editor-capability.d.ts +27 -0
- package/lib/types/client/i18n.d.ts +1 -1
- package/lib/types/client/store.d.ts +59 -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/breadcrumb.d.ts +30 -0
- package/lib/types/client/vsc/editor-caret.d.ts +32 -0
- 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 +2 -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 +22 -0
- package/lib/types/client/vsc/terminal-writer.d.ts +52 -0
- package/lib/types/pool.d.ts +25 -0
- package/lib/types/terminal.d.ts +25 -1
- package/package.json +1 -1
- package/src/client/CodeEditor.tsx +54 -2
- package/src/client/EditorPane.tsx +485 -107
- package/src/client/FloatingPlaceholder.tsx +34 -5
- package/src/client/RemoteEditorView.tsx +14 -11
- package/src/client/RemoteRoot.tsx +20 -125
- package/src/client/TerminalSnippets.tsx +357 -0
- package/src/client/TerminalView.tsx +50 -1
- package/src/client/XTerm.tsx +228 -58
- package/src/client/auto-open-remote.ts +11 -9
- package/src/client/editor-capability.ts +42 -0
- package/src/client/i18n.ts +148 -6
- package/src/client/index.tsx +22 -6
- package/src/client/store.tsx +165 -13
- package/src/client/terminal-input.ts +44 -0
- package/src/client/terminal-snippets.ts +216 -0
- package/src/client/vsc/breadcrumb.tsx +251 -0
- package/src/client/vsc/editor-caret.ts +30 -0
- 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/image-preview.tsx +110 -0
- package/src/client/vsc/kit.tsx +20 -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 +71 -0
- package/src/client/vsc/terminal-writer.ts +112 -0
- package/src/client/vsc/vsc.css +687 -48
- package/src/pool.ts +99 -27
- package/src/terminal.ts +160 -6
package/src/client/vsc/vsc.css
CHANGED
|
@@ -44,6 +44,15 @@
|
|
|
44
44
|
--rvs-code-bg: #ffffff;
|
|
45
45
|
--rvs-code-fg: #1f1f1f;
|
|
46
46
|
--rvs-code-gutter-fg: #237893;
|
|
47
|
+
/* Editor chrome (tab strip / file info bar / breadcrumb / status bar) and
|
|
48
|
+
the editor's own surfaces: Light+ defaults, flipped by the dark block
|
|
49
|
+
below. The float window inherits them because it carries `.rvs-root`. */
|
|
50
|
+
--rvs-editor-panel-bg: #f3f3f3;
|
|
51
|
+
--rvs-editor-panel-fg: #1f1f1f;
|
|
52
|
+
--rvs-editor-input-bg: #ffffff;
|
|
53
|
+
--rvs-editor-chrome-border: rgba(0, 0, 0, .12);
|
|
54
|
+
/* Reserved for the editor's own type scale (the font A−/A+ controls). */
|
|
55
|
+
--rvs-editor-font-size: 13px;
|
|
47
56
|
|
|
48
57
|
display: flex;
|
|
49
58
|
flex-direction: row;
|
|
@@ -66,6 +75,10 @@ body[data-ds-dark-theme] .rvs-root {
|
|
|
66
75
|
--rvs-code-gutter-fg: #858585;
|
|
67
76
|
--rvs-add-solid: #16332e;
|
|
68
77
|
--rvs-del-solid: #3b2325;
|
|
78
|
+
--rvs-editor-panel-bg: #252526;
|
|
79
|
+
--rvs-editor-panel-fg: #cccccc;
|
|
80
|
+
--rvs-editor-input-bg: #3c3c3c;
|
|
81
|
+
--rvs-editor-chrome-border: rgba(255, 255, 255, .12);
|
|
69
82
|
}
|
|
70
83
|
|
|
71
84
|
.rvs-edge {
|
|
@@ -955,16 +968,26 @@ body[data-ds-dark-theme] .rvs-root {
|
|
|
955
968
|
|
|
956
969
|
/* ---------------------------------------------------------------- editor */
|
|
957
970
|
|
|
971
|
+
/**
|
|
972
|
+
* The editor shell keeps a code editor's proportions (30px tab strip, 26px
|
|
973
|
+
* file info bar) rather than the surrounding panel's. Everything above the
|
|
974
|
+
* code surface stays transparent and is separated only by
|
|
975
|
+
* `--rvs-editor-chrome-border`, so the shell sits on any host background
|
|
976
|
+
* without drawing a frame of its own. The `.rvs-center` rules further down
|
|
977
|
+
* scale the same shell up for the full-width (conversation view) mount; the
|
|
978
|
+
* float window keeps the compact size.
|
|
979
|
+
*/
|
|
958
980
|
.rvs-etabs {
|
|
959
981
|
flex: none;
|
|
960
982
|
display: flex;
|
|
961
983
|
align-items: stretch;
|
|
962
|
-
gap:
|
|
963
|
-
height:
|
|
964
|
-
padding: 0
|
|
984
|
+
gap: 1px;
|
|
985
|
+
height: 30px;
|
|
986
|
+
padding: 0;
|
|
965
987
|
overflow-x: auto;
|
|
966
988
|
overflow-y: hidden;
|
|
967
|
-
|
|
989
|
+
background: transparent;
|
|
990
|
+
border-bottom: 1px solid var(--rvs-editor-chrome-border);
|
|
968
991
|
scrollbar-width: none;
|
|
969
992
|
}
|
|
970
993
|
|
|
@@ -976,27 +999,33 @@ body[data-ds-dark-theme] .rvs-root {
|
|
|
976
999
|
flex: none;
|
|
977
1000
|
display: flex;
|
|
978
1001
|
align-items: center;
|
|
979
|
-
gap:
|
|
1002
|
+
gap: 4px;
|
|
980
1003
|
max-width: 190px;
|
|
981
|
-
margin:
|
|
982
|
-
padding:
|
|
983
|
-
border:
|
|
984
|
-
border-
|
|
1004
|
+
margin: 0;
|
|
1005
|
+
padding: 3px 6px;
|
|
1006
|
+
border: 0;
|
|
1007
|
+
border-right: 1px solid transparent;
|
|
1008
|
+
border-radius: 4px 4px 0 0;
|
|
985
1009
|
background: transparent;
|
|
986
1010
|
color: var(--rvs-fg3);
|
|
987
1011
|
font: inherit;
|
|
988
|
-
font-size:
|
|
1012
|
+
font-size: 11px;
|
|
1013
|
+
white-space: nowrap;
|
|
989
1014
|
cursor: pointer;
|
|
1015
|
+
position: relative;
|
|
990
1016
|
}
|
|
991
1017
|
|
|
992
1018
|
.rvs-etab:hover {
|
|
993
1019
|
background: var(--rvs-hover);
|
|
994
|
-
color: var(--rvs-
|
|
1020
|
+
color: var(--rvs-fg2);
|
|
995
1021
|
}
|
|
996
1022
|
|
|
1023
|
+
/* The active tab is marked by the insert line under it, not by a filled
|
|
1024
|
+
block: the strip sits directly on the code surface. */
|
|
997
1025
|
.rvs-etab.active {
|
|
998
|
-
background: var(--rvs-
|
|
1026
|
+
background: var(--rvs-hover);
|
|
999
1027
|
color: var(--rvs-fg);
|
|
1028
|
+
box-shadow: inset 0 -2px 0 var(--rvs-accent);
|
|
1000
1029
|
}
|
|
1001
1030
|
|
|
1002
1031
|
.rvs-etab-name {
|
|
@@ -1005,43 +1034,56 @@ body[data-ds-dark-theme] .rvs-root {
|
|
|
1005
1034
|
white-space: nowrap;
|
|
1006
1035
|
}
|
|
1007
1036
|
|
|
1037
|
+
.rvs-etab-glyph { color: var(--rvs-fg3); font-size: 10px; display: inline-flex; }
|
|
1038
|
+
|
|
1039
|
+
.rvs-etab-diff .rvs-etab-glyph { color: var(--rvs-git-c); }
|
|
1040
|
+
|
|
1041
|
+
/* Unsaved marker: a solid dot rather than a glyph, so its size does not
|
|
1042
|
+
follow the tab's font size. */
|
|
1008
1043
|
.rvs-etab-dot {
|
|
1009
1044
|
flex: none;
|
|
1010
|
-
|
|
1011
|
-
|
|
1045
|
+
width: 7px;
|
|
1046
|
+
height: 7px;
|
|
1047
|
+
border-radius: 50%;
|
|
1048
|
+
background: var(--rvs-git-m);
|
|
1012
1049
|
}
|
|
1013
1050
|
|
|
1014
1051
|
.rvs-etab-close {
|
|
1015
1052
|
flex: none;
|
|
1016
|
-
|
|
1017
|
-
height: 16px;
|
|
1018
|
-
display: flex;
|
|
1053
|
+
display: inline-flex;
|
|
1019
1054
|
align-items: center;
|
|
1020
1055
|
justify-content: center;
|
|
1021
|
-
padding: 0;
|
|
1022
|
-
border:
|
|
1023
|
-
border-radius:
|
|
1056
|
+
padding: 0 1px;
|
|
1057
|
+
border: 0;
|
|
1058
|
+
border-radius: 3px;
|
|
1024
1059
|
background: transparent;
|
|
1025
1060
|
color: inherit;
|
|
1026
1061
|
cursor: pointer;
|
|
1027
|
-
|
|
1062
|
+
font: inherit;
|
|
1063
|
+
line-height: 1;
|
|
1064
|
+
opacity: .45;
|
|
1028
1065
|
}
|
|
1029
1066
|
|
|
1030
1067
|
.rvs-etab-close:hover {
|
|
1031
|
-
background: var(--rvs-hover);
|
|
1032
1068
|
opacity: 1;
|
|
1069
|
+
background: var(--rvs-hover);
|
|
1033
1070
|
}
|
|
1034
1071
|
|
|
1072
|
+
/* File info bar: path on the left, actions on the right. The sidebar mount
|
|
1073
|
+
shows the path only (it has no room for a breadcrumb); the conversation
|
|
1074
|
+
mount swaps the path for one and appends its own action group. */
|
|
1035
1075
|
.rvs-einfo {
|
|
1036
1076
|
flex: none;
|
|
1037
1077
|
display: flex;
|
|
1038
1078
|
align-items: center;
|
|
1039
|
-
gap:
|
|
1040
|
-
|
|
1041
|
-
|
|
1079
|
+
gap: 6px;
|
|
1080
|
+
min-width: 0;
|
|
1081
|
+
min-height: 26px;
|
|
1082
|
+
padding: 2px 6px;
|
|
1083
|
+
border-bottom: 1px solid var(--rvs-editor-chrome-border);
|
|
1084
|
+
background: transparent;
|
|
1085
|
+
color: inherit;
|
|
1042
1086
|
font-size: 11px;
|
|
1043
|
-
line-height: 18px;
|
|
1044
|
-
color: var(--rvs-fg3);
|
|
1045
1087
|
}
|
|
1046
1088
|
|
|
1047
1089
|
.rvs-einfo-path {
|
|
@@ -1062,6 +1104,30 @@ body[data-ds-dark-theme] .rvs-root {
|
|
|
1062
1104
|
margin-left: auto;
|
|
1063
1105
|
}
|
|
1064
1106
|
|
|
1107
|
+
.rvs-einfo-actions {
|
|
1108
|
+
display: flex;
|
|
1109
|
+
align-items: center;
|
|
1110
|
+
gap: 2px;
|
|
1111
|
+
flex: 0 0 auto;
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1114
|
+
.rvs-einfo-actions-divider {
|
|
1115
|
+
width: 1px;
|
|
1116
|
+
height: 14px;
|
|
1117
|
+
margin: 0 2px;
|
|
1118
|
+
background: var(--rvs-editor-chrome-border);
|
|
1119
|
+
}
|
|
1120
|
+
|
|
1121
|
+
/* Font A−/A+ glyphs: two letters read faster than two more icon shapes. */
|
|
1122
|
+
.rvs-font-glyph { font-size: 10.5px; font-weight: 600; letter-spacing: -.06em; }
|
|
1123
|
+
|
|
1124
|
+
/* Conversation mount: one size up, and room to breathe. */
|
|
1125
|
+
.rvs-center .rvs-etabs { height: 34px; gap: 2px; padding: 0 6px; }
|
|
1126
|
+
|
|
1127
|
+
.rvs-center .rvs-etab { font-size: 12.5px; padding: 5px 10px; max-width: 240px; gap: 6px; }
|
|
1128
|
+
|
|
1129
|
+
.rvs-center .rvs-einfo { min-height: 32px; padding: 3px 10px; font-size: 12px; }
|
|
1130
|
+
|
|
1065
1131
|
.rvs-status.dirty { color: var(--rvs-git-m); }
|
|
1066
1132
|
.rvs-status.saved { color: var(--rvs-git-a); }
|
|
1067
1133
|
.rvs-status.saving { color: var(--rvs-fg2); }
|
|
@@ -1106,32 +1172,352 @@ body[data-ds-dark-theme] .rvs-root {
|
|
|
1106
1172
|
background-color: rgba(226, 183, 20, .48);
|
|
1107
1173
|
}
|
|
1108
1174
|
|
|
1109
|
-
/*
|
|
1175
|
+
/* ------------------------------------------------------------- status bar */
|
|
1176
|
+
|
|
1177
|
+
/**
|
|
1178
|
+
* VS Code-style status line: one 22px row of muted facts under the editor.
|
|
1179
|
+
* The surface is the editor panel colour (not the host background), which is
|
|
1180
|
+
* what separates it from the code surface above it in both themes.
|
|
1181
|
+
*/
|
|
1182
|
+
.rvs-statusbar {
|
|
1183
|
+
display: flex;
|
|
1184
|
+
align-items: center;
|
|
1185
|
+
justify-content: space-between;
|
|
1186
|
+
gap: 8px;
|
|
1187
|
+
flex: none;
|
|
1188
|
+
height: 22px;
|
|
1189
|
+
padding: 0 8px;
|
|
1190
|
+
font-size: 11px;
|
|
1191
|
+
color: var(--rvs-fg2);
|
|
1192
|
+
background: var(--rvs-editor-panel-bg);
|
|
1193
|
+
border-top: 1px solid var(--rvs-editor-chrome-border);
|
|
1194
|
+
}
|
|
1195
|
+
|
|
1196
|
+
.rvs-status-left,
|
|
1197
|
+
.rvs-status-right {
|
|
1198
|
+
display: flex;
|
|
1199
|
+
align-items: center;
|
|
1200
|
+
gap: 10px;
|
|
1201
|
+
min-width: 0;
|
|
1202
|
+
overflow: hidden;
|
|
1203
|
+
}
|
|
1204
|
+
|
|
1205
|
+
.rvs-status-item {
|
|
1206
|
+
display: inline-flex;
|
|
1207
|
+
align-items: center;
|
|
1208
|
+
gap: 4px;
|
|
1209
|
+
white-space: nowrap;
|
|
1210
|
+
color: var(--rvs-fg3);
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1213
|
+
.rvs-status-btn {
|
|
1214
|
+
border: 0;
|
|
1215
|
+
background: transparent;
|
|
1216
|
+
color: inherit;
|
|
1217
|
+
font: inherit;
|
|
1218
|
+
cursor: pointer;
|
|
1219
|
+
padding: 0 2px;
|
|
1220
|
+
border-radius: 3px;
|
|
1221
|
+
}
|
|
1222
|
+
|
|
1223
|
+
.rvs-status-btn:hover {
|
|
1224
|
+
background: var(--rvs-hover);
|
|
1225
|
+
color: var(--rvs-fg);
|
|
1226
|
+
}
|
|
1227
|
+
|
|
1228
|
+
.rvs-status-error { color: var(--rvs-danger); }
|
|
1229
|
+
|
|
1230
|
+
/* Conversation mount: the status line belongs to the editor, so it takes the
|
|
1231
|
+
panel's foreground instead of the sidebar's dimmer one. */
|
|
1232
|
+
.rvs-center .rvs-statusbar { background: var(--rvs-editor-panel-bg); color: var(--rvs-editor-panel-fg); }
|
|
1233
|
+
|
|
1234
|
+
/* -------------------------------------------------------------- breadcrumb */
|
|
1235
|
+
|
|
1236
|
+
/**
|
|
1237
|
+
* Breadcrumb over the full-width editor: path segments that open a sibling
|
|
1238
|
+
* picker on click. The navigation row itself is 22px and clips horizontally;
|
|
1239
|
+
* the dropdown is the only part that may overflow.
|
|
1240
|
+
*
|
|
1241
|
+
* The two child classes shared with the SCM repository picker
|
|
1242
|
+
* (`.rvs-crumb-wrap` / `.rvs-crumb`) are scoped to `.rvs-breadcrumb` here, and
|
|
1243
|
+
* the picker's own rules leave this subtree alone: one class, two surfaces,
|
|
1244
|
+
* neither restyled by the other.
|
|
1245
|
+
*/
|
|
1246
|
+
.rvs-breadcrumb {
|
|
1247
|
+
position: relative;
|
|
1248
|
+
display: flex;
|
|
1249
|
+
align-items: center;
|
|
1250
|
+
flex: 1 1 auto;
|
|
1251
|
+
min-width: 0;
|
|
1252
|
+
height: 22px;
|
|
1253
|
+
overflow: hidden;
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1256
|
+
.rvs-breadcrumb .rvs-crumb-wrap {
|
|
1257
|
+
display: inline-flex;
|
|
1258
|
+
align-items: center;
|
|
1259
|
+
min-width: 0;
|
|
1260
|
+
flex: 0 0 auto;
|
|
1261
|
+
max-width: 240px;
|
|
1262
|
+
}
|
|
1263
|
+
|
|
1264
|
+
.rvs-crumb-sep {
|
|
1265
|
+
color: var(--rvs-fg3);
|
|
1266
|
+
margin: 0 1px;
|
|
1267
|
+
font-size: 10px;
|
|
1268
|
+
flex: 0 0 auto;
|
|
1269
|
+
opacity: .7;
|
|
1270
|
+
}
|
|
1110
1271
|
|
|
1111
|
-
.rvs-
|
|
1272
|
+
.rvs-breadcrumb .rvs-crumb {
|
|
1273
|
+
border: 0;
|
|
1274
|
+
background: transparent;
|
|
1275
|
+
color: var(--rvs-fg2);
|
|
1276
|
+
font: inherit;
|
|
1277
|
+
font-size: 12px;
|
|
1278
|
+
padding: 1px 4px;
|
|
1279
|
+
border-radius: 4px;
|
|
1280
|
+
cursor: pointer;
|
|
1281
|
+
max-width: 240px;
|
|
1282
|
+
overflow: hidden;
|
|
1283
|
+
text-overflow: ellipsis;
|
|
1284
|
+
white-space: nowrap;
|
|
1285
|
+
}
|
|
1286
|
+
|
|
1287
|
+
.rvs-breadcrumb .rvs-crumb:hover {
|
|
1288
|
+
background: var(--rvs-hover);
|
|
1289
|
+
color: var(--rvs-fg);
|
|
1290
|
+
}
|
|
1291
|
+
|
|
1292
|
+
.rvs-breadcrumb .rvs-crumb-file {
|
|
1293
|
+
color: var(--rvs-fg);
|
|
1294
|
+
font-weight: 600;
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1297
|
+
/* Sibling picker, positioned against `.rvs-breadcrumb`. */
|
|
1298
|
+
.rvs-crumb-menu {
|
|
1299
|
+
position: absolute;
|
|
1300
|
+
top: 100%;
|
|
1301
|
+
z-index: 30;
|
|
1302
|
+
min-width: 200px;
|
|
1303
|
+
max-width: 360px;
|
|
1304
|
+
max-height: 320px;
|
|
1305
|
+
display: flex;
|
|
1306
|
+
flex-direction: column;
|
|
1307
|
+
background: var(--rvs-editor-panel-bg);
|
|
1308
|
+
color: var(--rvs-editor-panel-fg);
|
|
1309
|
+
border: 1px solid var(--rvs-editor-chrome-border);
|
|
1310
|
+
border-radius: 6px;
|
|
1311
|
+
box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
|
|
1312
|
+
overflow: hidden;
|
|
1313
|
+
}
|
|
1314
|
+
|
|
1315
|
+
.rvs-crumb-menu-head {
|
|
1316
|
+
display: flex;
|
|
1317
|
+
align-items: center;
|
|
1318
|
+
gap: 4px;
|
|
1319
|
+
flex: 0 0 auto;
|
|
1320
|
+
padding: 3px 6px;
|
|
1321
|
+
border-bottom: 1px solid var(--rvs-editor-chrome-border);
|
|
1322
|
+
color: var(--rvs-fg3);
|
|
1323
|
+
font-size: 11px;
|
|
1324
|
+
}
|
|
1325
|
+
|
|
1326
|
+
.rvs-crumb-menu-up {
|
|
1327
|
+
flex: 0 0 auto;
|
|
1328
|
+
width: 20px;
|
|
1329
|
+
height: 20px;
|
|
1330
|
+
border: 0;
|
|
1331
|
+
border-radius: 4px;
|
|
1332
|
+
background: transparent;
|
|
1333
|
+
color: var(--rvs-fg2);
|
|
1334
|
+
cursor: pointer;
|
|
1335
|
+
line-height: 1;
|
|
1336
|
+
}
|
|
1337
|
+
|
|
1338
|
+
.rvs-crumb-menu-up:hover:not(:disabled) { background: var(--rvs-hover); color: var(--rvs-fg); }
|
|
1339
|
+
|
|
1340
|
+
.rvs-crumb-menu-up:disabled { opacity: .3; cursor: default; }
|
|
1341
|
+
|
|
1342
|
+
.rvs-crumb-menu-path {
|
|
1343
|
+
min-width: 0;
|
|
1344
|
+
overflow: hidden;
|
|
1345
|
+
text-overflow: ellipsis;
|
|
1346
|
+
white-space: nowrap;
|
|
1347
|
+
direction: rtl;
|
|
1348
|
+
unicode-bidi: plaintext;
|
|
1349
|
+
text-align: left;
|
|
1350
|
+
}
|
|
1351
|
+
|
|
1352
|
+
.rvs-crumb-menu-list {
|
|
1353
|
+
flex: 1 1 auto;
|
|
1354
|
+
min-height: 0;
|
|
1355
|
+
overflow: auto;
|
|
1356
|
+
padding: 2px 0;
|
|
1357
|
+
}
|
|
1358
|
+
|
|
1359
|
+
.rvs-crumb-menu-note {
|
|
1360
|
+
padding: 6px 10px;
|
|
1361
|
+
font-size: 11px;
|
|
1362
|
+
color: var(--rvs-fg3);
|
|
1363
|
+
}
|
|
1364
|
+
|
|
1365
|
+
/* The note doubles as the dropdown's error line (see `.rvs-status-error`);
|
|
1366
|
+
the compound selector outranks the note's own muted colour. */
|
|
1367
|
+
.rvs-crumb-menu-note.rvs-status-error { color: var(--rvs-danger); }
|
|
1368
|
+
|
|
1369
|
+
.rvs-crumb-menu-item {
|
|
1370
|
+
display: flex;
|
|
1371
|
+
align-items: center;
|
|
1372
|
+
gap: 6px;
|
|
1373
|
+
width: 100%;
|
|
1374
|
+
padding: 4px 10px;
|
|
1375
|
+
border: 0;
|
|
1376
|
+
background: transparent;
|
|
1377
|
+
color: var(--rvs-fg);
|
|
1378
|
+
font: inherit;
|
|
1379
|
+
font-size: 12px;
|
|
1380
|
+
text-align: left;
|
|
1381
|
+
cursor: pointer;
|
|
1382
|
+
white-space: nowrap;
|
|
1383
|
+
overflow: hidden;
|
|
1384
|
+
}
|
|
1385
|
+
|
|
1386
|
+
.rvs-crumb-menu-item:hover { background: var(--rvs-hover); }
|
|
1387
|
+
|
|
1388
|
+
.rvs-crumb-menu-item.rvs-dir { color: var(--rvs-fg2); }
|
|
1389
|
+
|
|
1390
|
+
.rvs-crumb-menu-glyph { width: 10px; flex: 0 0 auto; color: var(--rvs-fg3); font-size: 10px; }
|
|
1391
|
+
|
|
1392
|
+
.rvs-crumb-menu-name { overflow: hidden; text-overflow: ellipsis; }
|
|
1393
|
+
|
|
1394
|
+
/* --------------------------------------------------------- image preview */
|
|
1395
|
+
|
|
1396
|
+
/**
|
|
1397
|
+
* Binary image preview: `fit` scales the picture to the pane, `actual` keeps
|
|
1398
|
+
* natural pixels inside a scrollable one. The meta line stays out of the
|
|
1399
|
+
* picture's way (bottom, dim).
|
|
1400
|
+
*/
|
|
1401
|
+
.rvs-image-preview {
|
|
1112
1402
|
flex: 1;
|
|
1113
1403
|
min-height: 0;
|
|
1114
1404
|
display: flex;
|
|
1405
|
+
flex-direction: column;
|
|
1115
1406
|
align-items: center;
|
|
1116
1407
|
justify-content: center;
|
|
1408
|
+
gap: 8px;
|
|
1117
1409
|
overflow: auto;
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1410
|
+
padding: 12px;
|
|
1411
|
+
cursor: zoom-in;
|
|
1412
|
+
background: var(--rvs-code-bg);
|
|
1413
|
+
}
|
|
1414
|
+
|
|
1415
|
+
.rvs-image-preview.rvs-image-actual {
|
|
1416
|
+
cursor: zoom-out;
|
|
1417
|
+
align-items: flex-start;
|
|
1418
|
+
justify-content: flex-start;
|
|
1126
1419
|
}
|
|
1127
1420
|
|
|
1128
|
-
.rvs-preview-img
|
|
1421
|
+
.rvs-image-preview-img {
|
|
1129
1422
|
max-width: 100%;
|
|
1130
|
-
max-height: 100
|
|
1423
|
+
max-height: calc(100% - 24px);
|
|
1131
1424
|
object-fit: contain;
|
|
1132
1425
|
image-rendering: auto;
|
|
1133
1426
|
}
|
|
1134
1427
|
|
|
1428
|
+
.rvs-image-actual .rvs-image-preview-img {
|
|
1429
|
+
max-width: none;
|
|
1430
|
+
max-height: none;
|
|
1431
|
+
}
|
|
1432
|
+
|
|
1433
|
+
.rvs-image-preview-meta {
|
|
1434
|
+
display: flex;
|
|
1435
|
+
gap: 10px;
|
|
1436
|
+
flex: none;
|
|
1437
|
+
font-size: 11px;
|
|
1438
|
+
color: var(--rvs-fg3);
|
|
1439
|
+
}
|
|
1440
|
+
|
|
1441
|
+
.rvs-image-preview-hint { opacity: .75; }
|
|
1442
|
+
|
|
1443
|
+
.rvs-image-preview-failed {
|
|
1444
|
+
cursor: default;
|
|
1445
|
+
color: var(--rvs-fg2);
|
|
1446
|
+
text-align: center;
|
|
1447
|
+
}
|
|
1448
|
+
|
|
1449
|
+
/* -------------------------------------------------- editor notices / empty */
|
|
1450
|
+
|
|
1451
|
+
/* Read-only / binary / loading copy inside the editor body. */
|
|
1452
|
+
.rvs-editor-notice {
|
|
1453
|
+
flex: 1;
|
|
1454
|
+
display: flex;
|
|
1455
|
+
flex-direction: column;
|
|
1456
|
+
align-items: center;
|
|
1457
|
+
justify-content: center;
|
|
1458
|
+
gap: 6px;
|
|
1459
|
+
padding: 16px;
|
|
1460
|
+
font-size: 12px;
|
|
1461
|
+
color: var(--rvs-fg3);
|
|
1462
|
+
background: var(--rvs-code-bg);
|
|
1463
|
+
text-align: center;
|
|
1464
|
+
}
|
|
1465
|
+
|
|
1466
|
+
.rvs-editor-notice-title {
|
|
1467
|
+
color: var(--rvs-fg);
|
|
1468
|
+
font-size: 13px;
|
|
1469
|
+
margin-bottom: 6px;
|
|
1470
|
+
}
|
|
1471
|
+
|
|
1472
|
+
/* Conversation mount with no open file: say where files come from instead of
|
|
1473
|
+
leaving the pane blank. */
|
|
1474
|
+
.rvs-editor-empty {
|
|
1475
|
+
flex: 1;
|
|
1476
|
+
display: flex;
|
|
1477
|
+
flex-direction: column;
|
|
1478
|
+
align-items: center;
|
|
1479
|
+
justify-content: center;
|
|
1480
|
+
gap: 8px;
|
|
1481
|
+
padding: 24px;
|
|
1482
|
+
text-align: center;
|
|
1483
|
+
color: var(--rvs-fg3);
|
|
1484
|
+
}
|
|
1485
|
+
|
|
1486
|
+
.rvs-editor-empty-glyph {
|
|
1487
|
+
font-size: 34px;
|
|
1488
|
+
line-height: 1;
|
|
1489
|
+
opacity: .3;
|
|
1490
|
+
}
|
|
1491
|
+
|
|
1492
|
+
.rvs-editor-empty-title {
|
|
1493
|
+
font-size: 15px;
|
|
1494
|
+
font-weight: 600;
|
|
1495
|
+
color: var(--rvs-fg);
|
|
1496
|
+
}
|
|
1497
|
+
|
|
1498
|
+
.rvs-editor-empty-hint {
|
|
1499
|
+
font-size: 12px;
|
|
1500
|
+
line-height: 1.7;
|
|
1501
|
+
max-width: 560px;
|
|
1502
|
+
}
|
|
1503
|
+
|
|
1504
|
+
/* Quieter empty state for the compact panes. */
|
|
1505
|
+
.rvs-empty-title {
|
|
1506
|
+
font-size: 13px;
|
|
1507
|
+
color: var(--rvs-fg2);
|
|
1508
|
+
}
|
|
1509
|
+
|
|
1510
|
+
.rvs-empty-hint {
|
|
1511
|
+
font-size: 11px;
|
|
1512
|
+
color: var(--rvs-fg3);
|
|
1513
|
+
margin-top: 4px;
|
|
1514
|
+
}
|
|
1515
|
+
|
|
1516
|
+
/* ------------------------------------------------------- preview surfaces */
|
|
1517
|
+
|
|
1518
|
+
/* Image previews are the ported `.rvs-image-preview*` block above: the old
|
|
1519
|
+
plain `<img>` shell (`rvs-preview-img`) had no other user and was removed
|
|
1520
|
+
with the pane that rendered it. */
|
|
1135
1521
|
.rvs-markdown {
|
|
1136
1522
|
flex: 1;
|
|
1137
1523
|
min-height: 0;
|
|
@@ -2021,7 +2407,18 @@ body:not([data-ds-dark-theme]) .rvs-undo-affordance:focus-visible {
|
|
|
2021
2407
|
user-select: text;
|
|
2022
2408
|
}
|
|
2023
2409
|
|
|
2410
|
+
/**
|
|
2411
|
+
* Find box, aligned with the editor panel it floats over.
|
|
2412
|
+
*
|
|
2413
|
+
* It is PORTALLED to <body>, i.e. OUTSIDE `.rvs-root` where the editor tokens
|
|
2414
|
+
* are declared, so it carries that subset itself (same rule as the other
|
|
2415
|
+
* portalled panels): the dark block right below flips it back.
|
|
2416
|
+
*/
|
|
2024
2417
|
.rvs-find {
|
|
2418
|
+
--rvs-editor-panel-bg: #f3f3f3;
|
|
2419
|
+
--rvs-editor-panel-fg: #1f1f1f;
|
|
2420
|
+
--rvs-editor-input-bg: #ffffff;
|
|
2421
|
+
--rvs-editor-chrome-border: rgba(0, 0, 0, .12);
|
|
2025
2422
|
position: absolute;
|
|
2026
2423
|
top: 6px;
|
|
2027
2424
|
right: 18px;
|
|
@@ -2030,22 +2427,28 @@ body:not([data-ds-dark-theme]) .rvs-undo-affordance:focus-visible {
|
|
|
2030
2427
|
align-items: center;
|
|
2031
2428
|
gap: 3px;
|
|
2032
2429
|
padding: 3px 4px 3px 7px;
|
|
2033
|
-
border: 1px solid var(--rvs-
|
|
2430
|
+
border: 1px solid var(--rvs-editor-chrome-border);
|
|
2034
2431
|
border-radius: 8px;
|
|
2035
|
-
background
|
|
2036
|
-
|
|
2037
|
-
color: var(--rvs-fg);
|
|
2432
|
+
background: var(--rvs-editor-panel-bg);
|
|
2433
|
+
color: var(--rvs-editor-panel-fg);
|
|
2038
2434
|
box-shadow: 0 4px 14px rgba(0, 0, 0, .28);
|
|
2039
2435
|
font-size: 12px;
|
|
2040
2436
|
}
|
|
2041
2437
|
|
|
2438
|
+
body[data-ds-dark-theme] .rvs-find {
|
|
2439
|
+
--rvs-editor-panel-bg: #252526;
|
|
2440
|
+
--rvs-editor-panel-fg: #cccccc;
|
|
2441
|
+
--rvs-editor-input-bg: #3c3c3c;
|
|
2442
|
+
--rvs-editor-chrome-border: rgba(255, 255, 255, .12);
|
|
2443
|
+
}
|
|
2444
|
+
|
|
2042
2445
|
.rvs-find-input {
|
|
2043
2446
|
width: 170px;
|
|
2044
2447
|
padding: 2px 6px;
|
|
2045
|
-
border: 1px solid var(--rvs-
|
|
2448
|
+
border: 1px solid var(--rvs-editor-chrome-border);
|
|
2046
2449
|
border-radius: 5px;
|
|
2047
|
-
background: var(--rvs-input);
|
|
2048
|
-
color: var(--rvs-fg);
|
|
2450
|
+
background: var(--rvs-editor-input-bg);
|
|
2451
|
+
color: var(--rvs-editor-panel-fg);
|
|
2049
2452
|
font: inherit;
|
|
2050
2453
|
font-size: 12px;
|
|
2051
2454
|
outline: none;
|
|
@@ -2059,7 +2462,7 @@ body:not([data-ds-dark-theme]) .rvs-undo-affordance:focus-visible {
|
|
|
2059
2462
|
flex: none;
|
|
2060
2463
|
min-width: 54px;
|
|
2061
2464
|
text-align: center;
|
|
2062
|
-
color: var(--rvs-
|
|
2465
|
+
color: var(--rvs-editor-panel-fg);
|
|
2063
2466
|
font-size: 11px;
|
|
2064
2467
|
white-space: nowrap;
|
|
2065
2468
|
}
|
|
@@ -3239,6 +3642,12 @@ body:not([data-ds-dark-theme]) .rvs-undo-affordance:focus-visible {
|
|
|
3239
3642
|
position: absolute;
|
|
3240
3643
|
right: 3px;
|
|
3241
3644
|
opacity: 0;
|
|
3645
|
+
/* The shared `.rvs-etab-close` is content-sized for the editor tab strip
|
|
3646
|
+
(where the ✕ sits inside a padded tab). The terminal tab pairs it with an
|
|
3647
|
+
absolutely positioned wrapper, so it keeps the 16x16 box it always had
|
|
3648
|
+
instead of shrinking with the new padding. */
|
|
3649
|
+
width: 16px;
|
|
3650
|
+
height: 16px;
|
|
3242
3651
|
}
|
|
3243
3652
|
|
|
3244
3653
|
.rvs-term-tabwrap:hover .rvs-etab-close,
|
|
@@ -3289,6 +3698,237 @@ body:not([data-ds-dark-theme]) .rvs-undo-affordance:focus-visible {
|
|
|
3289
3698
|
color: var(--rvs-code-fg);
|
|
3290
3699
|
}
|
|
3291
3700
|
|
|
3701
|
+
/* --------------------------------------------------------- terminal snippets
|
|
3702
|
+
*
|
|
3703
|
+
* The "常用指令" button lives in the terminal header; its popover is portaled to
|
|
3704
|
+
* <body>, so it CANNOT use the `.rvs-root`-scoped `--rvs-*` tokens (they resolve
|
|
3705
|
+
* to nothing there). It follows the plugin's popup convention instead: an opaque
|
|
3706
|
+
* `Canvas` base plus the skin's overlay token, and the app-wide `--dsw-alias-*`
|
|
3707
|
+
* colours (with literal fallbacks) for text, hover and accents.
|
|
3708
|
+
*/
|
|
3709
|
+
.rvs-snips-btn {
|
|
3710
|
+
flex: none;
|
|
3711
|
+
width: auto;
|
|
3712
|
+
min-width: 0;
|
|
3713
|
+
gap: 3px;
|
|
3714
|
+
padding: 0 6px;
|
|
3715
|
+
font-size: 11px;
|
|
3716
|
+
white-space: nowrap;
|
|
3717
|
+
}
|
|
3718
|
+
|
|
3719
|
+
.rvs-snips-panel {
|
|
3720
|
+
position: fixed;
|
|
3721
|
+
z-index: 60;
|
|
3722
|
+
display: flex;
|
|
3723
|
+
flex-direction: column;
|
|
3724
|
+
max-height: 420px;
|
|
3725
|
+
overflow: hidden;
|
|
3726
|
+
border: 1px solid var(--dsw-alias-border-l2, rgba(127, 127, 127, .38));
|
|
3727
|
+
border-radius: 8px;
|
|
3728
|
+
background-color: Canvas;
|
|
3729
|
+
background-image: linear-gradient(var(--dsw-alias-bg-overlay, transparent), var(--dsw-alias-bg-overlay, transparent));
|
|
3730
|
+
color: var(--dsw-alias-label-primary, CanvasText);
|
|
3731
|
+
box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
|
|
3732
|
+
font-size: 12px;
|
|
3733
|
+
}
|
|
3734
|
+
|
|
3735
|
+
.rvs-snips-head {
|
|
3736
|
+
flex: none;
|
|
3737
|
+
display: flex;
|
|
3738
|
+
align-items: center;
|
|
3739
|
+
gap: 6px;
|
|
3740
|
+
padding: 6px 8px;
|
|
3741
|
+
border-bottom: 1px solid var(--dsw-alias-border-l1, rgba(127, 127, 127, .25));
|
|
3742
|
+
}
|
|
3743
|
+
|
|
3744
|
+
.rvs-snips-title {
|
|
3745
|
+
font-weight: 600;
|
|
3746
|
+
font-size: 12px;
|
|
3747
|
+
}
|
|
3748
|
+
|
|
3749
|
+
.rvs-snips-spacer { flex: 1; }
|
|
3750
|
+
|
|
3751
|
+
.rvs-snips-add {
|
|
3752
|
+
width: 22px;
|
|
3753
|
+
height: 20px;
|
|
3754
|
+
display: flex;
|
|
3755
|
+
align-items: center;
|
|
3756
|
+
justify-content: center;
|
|
3757
|
+
padding: 0;
|
|
3758
|
+
border: 1px solid var(--dsw-alias-brand-primary, #4d6bfe);
|
|
3759
|
+
border-radius: 5px;
|
|
3760
|
+
background: transparent;
|
|
3761
|
+
color: var(--dsw-alias-brand-primary, #4d6bfe);
|
|
3762
|
+
font: inherit;
|
|
3763
|
+
font-size: 14px;
|
|
3764
|
+
line-height: 1;
|
|
3765
|
+
cursor: pointer;
|
|
3766
|
+
}
|
|
3767
|
+
|
|
3768
|
+
.rvs-snips-add:hover {
|
|
3769
|
+
background: var(--dsw-alias-brand-primary, #4d6bfe);
|
|
3770
|
+
color: #fff;
|
|
3771
|
+
}
|
|
3772
|
+
|
|
3773
|
+
.rvs-snips-list {
|
|
3774
|
+
flex: 1;
|
|
3775
|
+
min-height: 0;
|
|
3776
|
+
display: flex;
|
|
3777
|
+
flex-direction: column;
|
|
3778
|
+
gap: 1px;
|
|
3779
|
+
padding: 4px;
|
|
3780
|
+
overflow: auto;
|
|
3781
|
+
}
|
|
3782
|
+
|
|
3783
|
+
.rvs-snips-empty {
|
|
3784
|
+
padding: 10px 8px;
|
|
3785
|
+
color: var(--dsw-alias-label-tertiary, #8b8b8b);
|
|
3786
|
+
font-size: 11px;
|
|
3787
|
+
line-height: 1.6;
|
|
3788
|
+
}
|
|
3789
|
+
|
|
3790
|
+
.rvs-snips-row {
|
|
3791
|
+
display: flex;
|
|
3792
|
+
align-items: center;
|
|
3793
|
+
gap: 3px;
|
|
3794
|
+
padding: 1px 3px;
|
|
3795
|
+
border-radius: 5px;
|
|
3796
|
+
}
|
|
3797
|
+
|
|
3798
|
+
.rvs-snips-row:hover { background: var(--dsw-alias-interactive-bg-hover, rgba(127, 127, 127, .14)); }
|
|
3799
|
+
|
|
3800
|
+
/* Drop indicator: a line above the row the pointer is over. */
|
|
3801
|
+
.rvs-snips-row.drop { box-shadow: inset 0 2px 0 var(--dsw-alias-brand-primary, #4d6bfe); }
|
|
3802
|
+
|
|
3803
|
+
.rvs-snips-grip {
|
|
3804
|
+
flex: none;
|
|
3805
|
+
padding: 0 2px;
|
|
3806
|
+
color: var(--dsw-alias-label-tertiary, #8b8b8b);
|
|
3807
|
+
font-size: 11px;
|
|
3808
|
+
cursor: grab;
|
|
3809
|
+
user-select: none;
|
|
3810
|
+
}
|
|
3811
|
+
|
|
3812
|
+
.rvs-snips-grip:active { cursor: grabbing; }
|
|
3813
|
+
|
|
3814
|
+
.rvs-snips-insert {
|
|
3815
|
+
flex: 1;
|
|
3816
|
+
min-width: 0;
|
|
3817
|
+
display: flex;
|
|
3818
|
+
align-items: baseline;
|
|
3819
|
+
gap: 5px;
|
|
3820
|
+
padding: 4px 2px;
|
|
3821
|
+
border: 0;
|
|
3822
|
+
background: transparent;
|
|
3823
|
+
color: inherit;
|
|
3824
|
+
font: inherit;
|
|
3825
|
+
text-align: left;
|
|
3826
|
+
cursor: pointer;
|
|
3827
|
+
}
|
|
3828
|
+
|
|
3829
|
+
.rvs-snips-name {
|
|
3830
|
+
flex: 0 1 auto;
|
|
3831
|
+
max-width: 45%;
|
|
3832
|
+
overflow: hidden;
|
|
3833
|
+
text-overflow: ellipsis;
|
|
3834
|
+
white-space: nowrap;
|
|
3835
|
+
color: var(--dsw-alias-label-primary, CanvasText);
|
|
3836
|
+
font-weight: 600;
|
|
3837
|
+
font-size: 11.5px;
|
|
3838
|
+
}
|
|
3839
|
+
|
|
3840
|
+
.rvs-snips-arrow {
|
|
3841
|
+
flex: none;
|
|
3842
|
+
color: var(--dsw-alias-label-tertiary, #8b8b8b);
|
|
3843
|
+
font-size: 10px;
|
|
3844
|
+
}
|
|
3845
|
+
|
|
3846
|
+
.rvs-snips-text {
|
|
3847
|
+
flex: 1;
|
|
3848
|
+
min-width: 0;
|
|
3849
|
+
overflow: hidden;
|
|
3850
|
+
text-overflow: ellipsis;
|
|
3851
|
+
white-space: nowrap;
|
|
3852
|
+
color: var(--dsw-alias-label-secondary, #b9b9b9);
|
|
3853
|
+
font-family: var(--rvs-mono, ui-monospace, monospace);
|
|
3854
|
+
font-size: 11px;
|
|
3855
|
+
}
|
|
3856
|
+
|
|
3857
|
+
.rvs-snips-icon {
|
|
3858
|
+
flex: none;
|
|
3859
|
+
width: 20px;
|
|
3860
|
+
height: 20px;
|
|
3861
|
+
display: flex;
|
|
3862
|
+
align-items: center;
|
|
3863
|
+
justify-content: center;
|
|
3864
|
+
padding: 0;
|
|
3865
|
+
border: 0;
|
|
3866
|
+
border-radius: 4px;
|
|
3867
|
+
background: transparent;
|
|
3868
|
+
color: var(--dsw-alias-label-tertiary, #8b8b8b);
|
|
3869
|
+
font: inherit;
|
|
3870
|
+
font-size: 12px;
|
|
3871
|
+
line-height: 1;
|
|
3872
|
+
cursor: pointer;
|
|
3873
|
+
}
|
|
3874
|
+
|
|
3875
|
+
.rvs-snips-icon:hover {
|
|
3876
|
+
background: var(--dsw-alias-interactive-bg-hover, rgba(127, 127, 127, .14));
|
|
3877
|
+
color: var(--dsw-alias-label-primary, CanvasText);
|
|
3878
|
+
}
|
|
3879
|
+
|
|
3880
|
+
.rvs-snips-icon.danger:hover { color: var(--dsw-alias-state-error-primary, #e05555); }
|
|
3881
|
+
|
|
3882
|
+
.rvs-snips-foot {
|
|
3883
|
+
flex: none;
|
|
3884
|
+
padding: 4px 8px;
|
|
3885
|
+
border-top: 1px solid var(--dsw-alias-border-l1, rgba(127, 127, 127, .25));
|
|
3886
|
+
color: var(--dsw-alias-label-tertiary, #8b8b8b);
|
|
3887
|
+
font-size: 10.5px;
|
|
3888
|
+
}
|
|
3889
|
+
|
|
3890
|
+
/* The add/edit form reuses the shared modal chrome; only its fields and error
|
|
3891
|
+
line are local, and they carry their own colours because the modal is
|
|
3892
|
+
portaled outside `.rvs-root` as well. */
|
|
3893
|
+
.rvs-snips-field {
|
|
3894
|
+
display: flex;
|
|
3895
|
+
flex-direction: column;
|
|
3896
|
+
gap: 4px;
|
|
3897
|
+
margin: 8px 0;
|
|
3898
|
+
color: var(--dsw-alias-label-secondary, CanvasText);
|
|
3899
|
+
font-size: 11.5px;
|
|
3900
|
+
}
|
|
3901
|
+
|
|
3902
|
+
.rvs-snips-field input,
|
|
3903
|
+
.rvs-snips-field textarea {
|
|
3904
|
+
flex: none;
|
|
3905
|
+
width: 100%;
|
|
3906
|
+
padding: 5px 8px;
|
|
3907
|
+
border: 1px solid var(--dsw-alias-border-l2, rgba(127, 127, 127, .38));
|
|
3908
|
+
border-radius: 6px;
|
|
3909
|
+
background: var(--dsw-alias-bg-input, rgba(127, 127, 127, .12));
|
|
3910
|
+
color: inherit;
|
|
3911
|
+
font: inherit;
|
|
3912
|
+
font-size: 12px;
|
|
3913
|
+
outline: none;
|
|
3914
|
+
}
|
|
3915
|
+
|
|
3916
|
+
.rvs-snips-field input:focus,
|
|
3917
|
+
.rvs-snips-field textarea:focus {
|
|
3918
|
+
border-color: var(--dsw-alias-brand-primary, #4d6bfe);
|
|
3919
|
+
}
|
|
3920
|
+
|
|
3921
|
+
.rvs-snips-command {
|
|
3922
|
+
font-family: var(--rvs-mono, ui-monospace, monospace) !important;
|
|
3923
|
+
resize: vertical;
|
|
3924
|
+
}
|
|
3925
|
+
|
|
3926
|
+
.rvs-snips-error {
|
|
3927
|
+
margin: 2px 0 0;
|
|
3928
|
+
color: var(--dsw-alias-state-error-primary, #e05555);
|
|
3929
|
+
font-size: 11.5px;
|
|
3930
|
+
}
|
|
3931
|
+
|
|
3292
3932
|
/* `.rvs-toast.error` is styled with the overlay form further up, so the popup
|
|
3293
3933
|
opacity convention (an opaque Canvas base plus a token layer) still governs
|
|
3294
3934
|
it. A flat `background: #3a1f22` shorthand sat here and overrode that chain —
|
|
@@ -4816,4 +5456,3 @@ body[data-ds-dark-theme] .rvs-execpanel {
|
|
|
4816
5456
|
.rvs-qo-note.warn {
|
|
4817
5457
|
color: var(--rvs-git-m);
|
|
4818
5458
|
}
|
|
4819
|
-
|