codexmate 0.0.21 → 0.0.22
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.md +389 -284
- package/README.zh.md +321 -0
- package/cli/agents-files.js +224 -162
- package/cli/archive-helpers.js +446 -446
- package/cli/auth-profiles.js +359 -359
- package/cli/builtin-proxy.js +1044 -580
- package/cli/claude-proxy.js +998 -998
- package/cli/config-bootstrap.js +384 -384
- package/cli/config-health.js +338 -338
- package/cli/openai-bridge.js +950 -0
- package/cli/openclaw-config.js +629 -629
- package/cli/session-usage.concurrent.js +28 -0
- package/cli/session-usage.js +112 -0
- package/cli/session-usage.models.js +176 -0
- package/cli/skills.js +1141 -1141
- package/cli/zip-commands.js +510 -510
- package/cli.js +13214 -13129
- package/lib/cli-file-utils.js +151 -151
- package/lib/cli-models-utils.js +419 -419
- package/lib/cli-network-utils.js +164 -164
- package/lib/cli-path-utils.js +69 -69
- package/lib/cli-session-utils.js +121 -121
- package/lib/cli-sessions.js +386 -386
- package/lib/cli-utils.js +155 -155
- package/lib/download-artifacts.js +77 -77
- package/lib/mcp-stdio.js +440 -440
- package/lib/task-orchestrator.js +869 -869
- package/lib/text-diff.js +303 -303
- package/lib/workflow-engine.js +340 -340
- package/package.json +74 -74
- package/res/json5.min.js +1 -1
- package/res/logo.png +0 -0
- package/res/vue.global.prod.js +13 -13
- package/web-ui/app.js +575 -530
- package/web-ui/index.html +34 -33
- package/web-ui/logic.agents-diff.mjs +386 -386
- package/web-ui/logic.claude.mjs +168 -168
- package/web-ui/logic.mjs +5 -5
- package/web-ui/logic.runtime.mjs +128 -124
- package/web-ui/logic.sessions.mjs +614 -581
- package/web-ui/modules/api.mjs +90 -90
- package/web-ui/modules/app.computed.dashboard.mjs +126 -113
- package/web-ui/modules/app.computed.index.mjs +17 -15
- package/web-ui/modules/app.computed.main-tabs.mjs +198 -195
- package/web-ui/modules/app.computed.session.mjs +653 -507
- package/web-ui/modules/app.constants.mjs +15 -15
- package/web-ui/modules/app.methods.agents.mjs +544 -493
- package/web-ui/modules/app.methods.claude-config.mjs +174 -174
- package/web-ui/modules/app.methods.codex-config.mjs +795 -640
- package/web-ui/modules/app.methods.index.mjs +92 -88
- package/web-ui/modules/app.methods.install.mjs +161 -149
- package/web-ui/modules/app.methods.navigation.mjs +619 -619
- package/web-ui/modules/app.methods.openclaw-core.mjs +814 -814
- package/web-ui/modules/app.methods.openclaw-editing.mjs +372 -372
- package/web-ui/modules/app.methods.openclaw-persist.mjs +369 -369
- package/web-ui/modules/app.methods.providers.mjs +404 -363
- package/web-ui/modules/app.methods.runtime.mjs +323 -323
- package/web-ui/modules/app.methods.session-actions.mjs +537 -520
- package/web-ui/modules/app.methods.session-browser.mjs +626 -626
- package/web-ui/modules/app.methods.session-timeline.mjs +448 -448
- package/web-ui/modules/app.methods.session-trash.mjs +422 -422
- package/web-ui/modules/app.methods.startup-claude.mjs +405 -412
- package/web-ui/modules/app.methods.task-orchestration.mjs +471 -471
- package/web-ui/modules/config-mode.computed.mjs +126 -126
- package/web-ui/modules/config-template-confirm-pref.mjs +33 -0
- package/web-ui/modules/i18n.mjs +1609 -0
- package/web-ui/modules/plugins.computed.mjs +220 -0
- package/web-ui/modules/plugins.methods.mjs +620 -0
- package/web-ui/modules/plugins.storage.mjs +37 -0
- 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 -13
- package/web-ui/partials/index/layout-header.html +461 -402
- package/web-ui/partials/index/modal-config-template-agents.html +175 -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 -280
- package/web-ui/partials/index/modal-skills.html +200 -184
- package/web-ui/partials/index/modals-basic.html +165 -156
- package/web-ui/partials/index/panel-config-claude.html +138 -126
- package/web-ui/partials/index/panel-config-codex.html +234 -237
- package/web-ui/partials/index/panel-config-openclaw.html +78 -78
- package/web-ui/partials/index/panel-docs.html +147 -130
- package/web-ui/partials/index/panel-market.html +174 -174
- package/web-ui/partials/index/panel-orchestration.html +397 -397
- package/web-ui/partials/index/panel-plugins.html +243 -0
- package/web-ui/partials/index/panel-sessions.html +292 -292
- package/web-ui/partials/index/panel-settings.html +258 -190
- package/web-ui/partials/index/panel-usage.html +353 -213
- package/web-ui/session-helpers.mjs +573 -559
- package/web-ui/source-bundle.cjs +233 -233
- package/web-ui/styles/base-theme.css +264 -271
- package/web-ui/styles/controls-forms.css +362 -360
- package/web-ui/styles/docs-panel.css +247 -182
- 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 +596 -376
- package/web-ui/styles/modals-core.css +464 -464
- package/web-ui/styles/navigation-panels.css +382 -348
- package/web-ui/styles/openclaw-structured.css +266 -266
- package/web-ui/styles/plugins-panel.css +518 -0
- package/web-ui/styles/responsive.css +456 -450
- package/web-ui/styles/sessions-list.css +400 -400
- package/web-ui/styles/sessions-preview.css +411 -411
- package/web-ui/styles/sessions-toolbar-trash.css +268 -243
- package/web-ui/styles/sessions-usage.css +851 -628
- package/web-ui/styles/settings-panel.css +166 -0
- package/web-ui/styles/skills-list.css +303 -296
- package/web-ui/styles/skills-market.css +396 -335
- package/web-ui/styles/task-orchestration.css +776 -776
- package/web-ui/styles/titles-cards.css +408 -408
- package/web-ui/styles.css +20 -18
- package/web-ui.html +17 -17
- package/README.en.md +0 -349
|
@@ -1,182 +1,247 @@
|
|
|
1
|
-
.docs-mode-content {
|
|
2
|
-
display: grid;
|
|
3
|
-
gap: 14px;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
.docs-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.docs-
|
|
13
|
-
.docs-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.docs-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
.docs-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.docs-
|
|
38
|
-
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.docs-
|
|
42
|
-
display: grid;
|
|
43
|
-
grid-template-columns: repeat(
|
|
44
|
-
gap:
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.docs-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
border
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.docs-summary-
|
|
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
|
-
.docs-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.docs-
|
|
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
|
-
|
|
1
|
+
.docs-mode-content {
|
|
2
|
+
display: grid;
|
|
3
|
+
gap: 14px;
|
|
4
|
+
/* CLI Install 是展示型面板:非输入区域不使用 I-beam(text)光标,避免误导为可编辑。 */
|
|
5
|
+
cursor: default;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.docs-mode-content * {
|
|
9
|
+
cursor: default;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.docs-mode-content button,
|
|
13
|
+
.docs-mode-content [role="button"] {
|
|
14
|
+
cursor: pointer;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.docs-mode-content input,
|
|
18
|
+
.docs-mode-content textarea {
|
|
19
|
+
cursor: text;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.docs-mode-content select {
|
|
23
|
+
cursor: pointer;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.docs-overview-section,
|
|
27
|
+
.docs-command-section,
|
|
28
|
+
.docs-help-section {
|
|
29
|
+
gap: 12px;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.docs-overview-header,
|
|
33
|
+
.docs-section-header {
|
|
34
|
+
align-items: flex-start;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.docs-section-note {
|
|
38
|
+
margin-top: 4px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.docs-toolbar-grid {
|
|
42
|
+
display: grid;
|
|
43
|
+
grid-template-columns: repeat(12, minmax(0, 1fr));
|
|
44
|
+
gap: 12px;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.docs-toolbar-card {
|
|
48
|
+
grid-column: span 4;
|
|
49
|
+
display: grid;
|
|
50
|
+
gap: 8px;
|
|
51
|
+
padding: 12px;
|
|
52
|
+
border: 1px solid var(--color-border);
|
|
53
|
+
border-radius: 10px;
|
|
54
|
+
background: rgba(255, 253, 252, 0.76);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.docs-toolbar-card-wide {
|
|
58
|
+
grid-column: span 8;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.docs-summary-strip {
|
|
62
|
+
display: grid;
|
|
63
|
+
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
64
|
+
gap: 10px;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.docs-summary-item {
|
|
68
|
+
display: grid;
|
|
69
|
+
gap: 4px;
|
|
70
|
+
padding: 12px;
|
|
71
|
+
border: 1px solid var(--color-border);
|
|
72
|
+
border-radius: 10px;
|
|
73
|
+
background: rgba(255, 253, 252, 0.82);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.docs-summary-item-wide {
|
|
77
|
+
grid-column: span 2;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.docs-summary-label {
|
|
81
|
+
font-size: 11px;
|
|
82
|
+
color: var(--color-text-muted);
|
|
83
|
+
letter-spacing: 0.04em;
|
|
84
|
+
text-transform: uppercase;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.docs-summary-value {
|
|
88
|
+
font-size: 14px;
|
|
89
|
+
color: var(--color-text-primary);
|
|
90
|
+
line-height: 1.4;
|
|
91
|
+
word-break: break-word;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.docs-install-list {
|
|
95
|
+
margin-top: 0;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.docs-install-row {
|
|
99
|
+
align-items: stretch;
|
|
100
|
+
background: rgba(255, 253, 252, 0.8);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.docs-command-head {
|
|
104
|
+
display: grid;
|
|
105
|
+
gap: 4px;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.docs-command-row {
|
|
109
|
+
display: grid;
|
|
110
|
+
gap: 10px;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.docs-command-row-secondary {
|
|
114
|
+
margin-top: 6px;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.docs-command-box {
|
|
118
|
+
display: grid;
|
|
119
|
+
grid-template-columns: 1fr auto;
|
|
120
|
+
align-items: stretch;
|
|
121
|
+
gap: 10px;
|
|
122
|
+
padding: 10px 10px 10px 12px;
|
|
123
|
+
border: 1px solid var(--color-border);
|
|
124
|
+
border-radius: 10px;
|
|
125
|
+
background: rgba(255, 253, 252, 0.9);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.docs-command-row .install-command {
|
|
129
|
+
min-width: 0;
|
|
130
|
+
padding: 10px 12px;
|
|
131
|
+
border-radius: 8px;
|
|
132
|
+
background: rgba(18, 22, 35, 0.06);
|
|
133
|
+
overflow-x: auto;
|
|
134
|
+
white-space: nowrap;
|
|
135
|
+
user-select: text;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.docs-command-prefix {
|
|
139
|
+
display: inline-flex;
|
|
140
|
+
align-items: center;
|
|
141
|
+
padding: 2px 8px;
|
|
142
|
+
margin-right: 10px;
|
|
143
|
+
border-radius: 999px;
|
|
144
|
+
border: 1px solid rgba(0, 0, 0, 0.1);
|
|
145
|
+
background: rgba(210, 107, 90, 0.10);
|
|
146
|
+
color: var(--color-text-secondary);
|
|
147
|
+
font-size: 11px;
|
|
148
|
+
font-weight: 700;
|
|
149
|
+
letter-spacing: 0.02em;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.docs-command-meta {
|
|
153
|
+
display: flex;
|
|
154
|
+
flex-wrap: wrap;
|
|
155
|
+
gap: 6px 10px;
|
|
156
|
+
font-size: 11px;
|
|
157
|
+
color: var(--color-text-tertiary);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.docs-meta-pill {
|
|
161
|
+
display: inline-flex;
|
|
162
|
+
align-items: center;
|
|
163
|
+
padding: 4px 8px;
|
|
164
|
+
border-radius: 999px;
|
|
165
|
+
border: 1px solid rgba(0, 0, 0, 0.08);
|
|
166
|
+
background: rgba(255, 255, 255, 0.6);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.docs-copy-btn {
|
|
170
|
+
min-width: 76px;
|
|
171
|
+
min-height: 40px;
|
|
172
|
+
flex: 0 0 auto;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.docs-help-grid {
|
|
176
|
+
display: grid;
|
|
177
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
178
|
+
gap: 12px;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.docs-note-card {
|
|
182
|
+
padding: 14px;
|
|
183
|
+
border: 1px solid var(--color-border);
|
|
184
|
+
border-radius: 10px;
|
|
185
|
+
background: rgba(255, 253, 252, 0.78);
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.docs-note-title {
|
|
189
|
+
font-size: 13px;
|
|
190
|
+
font-weight: 700;
|
|
191
|
+
color: var(--color-text-primary);
|
|
192
|
+
margin-bottom: 8px;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.docs-help-list {
|
|
196
|
+
margin-top: 0;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.docs-static-list {
|
|
200
|
+
margin: 0;
|
|
201
|
+
padding-left: 18px;
|
|
202
|
+
color: var(--color-text-secondary);
|
|
203
|
+
font-size: 13px;
|
|
204
|
+
line-height: 1.55;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.docs-static-list li + li {
|
|
208
|
+
margin-top: 6px;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
@media (max-width: 1100px) {
|
|
212
|
+
.docs-toolbar-card,
|
|
213
|
+
.docs-toolbar-card-wide {
|
|
214
|
+
grid-column: span 12;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.docs-summary-strip {
|
|
218
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.docs-summary-item-wide {
|
|
222
|
+
grid-column: span 2;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
@media (max-width: 720px) {
|
|
227
|
+
.docs-summary-strip,
|
|
228
|
+
.docs-help-grid {
|
|
229
|
+
grid-template-columns: 1fr;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.docs-summary-item-wide {
|
|
233
|
+
grid-column: span 1;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.docs-command-row {
|
|
237
|
+
gap: 8px;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.docs-command-box {
|
|
241
|
+
grid-template-columns: 1fr;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.docs-copy-btn {
|
|
245
|
+
width: 100%;
|
|
246
|
+
}
|
|
247
|
+
}
|
|
@@ -1,108 +1,108 @@
|
|
|
1
|
-
/* ============================================
|
|
2
|
-
Toast - 顶部横幅
|
|
3
|
-
============================================ */
|
|
4
|
-
.toast {
|
|
5
|
-
position: fixed;
|
|
6
|
-
top: 16px;
|
|
7
|
-
left: 50%;
|
|
8
|
-
transform: translateX(-50%);
|
|
9
|
-
background: linear-gradient(to bottom, var(--color-surface) 0%, rgba(255, 255, 255, 0.95) 100%);
|
|
10
|
-
padding: 12px 24px;
|
|
11
|
-
border-radius: var(--radius-full);
|
|
12
|
-
box-shadow: var(--shadow-raised);
|
|
13
|
-
z-index: 200;
|
|
14
|
-
animation: slideDown var(--transition-slow) var(--ease-spring);
|
|
15
|
-
display: flex;
|
|
16
|
-
align-items: center;
|
|
17
|
-
gap: var(--spacing-xs);
|
|
18
|
-
font-size: var(--font-size-body);
|
|
19
|
-
font-weight: var(--font-weight-body);
|
|
20
|
-
border: 1px solid rgba(255, 255, 255, 0.8);
|
|
21
|
-
backdrop-filter: blur(8px);
|
|
22
|
-
-webkit-backdrop-filter: blur(8px);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.toast.error {
|
|
26
|
-
border-left: 3px solid var(--color-error);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.toast.success {
|
|
30
|
-
border-left: 3px solid var(--color-success);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
/* ============================================
|
|
34
|
-
状态消息
|
|
35
|
-
============================================ */
|
|
36
|
-
.state-message {
|
|
37
|
-
text-align: center;
|
|
38
|
-
padding: 60px var(--spacing-md);
|
|
39
|
-
color: var(--color-text-tertiary);
|
|
40
|
-
font-size: var(--font-size-body);
|
|
41
|
-
opacity: 0.7;
|
|
42
|
-
letter-spacing: -0.005em;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.state-message.error {
|
|
46
|
-
color: var(--color-error);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
/* 空状态 */
|
|
50
|
-
.empty-state {
|
|
51
|
-
text-align: center;
|
|
52
|
-
padding: 48px var(--spacing-md);
|
|
53
|
-
color: var(--color-text-tertiary);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.empty-state-icon {
|
|
57
|
-
width: 48px;
|
|
58
|
-
height: 48px;
|
|
59
|
-
margin: 0 auto var(--spacing-sm);
|
|
60
|
-
opacity: 0.3;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.empty-state-title {
|
|
64
|
-
font-size: var(--font-size-body);
|
|
65
|
-
font-weight: var(--font-weight-secondary);
|
|
66
|
-
color: var(--color-text-secondary);
|
|
67
|
-
margin-bottom: 4px;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.empty-state-subtitle {
|
|
71
|
-
font-size: var(--font-size-secondary);
|
|
72
|
-
color: var(--color-text-tertiary);
|
|
73
|
-
opacity: 0.8;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
/* ============================================
|
|
77
|
-
动画
|
|
78
|
-
============================================ */
|
|
79
|
-
@keyframes fadeIn {
|
|
80
|
-
from { opacity: 0; }
|
|
81
|
-
to { opacity: 1; }
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
@keyframes slideUp {
|
|
85
|
-
from { transform: translateY(24px); opacity: 0; }
|
|
86
|
-
to { transform: translateY(0); opacity: 1; }
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
@keyframes slideDown {
|
|
90
|
-
from { transform: translateX(-50%) translateY(-100%); opacity: 0; }
|
|
91
|
-
to { transform: translateX(-50%) translateY(0); opacity: 1; }
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
@keyframes spin {
|
|
95
|
-
from { transform: rotate(0deg); }
|
|
96
|
-
to { transform: rotate(360deg); }
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
[v-cloak] {
|
|
100
|
-
display: none !important;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
/* 模式内容容器 */
|
|
104
|
-
.mode-content {
|
|
105
|
-
animation: fadeIn var(--transition-normal) var(--ease-spring);
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
/* TODO: 内容区域包裹器当前不需要额外稳定高度样式,保留注释避免误判为缺失规则。 */
|
|
1
|
+
/* ============================================
|
|
2
|
+
Toast - 顶部横幅
|
|
3
|
+
============================================ */
|
|
4
|
+
.toast {
|
|
5
|
+
position: fixed;
|
|
6
|
+
top: 16px;
|
|
7
|
+
left: 50%;
|
|
8
|
+
transform: translateX(-50%);
|
|
9
|
+
background: linear-gradient(to bottom, var(--color-surface) 0%, rgba(255, 255, 255, 0.95) 100%);
|
|
10
|
+
padding: 12px 24px;
|
|
11
|
+
border-radius: var(--radius-full);
|
|
12
|
+
box-shadow: var(--shadow-raised);
|
|
13
|
+
z-index: 200;
|
|
14
|
+
animation: slideDown var(--transition-slow) var(--ease-spring);
|
|
15
|
+
display: flex;
|
|
16
|
+
align-items: center;
|
|
17
|
+
gap: var(--spacing-xs);
|
|
18
|
+
font-size: var(--font-size-body);
|
|
19
|
+
font-weight: var(--font-weight-body);
|
|
20
|
+
border: 1px solid rgba(255, 255, 255, 0.8);
|
|
21
|
+
backdrop-filter: blur(8px);
|
|
22
|
+
-webkit-backdrop-filter: blur(8px);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.toast.error {
|
|
26
|
+
border-left: 3px solid var(--color-error);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.toast.success {
|
|
30
|
+
border-left: 3px solid var(--color-success);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/* ============================================
|
|
34
|
+
状态消息
|
|
35
|
+
============================================ */
|
|
36
|
+
.state-message {
|
|
37
|
+
text-align: center;
|
|
38
|
+
padding: 60px var(--spacing-md);
|
|
39
|
+
color: var(--color-text-tertiary);
|
|
40
|
+
font-size: var(--font-size-body);
|
|
41
|
+
opacity: 0.7;
|
|
42
|
+
letter-spacing: -0.005em;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.state-message.error {
|
|
46
|
+
color: var(--color-error);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/* 空状态 */
|
|
50
|
+
.empty-state {
|
|
51
|
+
text-align: center;
|
|
52
|
+
padding: 48px var(--spacing-md);
|
|
53
|
+
color: var(--color-text-tertiary);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.empty-state-icon {
|
|
57
|
+
width: 48px;
|
|
58
|
+
height: 48px;
|
|
59
|
+
margin: 0 auto var(--spacing-sm);
|
|
60
|
+
opacity: 0.3;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.empty-state-title {
|
|
64
|
+
font-size: var(--font-size-body);
|
|
65
|
+
font-weight: var(--font-weight-secondary);
|
|
66
|
+
color: var(--color-text-secondary);
|
|
67
|
+
margin-bottom: 4px;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.empty-state-subtitle {
|
|
71
|
+
font-size: var(--font-size-secondary);
|
|
72
|
+
color: var(--color-text-tertiary);
|
|
73
|
+
opacity: 0.8;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/* ============================================
|
|
77
|
+
动画
|
|
78
|
+
============================================ */
|
|
79
|
+
@keyframes fadeIn {
|
|
80
|
+
from { opacity: 0; }
|
|
81
|
+
to { opacity: 1; }
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
@keyframes slideUp {
|
|
85
|
+
from { transform: translateY(24px); opacity: 0; }
|
|
86
|
+
to { transform: translateY(0); opacity: 1; }
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
@keyframes slideDown {
|
|
90
|
+
from { transform: translateX(-50%) translateY(-100%); opacity: 0; }
|
|
91
|
+
to { transform: translateX(-50%) translateY(0); opacity: 1; }
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
@keyframes spin {
|
|
95
|
+
from { transform: rotate(0deg); }
|
|
96
|
+
to { transform: rotate(360deg); }
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
[v-cloak] {
|
|
100
|
+
display: none !important;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/* 模式内容容器 */
|
|
104
|
+
.mode-content {
|
|
105
|
+
animation: fadeIn var(--transition-normal) var(--ease-spring);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/* TODO: 内容区域包裹器当前不需要额外稳定高度样式,保留注释避免误判为缺失规则。 */
|