codexmate 0.0.20 → 0.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.en.md +349 -259
- package/README.md +284 -252
- package/cli/agents-files.js +162 -0
- package/cli/archive-helpers.js +446 -0
- package/cli/auth-profiles.js +359 -0
- package/cli/builtin-proxy.js +580 -0
- package/cli/claude-proxy.js +998 -0
- package/cli/config-bootstrap.js +384 -0
- package/cli/config-health.js +338 -338
- package/cli/openclaw-config.js +629 -0
- package/cli/skills.js +1141 -0
- package/cli/zip-commands.js +510 -0
- package/cli.js +13101 -13497
- package/lib/cli-file-utils.js +151 -151
- package/lib/cli-models-utils.js +419 -311
- package/lib/cli-network-utils.js +164 -164
- package/lib/cli-path-utils.js +69 -0
- package/lib/cli-session-utils.js +121 -121
- package/lib/cli-sessions.js +386 -0
- package/lib/cli-utils.js +155 -155
- package/lib/download-artifacts.js +77 -0
- package/lib/mcp-stdio.js +440 -440
- package/lib/task-orchestrator.js +869 -0
- package/lib/text-diff.js +303 -303
- package/lib/workflow-engine.js +340 -340
- package/package.json +74 -70
- package/res/json5.min.js +1 -1
- package/res/vue.global.prod.js +13 -0
- package/web-ui/app.js +530 -397
- package/web-ui/index.html +33 -30
- package/web-ui/logic.agents-diff.mjs +386 -386
- package/web-ui/logic.claude.mjs +168 -108
- package/web-ui/logic.mjs +5 -5
- package/web-ui/logic.runtime.mjs +124 -124
- package/web-ui/logic.sessions.mjs +581 -263
- package/web-ui/modules/api.mjs +90 -69
- package/web-ui/modules/app.computed.dashboard.mjs +113 -113
- package/web-ui/modules/app.computed.index.mjs +15 -13
- package/web-ui/modules/app.computed.main-tabs.mjs +195 -0
- package/web-ui/modules/app.computed.session.mjs +507 -141
- package/web-ui/modules/app.constants.mjs +15 -15
- package/web-ui/modules/app.methods.agents.mjs +493 -493
- package/web-ui/modules/app.methods.claude-config.mjs +174 -174
- package/web-ui/modules/app.methods.codex-config.mjs +640 -640
- package/web-ui/modules/app.methods.index.mjs +88 -86
- package/web-ui/modules/app.methods.install.mjs +149 -157
- package/web-ui/modules/app.methods.navigation.mjs +619 -478
- package/web-ui/modules/app.methods.openclaw-core.mjs +814 -514
- package/web-ui/modules/app.methods.openclaw-editing.mjs +372 -337
- package/web-ui/modules/app.methods.openclaw-persist.mjs +369 -251
- package/web-ui/modules/app.methods.providers.mjs +363 -265
- package/web-ui/modules/app.methods.runtime.mjs +323 -323
- package/web-ui/modules/app.methods.session-actions.mjs +520 -457
- package/web-ui/modules/app.methods.session-browser.mjs +626 -435
- package/web-ui/modules/app.methods.session-timeline.mjs +448 -441
- package/web-ui/modules/app.methods.session-trash.mjs +422 -419
- package/web-ui/modules/app.methods.startup-claude.mjs +412 -406
- package/web-ui/modules/app.methods.task-orchestration.mjs +471 -0
- package/web-ui/modules/config-mode.computed.mjs +126 -124
- package/web-ui/modules/skills.computed.mjs +107 -107
- package/web-ui/modules/skills.methods.mjs +481 -481
- package/web-ui/partials/index/layout-footer.html +13 -69
- package/web-ui/partials/index/layout-header.html +402 -337
- package/web-ui/partials/index/modal-config-template-agents.html +125 -125
- package/web-ui/partials/index/modal-confirm-toast.html +32 -32
- package/web-ui/partials/index/modal-health-check.html +72 -72
- package/web-ui/partials/index/modal-openclaw-config.html +280 -275
- package/web-ui/partials/index/modal-skills.html +184 -184
- package/web-ui/partials/index/modals-basic.html +156 -196
- package/web-ui/partials/index/panel-config-claude.html +126 -100
- package/web-ui/partials/index/panel-config-codex.html +237 -237
- package/web-ui/partials/index/panel-config-openclaw.html +78 -84
- package/web-ui/partials/index/panel-docs.html +130 -0
- package/web-ui/partials/index/panel-market.html +174 -174
- package/web-ui/partials/index/panel-orchestration.html +397 -0
- package/web-ui/partials/index/panel-sessions.html +292 -387
- package/web-ui/partials/index/panel-settings.html +190 -166
- package/web-ui/partials/index/panel-usage.html +213 -0
- package/web-ui/session-helpers.mjs +559 -362
- package/web-ui/source-bundle.cjs +233 -233
- package/web-ui/styles/base-theme.css +271 -373
- package/web-ui/styles/controls-forms.css +360 -354
- package/web-ui/styles/docs-panel.css +182 -0
- package/web-ui/styles/feedback.css +108 -108
- package/web-ui/styles/health-check-dialog.css +144 -144
- package/web-ui/styles/layout-shell.css +376 -330
- package/web-ui/styles/modals-core.css +464 -449
- package/web-ui/styles/navigation-panels.css +348 -381
- package/web-ui/styles/openclaw-structured.css +266 -266
- package/web-ui/styles/responsive.css +450 -416
- package/web-ui/styles/sessions-list.css +400 -414
- package/web-ui/styles/sessions-preview.css +411 -405
- package/web-ui/styles/sessions-toolbar-trash.css +243 -243
- package/web-ui/styles/sessions-usage.css +628 -276
- package/web-ui/styles/skills-list.css +296 -298
- package/web-ui/styles/skills-market.css +335 -335
- package/web-ui/styles/task-orchestration.css +776 -0
- package/web-ui/styles/titles-cards.css +408 -407
- package/web-ui/styles.css +18 -16
- package/web-ui.html +17 -17
- package/res/screenshot.png +0 -0
- package/res/vue.global.js +0 -18552
|
@@ -1,298 +1,296 @@
|
|
|
1
|
-
.skills-hint-line,
|
|
2
|
-
.hint-single-line {
|
|
3
|
-
display: block;
|
|
4
|
-
white-space: nowrap;
|
|
5
|
-
overflow: hidden;
|
|
6
|
-
text-overflow: ellipsis;
|
|
7
|
-
max-width: 100%;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.skill-list {
|
|
11
|
-
display: flex;
|
|
12
|
-
flex-direction: column;
|
|
13
|
-
gap: var(--spacing-xs);
|
|
14
|
-
margin-bottom: var(--spacing-sm);
|
|
15
|
-
max-height: min(52vh, 440px);
|
|
16
|
-
overflow-y: auto;
|
|
17
|
-
padding-right:
|
|
18
|
-
scrollbar-width:
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.skill-list::-webkit-scrollbar {
|
|
23
|
-
width:
|
|
24
|
-
height:
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.skill-list::-webkit-scrollbar-track {
|
|
28
|
-
background: transparent;
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
flex
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
}
|
|
298
|
-
|
|
1
|
+
.skills-hint-line,
|
|
2
|
+
.hint-single-line {
|
|
3
|
+
display: block;
|
|
4
|
+
white-space: nowrap;
|
|
5
|
+
overflow: hidden;
|
|
6
|
+
text-overflow: ellipsis;
|
|
7
|
+
max-width: 100%;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.skill-list {
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
gap: var(--spacing-xs);
|
|
14
|
+
margin-bottom: var(--spacing-sm);
|
|
15
|
+
max-height: min(52vh, 440px);
|
|
16
|
+
overflow-y: auto;
|
|
17
|
+
padding-right: 0;
|
|
18
|
+
scrollbar-width: none;
|
|
19
|
+
-ms-overflow-style: none;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.skill-list::-webkit-scrollbar {
|
|
23
|
+
width: 0;
|
|
24
|
+
height: 0;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.skill-list::-webkit-scrollbar-track {
|
|
28
|
+
background: transparent;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.skill-list::-webkit-scrollbar-thumb {
|
|
32
|
+
background: transparent;
|
|
33
|
+
border: 0;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.skill-list::-webkit-scrollbar-thumb:hover {
|
|
37
|
+
background: transparent;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.skill-item {
|
|
41
|
+
display: flex;
|
|
42
|
+
align-items: flex-start;
|
|
43
|
+
gap: var(--spacing-xs);
|
|
44
|
+
border: 1px dashed var(--color-border-soft);
|
|
45
|
+
border-radius: var(--radius-sm);
|
|
46
|
+
padding: var(--spacing-xs);
|
|
47
|
+
background: var(--color-surface-alt);
|
|
48
|
+
transition: border-color var(--transition-fast) var(--ease-spring), background-color var(--transition-fast) var(--ease-spring);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.skill-item-main {
|
|
52
|
+
min-width: 0;
|
|
53
|
+
display: flex;
|
|
54
|
+
flex-direction: column;
|
|
55
|
+
gap: 6px;
|
|
56
|
+
flex: 1;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.skill-item-title {
|
|
60
|
+
font-size: var(--font-size-secondary);
|
|
61
|
+
font-weight: var(--font-weight-secondary);
|
|
62
|
+
color: var(--color-text-secondary);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.skill-item-description {
|
|
66
|
+
font-size: var(--font-size-caption);
|
|
67
|
+
line-height: 1.45;
|
|
68
|
+
color: var(--color-text-tertiary);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.skill-item-meta {
|
|
72
|
+
display: flex;
|
|
73
|
+
flex-wrap: wrap;
|
|
74
|
+
gap: var(--spacing-xs);
|
|
75
|
+
align-items: center;
|
|
76
|
+
min-width: 0;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.skill-item-path {
|
|
80
|
+
font-family: var(--font-family-mono);
|
|
81
|
+
font-size: var(--font-size-caption);
|
|
82
|
+
color: var(--color-text-tertiary);
|
|
83
|
+
word-break: break-all;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.skill-item:hover {
|
|
87
|
+
border-color: rgba(201, 94, 75, 0.35);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.skill-item.selected {
|
|
91
|
+
border-color: rgba(201, 94, 75, 0.55);
|
|
92
|
+
background: linear-gradient(to bottom, rgba(201, 94, 75, 0.10) 0%, rgba(201, 94, 75, 0.04) 100%);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.skills-empty-state {
|
|
96
|
+
margin-bottom: var(--spacing-sm);
|
|
97
|
+
border: 1px dashed var(--color-border-soft);
|
|
98
|
+
border-radius: var(--radius-sm);
|
|
99
|
+
background: linear-gradient(to bottom, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.58) 100%);
|
|
100
|
+
color: var(--color-text-tertiary);
|
|
101
|
+
font-size: var(--font-size-secondary);
|
|
102
|
+
text-align: center;
|
|
103
|
+
padding: 18px 12px;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.skills-import-block {
|
|
107
|
+
margin-bottom: var(--spacing-sm);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.skills-import-title {
|
|
111
|
+
font-size: var(--font-size-body);
|
|
112
|
+
font-weight: var(--font-weight-secondary);
|
|
113
|
+
color: var(--color-text-secondary);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.skills-import-list {
|
|
117
|
+
max-height: min(28vh, 260px);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.skills-import-empty {
|
|
121
|
+
margin-bottom: 0;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.list-row {
|
|
125
|
+
display: flex;
|
|
126
|
+
flex-wrap: wrap;
|
|
127
|
+
gap: var(--spacing-xs);
|
|
128
|
+
align-items: center;
|
|
129
|
+
margin-bottom: var(--spacing-xs);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.list-row:last-child {
|
|
133
|
+
margin-bottom: 0;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.list-row .form-input {
|
|
137
|
+
flex: 1;
|
|
138
|
+
min-width: 140px;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.btn-mini {
|
|
142
|
+
padding: 6px 10px;
|
|
143
|
+
border-radius: var(--radius-sm);
|
|
144
|
+
border: 1px solid var(--color-border-soft);
|
|
145
|
+
background: linear-gradient(to bottom, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
|
|
146
|
+
font-size: var(--font-size-caption);
|
|
147
|
+
font-weight: var(--font-weight-secondary);
|
|
148
|
+
color: var(--color-text-secondary);
|
|
149
|
+
cursor: pointer;
|
|
150
|
+
transition: all var(--transition-fast) var(--ease-spring);
|
|
151
|
+
box-shadow: var(--shadow-subtle);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.btn-mini:hover {
|
|
155
|
+
border-color: var(--color-brand);
|
|
156
|
+
color: var(--color-brand);
|
|
157
|
+
transform: translateY(-1px);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.btn-mini.delete {
|
|
161
|
+
color: var(--color-error);
|
|
162
|
+
border-color: rgba(193, 72, 59, 0.35);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.btn-mini.delete:hover {
|
|
166
|
+
border-color: rgba(193, 72, 59, 0.7);
|
|
167
|
+
color: var(--color-error);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.btn-group {
|
|
171
|
+
display: flex;
|
|
172
|
+
gap: var(--spacing-sm);
|
|
173
|
+
margin-top: var(--spacing-md);
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.btn {
|
|
177
|
+
flex: 1;
|
|
178
|
+
padding: 14px var(--spacing-sm);
|
|
179
|
+
border-radius: var(--radius-sm);
|
|
180
|
+
font-size: var(--font-size-body);
|
|
181
|
+
font-weight: var(--font-weight-secondary);
|
|
182
|
+
cursor: pointer;
|
|
183
|
+
transition: all var(--transition-fast) var(--ease-spring);
|
|
184
|
+
border: 1px solid var(--color-border-soft);
|
|
185
|
+
background: linear-gradient(to bottom, var(--color-surface) 0%, rgba(255, 255, 255, 0.95) 100%);
|
|
186
|
+
color: var(--color-text-secondary);
|
|
187
|
+
box-shadow: var(--shadow-subtle);
|
|
188
|
+
letter-spacing: -0.01em;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.btn:active {
|
|
192
|
+
transform: scale(0.985);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.btn-cancel {
|
|
196
|
+
background: linear-gradient(to bottom, var(--color-bg) 0%, rgba(247, 241, 232, 0.8) 100%);
|
|
197
|
+
color: var(--color-text-primary);
|
|
198
|
+
border: 1px solid var(--color-border-soft);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.btn-cancel:hover {
|
|
202
|
+
background: linear-gradient(to bottom, var(--color-border) 0%, rgba(208, 196, 182, 0.5) 100%);
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.btn-confirm {
|
|
206
|
+
background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-dark) 100%);
|
|
207
|
+
color: white;
|
|
208
|
+
box-shadow: 0 2px 4px rgba(210, 107, 90, 0.2);
|
|
209
|
+
border: none;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.btn-confirm:hover {
|
|
213
|
+
box-shadow: 0 4px 8px rgba(210, 107, 90, 0.25);
|
|
214
|
+
filter: brightness(1.05);
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.btn-confirm.secondary {
|
|
218
|
+
background: linear-gradient(135deg, var(--color-success) 0%, rgba(90, 139, 106, 0.85) 100%);
|
|
219
|
+
box-shadow: 0 2px 4px rgba(90, 139, 106, 0.2);
|
|
220
|
+
border: none;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.btn-confirm.secondary:hover {
|
|
224
|
+
box-shadow: 0 4px 8px rgba(90, 139, 106, 0.25);
|
|
225
|
+
filter: brightness(1.05);
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.btn-confirm.btn-danger {
|
|
229
|
+
background: linear-gradient(135deg, #c75642 0%, #9f392c 100%);
|
|
230
|
+
box-shadow: 0 2px 4px rgba(163, 51, 38, 0.24);
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.btn-confirm.btn-danger:hover {
|
|
234
|
+
box-shadow: 0 4px 10px rgba(163, 51, 38, 0.28);
|
|
235
|
+
filter: brightness(1.04);
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
/* ============================================
|
|
239
|
+
模型列表
|
|
240
|
+
============================================ */
|
|
241
|
+
.model-list {
|
|
242
|
+
max-height: 200px;
|
|
243
|
+
overflow-y: auto;
|
|
244
|
+
border: 1px solid rgba(208, 196, 182, 0.4);
|
|
245
|
+
border-radius: var(--radius-sm);
|
|
246
|
+
margin-bottom: var(--spacing-sm);
|
|
247
|
+
scrollbar-width: none;
|
|
248
|
+
background: linear-gradient(to bottom, var(--color-surface) 0%, rgba(255, 255, 255, 0.8) 100%);
|
|
249
|
+
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.model-list::-webkit-scrollbar {
|
|
253
|
+
display: none;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.model-item {
|
|
257
|
+
display: flex;
|
|
258
|
+
justify-content: space-between;
|
|
259
|
+
align-items: center;
|
|
260
|
+
padding: 11px var(--spacing-sm);
|
|
261
|
+
border-bottom: 1px solid rgba(208, 196, 182, 0.3);
|
|
262
|
+
font-size: var(--font-size-body);
|
|
263
|
+
color: var(--color-text-primary);
|
|
264
|
+
transition: all var(--transition-fast) var(--ease-spring);
|
|
265
|
+
letter-spacing: -0.005em;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.model-item:last-child {
|
|
269
|
+
border-bottom: none;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
.model-item:hover {
|
|
273
|
+
background: linear-gradient(to right, rgba(247, 241, 232, 0.6) 0%, rgba(247, 241, 232, 0.3) 100%);
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
.btn-remove-model {
|
|
277
|
+
font-size: var(--font-size-caption);
|
|
278
|
+
font-weight: var(--font-weight-caption);
|
|
279
|
+
color: var(--color-text-tertiary);
|
|
280
|
+
cursor: pointer;
|
|
281
|
+
padding: 5px 10px;
|
|
282
|
+
border-radius: var(--radius-full);
|
|
283
|
+
transition: all var(--transition-fast) var(--ease-spring);
|
|
284
|
+
background: transparent;
|
|
285
|
+
border: 1px solid rgba(139, 118, 104, 0.2);
|
|
286
|
+
letter-spacing: 0.03em;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
.btn-remove-model:hover {
|
|
290
|
+
background: linear-gradient(135deg, var(--color-error) 0%, rgba(200, 74, 58, 0.9) 100%);
|
|
291
|
+
color: white;
|
|
292
|
+
transform: scale(1.08);
|
|
293
|
+
box-shadow: 0 2px 6px rgba(200, 74, 58, 0.25);
|
|
294
|
+
border-color: transparent;
|
|
295
|
+
}
|
|
296
|
+
|