@ash-qw/dsh-theme-prts 0.1.96 → 0.1.98
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/CHANGELOG.md +12 -1
- package/README.en.md +3 -3
- package/README.md +3 -3
- package/lib/client.js +272 -52
- package/package.json +2 -2
- package/src/client/assistant-glass-adapter.js +54 -4
- package/src/client/composer-glass-adapter.js +27 -10
- package/src/client/index.js +25 -6
- package/src/client/operations-shell-v2.js +4 -1
- package/src/client/particle-field-adapter.js +24 -12
- package/src/client/preferences.js +7 -3
- package/src/client/rc7-adapter.js +48 -11
- package/src/client/startup-sequence.js +102 -9
- package/src/client/theme-controller-v2.js +2 -0
- package/src/client/theme-controller.js +2 -0
- package/src/client/theme-settings-workbench.js +3 -0
- package/src/styles/prts.css +362 -19
- package/src/styles/refinement.css +8 -4
- package/src/styles/stabilization.css +34 -2
- package/src/styles/startup-sequence.css +13 -6
- package/src/styles/theme-settings-workbench.css +7 -0
package/src/styles/prts.css
CHANGED
|
@@ -46,6 +46,15 @@ html[data-dsh-prts] {
|
|
|
46
46
|
--prts-glass-dense: rgba(7, 10, 12, .94);
|
|
47
47
|
--prts-active-glass: var(--prts-glass-standard-surface);
|
|
48
48
|
--prts-active-glass-filter: blur(18px) saturate(145%);
|
|
49
|
+
--prts-chat-user-surface: #3a3211;
|
|
50
|
+
--prts-chat-user-edge: #8c7718;
|
|
51
|
+
--prts-chat-assistant-surface: rgba(17, 24, 28, .97);
|
|
52
|
+
--prts-chat-assistant-edge: #34474f;
|
|
53
|
+
--prts-chat-avatar-surface: #151c20;
|
|
54
|
+
--prts-chat-shadow: rgba(0, 0, 0, .3);
|
|
55
|
+
--prts-chat-backdrop: #0a0e11;
|
|
56
|
+
--prts-chat-backdrop-edge: #0e1519;
|
|
57
|
+
--prts-chat-link: #4d7079;
|
|
49
58
|
color-scheme: dark;
|
|
50
59
|
accent-color: var(--prts-yellow);
|
|
51
60
|
}
|
|
@@ -73,6 +82,15 @@ html[data-dsh-prts][data-prts-scheme="light"] {
|
|
|
73
82
|
--prts-glass-clear-surface: rgba(244, 249, 251, .78);
|
|
74
83
|
--prts-glass-dense: rgba(249, 251, 252, .97);
|
|
75
84
|
--prts-shadow-glass-overlay: 0 18px 44px rgba(48, 63, 70, .18), inset 0 1px rgba(255, 255, 255, .86);
|
|
85
|
+
--prts-chat-user-surface: #fff0af;
|
|
86
|
+
--prts-chat-user-edge: #c9a610;
|
|
87
|
+
--prts-chat-assistant-surface: rgba(250, 252, 253, .97);
|
|
88
|
+
--prts-chat-assistant-edge: #c7d4da;
|
|
89
|
+
--prts-chat-avatar-surface: #e4e9ec;
|
|
90
|
+
--prts-chat-shadow: rgba(45, 59, 66, .16);
|
|
91
|
+
--prts-chat-backdrop: #edf1f3;
|
|
92
|
+
--prts-chat-backdrop-edge: #e4ebee;
|
|
93
|
+
--prts-chat-link: #6b8d96;
|
|
76
94
|
color-scheme: light;
|
|
77
95
|
}
|
|
78
96
|
|
|
@@ -823,7 +841,8 @@ html[data-dsh-prts] [data-prts-region="sessions"] [data-slot="sidebar"] {
|
|
|
823
841
|
height: 100%;
|
|
824
842
|
}
|
|
825
843
|
|
|
826
|
-
html[data-dsh-prts] [data-prts-region="sessions"]
|
|
844
|
+
html[data-dsh-prts] [data-prts-region="sessions"] :is(
|
|
845
|
+
[data-rc7-sidebar-root], [data-slot="sidebar"] > :first-child) {
|
|
827
846
|
box-sizing: border-box;
|
|
828
847
|
width: 100% !important;
|
|
829
848
|
min-width: var(--prts-sessions-width);
|
|
@@ -1040,12 +1059,21 @@ html[data-dsh-prts] [data-prts-session-actions] button:is(:hover, :focus-visible
|
|
|
1040
1059
|
}
|
|
1041
1060
|
|
|
1042
1061
|
/* OPERATION AREA */
|
|
1043
|
-
html[data-dsh-prts]
|
|
1062
|
+
html[data-dsh-prts] :is(
|
|
1063
|
+
[data-slot="main.conversation"], [data-slot="conversation"]) {
|
|
1044
1064
|
min-width: 0;
|
|
1045
1065
|
height: 100%;
|
|
1046
1066
|
background: transparent;
|
|
1047
1067
|
}
|
|
1048
1068
|
|
|
1069
|
+
/* The rc.7 conversation root owns an opaque host surface above the ambient
|
|
1070
|
+
siblings. Keep it transparent only for the chat theme so its backdrop remains
|
|
1071
|
+
behind native messages and controls. */
|
|
1072
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"] :is(
|
|
1073
|
+
[data-slot="main.conversation"], [data-slot="conversation"]) > [data-phase] {
|
|
1074
|
+
background: transparent !important;
|
|
1075
|
+
}
|
|
1076
|
+
|
|
1049
1077
|
html[data-dsh-prts] [data-slot="conversation.session.header"] {
|
|
1050
1078
|
border-bottom: 1px solid var(--prts-line);
|
|
1051
1079
|
background: color-mix(in srgb, var(--prts-canvas-elevated) 92%, transparent);
|
|
@@ -1067,15 +1095,14 @@ html[data-dsh-prts] [data-conversation-scroll] {
|
|
|
1067
1095
|
z-index: 2;
|
|
1068
1096
|
}
|
|
1069
1097
|
|
|
1070
|
-
html[data-dsh-prts] [data-message-role="user"],
|
|
1071
|
-
html[data-dsh-prts] [data-chat-flow-kind="user"] {
|
|
1098
|
+
html[data-dsh-prts][data-prts-conversation-style="native"] [data-message-role="user"],
|
|
1099
|
+
html[data-dsh-prts][data-prts-conversation-style="native"] [data-chat-flow-kind="user"] {
|
|
1072
1100
|
position: relative;
|
|
1073
1101
|
color: var(--prts-ink);
|
|
1074
1102
|
}
|
|
1075
1103
|
|
|
1076
|
-
|
|
1077
|
-
html[data-dsh-prts] [data-
|
|
1078
|
-
html[data-dsh-prts] [data-chat-flow-kind="user"] [class$="_bubble"] {
|
|
1104
|
+
html[data-dsh-prts][data-prts-conversation-style="native"] [data-message-role="user"],
|
|
1105
|
+
html[data-dsh-prts][data-prts-conversation-style="native"] [data-chat-flow-kind="user"] [class$="_bubble"] {
|
|
1079
1106
|
border: 1px solid var(--prts-line-strong) !important;
|
|
1080
1107
|
border-left: 4px solid var(--prts-yellow) !important;
|
|
1081
1108
|
border-radius: var(--prts-radius-card) !important;
|
|
@@ -1085,25 +1112,24 @@ html[data-dsh-prts] [data-chat-flow-kind="user"] [class$="_bubble"] {
|
|
|
1085
1112
|
box-shadow: none !important;
|
|
1086
1113
|
}
|
|
1087
1114
|
|
|
1088
|
-
|
|
1089
|
-
html[data-dsh-prts] [data-
|
|
1090
|
-
html[data-dsh-prts] [data-chat-flow-kind="user"] [class$="_bubble"] :is([data-markdown], [class*="markdown" i]) {
|
|
1115
|
+
html[data-dsh-prts][data-prts-conversation-style="native"] [data-message-role="user"] :is([data-markdown], [class*="markdown" i]),
|
|
1116
|
+
html[data-dsh-prts][data-prts-conversation-style="native"] [data-chat-flow-kind="user"] [class$="_bubble"] :is([data-markdown], [class*="markdown" i]) {
|
|
1091
1117
|
background: transparent !important;
|
|
1092
1118
|
}
|
|
1093
1119
|
|
|
1094
|
-
html[data-dsh-prts] [data-message-role="user"] :is(pre, table, blockquote),
|
|
1095
|
-
html[data-dsh-prts] [data-chat-flow-kind="user"] [class$="_bubble"] :is(pre, table, blockquote) {
|
|
1120
|
+
html[data-dsh-prts][data-prts-conversation-style="native"] [data-message-role="user"] :is(pre, table, blockquote),
|
|
1121
|
+
html[data-dsh-prts][data-prts-conversation-style="native"] [data-chat-flow-kind="user"] [class$="_bubble"] :is(pre, table, blockquote) {
|
|
1096
1122
|
border: 1px solid var(--prts-line);
|
|
1097
1123
|
background: var(--prts-glass-dense);
|
|
1098
1124
|
}
|
|
1099
1125
|
|
|
1100
|
-
html[data-dsh-prts] [data-message-role="user"] :is(pre, code),
|
|
1101
|
-
html[data-dsh-prts] [data-chat-flow-kind="user"] [class$="_bubble"] :is(pre, code) {
|
|
1126
|
+
html[data-dsh-prts][data-prts-conversation-style="native"] [data-message-role="user"] :is(pre, code),
|
|
1127
|
+
html[data-dsh-prts][data-prts-conversation-style="native"] [data-chat-flow-kind="user"] [class$="_bubble"] :is(pre, code) {
|
|
1102
1128
|
font-family: var(--prts-mono) !important;
|
|
1103
1129
|
}
|
|
1104
1130
|
|
|
1105
|
-
html[data-dsh-prts] [data-message-role="user"] pre,
|
|
1106
|
-
html[data-dsh-prts] [data-chat-flow-kind="user"] [class$="_bubble"] pre {
|
|
1131
|
+
html[data-dsh-prts][data-prts-conversation-style="native"] [data-message-role="user"] pre,
|
|
1132
|
+
html[data-dsh-prts][data-prts-conversation-style="native"] [data-chat-flow-kind="user"] [class$="_bubble"] pre {
|
|
1107
1133
|
max-width: 100%;
|
|
1108
1134
|
overflow: auto;
|
|
1109
1135
|
padding: 14px;
|
|
@@ -1111,6 +1137,219 @@ html[data-dsh-prts] [data-chat-flow-kind="user"] [class$="_bubble"] pre {
|
|
|
1111
1137
|
color: var(--prts-ink) !important;
|
|
1112
1138
|
}
|
|
1113
1139
|
|
|
1140
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"] :is(
|
|
1141
|
+
[data-chat-flow-kind="user"],
|
|
1142
|
+
[data-chat-flow-kind="assistant-step"]
|
|
1143
|
+
) {
|
|
1144
|
+
position: relative;
|
|
1145
|
+
box-sizing: border-box;
|
|
1146
|
+
overflow: visible;
|
|
1147
|
+
}
|
|
1148
|
+
|
|
1149
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"] [data-chat-flow-kind="user"] {
|
|
1150
|
+
padding-inline-end: 54px;
|
|
1151
|
+
color: var(--prts-ink);
|
|
1152
|
+
}
|
|
1153
|
+
|
|
1154
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"] [data-chat-flow-kind="assistant-step"] {
|
|
1155
|
+
--prts-chat-link-x: 22px;
|
|
1156
|
+
padding-inline-start: 56px;
|
|
1157
|
+
color: var(--prts-ink);
|
|
1158
|
+
}
|
|
1159
|
+
|
|
1160
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"] [data-chat-flow-kind="assistant-step"]::after,
|
|
1161
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"] [data-message-role="assistant"]::after {
|
|
1162
|
+
content: "";
|
|
1163
|
+
position: absolute;
|
|
1164
|
+
z-index: 1;
|
|
1165
|
+
top: 54px;
|
|
1166
|
+
left: calc(var(--prts-chat-link-x) - 1px);
|
|
1167
|
+
width: 2px;
|
|
1168
|
+
height: 30px;
|
|
1169
|
+
border-radius: 1px;
|
|
1170
|
+
background: linear-gradient(to bottom,
|
|
1171
|
+
color-mix(in srgb, var(--prts-chat-link) 56%, transparent),
|
|
1172
|
+
color-mix(in srgb, var(--prts-chat-link) 20%, transparent) 72%,
|
|
1173
|
+
transparent);
|
|
1174
|
+
pointer-events: none;
|
|
1175
|
+
}
|
|
1176
|
+
|
|
1177
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"] [data-chat-flow-kind="assistant-step"]::before,
|
|
1178
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"] [data-chat-flow-kind="user"]::after,
|
|
1179
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"] [data-message-role="assistant"]::before,
|
|
1180
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"] [data-message-role="user"]::after {
|
|
1181
|
+
position: absolute;
|
|
1182
|
+
z-index: 2;
|
|
1183
|
+
top: 2px;
|
|
1184
|
+
display: grid;
|
|
1185
|
+
place-items: center;
|
|
1186
|
+
box-sizing: border-box;
|
|
1187
|
+
width: 42px;
|
|
1188
|
+
height: 42px;
|
|
1189
|
+
border: 1px solid var(--prts-line);
|
|
1190
|
+
border-radius: 14px;
|
|
1191
|
+
background-color: var(--prts-chat-avatar-surface);
|
|
1192
|
+
box-shadow:
|
|
1193
|
+
inset 0 1px rgba(255, 255, 255, .08),
|
|
1194
|
+
0 8px 20px var(--prts-chat-shadow);
|
|
1195
|
+
pointer-events: none;
|
|
1196
|
+
}
|
|
1197
|
+
|
|
1198
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"] [data-chat-flow-kind="assistant-step"]::before,
|
|
1199
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"] [data-message-role="assistant"]::before {
|
|
1200
|
+
content: "";
|
|
1201
|
+
left: 0;
|
|
1202
|
+
width: 44px;
|
|
1203
|
+
height: 48px;
|
|
1204
|
+
border-color: color-mix(in srgb, var(--prts-cyan) 42%, var(--prts-line));
|
|
1205
|
+
border-radius: 14px 14px 16px 16px;
|
|
1206
|
+
background-image:
|
|
1207
|
+
var(--prts-assistant-avatar-image, none),
|
|
1208
|
+
linear-gradient(145deg, rgba(255, 255, 255, .08), transparent 56%);
|
|
1209
|
+
background-repeat: no-repeat;
|
|
1210
|
+
background-position: center, center;
|
|
1211
|
+
background-size: cover, auto;
|
|
1212
|
+
box-shadow:
|
|
1213
|
+
inset 0 -2px color-mix(in srgb, var(--prts-cyan) 72%, transparent),
|
|
1214
|
+
inset 0 1px rgba(255, 255, 255, .08),
|
|
1215
|
+
0 8px 20px var(--prts-chat-shadow);
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1218
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"] [data-chat-flow-kind="user"]::after,
|
|
1219
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"] [data-message-role="user"]::after {
|
|
1220
|
+
content: "我";
|
|
1221
|
+
right: 0;
|
|
1222
|
+
border-color: color-mix(in srgb, var(--prts-yellow) 58%, var(--prts-line));
|
|
1223
|
+
background:
|
|
1224
|
+
linear-gradient(145deg, color-mix(in srgb, var(--prts-yellow) 18%, transparent), transparent 58%),
|
|
1225
|
+
var(--prts-chat-avatar-surface);
|
|
1226
|
+
color: color-mix(in srgb, var(--prts-yellow) 78%, var(--prts-ink));
|
|
1227
|
+
font: 500 13px/1 var(--prts-mono);
|
|
1228
|
+
}
|
|
1229
|
+
|
|
1230
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"] [data-chat-flow-kind="user"] [class$="_bubble"],
|
|
1231
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"] [data-message-role="user"] {
|
|
1232
|
+
border: 1px solid var(--prts-chat-user-edge) !important;
|
|
1233
|
+
border-radius: 18px 6px 18px 18px !important;
|
|
1234
|
+
padding: 13px 18px !important;
|
|
1235
|
+
background:
|
|
1236
|
+
linear-gradient(145deg, color-mix(in srgb, var(--prts-yellow) 10%, transparent), transparent 54%),
|
|
1237
|
+
var(--prts-chat-user-surface) !important;
|
|
1238
|
+
color: var(--prts-ink) !important;
|
|
1239
|
+
clip-path: none !important;
|
|
1240
|
+
box-shadow:
|
|
1241
|
+
inset 0 1px color-mix(in srgb, var(--prts-yellow) 22%, transparent),
|
|
1242
|
+
0 9px 24px var(--prts-chat-shadow) !important;
|
|
1243
|
+
overflow-wrap: anywhere;
|
|
1244
|
+
}
|
|
1245
|
+
|
|
1246
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"] [data-message-role="user"] {
|
|
1247
|
+
width: calc(100% - 54px);
|
|
1248
|
+
margin-inline-start: auto;
|
|
1249
|
+
}
|
|
1250
|
+
|
|
1251
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"] [data-message-role="user"]::after {
|
|
1252
|
+
right: -54px;
|
|
1253
|
+
}
|
|
1254
|
+
|
|
1255
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"] [data-message-role="assistant"] {
|
|
1256
|
+
--prts-chat-link-x: -34px;
|
|
1257
|
+
position: relative;
|
|
1258
|
+
width: calc(100% - 56px);
|
|
1259
|
+
margin-inline-start: calc((100% - min(748px, 100%)) / 2 + 56px);
|
|
1260
|
+
padding: 16px 22px !important;
|
|
1261
|
+
border: 1px solid var(--prts-chat-assistant-edge) !important;
|
|
1262
|
+
border-radius: 6px 18px 18px 18px !important;
|
|
1263
|
+
background:
|
|
1264
|
+
linear-gradient(118deg, color-mix(in srgb, var(--prts-cyan) 6%, transparent), transparent 44%),
|
|
1265
|
+
var(--prts-chat-assistant-surface) !important;
|
|
1266
|
+
color: var(--prts-ink) !important;
|
|
1267
|
+
box-shadow:
|
|
1268
|
+
inset 0 1px color-mix(in srgb, var(--prts-cyan) 10%, transparent),
|
|
1269
|
+
0 10px 28px var(--prts-chat-shadow) !important;
|
|
1270
|
+
overflow-wrap: anywhere;
|
|
1271
|
+
}
|
|
1272
|
+
|
|
1273
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"] [data-message-role="assistant"]::before {
|
|
1274
|
+
left: -56px;
|
|
1275
|
+
}
|
|
1276
|
+
|
|
1277
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"] [data-chat-flow-kind="assistant-step"] [class$="_body"]:has(:is([data-markdown], [data-slot*="markdown" i], .markdown-body)),
|
|
1278
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"] [data-prts-ai-surface] {
|
|
1279
|
+
box-sizing: border-box;
|
|
1280
|
+
width: fit-content;
|
|
1281
|
+
max-width: 100%;
|
|
1282
|
+
padding: 16px 22px !important;
|
|
1283
|
+
border: 1px solid var(--prts-chat-assistant-edge) !important;
|
|
1284
|
+
border-radius: 6px 18px 18px 18px !important;
|
|
1285
|
+
background:
|
|
1286
|
+
linear-gradient(118deg, color-mix(in srgb, var(--prts-cyan) 6%, transparent), transparent 44%),
|
|
1287
|
+
var(--prts-chat-assistant-surface) !important;
|
|
1288
|
+
color: var(--prts-ink) !important;
|
|
1289
|
+
box-shadow:
|
|
1290
|
+
inset 0 1px color-mix(in srgb, var(--prts-cyan) 10%, transparent),
|
|
1291
|
+
0 10px 28px var(--prts-chat-shadow) !important;
|
|
1292
|
+
overflow-wrap: anywhere;
|
|
1293
|
+
}
|
|
1294
|
+
|
|
1295
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"] [data-prts-ai-surface] > * {
|
|
1296
|
+
color: inherit;
|
|
1297
|
+
}
|
|
1298
|
+
|
|
1299
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"] :is(
|
|
1300
|
+
[data-prts-ai-surface],
|
|
1301
|
+
[data-message-role="assistant"]
|
|
1302
|
+
) :is(p, li, h1, h2, h3, h4, h5, h6) {
|
|
1303
|
+
color: var(--prts-ink) !important;
|
|
1304
|
+
}
|
|
1305
|
+
|
|
1306
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"] :is(
|
|
1307
|
+
[data-prts-ai-surface],
|
|
1308
|
+
[data-message-role="assistant"],
|
|
1309
|
+
[data-message-role="user"],
|
|
1310
|
+
[data-chat-flow-kind="user"] [class$="_bubble"]
|
|
1311
|
+
) :is([data-markdown], [class*="markdown" i]) {
|
|
1312
|
+
background: transparent !important;
|
|
1313
|
+
}
|
|
1314
|
+
|
|
1315
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"] :is(
|
|
1316
|
+
[data-prts-ai-surface],
|
|
1317
|
+
[data-message-role="assistant"],
|
|
1318
|
+
[data-message-role="user"],
|
|
1319
|
+
[data-chat-flow-kind="user"] [class$="_bubble"]
|
|
1320
|
+
) :is(pre, table, blockquote) {
|
|
1321
|
+
border: 1px solid color-mix(in srgb, var(--prts-cyan) 24%, var(--prts-line));
|
|
1322
|
+
background: color-mix(in srgb, var(--prts-canvas) 88%, transparent);
|
|
1323
|
+
}
|
|
1324
|
+
|
|
1325
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"] :is(
|
|
1326
|
+
[data-prts-ai-surface],
|
|
1327
|
+
[data-message-role="assistant"],
|
|
1328
|
+
[data-message-role="user"],
|
|
1329
|
+
[data-chat-flow-kind="user"] [class$="_bubble"]
|
|
1330
|
+
) :is(pre, code) {
|
|
1331
|
+
font-family: var(--prts-mono) !important;
|
|
1332
|
+
}
|
|
1333
|
+
|
|
1334
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"] :is(
|
|
1335
|
+
[data-prts-ai-surface],
|
|
1336
|
+
[data-message-role="assistant"],
|
|
1337
|
+
[data-message-role="user"],
|
|
1338
|
+
[data-chat-flow-kind="user"] [class$="_bubble"]
|
|
1339
|
+
) pre {
|
|
1340
|
+
max-width: 100%;
|
|
1341
|
+
overflow: auto;
|
|
1342
|
+
padding: 14px;
|
|
1343
|
+
border-left: 3px solid var(--prts-cyan) !important;
|
|
1344
|
+
color: var(--prts-ink) !important;
|
|
1345
|
+
}
|
|
1346
|
+
|
|
1347
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"] :is(
|
|
1348
|
+
[data-prts-ai-surface],
|
|
1349
|
+
[data-message-role="assistant"]
|
|
1350
|
+
) blockquote {
|
|
1351
|
+
border-inline-start: 3px solid var(--prts-cyan);
|
|
1352
|
+
}
|
|
1114
1353
|
|
|
1115
1354
|
html[data-dsh-prts] [aria-invalid="true"],
|
|
1116
1355
|
html[data-dsh-prts] [data-status="error"],
|
|
@@ -1120,7 +1359,7 @@ html[data-dsh-prts] [data-status="denied"] {
|
|
|
1120
1359
|
}
|
|
1121
1360
|
|
|
1122
1361
|
/* AMBIENT AND PARTICLE EMBLEMS */
|
|
1123
|
-
html[data-dsh-prts] [data-prts-ambient-layer] {
|
|
1362
|
+
html[data-dsh-prts][data-prts-conversation-style="native"] [data-prts-ambient-layer] {
|
|
1124
1363
|
position: absolute;
|
|
1125
1364
|
z-index: 0;
|
|
1126
1365
|
inset: 0;
|
|
@@ -1133,6 +1372,37 @@ html[data-dsh-prts] [data-prts-ambient-layer] {
|
|
|
1133
1372
|
pointer-events: none;
|
|
1134
1373
|
}
|
|
1135
1374
|
|
|
1375
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"] [data-prts-ambient-layer] {
|
|
1376
|
+
position: absolute;
|
|
1377
|
+
z-index: 0;
|
|
1378
|
+
inset: 0;
|
|
1379
|
+
overflow: hidden;
|
|
1380
|
+
opacity: 1;
|
|
1381
|
+
background:
|
|
1382
|
+
linear-gradient(90deg,
|
|
1383
|
+
color-mix(in srgb, var(--prts-chat-backdrop-edge) 58%, transparent),
|
|
1384
|
+
transparent 14% 86%,
|
|
1385
|
+
color-mix(in srgb, var(--prts-chat-backdrop-edge) 58%, transparent)),
|
|
1386
|
+
linear-gradient(180deg,
|
|
1387
|
+
color-mix(in srgb, var(--prts-chat-backdrop) 96%, var(--prts-canvas)),
|
|
1388
|
+
var(--prts-chat-backdrop));
|
|
1389
|
+
pointer-events: none;
|
|
1390
|
+
}
|
|
1391
|
+
|
|
1392
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"] [data-prts-ambient-layer]::before,
|
|
1393
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"] [data-prts-ambient-layer]::after {
|
|
1394
|
+
display: none;
|
|
1395
|
+
}
|
|
1396
|
+
|
|
1397
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"][data-prts-conversation-state="active"] [data-prts-particle-layer] {
|
|
1398
|
+
opacity: .04;
|
|
1399
|
+
}
|
|
1400
|
+
|
|
1401
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"][data-prts-conversation-state="active"] [data-prts-ambient-glow],
|
|
1402
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"][data-prts-conversation-state="active"] [data-prts-ambient-edge] {
|
|
1403
|
+
display: none;
|
|
1404
|
+
}
|
|
1405
|
+
|
|
1136
1406
|
html[data-dsh-prts][data-prts-texture="restrained"] [data-prts-ambient-layer] {
|
|
1137
1407
|
opacity: .56;
|
|
1138
1408
|
}
|
|
@@ -1141,6 +1411,15 @@ html[data-dsh-prts][data-prts-texture="off"] [data-prts-ambient-layer] {
|
|
|
1141
1411
|
display: none;
|
|
1142
1412
|
}
|
|
1143
1413
|
|
|
1414
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"][data-prts-texture="restrained"] [data-prts-ambient-layer] {
|
|
1415
|
+
opacity: .82;
|
|
1416
|
+
}
|
|
1417
|
+
|
|
1418
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"][data-prts-texture="off"] [data-prts-ambient-layer] {
|
|
1419
|
+
display: block;
|
|
1420
|
+
opacity: .72;
|
|
1421
|
+
}
|
|
1422
|
+
|
|
1144
1423
|
html[data-dsh-prts] [data-prts-particle-layer] {
|
|
1145
1424
|
position: absolute;
|
|
1146
1425
|
z-index: 1;
|
|
@@ -1229,8 +1508,8 @@ html[data-dsh-prts] [data-prts-composer-fallback] {
|
|
|
1229
1508
|
-webkit-backdrop-filter: var(--prts-active-glass-filter);
|
|
1230
1509
|
}
|
|
1231
1510
|
|
|
1232
|
-
html[data-dsh-prts] [data-composer-card] textarea,
|
|
1233
|
-
html[data-dsh-prts] [data-prts-composer-fallback] textarea {
|
|
1511
|
+
html[data-dsh-prts] [data-composer-card] :is(textarea, [data-composer-input]),
|
|
1512
|
+
html[data-dsh-prts] [data-prts-composer-fallback] :is(textarea, [data-composer-input]) {
|
|
1234
1513
|
border: 0 !important;
|
|
1235
1514
|
background: transparent !important;
|
|
1236
1515
|
color: var(--prts-ink) !important;
|
|
@@ -1480,6 +1759,70 @@ html[data-dsh-prts-settings] .prts-plugin-settings button[role='switch']:disable
|
|
|
1480
1759
|
}
|
|
1481
1760
|
}
|
|
1482
1761
|
|
|
1762
|
+
@media (max-width: 760px) {
|
|
1763
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"] [data-chat-flow-kind="user"] {
|
|
1764
|
+
padding-inline: 8px 50px;
|
|
1765
|
+
}
|
|
1766
|
+
|
|
1767
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"] [data-chat-flow-kind="assistant-step"] {
|
|
1768
|
+
padding-inline: 0 8px;
|
|
1769
|
+
padding-inline-start: 50px;
|
|
1770
|
+
}
|
|
1771
|
+
|
|
1772
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"] [data-chat-flow-kind="assistant-step"]::before,
|
|
1773
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"] [data-message-role="assistant"]::before {
|
|
1774
|
+
left: 8px;
|
|
1775
|
+
width: 34px;
|
|
1776
|
+
height: 38px;
|
|
1777
|
+
border-radius: 11px 11px 13px 13px;
|
|
1778
|
+
}
|
|
1779
|
+
|
|
1780
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"] [data-chat-flow-kind="user"]::after,
|
|
1781
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"] [data-message-role="user"]::after {
|
|
1782
|
+
right: 8px;
|
|
1783
|
+
width: 34px;
|
|
1784
|
+
height: 34px;
|
|
1785
|
+
border-radius: 11px;
|
|
1786
|
+
font-size: 11px;
|
|
1787
|
+
}
|
|
1788
|
+
|
|
1789
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"] [data-chat-flow-kind="user"] [class$="_bubble"],
|
|
1790
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"] [data-message-role="user"] {
|
|
1791
|
+
padding: 11px 15px !important;
|
|
1792
|
+
border-radius: 16px 5px 16px 16px !important;
|
|
1793
|
+
}
|
|
1794
|
+
|
|
1795
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"] [data-chat-flow-kind="assistant-step"] [class$="_body"]:has(:is([data-markdown], [data-slot*="markdown" i], .markdown-body)),
|
|
1796
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"] [data-prts-ai-surface],
|
|
1797
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"] [data-message-role="assistant"] {
|
|
1798
|
+
padding: 13px 16px !important;
|
|
1799
|
+
border-radius: 5px 16px 16px 16px !important;
|
|
1800
|
+
}
|
|
1801
|
+
|
|
1802
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"] [data-message-role="user"] {
|
|
1803
|
+
width: calc(100% - 42px);
|
|
1804
|
+
}
|
|
1805
|
+
|
|
1806
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"] [data-message-role="user"]::after {
|
|
1807
|
+
right: -42px;
|
|
1808
|
+
}
|
|
1809
|
+
|
|
1810
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"] [data-message-role="assistant"] {
|
|
1811
|
+
--prts-chat-link-x: -25px;
|
|
1812
|
+
width: calc(100% - 42px);
|
|
1813
|
+
margin-inline-start: 42px;
|
|
1814
|
+
}
|
|
1815
|
+
|
|
1816
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"] [data-message-role="assistant"]::before {
|
|
1817
|
+
left: -42px;
|
|
1818
|
+
}
|
|
1819
|
+
|
|
1820
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"] [data-chat-flow-kind="assistant-step"]::after,
|
|
1821
|
+
html[data-dsh-prts][data-prts-conversation-style="deck-chat"] [data-message-role="assistant"]::after {
|
|
1822
|
+
display: none;
|
|
1823
|
+
}
|
|
1824
|
+
}
|
|
1825
|
+
|
|
1483
1826
|
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
|
|
1484
1827
|
html[data-dsh-prts] [data-prts-floating-glass],
|
|
1485
1828
|
html[data-dsh-prts] [data-composer-card],
|
|
@@ -254,8 +254,8 @@ html[data-dsh-prts] :is([data-composer-card], [data-prts-composer-fallback]):foc
|
|
|
254
254
|
transform: translateX(-50%) scaleX(1);
|
|
255
255
|
}
|
|
256
256
|
|
|
257
|
-
html[data-dsh-prts] [data-composer-card] textarea:focus-visible,
|
|
258
|
-
html[data-dsh-prts] [data-prts-composer-fallback] textarea:focus-visible {
|
|
257
|
+
html[data-dsh-prts] [data-composer-card] :is(textarea, [data-composer-input]):focus-visible,
|
|
258
|
+
html[data-dsh-prts] [data-prts-composer-fallback] :is(textarea, [data-composer-input]):focus-visible {
|
|
259
259
|
outline: none !important;
|
|
260
260
|
}
|
|
261
261
|
|
|
@@ -406,10 +406,14 @@ html[data-dsh-prts] [data-prts-hero-active] [data-prts-composer-fallback] {
|
|
|
406
406
|
padding: 10px 12px;
|
|
407
407
|
}
|
|
408
408
|
|
|
409
|
-
html[data-dsh-prts] [data-prts-hero-active] [data-composer-card] textarea,
|
|
410
|
-
html[data-dsh-prts] [data-prts-hero-active] [data-prts-composer-fallback] textarea {
|
|
409
|
+
html[data-dsh-prts] [data-prts-hero-active] [data-composer-card] :is(textarea, [data-composer-input]),
|
|
410
|
+
html[data-dsh-prts] [data-prts-hero-active] [data-prts-composer-fallback] :is(textarea, [data-composer-input]) {
|
|
411
411
|
min-height: 64px;
|
|
412
412
|
line-height: 1.55;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
html[data-dsh-prts] [data-prts-hero-active] [data-composer-card] textarea,
|
|
416
|
+
html[data-dsh-prts] [data-prts-hero-active] [data-prts-composer-fallback] textarea {
|
|
413
417
|
resize: vertical;
|
|
414
418
|
}
|
|
415
419
|
|
|
@@ -49,6 +49,40 @@ html[data-dsh-prts] [data-prts-nav-bottom] > button:is(:hover, :focus-visible) {
|
|
|
49
49
|
color: #f3f6f7 !important;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
+
html[data-dsh-prts] [data-prts-theme-disable]::after {
|
|
53
|
+
content: "";
|
|
54
|
+
position: absolute;
|
|
55
|
+
inset: 8px auto 8px 0;
|
|
56
|
+
width: 2px;
|
|
57
|
+
background: var(--prts-yellow);
|
|
58
|
+
transform: scaleY(0);
|
|
59
|
+
transition: transform 160ms var(--prts-ease-snap);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
html[data-dsh-prts] [data-prts-theme-disable]:is(:hover, :focus-visible) {
|
|
63
|
+
color: var(--prts-yellow) !important;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
html[data-dsh-prts] [data-prts-theme-disable]:is(:hover, :focus-visible)::after {
|
|
67
|
+
transform: scaleY(1);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
html[data-dsh-prts] [data-prts-theme-disable-icon] {
|
|
71
|
+
width: 18px;
|
|
72
|
+
height: 18px;
|
|
73
|
+
fill: none;
|
|
74
|
+
stroke: currentColor;
|
|
75
|
+
stroke-width: 1.7;
|
|
76
|
+
stroke-linecap: round;
|
|
77
|
+
stroke-linejoin: round;
|
|
78
|
+
transition: transform 120ms var(--prts-ease-snap), opacity 120ms ease;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
html[data-dsh-prts] [data-prts-theme-disable]:active [data-prts-theme-disable-icon] {
|
|
82
|
+
opacity: .72;
|
|
83
|
+
transform: scale(.9);
|
|
84
|
+
}
|
|
85
|
+
|
|
52
86
|
html[data-dsh-prts] [data-prts-rail-brand][aria-expanded="true"]::after {
|
|
53
87
|
content: "";
|
|
54
88
|
position: absolute;
|
|
@@ -101,8 +135,6 @@ html[data-dsh-prts] [data-prts-nav-bottom] b {
|
|
|
101
135
|
|
|
102
136
|
|
|
103
137
|
/* Complete structural outlines; decorative accents are separate edges. */
|
|
104
|
-
html[data-dsh-prts] [data-message-role="user"],
|
|
105
|
-
html[data-dsh-prts] [data-chat-flow-kind="user"] [class$="_bubble"],
|
|
106
138
|
html[data-dsh-prts] [data-composer-card],
|
|
107
139
|
html[data-dsh-prts] [data-prts-composer-fallback],
|
|
108
140
|
html[data-dsh-prts] [data-composer-card] button:not([data-slot="conversation.input.attachments"] *),
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
/* P.R.T.S. startup overlay.
|
|
1
|
+
/* P.R.T.S. startup overlay. Fixed composition is the fast path; Popover is reserved for an active Host top layer. */
|
|
2
2
|
html[data-dsh-prts] [data-prts-startup] {
|
|
3
3
|
--prts-startup-bg: #07090b;
|
|
4
4
|
--prts-startup-ink: #e8edef;
|
|
5
5
|
--prts-startup-muted: #7d898f;
|
|
6
6
|
--prts-startup-line: #394349;
|
|
7
7
|
--prts-startup-accent: #f0c800;
|
|
8
|
-
--prts-startup-progress: 0;
|
|
9
8
|
position: fixed;
|
|
10
|
-
z-index:
|
|
9
|
+
z-index: 2147483647;
|
|
11
10
|
inset: 0;
|
|
12
11
|
width: 100vw;
|
|
13
12
|
max-width: none;
|
|
@@ -20,10 +19,10 @@ html[data-dsh-prts] [data-prts-startup] {
|
|
|
20
19
|
overflow: hidden;
|
|
21
20
|
isolation: isolate;
|
|
22
21
|
box-sizing: border-box;
|
|
23
|
-
background:
|
|
22
|
+
background: var(--prts-startup-bg);
|
|
24
23
|
color: var(--prts-startup-ink);
|
|
25
24
|
font-family: var(--prts-body, sans-serif);
|
|
26
|
-
opacity:
|
|
25
|
+
opacity: 1;
|
|
27
26
|
outline: 0;
|
|
28
27
|
pointer-events: auto;
|
|
29
28
|
transition: opacity 120ms ease;
|
|
@@ -44,7 +43,9 @@ html[data-dsh-prts] [data-prts-startup]::after {
|
|
|
44
43
|
html[data-dsh-prts] [data-prts-startup]::before { left: 0; }
|
|
45
44
|
html[data-dsh-prts] [data-prts-startup]::after { right: 0; }
|
|
46
45
|
|
|
47
|
-
html[data-dsh-prts] [data-prts-startup][data-
|
|
46
|
+
html[data-dsh-prts] [data-prts-startup][data-exiting]:not([data-reduced-motion]) {
|
|
47
|
+
background: transparent;
|
|
48
|
+
}
|
|
48
49
|
|
|
49
50
|
html[data-dsh-prts] [data-prts-startup][data-exiting]::before {
|
|
50
51
|
transform: translate3d(-101%, 0, 0);
|
|
@@ -347,6 +348,7 @@ html[data-dsh-prts] [data-prts-startup-track] {
|
|
|
347
348
|
}
|
|
348
349
|
|
|
349
350
|
html[data-dsh-prts] [data-prts-startup-fill] {
|
|
351
|
+
--prts-startup-progress: 0;
|
|
350
352
|
position: absolute;
|
|
351
353
|
top: -2px;
|
|
352
354
|
right: 0;
|
|
@@ -356,6 +358,7 @@ html[data-dsh-prts] [data-prts-startup-fill] {
|
|
|
356
358
|
transform: scaleX(var(--prts-startup-progress));
|
|
357
359
|
transform-origin: left center;
|
|
358
360
|
will-change: transform;
|
|
361
|
+
transition: transform 80ms linear;
|
|
359
362
|
}
|
|
360
363
|
|
|
361
364
|
html[data-dsh-prts] [data-prts-startup-ticks] {
|
|
@@ -407,6 +410,10 @@ html[data-dsh-prts] [data-prts-startup][data-reduced-motion] [data-prts-startup-
|
|
|
407
410
|
transition: none;
|
|
408
411
|
}
|
|
409
412
|
|
|
413
|
+
html[data-dsh-prts] [data-prts-startup][data-reduced-motion] [data-prts-startup-fill] {
|
|
414
|
+
transition: none;
|
|
415
|
+
}
|
|
416
|
+
|
|
410
417
|
html[data-dsh-prts] [data-prts-startup][data-reduced-motion] [data-prts-startup-frame-outer] { transform: rotate(45deg); }
|
|
411
418
|
html[data-dsh-prts] [data-prts-startup][data-reduced-motion] [data-prts-startup-frame-inner] { transform: rotate(-45deg); }
|
|
412
419
|
|
|
@@ -262,6 +262,13 @@ html[data-dsh-prts] [data-prts-settings-common] [data-prts-setting-row] {
|
|
|
262
262
|
html[data-dsh-prts] [data-prts-settings-common] [data-prts-setting-row]:nth-child(2n) { border-right: 0; }
|
|
263
263
|
html[data-dsh-prts] [data-prts-settings-common] [data-prts-setting-row]:nth-last-child(-n + 2) { border-bottom: 0; }
|
|
264
264
|
|
|
265
|
+
html[data-dsh-prts] [data-prts-settings-common] [data-prts-setting-row="conversationStyle"] {
|
|
266
|
+
grid-column: 1 / -1;
|
|
267
|
+
border-top: 1px solid var(--prts-line);
|
|
268
|
+
border-right: 0;
|
|
269
|
+
border-bottom: 0;
|
|
270
|
+
}
|
|
271
|
+
|
|
265
272
|
html[data-dsh-prts] [data-prts-setting-row] > div {
|
|
266
273
|
min-width: 0;
|
|
267
274
|
display: flex;
|