cladogram 0.5.5-beta.6 → 0.5.5-beta.8
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/bin/clado.js +33 -10
- package/docs/release.md +13 -0
- package/package.json +2 -2
- package/plugins/agent/index.js +2378 -461
- package/plugins/agent/style.css +1267 -422
- package/plugins/brand/index.js +211 -2
- package/plugins/directory/index.js +18 -1
- package/src/agent/context.js +430 -0
- package/src/agent/probe.js +58 -0
- package/src/agent/providers/index.js +197 -14
- package/src/agent/runtime.js +418 -28
- package/src/agent/sessions.js +239 -32
- package/src/html/canvas-ui.css +75 -11
- package/src/html/plugin-ui.css +378 -1
- package/src/server/agent.js +1049 -64
- package/src/server/assets/library-canvas.js +305 -1
- package/src/server/assets/library.js +564 -7
- package/src/server/plugin-registry.js +98 -0
- package/src/server/plugin-settings.js +29 -3
- package/src/server/workspace-hub.js +223 -0
- package/src/server/workspace.js +213 -18
- package/src/workspace/objects.js +125 -0
package/plugins/agent/style.css
CHANGED
|
@@ -1,259 +1,472 @@
|
|
|
1
|
-
|
|
1
|
+
/* CSS Houdini 自定义属性(inherits: true 确保 ::after 实时继承每帧插值角度与色彩) */
|
|
2
|
+
@property --ring-half {
|
|
3
|
+
syntax: '<angle>';
|
|
4
|
+
inherits: true;
|
|
5
|
+
initial-value: 54deg;
|
|
6
|
+
}
|
|
7
|
+
@property --ring-feather {
|
|
8
|
+
syntax: '<angle>';
|
|
9
|
+
inherits: true;
|
|
10
|
+
initial-value: 14deg;
|
|
11
|
+
}
|
|
12
|
+
@property --ring-color {
|
|
13
|
+
syntax: '<color>';
|
|
14
|
+
inherits: true;
|
|
15
|
+
initial-value: #85c3ff;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
:root {
|
|
19
|
+
--clado-agent-surface: rgba(255, 255, 255, 0.36);
|
|
20
|
+
--clado-agent-filter: blur(20px) saturate(185%) brightness(1.06);
|
|
21
|
+
--clado-agent-well: rgba(255, 255, 255, 0.34);
|
|
22
|
+
--clado-agent-well-border: rgba(255, 255, 255, 0.72);
|
|
23
|
+
--clado-agent-track: rgba(255, 255, 255, 0.24);
|
|
24
|
+
--clado-agent-hover: rgba(255, 255, 255, 0.38);
|
|
25
|
+
--clado-agent-active: rgba(255, 255, 255, 0.56);
|
|
26
|
+
--clado-agent-active-shadow: 0 2px 8px rgba(15, 23, 42, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.96);
|
|
27
|
+
--clado-agent-popover: rgba(255, 255, 255, 0.86);
|
|
28
|
+
--clado-agent-edge: rgba(15, 23, 42, 0.065);
|
|
29
|
+
--clado-agent-highlight: rgba(255, 255, 255, 0.96);
|
|
30
|
+
--clado-agent-outline: rgba(255, 255, 255, 0.84);
|
|
31
|
+
--clado-agent-danger: #e11d48;
|
|
32
|
+
--clado-agent-shadow:
|
|
33
|
+
0 8px 22px rgba(15, 23, 42, 0.045),
|
|
34
|
+
0 0 0 0.5px rgba(15, 23, 42, 0.06),
|
|
35
|
+
inset 0 1px 0 var(--clado-agent-highlight),
|
|
36
|
+
inset 0 0 22px rgba(255, 255, 255, 0.28);
|
|
37
|
+
--clado-agent-pill-shadow:
|
|
38
|
+
0 3px 10px rgba(15, 23, 42, 0.035),
|
|
39
|
+
0 0 0 0.5px rgba(15, 23, 42, 0.055),
|
|
40
|
+
inset 0 1px 0 var(--clado-agent-highlight),
|
|
41
|
+
inset 0 0 14px rgba(255, 255, 255, 0.24);
|
|
42
|
+
--clado-agent-send-bg: #3f4654;
|
|
43
|
+
--clado-agent-send-fg: #ffffff;
|
|
44
|
+
--clado-ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
:root[data-theme="dark"] {
|
|
48
|
+
--clado-agent-surface: rgba(20, 25, 36, 0.38);
|
|
49
|
+
--clado-agent-filter: blur(20px) saturate(195%);
|
|
50
|
+
--clado-agent-well: rgba(255, 255, 255, 0.065);
|
|
51
|
+
--clado-agent-well-border: rgba(255, 255, 255, 0.14);
|
|
52
|
+
--clado-agent-track: rgba(255, 255, 255, 0.055);
|
|
53
|
+
--clado-agent-hover: rgba(255, 255, 255, 0.09);
|
|
54
|
+
--clado-agent-active: rgba(255, 255, 255, 0.15);
|
|
55
|
+
--clado-agent-active-shadow: 0 2px 10px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.24);
|
|
56
|
+
--clado-agent-popover: rgba(22, 27, 40, 0.88);
|
|
57
|
+
--clado-agent-edge: rgba(255, 255, 255, 0.09);
|
|
58
|
+
--clado-agent-highlight: rgba(255, 255, 255, 0.22);
|
|
59
|
+
--clado-agent-outline: rgba(255, 255, 255, 0.18);
|
|
60
|
+
--clado-agent-danger: #fb7185;
|
|
61
|
+
--clado-agent-shadow:
|
|
62
|
+
0 14px 34px rgba(0, 0, 0, 0.42),
|
|
63
|
+
0 0 0 0.5px rgba(0, 0, 0, 0.45),
|
|
64
|
+
inset 0 1px 0 var(--clado-agent-highlight),
|
|
65
|
+
inset 0 0 18px rgba(255, 255, 255, 0.04);
|
|
66
|
+
--clado-agent-pill-shadow:
|
|
67
|
+
0 6px 16px rgba(0, 0, 0, 0.32),
|
|
68
|
+
0 0 0 0.5px rgba(0, 0, 0, 0.45),
|
|
69
|
+
inset 0 1px 0 var(--clado-agent-highlight);
|
|
70
|
+
--clado-agent-send-bg: #e2e8f0;
|
|
71
|
+
--clado-agent-send-fg: #111318;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/* 直接附着式真冰晶毛玻璃:
|
|
75
|
+
backdrop-filter 直接挂在玻璃元素自身上,外层包装器绝不使用 opacity < 1、filter 或 overflow:auto,
|
|
76
|
+
彻底消除浏览器 Backdrop Root 导致的展开延迟模糊与灰底色带问题。 */
|
|
77
|
+
.clado-agent-glass {
|
|
2
78
|
position: relative;
|
|
3
|
-
|
|
79
|
+
background: var(--clado-agent-surface);
|
|
80
|
+
backdrop-filter: var(--clado-agent-filter);
|
|
81
|
+
-webkit-backdrop-filter: var(--clado-agent-filter);
|
|
82
|
+
border: 1px solid var(--clado-agent-outline);
|
|
83
|
+
box-shadow: var(--clado-agent-shadow);
|
|
84
|
+
color: var(--clado-ui-text);
|
|
4
85
|
}
|
|
5
|
-
|
|
6
|
-
|
|
86
|
+
|
|
87
|
+
/* ============ 右下角冰晶灵感坞(桌面右下悬浮,小屏自适应防溢出) ============ */
|
|
88
|
+
.clado-agent-dock {
|
|
89
|
+
width: min(468px, calc(100vw - 24px));
|
|
90
|
+
max-width: 100%;
|
|
91
|
+
display: flex;
|
|
92
|
+
flex-direction: column;
|
|
93
|
+
gap: 7px;
|
|
94
|
+
min-width: 0;
|
|
95
|
+
pointer-events: none;
|
|
96
|
+
box-sizing: border-box;
|
|
97
|
+
transform-origin: bottom right;
|
|
98
|
+
}
|
|
99
|
+
.clado-agent-dock *,
|
|
100
|
+
.clado-agent-overlay *,
|
|
101
|
+
.clado-agent-ctx-menu *,
|
|
102
|
+
.clado-model-menu * {
|
|
103
|
+
box-sizing: border-box;
|
|
104
|
+
}
|
|
105
|
+
.clado-agent-dock > * {
|
|
106
|
+
pointer-events: auto;
|
|
107
|
+
min-width: 0;
|
|
108
|
+
max-width: 100%;
|
|
109
|
+
}
|
|
110
|
+
.clado-agent-dock[hidden] {
|
|
111
|
+
display: none !important;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.clado-agent-dock .clado-cmd-approve-bar,
|
|
115
|
+
.clado-agent-dock .clado-single-panel,
|
|
116
|
+
.clado-agent-dock .clado-peer-pill,
|
|
117
|
+
.clado-agent-dock .clado-peer-add-btn,
|
|
118
|
+
.clado-agent-dock .clado-agent-shell {
|
|
119
|
+
transition:
|
|
120
|
+
opacity 260ms var(--clado-ease-spring),
|
|
121
|
+
transform 300ms var(--clado-ease-spring),
|
|
122
|
+
box-shadow 300ms var(--clado-ease-spring),
|
|
123
|
+
--ring-half 380ms var(--clado-ease-spring),
|
|
124
|
+
--ring-feather 380ms var(--clado-ease-spring),
|
|
125
|
+
--ring-color 300ms ease;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.clado-agent-dock.minimized {
|
|
129
|
+
pointer-events: none;
|
|
130
|
+
}
|
|
131
|
+
.clado-agent-dock.minimized * {
|
|
132
|
+
pointer-events: none !important;
|
|
133
|
+
}
|
|
134
|
+
.clado-agent-dock.minimized .clado-single-wrap {
|
|
135
|
+
grid-template-rows: 0fr !important;
|
|
136
|
+
pointer-events: none !important;
|
|
137
|
+
}
|
|
138
|
+
.clado-agent-dock.minimized .clado-cmd-approve-bar,
|
|
139
|
+
.clado-agent-dock.minimized .clado-single-panel,
|
|
140
|
+
.clado-agent-dock.minimized .clado-single-wrap.open .clado-single-panel,
|
|
141
|
+
.clado-agent-dock.minimized .clado-peer-pill,
|
|
142
|
+
.clado-agent-dock.minimized .clado-peer-add-btn,
|
|
143
|
+
.clado-agent-dock.minimized .clado-agent-shell {
|
|
144
|
+
opacity: 0 !important;
|
|
145
|
+
transform: translate3d(24px, 16px, 0) scale(0.86) !important;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
/* 右下角收起态灵感悬浮球(绝对定位于右下角同槽位,展开态零高度占位) */
|
|
149
|
+
.clado-agent-orb-wrap {
|
|
150
|
+
position: absolute;
|
|
151
|
+
right: 0;
|
|
152
|
+
bottom: 0;
|
|
153
|
+
z-index: 4;
|
|
154
|
+
pointer-events: none;
|
|
155
|
+
}
|
|
156
|
+
.clado-agent-orb {
|
|
157
|
+
appearance: none;
|
|
7
158
|
display: inline-flex;
|
|
8
159
|
align-items: center;
|
|
9
160
|
gap: 7px;
|
|
10
|
-
|
|
161
|
+
height: 42px;
|
|
162
|
+
padding: 0 14px;
|
|
11
163
|
border-radius: 15px;
|
|
12
164
|
color: var(--clado-ui-text);
|
|
13
|
-
font
|
|
165
|
+
font: inherit;
|
|
166
|
+
font-size: 13px;
|
|
167
|
+
font-weight: 580;
|
|
168
|
+
cursor: pointer;
|
|
169
|
+
white-space: nowrap;
|
|
170
|
+
opacity: 0;
|
|
171
|
+
pointer-events: none;
|
|
172
|
+
transform: scale(0.75) translateY(6px);
|
|
173
|
+
transition: opacity 260ms var(--clado-ease-spring), transform 300ms var(--clado-ease-spring);
|
|
14
174
|
}
|
|
15
|
-
.clado-agent-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
stroke: currentColor;
|
|
20
|
-
stroke-width: 1.65;
|
|
21
|
-
stroke-linejoin: round;
|
|
175
|
+
.clado-agent-orb.show {
|
|
176
|
+
opacity: 1;
|
|
177
|
+
pointer-events: auto;
|
|
178
|
+
transform: scale(1) translateY(0);
|
|
22
179
|
}
|
|
23
|
-
.clado-agent-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
width: min(416px, calc(100vw - 32px));
|
|
28
|
-
height: min(600px, calc(100dvh - 156px));
|
|
29
|
-
min-height: 260px;
|
|
30
|
-
border-radius: 22px;
|
|
31
|
-
display: flex;
|
|
32
|
-
flex-direction: column;
|
|
33
|
-
overflow: visible;
|
|
180
|
+
.clado-agent-orb-star {
|
|
181
|
+
color: var(--clado-ui-brand);
|
|
182
|
+
font-size: 13px;
|
|
183
|
+
line-height: 1;
|
|
34
184
|
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
185
|
+
|
|
186
|
+
/* ============ 折叠包装器与命令审批条(minmax(0, 1fr) 严防长命令撑出移动端视口) ============ */
|
|
187
|
+
.clado-collapse-wrap {
|
|
188
|
+
display: grid;
|
|
189
|
+
grid-template-columns: minmax(0, 1fr);
|
|
190
|
+
grid-template-rows: 1fr;
|
|
191
|
+
width: 100%;
|
|
192
|
+
min-width: 0;
|
|
193
|
+
transition: grid-template-rows 280ms var(--clado-ease-spring);
|
|
42
194
|
}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
195
|
+
.clado-collapse-wrap.closed {
|
|
196
|
+
grid-template-rows: 0fr;
|
|
197
|
+
pointer-events: none;
|
|
46
198
|
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
199
|
+
.clado-collapse-inner {
|
|
200
|
+
overflow: visible;
|
|
201
|
+
min-height: 0;
|
|
202
|
+
min-width: 0;
|
|
203
|
+
width: 100%;
|
|
50
204
|
}
|
|
51
|
-
.clado-
|
|
52
|
-
|
|
53
|
-
position: absolute;
|
|
54
|
-
inset: 0;
|
|
55
|
-
pointer-events: none;
|
|
56
|
-
z-index: -1;
|
|
205
|
+
.clado-collapse-wrap.closed .clado-collapse-inner {
|
|
206
|
+
overflow: hidden;
|
|
57
207
|
}
|
|
58
|
-
.clado-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
position: absolute;
|
|
62
|
-
left: 50%;
|
|
63
|
-
bottom: -.5px;
|
|
64
|
-
width: 86%;
|
|
65
|
-
height: 2px;
|
|
66
|
-
border-radius: 99px;
|
|
67
|
-
transform: translateX(-50%);
|
|
68
|
-
background: linear-gradient(90deg, transparent 0%, rgba(56,189,248,.28) 12%, rgba(56,189,248,.68) 28%, rgba(129,140,248,.92) 50%, rgba(232,121,249,.62) 72%, rgba(244,114,182,.24) 88%, transparent 100%);
|
|
208
|
+
.clado-collapse-wrap.closed .clado-cmd-approve-bar {
|
|
209
|
+
opacity: 0;
|
|
210
|
+
transform: translateY(6px) scale(0.98);
|
|
69
211
|
}
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
transform-origin: 50% 0%;
|
|
78
|
-
transform: translateX(-50%);
|
|
79
|
-
background:
|
|
80
|
-
radial-gradient(ellipse 36% 48% at 30% 10%, rgba(56,189,248,.34) 0%, rgba(56,189,248,.10) 48%, transparent 76%),
|
|
81
|
-
radial-gradient(ellipse 34% 56% at 50% 8%, rgba(139,92,246,.36) 0%, rgba(139,92,246,.10) 46%, transparent 74%),
|
|
82
|
-
radial-gradient(ellipse 34% 46% at 70% 10%, rgba(244,114,182,.26) 0%, rgba(244,114,182,.08) 44%, transparent 72%);
|
|
83
|
-
mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.44) 12%, #000 32%, #000 68%, rgba(0,0,0,.44) 88%, transparent 100%);
|
|
84
|
-
-webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.44) 12%, #000 32%, #000 68%, rgba(0,0,0,.44) 88%, transparent 100%);
|
|
85
|
-
animation: clado-agent-aura-breathe 2.9s ease-in-out infinite, clado-agent-aura-drift 5.5s ease-in-out infinite;
|
|
86
|
-
}
|
|
87
|
-
.clado-agent-panel header {
|
|
212
|
+
|
|
213
|
+
.clado-cmd-approve-bar {
|
|
214
|
+
width: 100%;
|
|
215
|
+
min-width: 0;
|
|
216
|
+
max-width: 100%;
|
|
217
|
+
border-radius: 15px;
|
|
218
|
+
padding: 6px 8px 6px 11px;
|
|
88
219
|
display: flex;
|
|
89
220
|
align-items: center;
|
|
90
221
|
justify-content: space-between;
|
|
91
|
-
gap:
|
|
92
|
-
|
|
222
|
+
gap: 6px;
|
|
223
|
+
font-size: 11.5px;
|
|
93
224
|
}
|
|
94
|
-
.clado-
|
|
225
|
+
.clado-cmd-approve-copy {
|
|
226
|
+
flex: 1 1 0%;
|
|
95
227
|
min-width: 0;
|
|
96
|
-
|
|
97
|
-
|
|
228
|
+
overflow: hidden;
|
|
229
|
+
text-overflow: ellipsis;
|
|
230
|
+
white-space: nowrap;
|
|
231
|
+
}
|
|
232
|
+
.clado-cmd-approve-copy code {
|
|
233
|
+
padding: 1px 5px;
|
|
234
|
+
border-radius: 6px;
|
|
235
|
+
background: var(--clado-agent-well);
|
|
236
|
+
border: 0.5px solid var(--clado-agent-well-border);
|
|
237
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
238
|
+
font-size: 11px;
|
|
98
239
|
}
|
|
99
|
-
.clado-
|
|
240
|
+
.clado-cmd-approve-actions {
|
|
100
241
|
display: flex;
|
|
101
242
|
align-items: center;
|
|
102
|
-
gap:
|
|
103
|
-
flex:
|
|
104
|
-
}
|
|
105
|
-
.clado-agent-header-actions .clado-ui-button {
|
|
106
|
-
min-height: 28px;
|
|
107
|
-
padding: 2px 9px;
|
|
108
|
-
font-size: 12px;
|
|
109
|
-
border-radius: 9px;
|
|
243
|
+
gap: 4px;
|
|
244
|
+
flex: 0 0 auto;
|
|
110
245
|
}
|
|
111
|
-
.clado-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
246
|
+
.clado-cmd-btn {
|
|
247
|
+
appearance: none;
|
|
248
|
+
font: inherit;
|
|
249
|
+
font-size: 11px;
|
|
250
|
+
padding: 3.5px 8px;
|
|
251
|
+
border-radius: 8px;
|
|
252
|
+
white-space: nowrap;
|
|
253
|
+
cursor: pointer;
|
|
254
|
+
transition: opacity 140ms ease, transform 120ms ease;
|
|
115
255
|
}
|
|
116
|
-
.clado-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
height: 6px;
|
|
120
|
-
border-radius: 50%;
|
|
256
|
+
.clado-cmd-btn:active { transform: scale(0.96); }
|
|
257
|
+
.clado-cmd-btn.allow {
|
|
258
|
+
border: 0;
|
|
121
259
|
background: var(--clado-ui-brand);
|
|
122
|
-
|
|
260
|
+
color: #fff;
|
|
261
|
+
font-weight: 600;
|
|
123
262
|
}
|
|
124
|
-
.clado-
|
|
263
|
+
.clado-cmd-btn.session {
|
|
264
|
+
border: 1px solid var(--clado-agent-well-border);
|
|
265
|
+
background: var(--clado-agent-well);
|
|
125
266
|
color: var(--clado-ui-text);
|
|
126
|
-
font-weight:
|
|
267
|
+
font-weight: 550;
|
|
268
|
+
padding-inline: 7px;
|
|
127
269
|
}
|
|
128
|
-
.clado-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
270
|
+
.clado-cmd-btn.deny {
|
|
271
|
+
border: 0;
|
|
272
|
+
background: transparent;
|
|
273
|
+
color: var(--clado-agent-danger);
|
|
274
|
+
font-weight: 550;
|
|
275
|
+
padding-inline: 5px;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
/* ============ 单人视角详情抽屉 ============ */
|
|
279
|
+
.clado-single-wrap {
|
|
280
|
+
display: grid;
|
|
281
|
+
grid-template-columns: minmax(0, 1fr);
|
|
282
|
+
grid-template-rows: 0fr;
|
|
283
|
+
pointer-events: none;
|
|
284
|
+
width: 100%;
|
|
285
|
+
min-width: 0;
|
|
286
|
+
transition: grid-template-rows 300ms var(--clado-ease-spring);
|
|
287
|
+
}
|
|
288
|
+
.clado-single-wrap.open {
|
|
289
|
+
grid-template-rows: 1fr;
|
|
290
|
+
pointer-events: auto;
|
|
291
|
+
}
|
|
292
|
+
.clado-single-clip {
|
|
134
293
|
overflow: hidden;
|
|
135
|
-
|
|
294
|
+
min-height: 0;
|
|
295
|
+
min-width: 0;
|
|
296
|
+
width: 100%;
|
|
297
|
+
padding: 12px 0;
|
|
298
|
+
margin: -12px 0;
|
|
136
299
|
}
|
|
137
|
-
.clado-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
overflow: auto;
|
|
141
|
-
margin: 0 12px 6px;
|
|
142
|
-
padding: 6px;
|
|
143
|
-
border: 1px solid var(--clado-ui-well-border);
|
|
144
|
-
border-radius: 13px;
|
|
145
|
-
background: var(--clado-ui-well);
|
|
300
|
+
.clado-single-panel {
|
|
301
|
+
width: 100%;
|
|
302
|
+
min-width: 0;
|
|
146
303
|
display: flex;
|
|
147
304
|
flex-direction: column;
|
|
148
|
-
gap:
|
|
305
|
+
gap: 8px;
|
|
306
|
+
border-radius: 22px;
|
|
307
|
+
padding: 11px 12px;
|
|
308
|
+
opacity: 0;
|
|
309
|
+
transform: translateY(8px);
|
|
310
|
+
transform-origin: bottom center;
|
|
149
311
|
}
|
|
150
|
-
.clado-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
font-size: 11.5px;
|
|
154
|
-
color: var(--clado-ui-muted);
|
|
155
|
-
text-align: center;
|
|
312
|
+
.clado-single-wrap.open .clado-single-panel {
|
|
313
|
+
opacity: 1;
|
|
314
|
+
transform: translateY(0);
|
|
156
315
|
}
|
|
157
|
-
.clado-
|
|
316
|
+
.clado-sp-body-fade {
|
|
158
317
|
display: flex;
|
|
159
|
-
|
|
160
|
-
gap:
|
|
161
|
-
|
|
162
|
-
transition:
|
|
318
|
+
flex-direction: column;
|
|
319
|
+
gap: 8px;
|
|
320
|
+
min-width: 0;
|
|
321
|
+
transition: opacity 150ms ease, transform 170ms var(--clado-ease-spring);
|
|
322
|
+
}
|
|
323
|
+
.clado-sp-body-fade.switching {
|
|
324
|
+
opacity: 0.25;
|
|
325
|
+
transform: translateY(3px);
|
|
163
326
|
}
|
|
164
|
-
|
|
165
|
-
|
|
327
|
+
|
|
328
|
+
/* 保留兼容钩子与底部柔光选择符 */
|
|
329
|
+
.clado-ai-aura {
|
|
330
|
+
display: none;
|
|
331
|
+
position: absolute;
|
|
332
|
+
inset: 0;
|
|
333
|
+
pointer-events: none;
|
|
334
|
+
z-index: -1;
|
|
166
335
|
}
|
|
167
|
-
.clado-agent-
|
|
168
|
-
|
|
169
|
-
|
|
336
|
+
.clado-agent-panel.clado-ai-working > .clado-ai-aura { display: block; }
|
|
337
|
+
|
|
338
|
+
.clado-sp-header {
|
|
339
|
+
display: flex;
|
|
340
|
+
align-items: center;
|
|
341
|
+
justify-content: space-between;
|
|
342
|
+
gap: 6px;
|
|
343
|
+
flex-wrap: wrap;
|
|
170
344
|
}
|
|
171
|
-
.clado-
|
|
172
|
-
flex: 1;
|
|
173
|
-
min-width: 0;
|
|
174
|
-
border: 0;
|
|
175
|
-
background: transparent;
|
|
176
|
-
color: var(--clado-ui-text);
|
|
177
|
-
text-align: left;
|
|
178
|
-
padding: 6px 8px;
|
|
179
|
-
cursor: pointer;
|
|
345
|
+
.clado-sp-title-group {
|
|
180
346
|
display: flex;
|
|
181
|
-
|
|
182
|
-
gap:
|
|
183
|
-
|
|
347
|
+
align-items: center;
|
|
348
|
+
gap: 6px;
|
|
349
|
+
min-width: 0;
|
|
350
|
+
flex: 1 1 auto;
|
|
184
351
|
}
|
|
185
|
-
.clado-
|
|
186
|
-
font-size:
|
|
187
|
-
font-weight:
|
|
352
|
+
.clado-sp-name {
|
|
353
|
+
font-size: 13.5px;
|
|
354
|
+
font-weight: 650;
|
|
188
355
|
white-space: nowrap;
|
|
189
356
|
overflow: hidden;
|
|
190
357
|
text-overflow: ellipsis;
|
|
358
|
+
max-width: 150px;
|
|
191
359
|
}
|
|
192
|
-
.clado-
|
|
360
|
+
.clado-tag-pill {
|
|
361
|
+
display: inline-flex;
|
|
362
|
+
align-items: center;
|
|
363
|
+
padding: 1px 6.5px;
|
|
364
|
+
border-radius: 6px;
|
|
193
365
|
font-size: 10.5px;
|
|
194
|
-
color: var(--clado-ui-subtle);
|
|
195
|
-
}
|
|
196
|
-
.clado-agent-session-open small.waiting {
|
|
197
|
-
color: #b45309;
|
|
198
366
|
font-weight: 600;
|
|
367
|
+
line-height: 1.5;
|
|
368
|
+
white-space: nowrap;
|
|
369
|
+
flex: none;
|
|
199
370
|
}
|
|
200
|
-
|
|
201
|
-
|
|
371
|
+
.clado-tag-blue { background: rgba(59, 130, 246, 0.13); color: #2563eb; }
|
|
372
|
+
.clado-tag-teal { background: rgba(16, 185, 129, 0.13); color: #059669; }
|
|
373
|
+
.clado-tag-violet { background: rgba(139, 92, 246, 0.13); color: #7c3aed; }
|
|
374
|
+
.clado-tag-amber { background: rgba(245, 158, 11, 0.15); color: #d97706; }
|
|
375
|
+
:root[data-theme="dark"] .clado-tag-blue { color: #60a5fa; }
|
|
376
|
+
:root[data-theme="dark"] .clado-tag-teal { color: #34d399; }
|
|
377
|
+
:root[data-theme="dark"] .clado-tag-violet { color: #c4b5fd; }
|
|
378
|
+
:root[data-theme="dark"] .clado-tag-amber { color: #fbbf24; }
|
|
379
|
+
|
|
380
|
+
.clado-sp-actions {
|
|
381
|
+
display: flex;
|
|
382
|
+
align-items: center;
|
|
383
|
+
gap: 3px;
|
|
384
|
+
flex-wrap: wrap;
|
|
202
385
|
}
|
|
203
|
-
|
|
204
|
-
|
|
386
|
+
|
|
387
|
+
.clado-tab-group {
|
|
388
|
+
display: inline-flex;
|
|
389
|
+
gap: 2px;
|
|
390
|
+
padding: 2px;
|
|
391
|
+
border-radius: 10px;
|
|
392
|
+
background: var(--clado-agent-track);
|
|
393
|
+
border: 0.5px solid var(--clado-agent-well-border);
|
|
394
|
+
}
|
|
395
|
+
.clado-tab-btn {
|
|
396
|
+
appearance: none;
|
|
397
|
+
border: 1px solid transparent;
|
|
205
398
|
background: transparent;
|
|
206
399
|
color: var(--clado-ui-muted);
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
400
|
+
font: inherit;
|
|
401
|
+
font-size: 11px;
|
|
402
|
+
font-weight: 520;
|
|
403
|
+
padding: 3px 8px;
|
|
404
|
+
border-radius: 8px;
|
|
210
405
|
cursor: pointer;
|
|
211
|
-
|
|
212
|
-
|
|
406
|
+
white-space: nowrap;
|
|
407
|
+
transition: background-color 180ms var(--clado-ease-spring), border-color 180ms ease, color 160ms ease, box-shadow 180ms var(--clado-ease-spring), transform 120ms ease;
|
|
213
408
|
}
|
|
214
|
-
.clado-
|
|
409
|
+
.clado-tab-btn:active { transform: scale(0.96); }
|
|
410
|
+
.clado-tab-btn.active {
|
|
215
411
|
color: var(--clado-ui-text);
|
|
216
|
-
|
|
412
|
+
font-weight: 620;
|
|
413
|
+
background: var(--clado-agent-active);
|
|
414
|
+
border-color: var(--clado-agent-outline);
|
|
415
|
+
box-shadow: var(--clado-agent-active-shadow);
|
|
217
416
|
}
|
|
218
417
|
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
border:
|
|
418
|
+
.clado-icon-act {
|
|
419
|
+
appearance: none;
|
|
420
|
+
border: 1px solid transparent;
|
|
421
|
+
background: transparent;
|
|
422
|
+
color: var(--clado-ui-muted);
|
|
423
|
+
font: inherit;
|
|
424
|
+
font-size: 11.5px;
|
|
425
|
+
font-weight: 540;
|
|
426
|
+
padding: 3.5px 7px;
|
|
427
|
+
border-radius: 8px;
|
|
428
|
+
cursor: pointer;
|
|
429
|
+
white-space: nowrap;
|
|
430
|
+
transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
|
|
229
431
|
}
|
|
230
|
-
.clado-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
text-align: center;
|
|
432
|
+
.clado-icon-act:hover,
|
|
433
|
+
.clado-icon-act:active,
|
|
434
|
+
.clado-icon-act[aria-pressed="true"] {
|
|
435
|
+
background: var(--clado-agent-active);
|
|
436
|
+
border-color: var(--clado-agent-outline);
|
|
437
|
+
color: var(--clado-ui-text);
|
|
237
438
|
}
|
|
238
|
-
.clado-
|
|
239
|
-
|
|
439
|
+
.clado-icon-act.del:hover {
|
|
440
|
+
color: var(--clado-agent-danger);
|
|
240
441
|
}
|
|
241
442
|
|
|
242
|
-
/*
|
|
243
|
-
.clado-
|
|
244
|
-
.clado-agent-executor-bar {
|
|
245
|
-
position: relative;
|
|
246
|
-
z-index: 20;
|
|
443
|
+
/* 二级模式与 ACP 执行器紧凑栏 */
|
|
444
|
+
.clado-sp-subbar {
|
|
247
445
|
display: flex;
|
|
248
446
|
align-items: center;
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
447
|
+
justify-content: space-between;
|
|
448
|
+
gap: 6px;
|
|
449
|
+
flex-wrap: wrap;
|
|
450
|
+
}
|
|
451
|
+
.clado-sp-workflows {
|
|
452
|
+
display: inline-flex;
|
|
453
|
+
gap: 2px;
|
|
454
|
+
padding: 2px;
|
|
455
|
+
border-radius: 10px;
|
|
456
|
+
background: var(--clado-agent-track);
|
|
457
|
+
border: 0.5px solid var(--clado-agent-well-border);
|
|
458
|
+
max-width: 100%;
|
|
459
|
+
overflow-x: auto;
|
|
460
|
+
}
|
|
461
|
+
.clado-sp-executor-wrap {
|
|
462
|
+
position: relative;
|
|
463
|
+
flex: 1 1 140px;
|
|
464
|
+
min-width: 120px;
|
|
465
|
+
z-index: 30;
|
|
254
466
|
}
|
|
255
|
-
.clado-
|
|
256
|
-
|
|
467
|
+
.clado-sp-executor-wrap[hidden] { display: none !important; }
|
|
468
|
+
|
|
469
|
+
/* 毛玻璃下拉组件 */
|
|
257
470
|
.clado-agent-select-native {
|
|
258
471
|
position: absolute !important;
|
|
259
472
|
width: 1px !important;
|
|
@@ -264,7 +477,7 @@
|
|
|
264
477
|
}
|
|
265
478
|
.clado-glass-dropdown {
|
|
266
479
|
position: relative;
|
|
267
|
-
|
|
480
|
+
width: 100%;
|
|
268
481
|
min-width: 0;
|
|
269
482
|
}
|
|
270
483
|
.clado-glass-dropdown-trigger {
|
|
@@ -273,36 +486,23 @@
|
|
|
273
486
|
display: flex;
|
|
274
487
|
align-items: center;
|
|
275
488
|
justify-content: space-between;
|
|
276
|
-
gap:
|
|
277
|
-
min-height:
|
|
278
|
-
padding:
|
|
279
|
-
border-radius:
|
|
280
|
-
border: 1px solid var(--clado-
|
|
281
|
-
background: var(--clado-
|
|
489
|
+
gap: 6px;
|
|
490
|
+
min-height: 28px;
|
|
491
|
+
padding: 4px 9px;
|
|
492
|
+
border-radius: 9px;
|
|
493
|
+
border: 1px solid var(--clado-agent-well-border);
|
|
494
|
+
background: var(--clado-agent-well);
|
|
282
495
|
color: var(--clado-ui-text);
|
|
283
496
|
font: inherit;
|
|
284
|
-
font-size:
|
|
497
|
+
font-size: 11.5px;
|
|
285
498
|
font-weight: 550;
|
|
286
499
|
text-align: left;
|
|
287
500
|
cursor: pointer;
|
|
288
|
-
box-shadow: inset 0 1px 0 rgb(255 255 255 / .42);
|
|
289
|
-
transition: background 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
|
|
290
|
-
}
|
|
291
|
-
[data-theme="dark"] .clado-glass-dropdown-trigger {
|
|
292
|
-
box-shadow: inset 0 1px 0 rgb(255 255 255 / .06);
|
|
293
|
-
}
|
|
294
|
-
.clado-glass-dropdown-trigger:hover:not(:disabled) {
|
|
295
|
-
background: var(--clado-ui-hover);
|
|
296
|
-
border-color: var(--clado-ui-glass-outline);
|
|
297
|
-
}
|
|
298
|
-
.clado-glass-dropdown-trigger:disabled {
|
|
299
|
-
opacity: .5;
|
|
300
|
-
cursor: default;
|
|
301
501
|
}
|
|
302
502
|
.clado-glass-dropdown-value {
|
|
303
503
|
display: flex;
|
|
304
504
|
align-items: center;
|
|
305
|
-
gap:
|
|
505
|
+
gap: 6px;
|
|
306
506
|
min-width: 0;
|
|
307
507
|
flex: 1;
|
|
308
508
|
}
|
|
@@ -312,14 +512,14 @@
|
|
|
312
512
|
white-space: nowrap;
|
|
313
513
|
}
|
|
314
514
|
.clado-glass-dropdown-dot {
|
|
315
|
-
width:
|
|
316
|
-
height:
|
|
515
|
+
width: 6px;
|
|
516
|
+
height: 6px;
|
|
317
517
|
border-radius: 50%;
|
|
318
518
|
flex: none;
|
|
319
519
|
}
|
|
320
520
|
.clado-glass-dropdown-chevron {
|
|
321
|
-
width:
|
|
322
|
-
height:
|
|
521
|
+
width: 13px;
|
|
522
|
+
height: 13px;
|
|
323
523
|
fill: none;
|
|
324
524
|
stroke: var(--clado-ui-subtle);
|
|
325
525
|
stroke-width: 2;
|
|
@@ -328,117 +528,174 @@
|
|
|
328
528
|
flex: none;
|
|
329
529
|
transition: transform 180ms ease;
|
|
330
530
|
}
|
|
331
|
-
.clado-glass-dropdown.open .clado-glass-dropdown-chevron {
|
|
332
|
-
transform: rotate(180deg);
|
|
333
|
-
}
|
|
334
|
-
/* 展开浮层使用清晰高可读磨砂底色(84%/88%),绝不与下方对话文字打架 */
|
|
531
|
+
.clado-glass-dropdown.open .clado-glass-dropdown-chevron { transform: rotate(180deg); }
|
|
335
532
|
.clado-glass-dropdown-menu {
|
|
336
533
|
position: absolute;
|
|
337
534
|
left: 0;
|
|
338
535
|
right: 0;
|
|
339
|
-
top: calc(100% +
|
|
340
|
-
padding:
|
|
341
|
-
border-radius:
|
|
342
|
-
background: var(--clado-
|
|
536
|
+
top: calc(100% + 5px);
|
|
537
|
+
padding: 5px;
|
|
538
|
+
border-radius: 14px;
|
|
539
|
+
background: var(--clado-agent-popover);
|
|
343
540
|
backdrop-filter: blur(24px) saturate(185%);
|
|
344
541
|
-webkit-backdrop-filter: blur(24px) saturate(185%);
|
|
345
|
-
border: 1px solid var(--clado-
|
|
346
|
-
box-shadow:
|
|
542
|
+
border: 1px solid var(--clado-agent-outline);
|
|
543
|
+
box-shadow: var(--clado-agent-shadow);
|
|
347
544
|
display: flex;
|
|
348
545
|
flex-direction: column;
|
|
349
|
-
gap:
|
|
546
|
+
gap: 2px;
|
|
350
547
|
z-index: 60;
|
|
351
548
|
}
|
|
352
|
-
.clado-glass-dropdown-menu[hidden] { display: none; }
|
|
549
|
+
.clado-glass-dropdown-menu[hidden] { display: none !important; }
|
|
353
550
|
.clado-glass-dropdown-option {
|
|
354
551
|
width: 100%;
|
|
355
552
|
display: flex;
|
|
356
553
|
align-items: center;
|
|
357
|
-
gap:
|
|
358
|
-
padding:
|
|
359
|
-
border-radius:
|
|
554
|
+
gap: 8px;
|
|
555
|
+
padding: 6px 9px;
|
|
556
|
+
border-radius: 9px;
|
|
360
557
|
text-align: left;
|
|
361
558
|
white-space: normal;
|
|
362
559
|
color: var(--clado-ui-text);
|
|
560
|
+
font-size: 12px;
|
|
363
561
|
}
|
|
364
562
|
.clado-glass-dropdown-copy {
|
|
365
563
|
flex: 1;
|
|
366
564
|
min-width: 0;
|
|
367
565
|
display: flex;
|
|
368
566
|
flex-direction: column;
|
|
369
|
-
gap: 2px;
|
|
370
|
-
}
|
|
371
|
-
.clado-glass-dropdown-copy strong {
|
|
372
|
-
font-size: 12.5px;
|
|
373
|
-
font-weight: 560;
|
|
374
|
-
color: var(--clado-ui-text);
|
|
375
|
-
}
|
|
376
|
-
.clado-glass-dropdown-option[aria-selected="true"] .clado-glass-dropdown-copy strong {
|
|
377
|
-
font-weight: 640;
|
|
378
|
-
}
|
|
379
|
-
.clado-glass-dropdown-copy small {
|
|
380
|
-
font-size: 10.5px;
|
|
381
|
-
color: var(--clado-ui-subtle);
|
|
382
|
-
line-height: 1.35;
|
|
383
567
|
}
|
|
568
|
+
.clado-glass-dropdown-copy strong { font-size: 12px; font-weight: 560; }
|
|
569
|
+
.clado-glass-dropdown-copy small { font-size: 10.5px; color: var(--clado-ui-subtle); }
|
|
384
570
|
.clado-glass-dropdown-check {
|
|
385
571
|
color: var(--clado-ui-brand);
|
|
386
|
-
font-size:
|
|
572
|
+
font-size: 11.5px;
|
|
387
573
|
font-weight: 700;
|
|
388
574
|
visibility: hidden;
|
|
575
|
+
}
|
|
576
|
+
.clado-glass-dropdown-option[aria-selected="true"] .clado-glass-dropdown-check { visibility: visible; }
|
|
577
|
+
|
|
578
|
+
.clado-plan-banner {
|
|
579
|
+
padding: 5px 9px;
|
|
580
|
+
border-radius: 10px;
|
|
581
|
+
background: rgba(245, 158, 11, 0.13);
|
|
582
|
+
color: #d97706;
|
|
583
|
+
font-size: 11px;
|
|
584
|
+
line-height: 1.45;
|
|
585
|
+
}
|
|
586
|
+
:root[data-theme="dark"] .clado-plan-banner { color: #fbbf24; }
|
|
587
|
+
|
|
588
|
+
.clado-todo-box {
|
|
589
|
+
padding: 6px 10px;
|
|
590
|
+
border-radius: 11px;
|
|
591
|
+
background: var(--clado-agent-well);
|
|
592
|
+
border: 1px solid var(--clado-agent-well-border);
|
|
593
|
+
cursor: pointer;
|
|
594
|
+
font-size: 11.5px;
|
|
595
|
+
}
|
|
596
|
+
.clado-todo-box[hidden] { display: none !important; }
|
|
597
|
+
.clado-todo-head {
|
|
598
|
+
display: flex;
|
|
599
|
+
align-items: center;
|
|
600
|
+
justify-content: space-between;
|
|
601
|
+
gap: 8px;
|
|
602
|
+
}
|
|
603
|
+
.clado-todo-summary {
|
|
604
|
+
font-weight: 560;
|
|
605
|
+
overflow: hidden;
|
|
606
|
+
text-overflow: ellipsis;
|
|
607
|
+
white-space: nowrap;
|
|
608
|
+
}
|
|
609
|
+
.clado-todo-arrow {
|
|
610
|
+
font-size: 10px;
|
|
611
|
+
color: var(--clado-ui-subtle);
|
|
389
612
|
flex: none;
|
|
390
613
|
}
|
|
391
|
-
.clado-
|
|
392
|
-
|
|
614
|
+
.clado-todo-list {
|
|
615
|
+
margin-top: 6px;
|
|
616
|
+
padding-top: 6px;
|
|
617
|
+
border-top: 1px solid var(--clado-agent-edge);
|
|
618
|
+
font-size: 11px;
|
|
619
|
+
color: var(--clado-ui-muted);
|
|
620
|
+
line-height: 1.6;
|
|
393
621
|
}
|
|
394
622
|
|
|
623
|
+
/* 消息流 */
|
|
395
624
|
.clado-agent-log {
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
overflow: auto;
|
|
625
|
+
max-height: min(230px, 34dvh);
|
|
626
|
+
overflow-y: auto;
|
|
399
627
|
overscroll-behavior: contain;
|
|
400
|
-
padding: 13px;
|
|
401
628
|
display: flex;
|
|
402
629
|
flex-direction: column;
|
|
403
|
-
gap:
|
|
630
|
+
gap: 8px;
|
|
631
|
+
padding: 2px 2px;
|
|
632
|
+
touch-action: pan-y;
|
|
633
|
+
user-select: text;
|
|
634
|
+
-webkit-user-select: text;
|
|
404
635
|
}
|
|
405
636
|
.clado-agent-log::-webkit-scrollbar { width: 4px; }
|
|
406
|
-
.clado-agent-log::-webkit-scrollbar-thumb { background:
|
|
637
|
+
.clado-agent-log::-webkit-scrollbar-thumb { background: rgba(120, 130, 150, 0.24); border-radius: 99px; }
|
|
638
|
+
.clado-agent-log-empty {
|
|
639
|
+
padding: 10px 4px;
|
|
640
|
+
font-size: 12px;
|
|
641
|
+
color: var(--clado-ui-muted);
|
|
642
|
+
}
|
|
643
|
+
|
|
407
644
|
.clado-agent-message {
|
|
408
645
|
width: fit-content;
|
|
409
646
|
max-width: 100%;
|
|
410
|
-
border-radius:
|
|
411
|
-
padding:
|
|
647
|
+
border-radius: 14px;
|
|
648
|
+
padding: 6px 11px;
|
|
412
649
|
overflow-wrap: anywhere;
|
|
650
|
+
font-size: 12px;
|
|
413
651
|
}
|
|
414
652
|
.clado-agent-message.human {
|
|
415
|
-
align-self: end;
|
|
653
|
+
align-self: flex-end;
|
|
416
654
|
max-width: 88%;
|
|
417
|
-
border-radius:
|
|
418
|
-
background: var(--clado-
|
|
419
|
-
border: 1px solid var(--clado-
|
|
420
|
-
box-shadow: 0 2px
|
|
655
|
+
border-radius: 13px 13px 4px 13px;
|
|
656
|
+
background: var(--clado-agent-active);
|
|
657
|
+
border: 1px solid var(--clado-agent-outline);
|
|
658
|
+
box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
|
|
421
659
|
}
|
|
422
660
|
.clado-agent-message.assistant {
|
|
423
661
|
width: 100%;
|
|
424
|
-
padding
|
|
662
|
+
padding: 2px 2px;
|
|
425
663
|
}
|
|
426
|
-
.clado-agent-message strong,
|
|
664
|
+
.clado-agent-message strong,
|
|
665
|
+
.clado-agent-message small {
|
|
427
666
|
color: var(--clado-ui-muted);
|
|
428
|
-
font-size:
|
|
667
|
+
font-size: 10.5px;
|
|
668
|
+
display: block;
|
|
429
669
|
}
|
|
430
670
|
.clado-agent-message p {
|
|
431
|
-
margin:
|
|
671
|
+
margin: 2px 0 0;
|
|
432
672
|
white-space: pre-wrap;
|
|
433
|
-
line-height: 1.
|
|
673
|
+
line-height: 1.55;
|
|
674
|
+
color: var(--clado-ui-text);
|
|
434
675
|
}
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
padding:
|
|
438
|
-
border-radius:
|
|
439
|
-
|
|
440
|
-
|
|
676
|
+
|
|
677
|
+
.clado-peer-call-card {
|
|
678
|
+
padding: 7px 10px;
|
|
679
|
+
border-radius: 12px;
|
|
680
|
+
background: var(--clado-agent-well);
|
|
681
|
+
border: 1px solid var(--clado-agent-well-border);
|
|
441
682
|
font-size: 11.5px;
|
|
683
|
+
line-height: 1.45;
|
|
684
|
+
}
|
|
685
|
+
.clado-peer-call-head {
|
|
686
|
+
font-size: 10.5px;
|
|
687
|
+
font-weight: 650;
|
|
688
|
+
color: var(--clado-ui-brand);
|
|
689
|
+
margin-bottom: 2px;
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
.clado-agent-thinking {
|
|
693
|
+
margin: 4px 0 5px;
|
|
694
|
+
padding: 5px 9px;
|
|
695
|
+
border-radius: 10px;
|
|
696
|
+
border: 1px solid var(--clado-agent-well-border);
|
|
697
|
+
background: var(--clado-agent-well);
|
|
698
|
+
font-size: 11px;
|
|
442
699
|
}
|
|
443
700
|
.clado-agent-thinking summary {
|
|
444
701
|
cursor: pointer;
|
|
@@ -447,78 +704,78 @@
|
|
|
447
704
|
user-select: none;
|
|
448
705
|
}
|
|
449
706
|
.clado-agent-thinking pre {
|
|
450
|
-
margin:
|
|
707
|
+
margin: 5px 0 2px;
|
|
451
708
|
white-space: pre-wrap;
|
|
452
709
|
overflow-wrap: anywhere;
|
|
453
710
|
font-family: inherit;
|
|
454
|
-
font-size:
|
|
711
|
+
font-size: 11px;
|
|
455
712
|
line-height: 1.5;
|
|
456
713
|
color: var(--clado-ui-muted);
|
|
457
714
|
}
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
font-size: 11px;
|
|
467
|
-
font-weight: 600;
|
|
468
|
-
color: var(--clado-ui-muted);
|
|
469
|
-
margin-bottom: 5px;
|
|
715
|
+
|
|
716
|
+
.clado-changes-row {
|
|
717
|
+
margin-top: 6px;
|
|
718
|
+
display: flex;
|
|
719
|
+
align-items: center;
|
|
720
|
+
justify-content: space-between;
|
|
721
|
+
gap: 6px;
|
|
722
|
+
flex-wrap: wrap;
|
|
470
723
|
}
|
|
471
|
-
.clado-
|
|
724
|
+
.clado-changes-chips {
|
|
472
725
|
display: flex;
|
|
473
|
-
|
|
474
|
-
|
|
726
|
+
gap: 5px;
|
|
727
|
+
flex-wrap: wrap;
|
|
475
728
|
}
|
|
476
|
-
.clado-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
729
|
+
.clado-tool-chip {
|
|
730
|
+
appearance: none;
|
|
731
|
+
display: inline-flex;
|
|
732
|
+
align-items: center;
|
|
733
|
+
gap: 5px;
|
|
734
|
+
padding: 3.5px 9px;
|
|
735
|
+
border-radius: 999px;
|
|
736
|
+
background: var(--clado-agent-well);
|
|
737
|
+
border: 1px solid var(--clado-agent-well-border);
|
|
480
738
|
font: inherit;
|
|
481
|
-
font-size:
|
|
482
|
-
|
|
483
|
-
padding: 5px 7px;
|
|
484
|
-
border-radius: 8px;
|
|
739
|
+
font-size: 11px;
|
|
740
|
+
color: var(--clado-ui-muted);
|
|
485
741
|
cursor: pointer;
|
|
486
|
-
|
|
487
|
-
align-items: center;
|
|
488
|
-
gap: 7px;
|
|
489
|
-
transition: background 140ms ease, border-color 140ms ease;
|
|
742
|
+
transition: background-color 150ms ease, color 150ms ease, transform 130ms ease;
|
|
490
743
|
}
|
|
491
|
-
.clado-
|
|
492
|
-
|
|
493
|
-
|
|
744
|
+
.clado-tool-chip:hover,
|
|
745
|
+
.clado-tool-chip:active {
|
|
746
|
+
background: var(--clado-agent-active);
|
|
747
|
+
color: var(--clado-ui-text);
|
|
748
|
+
transform: scale(0.97);
|
|
494
749
|
}
|
|
495
|
-
.clado-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
border-radius: 50%;
|
|
499
|
-
background: #10b981;
|
|
500
|
-
flex: none;
|
|
750
|
+
.clado-tool-chip.rollback {
|
|
751
|
+
color: var(--clado-ui-brand);
|
|
752
|
+
font-weight: 560;
|
|
501
753
|
}
|
|
754
|
+
.clado-tool-chip.rollback.done {
|
|
755
|
+
color: #059669;
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
/* ask_user 决策卡片 */
|
|
502
759
|
.clado-agent-question {
|
|
503
|
-
margin-top:
|
|
504
|
-
padding: 10px
|
|
505
|
-
border-radius:
|
|
506
|
-
border: 1px solid var(--clado-
|
|
507
|
-
background: var(--clado-
|
|
508
|
-
box-shadow: inset 0 1px 0 var(--clado-
|
|
760
|
+
margin-top: 6px;
|
|
761
|
+
padding: 9px 10px;
|
|
762
|
+
border-radius: 13px;
|
|
763
|
+
border: 1px solid var(--clado-agent-outline);
|
|
764
|
+
background: var(--clado-agent-well);
|
|
765
|
+
box-shadow: inset 0 1px 0 var(--clado-agent-highlight);
|
|
509
766
|
display: flex;
|
|
510
767
|
flex-direction: column;
|
|
511
|
-
gap:
|
|
768
|
+
gap: 7px;
|
|
512
769
|
}
|
|
513
770
|
.clado-agent-question.answered {
|
|
514
|
-
border-color: var(--clado-
|
|
515
|
-
background: var(--clado-
|
|
771
|
+
border-color: var(--clado-agent-edge);
|
|
772
|
+
background: var(--clado-agent-track);
|
|
516
773
|
}
|
|
517
774
|
.clado-agent-question-badge {
|
|
518
775
|
display: inline-flex;
|
|
519
776
|
align-items: center;
|
|
520
777
|
gap: 6px;
|
|
521
|
-
font-size:
|
|
778
|
+
font-size: 10.5px;
|
|
522
779
|
font-weight: 620;
|
|
523
780
|
color: var(--clado-ui-text);
|
|
524
781
|
}
|
|
@@ -528,18 +785,10 @@
|
|
|
528
785
|
height: 6px;
|
|
529
786
|
border-radius: 50%;
|
|
530
787
|
background: #f59e0b;
|
|
531
|
-
flex: none;
|
|
532
|
-
}
|
|
533
|
-
.clado-agent-question.answered .clado-agent-question-badge {
|
|
534
|
-
color: var(--clado-ui-muted);
|
|
535
|
-
}
|
|
536
|
-
.clado-agent-question.answered .clado-agent-question-badge::before {
|
|
537
|
-
background: var(--clado-ui-muted);
|
|
538
788
|
}
|
|
539
789
|
.clado-agent-question-text {
|
|
540
|
-
font-size:
|
|
790
|
+
font-size: 12px;
|
|
541
791
|
line-height: 1.5;
|
|
542
|
-
color: var(--clado-ui-text);
|
|
543
792
|
font-weight: 500;
|
|
544
793
|
}
|
|
545
794
|
.clado-agent-question-options {
|
|
@@ -548,36 +797,26 @@
|
|
|
548
797
|
gap: 4px;
|
|
549
798
|
}
|
|
550
799
|
.clado-agent-option-btn {
|
|
800
|
+
appearance: none;
|
|
551
801
|
border: 1px solid transparent;
|
|
552
|
-
border-radius:
|
|
802
|
+
border-radius: 10px;
|
|
553
803
|
background: transparent;
|
|
554
804
|
color: var(--clado-ui-text);
|
|
555
|
-
padding:
|
|
805
|
+
padding: 7px 9px;
|
|
556
806
|
text-align: left;
|
|
557
807
|
cursor: pointer;
|
|
558
808
|
font: inherit;
|
|
559
809
|
display: flex;
|
|
560
810
|
flex-direction: column;
|
|
561
811
|
gap: 2px;
|
|
562
|
-
transition: background 140ms ease, border-color 140ms ease
|
|
812
|
+
transition: background 140ms ease, border-color 140ms ease;
|
|
563
813
|
}
|
|
564
814
|
.clado-agent-option-btn:hover:not(:disabled) {
|
|
565
|
-
background: var(--clado-
|
|
566
|
-
border-color: var(--clado-
|
|
567
|
-
box-shadow: var(--clado-ui-active-shadow);
|
|
568
|
-
}
|
|
569
|
-
.clado-agent-option-btn:disabled {
|
|
570
|
-
opacity: .55;
|
|
571
|
-
cursor: default;
|
|
572
|
-
}
|
|
573
|
-
.clado-agent-option-label {
|
|
574
|
-
font-size: 12px;
|
|
575
|
-
font-weight: 600;
|
|
576
|
-
}
|
|
577
|
-
.clado-agent-option-btn small {
|
|
578
|
-
font-size: 11px;
|
|
579
|
-
color: var(--clado-ui-muted);
|
|
815
|
+
background: var(--clado-agent-active);
|
|
816
|
+
border-color: var(--clado-agent-outline);
|
|
580
817
|
}
|
|
818
|
+
.clado-agent-option-label { font-size: 11.5px; font-weight: 600; }
|
|
819
|
+
.clado-agent-option-btn small { font-size: 10.5px; color: var(--clado-ui-muted); }
|
|
581
820
|
.clado-agent-question-custom {
|
|
582
821
|
display: flex;
|
|
583
822
|
gap: 5px;
|
|
@@ -585,102 +824,708 @@
|
|
|
585
824
|
.clado-agent-question-custom input {
|
|
586
825
|
flex: 1;
|
|
587
826
|
min-width: 0;
|
|
588
|
-
padding:
|
|
589
|
-
border: 1px solid var(--clado-
|
|
590
|
-
border-radius:
|
|
591
|
-
background: var(--clado-
|
|
827
|
+
padding: 5px 8px;
|
|
828
|
+
border: 1px solid var(--clado-agent-well-border);
|
|
829
|
+
border-radius: 8px;
|
|
830
|
+
background: var(--clado-agent-well);
|
|
592
831
|
color: var(--clado-ui-text);
|
|
593
832
|
font: inherit;
|
|
594
|
-
font-size: 12px;
|
|
595
|
-
outline: none;
|
|
596
|
-
}
|
|
597
|
-
.clado-agent-question-custom input:focus {
|
|
598
|
-
background: var(--clado-ui-well-focus);
|
|
599
|
-
border-color: color-mix(in srgb, var(--clado-ui-brand) 48%, transparent);
|
|
600
|
-
}
|
|
601
|
-
.clado-agent-option-submit {
|
|
602
|
-
min-height: 30px;
|
|
603
|
-
padding: 2px 11px;
|
|
604
833
|
font-size: 11.5px;
|
|
834
|
+
outline: none;
|
|
605
835
|
}
|
|
606
836
|
.clado-agent-question-answered {
|
|
607
|
-
font-size:
|
|
837
|
+
font-size: 11px;
|
|
608
838
|
color: var(--clado-ui-brand);
|
|
609
839
|
font-weight: 560;
|
|
610
840
|
}
|
|
841
|
+
|
|
611
842
|
.clado-agent-status {
|
|
612
|
-
margin: 0
|
|
613
|
-
|
|
843
|
+
margin: 0;
|
|
844
|
+
font-size: 11px;
|
|
614
845
|
color: var(--clado-ui-muted);
|
|
846
|
+
overflow: hidden;
|
|
847
|
+
text-overflow: ellipsis;
|
|
848
|
+
white-space: nowrap;
|
|
849
|
+
}
|
|
850
|
+
.clado-agent-status[hidden] { display: none !important; }
|
|
851
|
+
|
|
852
|
+
/* ============ 多会话单行左对齐胶囊条(overflow-x: clip 保住 100% 真毛玻璃 + 左右淡入淡出) ============ */
|
|
853
|
+
.clado-peer-cluster {
|
|
854
|
+
width: 100%;
|
|
855
|
+
min-width: 0;
|
|
856
|
+
max-width: 100%;
|
|
857
|
+
background: transparent;
|
|
858
|
+
display: flex;
|
|
859
|
+
align-items: center;
|
|
860
|
+
justify-content: flex-start;
|
|
861
|
+
flex-wrap: nowrap;
|
|
862
|
+
gap: 6px;
|
|
863
|
+
overflow-x: clip;
|
|
864
|
+
overflow-y: visible;
|
|
865
|
+
padding: 2px 0;
|
|
866
|
+
touch-action: pan-y;
|
|
867
|
+
cursor: grab;
|
|
868
|
+
user-select: none;
|
|
869
|
+
-webkit-user-select: none;
|
|
870
|
+
}
|
|
871
|
+
.clado-peer-cluster:active { cursor: grabbing; }
|
|
872
|
+
|
|
873
|
+
.clado-peer-pill {
|
|
874
|
+
appearance: none;
|
|
875
|
+
-webkit-appearance: none;
|
|
876
|
+
position: relative;
|
|
877
|
+
flex: 0 0 auto;
|
|
878
|
+
display: inline-flex;
|
|
879
|
+
align-items: center;
|
|
880
|
+
gap: 0;
|
|
881
|
+
height: 31px;
|
|
882
|
+
padding: 0 12px;
|
|
883
|
+
border-radius: 999px;
|
|
884
|
+
cursor: pointer;
|
|
885
|
+
border: 0;
|
|
886
|
+
background: var(--clado-agent-surface);
|
|
887
|
+
backdrop-filter: var(--clado-agent-filter);
|
|
888
|
+
-webkit-backdrop-filter: var(--clado-agent-filter);
|
|
889
|
+
color: var(--clado-ui-text);
|
|
890
|
+
font: inherit;
|
|
891
|
+
font-size: 12px;
|
|
892
|
+
box-shadow: var(--clado-agent-pill-shadow);
|
|
893
|
+
white-space: nowrap;
|
|
894
|
+
--ring-half: 54deg;
|
|
895
|
+
--ring-feather: 15deg;
|
|
896
|
+
--ring-color: var(--c-muted);
|
|
897
|
+
}
|
|
898
|
+
.clado-peer-pill.is-active {
|
|
899
|
+
--ring-half: 64deg;
|
|
900
|
+
--ring-feather: 14deg;
|
|
901
|
+
}
|
|
902
|
+
.clado-peer-pill:active { transform: scale(0.96); }
|
|
903
|
+
|
|
904
|
+
/* 极纤薄边缘环:
|
|
905
|
+
- 静息态:0.85px 发丝高度底色条(明亮清透柔和色、底下绝无白边)
|
|
906
|
+
- 激活态(.is-focused):沿左右边缘合拢为 1.25px 高饱和全边框,胶囊内部保持纯净 36% 透明玻璃 */
|
|
907
|
+
.clado-peer-pill::after {
|
|
908
|
+
content: "";
|
|
909
|
+
position: absolute;
|
|
910
|
+
inset: 0;
|
|
911
|
+
border-radius: inherit;
|
|
912
|
+
pointer-events: none;
|
|
913
|
+
z-index: 2;
|
|
914
|
+
padding: 0.85px;
|
|
915
|
+
transition: padding 260ms var(--clado-ease-spring);
|
|
916
|
+
background: conic-gradient(
|
|
917
|
+
from 0deg at 50% 50%,
|
|
918
|
+
var(--clado-agent-outline) 0deg,
|
|
919
|
+
var(--clado-agent-outline) calc(180deg - var(--ring-half) - var(--ring-feather)),
|
|
920
|
+
var(--ring-color) calc(180deg - var(--ring-half)),
|
|
921
|
+
var(--ring-color) calc(180deg + var(--ring-half)),
|
|
922
|
+
var(--clado-agent-outline) calc(180deg + var(--ring-half) + var(--ring-feather)),
|
|
923
|
+
var(--clado-agent-outline) 360deg
|
|
924
|
+
);
|
|
925
|
+
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
|
|
926
|
+
-webkit-mask-composite: xor;
|
|
927
|
+
mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
|
|
928
|
+
mask-composite: exclude;
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
.clado-peer-pill.is-focused {
|
|
932
|
+
--ring-half: 180deg;
|
|
933
|
+
--ring-feather: 0deg;
|
|
934
|
+
--ring-color: var(--c-vivid);
|
|
935
|
+
box-shadow: 0 6px 18px var(--c-glow), var(--clado-agent-pill-shadow);
|
|
936
|
+
}
|
|
937
|
+
.clado-peer-pill.is-focused::after {
|
|
938
|
+
padding: 1.25px;
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
.clado-peer-pill.called-flash {
|
|
942
|
+
--ring-half: 64deg;
|
|
943
|
+
--ring-feather: 14deg;
|
|
944
|
+
--ring-color: var(--caller-color);
|
|
945
|
+
box-shadow: 0 5px 14px -2px var(--caller-glow), var(--clado-agent-pill-shadow);
|
|
946
|
+
}
|
|
947
|
+
.clado-peer-pill.called-flash::after {
|
|
948
|
+
padding: 1.1px;
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
.clado-peer-pill .p-name {
|
|
952
|
+
position: relative;
|
|
953
|
+
z-index: 1;
|
|
954
|
+
font-weight: 600;
|
|
955
|
+
font-size: 12px;
|
|
956
|
+
pointer-events: none;
|
|
957
|
+
}
|
|
958
|
+
.clado-peer-pill .p-live {
|
|
959
|
+
position: relative;
|
|
960
|
+
z-index: 1;
|
|
615
961
|
font-size: 11px;
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
962
|
+
color: var(--clado-ui-muted);
|
|
963
|
+
max-width: 96px;
|
|
964
|
+
margin-left: 5px;
|
|
965
|
+
opacity: 1;
|
|
966
|
+
overflow: hidden;
|
|
967
|
+
text-overflow: ellipsis;
|
|
968
|
+
pointer-events: none;
|
|
969
|
+
transition: max-width 340ms var(--clado-ease-spring), opacity 240ms ease, margin-left 300ms var(--clado-ease-spring);
|
|
970
|
+
}
|
|
971
|
+
@media (min-width: 520px) {
|
|
972
|
+
.clado-peer-pill .p-live { max-width: 140px; }
|
|
973
|
+
}
|
|
974
|
+
.clado-peer-pill.is-dormant .p-live {
|
|
975
|
+
max-width: 0;
|
|
976
|
+
opacity: 0;
|
|
977
|
+
margin-left: 0;
|
|
619
978
|
}
|
|
620
|
-
|
|
979
|
+
@media (hover: hover) {
|
|
980
|
+
.clado-peer-pill.is-dormant:hover .p-live {
|
|
981
|
+
max-width: 120px;
|
|
982
|
+
opacity: 1;
|
|
983
|
+
margin-left: 5px;
|
|
984
|
+
}
|
|
985
|
+
}
|
|
986
|
+
|
|
987
|
+
/* ============ 底部打字框与下方窄幅清淡滚动流光条 ============ */
|
|
988
|
+
.clado-agent-shell {
|
|
989
|
+
position: relative;
|
|
990
|
+
border-radius: 18px;
|
|
991
|
+
padding: 6px 8px;
|
|
621
992
|
display: flex;
|
|
622
|
-
align-items:
|
|
623
|
-
gap:
|
|
624
|
-
|
|
993
|
+
align-items: center;
|
|
994
|
+
gap: 6px;
|
|
995
|
+
width: 100%;
|
|
996
|
+
min-width: 0;
|
|
997
|
+
}
|
|
998
|
+
.clado-agent-min-btn {
|
|
999
|
+
appearance: none;
|
|
1000
|
+
width: 29px;
|
|
1001
|
+
height: 29px;
|
|
1002
|
+
border-radius: 9px;
|
|
1003
|
+
border: 1px solid var(--clado-agent-well-border);
|
|
1004
|
+
background: var(--clado-agent-well);
|
|
1005
|
+
color: var(--clado-ui-brand);
|
|
1006
|
+
font-size: 13px;
|
|
1007
|
+
line-height: 1;
|
|
1008
|
+
cursor: pointer;
|
|
1009
|
+
flex: none;
|
|
1010
|
+
display: inline-flex;
|
|
1011
|
+
align-items: center;
|
|
1012
|
+
justify-content: center;
|
|
1013
|
+
transition: background-color 150ms ease, transform 120ms ease;
|
|
625
1014
|
}
|
|
626
|
-
.clado-agent-
|
|
1015
|
+
.clado-agent-min-btn:hover { background: var(--clado-agent-active); }
|
|
1016
|
+
.clado-agent-min-btn:active { transform: scale(0.95); }
|
|
1017
|
+
|
|
1018
|
+
.clado-agent-input {
|
|
627
1019
|
flex: 1;
|
|
628
1020
|
min-width: 0;
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
padding: 8px 11px;
|
|
632
|
-
border: 1px solid var(--clado-ui-well-border);
|
|
633
|
-
border-radius: 13px;
|
|
634
|
-
background: var(--clado-ui-well);
|
|
1021
|
+
border: 0;
|
|
1022
|
+
background: transparent;
|
|
635
1023
|
color: var(--clado-ui-text);
|
|
636
1024
|
font: inherit;
|
|
1025
|
+
font-size: 13.5px;
|
|
637
1026
|
outline: none;
|
|
638
|
-
|
|
639
|
-
|
|
1027
|
+
padding: 4px 2px;
|
|
1028
|
+
user-select: text;
|
|
1029
|
+
-webkit-user-select: text;
|
|
640
1030
|
}
|
|
641
|
-
|
|
642
|
-
|
|
1031
|
+
.clado-agent-input::placeholder {
|
|
1032
|
+
color: var(--clado-ui-subtle);
|
|
643
1033
|
}
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
1034
|
+
|
|
1035
|
+
.clado-agent-stop-btn {
|
|
1036
|
+
appearance: none;
|
|
1037
|
+
height: 29px;
|
|
1038
|
+
padding: 0 9px;
|
|
1039
|
+
border-radius: 9px;
|
|
1040
|
+
border: 0;
|
|
1041
|
+
background: rgba(244, 63, 94, 0.12);
|
|
1042
|
+
color: var(--clado-agent-danger);
|
|
1043
|
+
font: inherit;
|
|
1044
|
+
font-size: 11.5px;
|
|
1045
|
+
font-weight: 600;
|
|
1046
|
+
cursor: pointer;
|
|
1047
|
+
flex: none;
|
|
1048
|
+
white-space: nowrap;
|
|
648
1049
|
}
|
|
649
|
-
.clado-agent-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
1050
|
+
.clado-agent-stop-btn[hidden] { display: none !important; }
|
|
1051
|
+
|
|
1052
|
+
.clado-agent-send-btn {
|
|
1053
|
+
appearance: none;
|
|
1054
|
+
height: 29px;
|
|
1055
|
+
padding: 0 13px;
|
|
1056
|
+
border-radius: 9px;
|
|
1057
|
+
border: 0;
|
|
1058
|
+
background: var(--clado-agent-send-bg);
|
|
1059
|
+
color: var(--clado-agent-send-fg);
|
|
1060
|
+
font: inherit;
|
|
1061
|
+
font-size: 12px;
|
|
1062
|
+
font-weight: 600;
|
|
1063
|
+
cursor: pointer;
|
|
1064
|
+
flex: none;
|
|
1065
|
+
white-space: nowrap;
|
|
1066
|
+
transition: opacity 150ms ease, transform 120ms ease;
|
|
1067
|
+
}
|
|
1068
|
+
.clado-agent-send-btn:disabled {
|
|
1069
|
+
opacity: 0.42;
|
|
1070
|
+
cursor: default;
|
|
1071
|
+
}
|
|
1072
|
+
.clado-agent-send-btn:not(:disabled):active { transform: scale(0.96); }
|
|
1073
|
+
|
|
1074
|
+
/* 打字框底部 70% 宽、1px 极细柔和滚动流光条 */
|
|
1075
|
+
.clado-edge-aura {
|
|
1076
|
+
position: absolute;
|
|
1077
|
+
left: 50%;
|
|
1078
|
+
top: calc(100% - 0.5px);
|
|
1079
|
+
width: 70%;
|
|
1080
|
+
height: 16px;
|
|
1081
|
+
transform: translateX(-50%);
|
|
1082
|
+
pointer-events: none;
|
|
1083
|
+
opacity: 0;
|
|
1084
|
+
z-index: 4;
|
|
1085
|
+
transition: opacity 280ms ease;
|
|
1086
|
+
}
|
|
1087
|
+
.clado-agent-shell.working > .clado-edge-aura {
|
|
1088
|
+
opacity: 1;
|
|
1089
|
+
}
|
|
1090
|
+
.clado-edge-aura-line {
|
|
1091
|
+
position: absolute;
|
|
1092
|
+
left: 0;
|
|
1093
|
+
right: 0;
|
|
1094
|
+
top: 0;
|
|
1095
|
+
height: 1px;
|
|
1096
|
+
border-radius: 999px;
|
|
1097
|
+
overflow: hidden;
|
|
1098
|
+
-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
|
|
1099
|
+
mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
|
|
1100
|
+
}
|
|
1101
|
+
.clado-edge-aura-runner {
|
|
1102
|
+
width: 200%;
|
|
1103
|
+
height: 100%;
|
|
1104
|
+
background: linear-gradient(
|
|
1105
|
+
90deg,
|
|
1106
|
+
rgba(98, 217, 255, 0.65) 0%,
|
|
1107
|
+
rgba(181, 154, 255, 0.68) 25%,
|
|
1108
|
+
rgba(255, 144, 203, 0.58) 50%,
|
|
1109
|
+
rgba(98, 217, 255, 0.65) 75%,
|
|
1110
|
+
rgba(181, 154, 255, 0.68) 100%
|
|
1111
|
+
);
|
|
1112
|
+
animation: cladoEdgeFlow 2.6s linear infinite;
|
|
1113
|
+
}
|
|
1114
|
+
.clado-edge-aura-bloom {
|
|
1115
|
+
position: absolute;
|
|
1116
|
+
left: 10%;
|
|
1117
|
+
right: 10%;
|
|
1118
|
+
top: 1px;
|
|
1119
|
+
height: 14px;
|
|
1120
|
+
background: radial-gradient(ellipse 52% 85% at 50% 0%, rgba(125, 180, 255, 0.22), transparent 76%);
|
|
1121
|
+
filter: blur(5px);
|
|
1122
|
+
}
|
|
1123
|
+
@keyframes cladoEdgeFlow {
|
|
1124
|
+
0% { transform: translate3d(0, 0, 0); }
|
|
1125
|
+
100% { transform: translate3d(-50%, 0, 0); }
|
|
1126
|
+
}
|
|
1127
|
+
|
|
1128
|
+
/* ============ 会话长按 / 右键上下文浮层 ============ */
|
|
1129
|
+
.clado-agent-ctx-menu {
|
|
1130
|
+
position: fixed;
|
|
1131
|
+
z-index: 92;
|
|
1132
|
+
display: flex;
|
|
1133
|
+
flex-direction: column;
|
|
1134
|
+
gap: 3px;
|
|
1135
|
+
padding: 6px;
|
|
1136
|
+
border-radius: 16px;
|
|
1137
|
+
min-width: 188px;
|
|
1138
|
+
max-width: calc(100vw - 20px);
|
|
1139
|
+
background: var(--clado-agent-popover);
|
|
1140
|
+
backdrop-filter: blur(24px) saturate(190%);
|
|
1141
|
+
-webkit-backdrop-filter: blur(24px) saturate(190%);
|
|
1142
|
+
border: 1px solid var(--clado-agent-outline);
|
|
1143
|
+
box-shadow: var(--clado-agent-shadow);
|
|
1144
|
+
font: 13px/1.35 system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
|
|
1145
|
+
opacity: 0;
|
|
1146
|
+
pointer-events: none;
|
|
1147
|
+
transform: scale(0.93) translateY(6px);
|
|
1148
|
+
transform-origin: bottom center;
|
|
1149
|
+
transition: opacity 180ms var(--clado-ease-spring), transform 200ms var(--clado-ease-spring);
|
|
1150
|
+
}
|
|
1151
|
+
.clado-agent-ctx-menu.open {
|
|
1152
|
+
opacity: 1;
|
|
1153
|
+
pointer-events: auto;
|
|
1154
|
+
transform: scale(1) translateY(0);
|
|
1155
|
+
}
|
|
1156
|
+
.clado-ctx-badge {
|
|
1157
|
+
padding: 3px 9px 5px;
|
|
1158
|
+
font-size: 10.5px;
|
|
1159
|
+
font-weight: 600;
|
|
1160
|
+
color: var(--clado-ui-subtle);
|
|
1161
|
+
display: flex;
|
|
1162
|
+
align-items: center;
|
|
1163
|
+
justify-content: space-between;
|
|
1164
|
+
gap: 8px;
|
|
1165
|
+
border-bottom: 1px solid var(--clado-agent-edge);
|
|
1166
|
+
margin-bottom: 2px;
|
|
1167
|
+
}
|
|
1168
|
+
.clado-ctx-btn {
|
|
1169
|
+
appearance: none;
|
|
1170
|
+
border: 1px solid transparent;
|
|
1171
|
+
background: transparent;
|
|
1172
|
+
color: var(--clado-ui-text);
|
|
1173
|
+
font: inherit;
|
|
1174
|
+
font-size: 12.5px;
|
|
1175
|
+
font-weight: 520;
|
|
1176
|
+
padding: 7.5px 10px;
|
|
1177
|
+
border-radius: 10px;
|
|
1178
|
+
text-align: left;
|
|
1179
|
+
cursor: pointer;
|
|
1180
|
+
display: flex;
|
|
1181
|
+
align-items: center;
|
|
1182
|
+
justify-content: space-between;
|
|
1183
|
+
gap: 10px;
|
|
1184
|
+
transition: background-color 140ms ease, border-color 140ms ease;
|
|
1185
|
+
}
|
|
1186
|
+
.clado-ctx-btn:hover,
|
|
1187
|
+
.clado-ctx-btn:active {
|
|
1188
|
+
background: var(--clado-agent-active);
|
|
1189
|
+
border-color: var(--clado-agent-outline);
|
|
1190
|
+
}
|
|
1191
|
+
.clado-ctx-btn.danger {
|
|
1192
|
+
color: var(--clado-agent-danger);
|
|
1193
|
+
}
|
|
1194
|
+
|
|
1195
|
+
/* ============ 极简 Agent 设置与记忆浮层(外层不用 overflow:auto,保住 100% 真毛玻璃) ============ */
|
|
1196
|
+
.clado-agent-overlay {
|
|
1197
|
+
position: fixed;
|
|
1198
|
+
inset: 0;
|
|
1199
|
+
z-index: 84;
|
|
1200
|
+
padding: calc(max(12px, env(safe-area-inset-top)) + 48px) 10px max(16px, env(safe-area-inset-bottom));
|
|
1201
|
+
overflow: visible;
|
|
1202
|
+
pointer-events: none;
|
|
1203
|
+
visibility: hidden;
|
|
1204
|
+
font: 13px/1.35 system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
|
|
1205
|
+
transition: visibility 0s linear 280ms;
|
|
1206
|
+
}
|
|
1207
|
+
.clado-agent-overlay.show {
|
|
1208
|
+
pointer-events: auto;
|
|
1209
|
+
visibility: visible;
|
|
1210
|
+
transition-delay: 0s;
|
|
1211
|
+
}
|
|
1212
|
+
.clado-panel-container {
|
|
1213
|
+
max-width: 480px;
|
|
1214
|
+
max-height: calc(100dvh - 76px);
|
|
1215
|
+
overflow-y: auto;
|
|
1216
|
+
scrollbar-width: none;
|
|
1217
|
+
-webkit-overflow-scrolling: touch;
|
|
1218
|
+
touch-action: pan-y;
|
|
1219
|
+
margin: 0 auto;
|
|
1220
|
+
padding: 14px;
|
|
1221
|
+
border-radius: 22px;
|
|
1222
|
+
display: flex;
|
|
1223
|
+
flex-direction: column;
|
|
1224
|
+
gap: 11px;
|
|
1225
|
+
opacity: 0;
|
|
1226
|
+
transform: translateY(10px) scale(0.985);
|
|
1227
|
+
transition: opacity 250ms var(--clado-ease-spring), transform 280ms var(--clado-ease-spring);
|
|
1228
|
+
}
|
|
1229
|
+
.clado-panel-container::-webkit-scrollbar { display: none; }
|
|
1230
|
+
.clado-agent-overlay.show .clado-panel-container {
|
|
1231
|
+
opacity: 1;
|
|
1232
|
+
transform: translateY(0) scale(1);
|
|
1233
|
+
}
|
|
1234
|
+
|
|
1235
|
+
.clado-group-title {
|
|
1236
|
+
font-size: 11.5px;
|
|
1237
|
+
font-weight: 600;
|
|
1238
|
+
color: var(--clado-ui-muted);
|
|
1239
|
+
padding: 0 4px 4px;
|
|
1240
|
+
}
|
|
1241
|
+
.clado-settings-group {
|
|
1242
|
+
background: var(--clado-agent-well);
|
|
1243
|
+
border: 1px solid var(--clado-agent-well-border);
|
|
1244
|
+
box-shadow: inset 0 1px 0 var(--clado-agent-highlight);
|
|
1245
|
+
border-radius: 15px;
|
|
1246
|
+
overflow: hidden;
|
|
1247
|
+
}
|
|
1248
|
+
.clado-s-row {
|
|
1249
|
+
display: flex;
|
|
1250
|
+
align-items: center;
|
|
1251
|
+
justify-content: space-between;
|
|
1252
|
+
gap: 12px;
|
|
1253
|
+
min-height: 44px;
|
|
1254
|
+
padding: 8px 13px;
|
|
1255
|
+
position: relative;
|
|
1256
|
+
transition: background-color 150ms ease;
|
|
1257
|
+
}
|
|
1258
|
+
.clado-s-row + .clado-s-row {
|
|
1259
|
+
border-top: 1px solid var(--clado-agent-edge);
|
|
1260
|
+
}
|
|
1261
|
+
.clado-s-row.clickable { cursor: pointer; }
|
|
1262
|
+
.clado-s-row.clickable:hover,
|
|
1263
|
+
.clado-s-row.clickable:active { background: var(--clado-agent-hover); }
|
|
1264
|
+
.clado-s-title {
|
|
1265
|
+
font-size: 13px;
|
|
1266
|
+
font-weight: 530;
|
|
1267
|
+
color: var(--clado-ui-text);
|
|
1268
|
+
}
|
|
1269
|
+
.clado-s-val {
|
|
1270
|
+
font-size: 12.5px;
|
|
1271
|
+
color: var(--clado-ui-muted);
|
|
1272
|
+
display: inline-flex;
|
|
1273
|
+
align-items: center;
|
|
1274
|
+
gap: 5px;
|
|
1275
|
+
padding: 4px 6px;
|
|
1276
|
+
border-radius: 8px;
|
|
1277
|
+
}
|
|
1278
|
+
|
|
1279
|
+
.clado-cfg-stage { overflow-x: hidden; }
|
|
1280
|
+
.clado-cfg-page {
|
|
1281
|
+
transition: opacity 240ms var(--clado-ease-spring), transform 280ms var(--clado-ease-spring);
|
|
1282
|
+
}
|
|
1283
|
+
.clado-cfg-page.pushed-out {
|
|
1284
|
+
opacity: 0;
|
|
1285
|
+
pointer-events: none;
|
|
1286
|
+
transform: translateX(-22px);
|
|
1287
|
+
position: absolute;
|
|
1288
|
+
left: 14px;
|
|
1289
|
+
right: 14px;
|
|
1290
|
+
top: 14px;
|
|
1291
|
+
max-height: 0;
|
|
1292
|
+
overflow: hidden;
|
|
1293
|
+
}
|
|
1294
|
+
.clado-cfg-sub-page {
|
|
1295
|
+
display: flex;
|
|
1296
|
+
flex-direction: column;
|
|
1297
|
+
gap: 10px;
|
|
1298
|
+
opacity: 0;
|
|
1299
|
+
pointer-events: none;
|
|
1300
|
+
transform: translateX(24px);
|
|
1301
|
+
position: absolute;
|
|
1302
|
+
left: 14px;
|
|
1303
|
+
right: 14px;
|
|
1304
|
+
top: 14px;
|
|
1305
|
+
max-height: 0;
|
|
1306
|
+
overflow: hidden;
|
|
1307
|
+
transition: opacity 240ms var(--clado-ease-spring), transform 280ms var(--clado-ease-spring);
|
|
1308
|
+
}
|
|
1309
|
+
.clado-cfg-sub-page.active {
|
|
1310
|
+
opacity: 1;
|
|
1311
|
+
pointer-events: auto;
|
|
1312
|
+
transform: translateX(0);
|
|
1313
|
+
position: relative;
|
|
1314
|
+
left: auto;
|
|
1315
|
+
right: auto;
|
|
1316
|
+
top: auto;
|
|
1317
|
+
max-height: none;
|
|
1318
|
+
overflow: visible;
|
|
653
1319
|
}
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
1320
|
+
|
|
1321
|
+
.clado-switch-btn {
|
|
1322
|
+
appearance: none;
|
|
1323
|
+
width: 40px;
|
|
1324
|
+
height: 23px;
|
|
1325
|
+
border-radius: 999px;
|
|
1326
|
+
border: 1px solid var(--clado-agent-well-border);
|
|
1327
|
+
padding: 1.5px;
|
|
1328
|
+
cursor: pointer;
|
|
1329
|
+
background: var(--clado-agent-track);
|
|
1330
|
+
position: relative;
|
|
1331
|
+
transition: background-color 200ms var(--clado-ease-spring);
|
|
1332
|
+
flex: none;
|
|
1333
|
+
}
|
|
1334
|
+
.clado-switch-btn.on {
|
|
1335
|
+
background: var(--clado-ui-brand);
|
|
1336
|
+
border-color: transparent;
|
|
1337
|
+
}
|
|
1338
|
+
.clado-switch-btn i {
|
|
1339
|
+
display: block;
|
|
1340
|
+
width: 18px;
|
|
1341
|
+
height: 18px;
|
|
1342
|
+
border-radius: 999px;
|
|
1343
|
+
background: #fff;
|
|
1344
|
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
|
|
1345
|
+
transition: transform 220ms var(--clado-ease-spring);
|
|
1346
|
+
pointer-events: none;
|
|
1347
|
+
}
|
|
1348
|
+
.clado-switch-btn.on i { transform: translateX(17px); }
|
|
1349
|
+
|
|
1350
|
+
.clado-clean-textarea {
|
|
1351
|
+
width: 100%;
|
|
1352
|
+
border-radius: 12px;
|
|
1353
|
+
padding: 10px 12px;
|
|
1354
|
+
font-size: 12px;
|
|
1355
|
+
line-height: 1.55;
|
|
1356
|
+
border: 1px solid var(--clado-agent-well-border);
|
|
1357
|
+
background: var(--clado-agent-well);
|
|
1358
|
+
color: var(--clado-ui-text);
|
|
1359
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
1360
|
+
outline: none;
|
|
1361
|
+
resize: vertical;
|
|
1362
|
+
user-select: text;
|
|
1363
|
+
-webkit-user-select: text;
|
|
1364
|
+
}
|
|
1365
|
+
|
|
1366
|
+
/* 轻提示气泡 */
|
|
1367
|
+
.clado-agent-toast {
|
|
1368
|
+
position: fixed;
|
|
1369
|
+
top: calc(max(10px, env(safe-area-inset-top)) + 52px);
|
|
1370
|
+
left: 12px;
|
|
1371
|
+
right: 12px;
|
|
1372
|
+
width: fit-content;
|
|
1373
|
+
max-width: calc(100vw - 24px);
|
|
1374
|
+
margin: 0 auto;
|
|
1375
|
+
transform: translateY(-8px) scale(0.95);
|
|
1376
|
+
z-index: 98;
|
|
1377
|
+
padding: 7px 14px;
|
|
1378
|
+
border-radius: 999px;
|
|
1379
|
+
font: 550 12px/1.3 system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
|
|
1380
|
+
color: var(--clado-ui-text);
|
|
1381
|
+
background: var(--clado-agent-popover);
|
|
1382
|
+
backdrop-filter: blur(22px) saturate(190%);
|
|
1383
|
+
-webkit-backdrop-filter: blur(22px) saturate(190%);
|
|
1384
|
+
border: 1px solid var(--clado-agent-outline);
|
|
1385
|
+
box-shadow: var(--clado-agent-pill-shadow);
|
|
1386
|
+
opacity: 0;
|
|
1387
|
+
pointer-events: none;
|
|
1388
|
+
transition: opacity 200ms var(--clado-ease-spring), transform 240ms var(--clado-ease-spring);
|
|
1389
|
+
overflow: hidden;
|
|
1390
|
+
text-overflow: ellipsis;
|
|
1391
|
+
white-space: nowrap;
|
|
1392
|
+
}
|
|
1393
|
+
.clado-agent-toast.show {
|
|
1394
|
+
opacity: 1;
|
|
1395
|
+
transform: translateY(0) scale(1);
|
|
1396
|
+
}
|
|
1397
|
+
|
|
1398
|
+
@media (max-width: 760px) {
|
|
1399
|
+
.clado-agent-dock {
|
|
1400
|
+
width: 100%;
|
|
1401
|
+
max-width: calc(100vw - 20px);
|
|
1402
|
+
}
|
|
1403
|
+
.clado-single-panel {
|
|
666
1404
|
border-radius: 26px;
|
|
667
|
-
z-index: 30;
|
|
668
1405
|
}
|
|
669
|
-
.clado-agent-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
border-radius: 99px;
|
|
675
|
-
background: var(--clado-ui-edge);
|
|
676
|
-
margin: 8px auto 2px;
|
|
677
|
-
flex: none;
|
|
1406
|
+
.clado-agent-input {
|
|
1407
|
+
font-size: 16px;
|
|
1408
|
+
}
|
|
1409
|
+
.clado-agent-question-custom input {
|
|
1410
|
+
font-size: 16px;
|
|
678
1411
|
}
|
|
679
|
-
.clado-agent-chip { min-height: 32px; padding: 3px 4px; }
|
|
680
|
-
.clado-glass-dropdown-trigger { min-height: 38px; font-size: 13px; }
|
|
681
|
-
.clado-glass-dropdown-option { min-height: 44px; }
|
|
682
|
-
.clado-agent-panel textarea { font-size: 16px; min-height: 42px; }
|
|
683
|
-
.clado-agent-question-custom input { font-size: 16px; min-height: 40px; }
|
|
684
|
-
.clado-agent-send, .clado-agent-stop { min-height: 42px; padding-inline: 16px; }
|
|
685
|
-
.clado-agent-option-btn { min-height: 44px; padding: 10px 12px; }
|
|
686
1412
|
}
|
|
1413
|
+
|
|
1414
|
+
/* 输入栏模型快切胶囊与弹窗 + 会话条尾端新建按钮 */
|
|
1415
|
+
.clado-model-chip {
|
|
1416
|
+
appearance: none;
|
|
1417
|
+
flex: 0 0 auto;
|
|
1418
|
+
height: 28px;
|
|
1419
|
+
max-width: 126px;
|
|
1420
|
+
padding: 0 9px;
|
|
1421
|
+
border-radius: 999px;
|
|
1422
|
+
border: 1px solid var(--clado-agent-well-border);
|
|
1423
|
+
background: var(--clado-agent-well);
|
|
1424
|
+
color: var(--clado-ui-text);
|
|
1425
|
+
font: inherit;
|
|
1426
|
+
font-size: 11.5px;
|
|
1427
|
+
font-weight: 580;
|
|
1428
|
+
cursor: pointer;
|
|
1429
|
+
display: inline-flex;
|
|
1430
|
+
align-items: center;
|
|
1431
|
+
gap: 4px;
|
|
1432
|
+
white-space: nowrap;
|
|
1433
|
+
transition: background-color 150ms ease, border-color 150ms ease, transform 120ms ease;
|
|
1434
|
+
}
|
|
1435
|
+
.clado-model-chip:hover {
|
|
1436
|
+
background: var(--clado-agent-hover);
|
|
1437
|
+
border-color: var(--clado-agent-outline);
|
|
1438
|
+
}
|
|
1439
|
+
.clado-model-chip:active { transform: scale(0.97); }
|
|
1440
|
+
.clado-model-chip.unconfigured {
|
|
1441
|
+
background: rgba(37, 99, 235, 0.12);
|
|
1442
|
+
border-color: rgba(37, 99, 235, 0.34);
|
|
1443
|
+
color: var(--clado-ui-brand);
|
|
1444
|
+
font-weight: 640;
|
|
1445
|
+
}
|
|
1446
|
+
.clado-model-chip-label {
|
|
1447
|
+
overflow: hidden;
|
|
1448
|
+
text-overflow: ellipsis;
|
|
1449
|
+
white-space: nowrap;
|
|
1450
|
+
}
|
|
1451
|
+
.clado-model-chip-caret {
|
|
1452
|
+
font-size: 10px;
|
|
1453
|
+
opacity: 0.65;
|
|
1454
|
+
flex: none;
|
|
1455
|
+
}
|
|
1456
|
+
|
|
1457
|
+
.clado-model-menu {
|
|
1458
|
+
position: fixed;
|
|
1459
|
+
z-index: 95;
|
|
1460
|
+
min-width: 210px;
|
|
1461
|
+
max-width: min(290px, calc(100vw - 20px));
|
|
1462
|
+
max-height: 320px;
|
|
1463
|
+
overflow-y: auto;
|
|
1464
|
+
padding: 6px;
|
|
1465
|
+
border-radius: 16px;
|
|
1466
|
+
display: flex;
|
|
1467
|
+
flex-direction: column;
|
|
1468
|
+
gap: 2px;
|
|
1469
|
+
background: var(--clado-agent-popover);
|
|
1470
|
+
backdrop-filter: blur(24px) saturate(190%);
|
|
1471
|
+
-webkit-backdrop-filter: blur(24px) saturate(190%);
|
|
1472
|
+
border: 1px solid var(--clado-agent-outline);
|
|
1473
|
+
box-shadow: var(--clado-agent-shadow);
|
|
1474
|
+
font: 12.5px/1.35 system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
|
|
1475
|
+
color: var(--clado-ui-text);
|
|
1476
|
+
opacity: 0;
|
|
1477
|
+
pointer-events: none;
|
|
1478
|
+
transform: translateY(6px) scale(0.95);
|
|
1479
|
+
transform-origin: bottom left;
|
|
1480
|
+
transition: opacity 160ms var(--clado-ease-spring), transform 180ms var(--clado-ease-spring);
|
|
1481
|
+
}
|
|
1482
|
+
.clado-model-menu.open {
|
|
1483
|
+
opacity: 1;
|
|
1484
|
+
pointer-events: auto;
|
|
1485
|
+
transform: translateY(0) scale(1);
|
|
1486
|
+
}
|
|
1487
|
+
|
|
1488
|
+
.clado-peer-add-btn {
|
|
1489
|
+
appearance: none;
|
|
1490
|
+
flex: 0 0 auto;
|
|
1491
|
+
width: 29px;
|
|
1492
|
+
height: 29px;
|
|
1493
|
+
border-radius: 999px;
|
|
1494
|
+
border: 1px solid var(--clado-agent-outline);
|
|
1495
|
+
background: var(--clado-agent-surface);
|
|
1496
|
+
backdrop-filter: var(--clado-agent-filter);
|
|
1497
|
+
-webkit-backdrop-filter: var(--clado-agent-filter);
|
|
1498
|
+
box-shadow: var(--clado-agent-pill-shadow);
|
|
1499
|
+
color: var(--clado-ui-muted);
|
|
1500
|
+
font: inherit;
|
|
1501
|
+
font-size: 14px;
|
|
1502
|
+
font-weight: 600;
|
|
1503
|
+
cursor: pointer;
|
|
1504
|
+
display: inline-flex;
|
|
1505
|
+
align-items: center;
|
|
1506
|
+
justify-content: center;
|
|
1507
|
+
padding: 0;
|
|
1508
|
+
line-height: 1;
|
|
1509
|
+
}
|
|
1510
|
+
.clado-peer-add-btn:hover {
|
|
1511
|
+
color: var(--clado-ui-text);
|
|
1512
|
+
background: var(--clado-agent-hover);
|
|
1513
|
+
}
|
|
1514
|
+
.clado-peer-add-btn:active { transform: scale(0.93); }
|
|
1515
|
+
|
|
1516
|
+
.clado-clean-input {
|
|
1517
|
+
width: 100%;
|
|
1518
|
+
height: 35px;
|
|
1519
|
+
padding: 0 11px;
|
|
1520
|
+
border-radius: 10px;
|
|
1521
|
+
border: 1px solid var(--clado-agent-well-border);
|
|
1522
|
+
background: var(--clado-agent-well);
|
|
1523
|
+
color: var(--clado-ui-text);
|
|
1524
|
+
font: inherit;
|
|
1525
|
+
font-size: 12.5px;
|
|
1526
|
+
outline: none;
|
|
1527
|
+
}
|
|
1528
|
+
.clado-clean-input:focus {
|
|
1529
|
+
border-color: var(--clado-ui-brand);
|
|
1530
|
+
}
|
|
1531
|
+
|