aimeat 1.16.2 → 1.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.env.example +6 -1
- package/dist/locales/en.json +166 -4
- package/dist/locales/fi.json +166 -4
- package/dist/public/components/Card.js +17 -3
- package/dist/public/components/Collapsible.js +39 -0
- package/dist/public/components/CopyButton.js +55 -24
- package/dist/public/components/DataTable.js +57 -0
- package/dist/public/components/EmptyState.js +28 -0
- package/dist/public/components/KeyValueRow.js +37 -0
- package/dist/public/components/Modal.js +22 -5
- package/dist/public/components/Pagination.js +70 -0
- package/dist/public/components/SearchBar.js +44 -0
- package/dist/public/components/StatusDot.js +29 -0
- package/dist/public/components/TagList.js +53 -0
- package/dist/public/components/ToggleSwitch.js +28 -0
- package/dist/public/components/index.js +41 -1
- package/dist/public/css/components/tags.css +24 -0
- package/dist/public/css/style-testbed.css +135 -0
- package/dist/public/css/theme.css +556 -34
- package/dist/public/css/views/admin-agent-integration.css +2 -33
- package/dist/public/css/views/admin.css +730 -686
- package/dist/public/css/views/agents-detail.css +402 -14
- package/dist/public/css/views/help.css +2 -1
- package/dist/public/css/views/hobbies.css +53 -33
- package/dist/public/css/views/marketplace.css +73 -60
- package/dist/public/css/views/openclaw.css +12 -6
- package/dist/public/css/views/portal-classic.css +34 -26
- package/dist/public/css/views/portal-dev.css +41 -32
- package/dist/public/css/views/portal.css +14 -18
- package/dist/public/css/views/profile.css +252 -164
- package/dist/public/css/views/public-knowledge-viewer.css +18 -6
- package/dist/public/css/views/scheduler.css +100 -0
- package/dist/public/js/format.js +41 -0
- package/dist/public/js/services/agent-tasks.js +14 -1
- package/dist/public/js/services/generator-spec-validate.js +5 -1
- package/dist/public/js/services/schedules.js +53 -0
- package/dist/public/js/style-testbed.js +170 -0
- package/dist/public/js/theme.js +114 -0
- package/dist/public/spa.html +74 -16
- package/dist/public/style-testbed.html +420 -0
- package/dist/public/views/admin/agent-integration-tab.js +23 -38
- package/dist/public/views/admin/agent-tasks-tab.js +14 -21
- package/dist/public/views/admin/chat-instances-tab.js +1 -1
- package/dist/public/views/admin/config-tab.js +7 -2
- package/dist/public/views/admin/cortex-tab.js +20 -14
- package/dist/public/views/admin/csm-tab.js +22 -18
- package/dist/public/views/admin/directory-tab.js +3 -3
- package/dist/public/views/admin/email-tab.js +23 -28
- package/dist/public/views/admin/federation-tab.js +15 -5
- package/dist/public/views/admin/generator-debug-tab.js +10 -8
- package/dist/public/views/admin/genesis-tab.js +4 -4
- package/dist/public/views/admin/ghii-tab.js +3 -3
- package/dist/public/views/admin/knowledge-tab.js +15 -5
- package/dist/public/views/admin/matching-tab.js +3 -3
- package/dist/public/views/admin/memory-tab.js +16 -20
- package/dist/public/views/admin/msm-tab.js +30 -17
- package/dist/public/views/admin/overview-tab.js +7 -7
- package/dist/public/views/admin/packages-tab.js +10 -9
- package/dist/public/views/admin/portal-tab.js +14 -4
- package/dist/public/views/admin/prompts-tab.js +5 -5
- package/dist/public/views/admin/push-tab.js +15 -4
- package/dist/public/views/admin/realtime-tab.js +3 -3
- package/dist/public/views/admin/services-tab.js +18 -27
- package/dist/public/views/admin/shared.js +48 -58
- package/dist/public/views/admin/sharing-groups-tab.js +5 -10
- package/dist/public/views/admin/stats-tab.js +3 -3
- package/dist/public/views/guides.js +9 -13
- package/dist/public/views/help.js +3 -24
- package/dist/public/views/hobbies.js +47 -41
- package/dist/public/views/marketplace.js +42 -34
- package/dist/public/views/openclaw.js +0 -1
- package/dist/public/views/portal-classic.js +4 -15
- package/dist/public/views/portal-dev.js +28 -30
- package/dist/public/views/portal.js +16 -21
- package/dist/public/views/portfolio.js +11 -12
- package/dist/public/views/profile/access-tab.js +250 -1
- package/dist/public/views/profile/agents/agent-card.js +75 -4
- package/dist/public/views/profile/agents/tab-activity.js +15 -13
- package/dist/public/views/profile/agents/tab-agent-config.js +60 -6
- package/dist/public/views/profile/agents/tab-integration.js +37 -60
- package/dist/public/views/profile/agents/tab-messages.js +10 -1
- package/dist/public/views/profile/agents/tab-quality.js +25 -19
- package/dist/public/views/profile/agents/tab-schedules.js +110 -0
- package/dist/public/views/profile/agents-activity-subtab.js +4 -4
- package/dist/public/views/profile/agents-services-subtab.js +5 -4
- package/dist/public/views/profile/agents-tab.js +141 -37
- package/dist/public/views/profile/agents-tasks-subtab.js +221 -26
- package/dist/public/views/profile/calibrator-batch.js +5 -11
- package/dist/public/views/profile/calibrator-tab.js +4 -9
- package/dist/public/views/profile/chat-sessions-tab.js +9 -5
- package/dist/public/views/profile/email-tab.js +2 -2
- package/dist/public/views/profile/extensions-tab.js +27 -22
- package/dist/public/views/profile/federation-tab.js +4 -1
- package/dist/public/views/profile/foundry-detail.js +22 -23
- package/dist/public/views/profile/foundry-tab.js +12 -13
- package/dist/public/views/profile/generator-dashboard/DebugPanel.js +4 -7
- package/dist/public/views/profile/generator-dashboard/use-dashboard-core.js +4 -1
- package/dist/public/views/profile/generator-dashboard/use-edit-mode.js +3 -2
- package/dist/public/views/profile/generator-detail.js +26 -30
- package/dist/public/views/profile/generator-tab.js +5 -5
- package/dist/public/views/profile/knowledge-tab.js +12 -12
- package/dist/public/views/profile/landing-page.js +100 -149
- package/dist/public/views/profile/memory-tab.js +15 -11
- package/dist/public/views/profile/node-stats-tab.js +3 -3
- package/dist/public/views/profile/nodes-tab.js +10 -3
- package/dist/public/views/profile/notifications-tab.js +3 -3
- package/dist/public/views/profile/packages-tab.js +14 -14
- package/dist/public/views/profile/scheduler-tab.js +340 -0
- package/dist/public/views/profile/services-tab.js +1 -1
- package/dist/public/views/profile/shared.js +16 -12
- package/dist/public/views/profile/wallet-tab.js +27 -50
- package/dist/public/views/profile/work-tab.js +29 -31
- package/dist/public/views/profile.js +24 -0
- package/dist/public/views/public-knowledge-viewer.js +9 -18
- package/dist/src/auth/middleware.d.ts +3 -2
- package/dist/src/auth/middleware.d.ts.map +1 -1
- package/dist/src/auth/middleware.js +78 -3
- package/dist/src/auth/middleware.js.map +1 -1
- package/dist/src/cli/init-wizard.d.ts.map +1 -1
- package/dist/src/cli/init-wizard.js +13 -1
- package/dist/src/cli/init-wizard.js.map +1 -1
- package/dist/src/config.d.ts +6 -0
- package/dist/src/config.d.ts.map +1 -1
- package/dist/src/config.js +12 -1
- package/dist/src/config.js.map +1 -1
- package/dist/src/generated/api-types.d.ts +708 -8
- package/dist/src/generated/api-types.d.ts.map +1 -1
- package/dist/src/mcp/agent-schedules.d.ts +23 -0
- package/dist/src/mcp/agent-schedules.d.ts.map +1 -0
- package/dist/src/mcp/agent-schedules.js +175 -0
- package/dist/src/mcp/agent-schedules.js.map +1 -0
- package/dist/src/mcp/annotations.d.ts.map +1 -1
- package/dist/src/mcp/annotations.js +6 -0
- package/dist/src/mcp/annotations.js.map +1 -1
- package/dist/src/mcp/catalog/definitions.d.ts.map +1 -1
- package/dist/src/mcp/catalog/definitions.js +55 -0
- package/dist/src/mcp/catalog/definitions.js.map +1 -1
- package/dist/src/mcp/catalog/scopes.d.ts.map +1 -1
- package/dist/src/mcp/catalog/scopes.js +12 -0
- package/dist/src/mcp/catalog/scopes.js.map +1 -1
- package/dist/src/mcp/catalog/surfaces.d.ts.map +1 -1
- package/dist/src/mcp/catalog/surfaces.js +2 -0
- package/dist/src/mcp/catalog/surfaces.js.map +1 -1
- package/dist/src/mcp/index.d.ts.map +1 -1
- package/dist/src/mcp/index.js +2 -0
- package/dist/src/mcp/index.js.map +1 -1
- package/dist/src/models/agent-task-schemas.d.ts +6 -0
- package/dist/src/models/agent-task-schemas.d.ts.map +1 -1
- package/dist/src/models/agent-task-schemas.js +6 -0
- package/dist/src/models/agent-task-schemas.js.map +1 -1
- package/dist/src/models/schemas.d.ts +1 -0
- package/dist/src/models/schemas.d.ts.map +1 -1
- package/dist/src/models/schemas.js +4 -0
- package/dist/src/models/schemas.js.map +1 -1
- package/dist/src/routes/access-tokens.d.ts +17 -0
- package/dist/src/routes/access-tokens.d.ts.map +1 -0
- package/dist/src/routes/access-tokens.js +164 -0
- package/dist/src/routes/access-tokens.js.map +1 -0
- package/dist/src/routes/agent-tasks.d.ts +2 -0
- package/dist/src/routes/agent-tasks.d.ts.map +1 -1
- package/dist/src/routes/agent-tasks.js +118 -23
- package/dist/src/routes/agent-tasks.js.map +1 -1
- package/dist/src/routes/agents.d.ts.map +1 -1
- package/dist/src/routes/agents.js +46 -0
- package/dist/src/routes/agents.js.map +1 -1
- package/dist/src/routes/ai.d.ts +6 -9
- package/dist/src/routes/ai.d.ts.map +1 -1
- package/dist/src/routes/ai.js +26 -175
- package/dist/src/routes/ai.js.map +1 -1
- package/dist/src/routes/apps.d.ts.map +1 -1
- package/dist/src/routes/apps.js +104 -34
- package/dist/src/routes/apps.js.map +1 -1
- package/dist/src/routes/auth.d.ts.map +1 -1
- package/dist/src/routes/auth.js +77 -4
- package/dist/src/routes/auth.js.map +1 -1
- package/dist/src/routes/cortex.d.ts +2 -1
- package/dist/src/routes/cortex.d.ts.map +1 -1
- package/dist/src/routes/cortex.js +13 -8
- package/dist/src/routes/cortex.js.map +1 -1
- package/dist/src/routes/extensions.d.ts.map +1 -1
- package/dist/src/routes/extensions.js +85 -51
- package/dist/src/routes/extensions.js.map +1 -1
- package/dist/src/routes/generator.d.ts.map +1 -1
- package/dist/src/routes/generator.js +109 -43
- package/dist/src/routes/generator.js.map +1 -1
- package/dist/src/routes/ghii.d.ts.map +1 -1
- package/dist/src/routes/ghii.js +34 -13
- package/dist/src/routes/ghii.js.map +1 -1
- package/dist/src/routes/libs.d.ts +15 -0
- package/dist/src/routes/libs.d.ts.map +1 -1
- package/dist/src/routes/libs.js +178 -55
- package/dist/src/routes/libs.js.map +1 -1
- package/dist/src/routes/portal.d.ts.map +1 -1
- package/dist/src/routes/portal.js +1 -0
- package/dist/src/routes/portal.js.map +1 -1
- package/dist/src/routes/schedules.d.ts +33 -0
- package/dist/src/routes/schedules.d.ts.map +1 -0
- package/dist/src/routes/schedules.js +380 -0
- package/dist/src/routes/schedules.js.map +1 -0
- package/dist/src/server-bootstrap/config-init.js +2 -2
- package/dist/src/server-bootstrap/config-init.js.map +1 -1
- package/dist/src/server-bootstrap/routes-loader.d.ts.map +1 -1
- package/dist/src/server-bootstrap/routes-loader.js +7 -0
- package/dist/src/server-bootstrap/routes-loader.js.map +1 -1
- package/dist/src/server-bootstrap/service-init.d.ts.map +1 -1
- package/dist/src/server-bootstrap/service-init.js +2 -1
- package/dist/src/server-bootstrap/service-init.js.map +1 -1
- package/dist/src/services/access-token.d.ts +28 -0
- package/dist/src/services/access-token.d.ts.map +1 -0
- package/dist/src/services/access-token.js +37 -0
- package/dist/src/services/access-token.js.map +1 -0
- package/dist/src/services/ai-completion.d.ts +83 -0
- package/dist/src/services/ai-completion.d.ts.map +1 -0
- package/dist/src/services/ai-completion.js +187 -0
- package/dist/src/services/ai-completion.js.map +1 -0
- package/dist/src/services/config-schema.d.ts.map +1 -1
- package/dist/src/services/config-schema.js +3 -0
- package/dist/src/services/config-schema.js.map +1 -1
- package/dist/src/services/generator-prompt-seeds.d.ts.map +1 -1
- package/dist/src/services/generator-prompt-seeds.js +6 -3
- package/dist/src/services/generator-prompt-seeds.js.map +1 -1
- package/dist/src/services/generator-prompts/spec-validate.d.ts.map +1 -1
- package/dist/src/services/generator-prompts/spec-validate.js +6 -2
- package/dist/src/services/generator-prompts/spec-validate.js.map +1 -1
- package/dist/src/services/generator-registration.d.ts +12 -4
- package/dist/src/services/generator-registration.d.ts.map +1 -1
- package/dist/src/services/generator-registration.js +71 -0
- package/dist/src/services/generator-registration.js.map +1 -1
- package/dist/src/services/generator-validate.d.ts +10 -0
- package/dist/src/services/generator-validate.d.ts.map +1 -1
- package/dist/src/services/generator-validate.js +180 -36
- package/dist/src/services/generator-validate.js.map +1 -1
- package/dist/src/services/owner-session.d.ts +43 -0
- package/dist/src/services/owner-session.d.ts.map +1 -0
- package/dist/src/services/owner-session.js +175 -0
- package/dist/src/services/owner-session.js.map +1 -0
- package/dist/src/services/schedule-constraints.d.ts +65 -0
- package/dist/src/services/schedule-constraints.d.ts.map +1 -0
- package/dist/src/services/schedule-constraints.js +106 -0
- package/dist/src/services/schedule-constraints.js.map +1 -0
- package/dist/src/services/scheduler.d.ts +34 -0
- package/dist/src/services/scheduler.d.ts.map +1 -1
- package/dist/src/services/scheduler.js +266 -22
- package/dist/src/services/scheduler.js.map +1 -1
- package/dist/src/services/skill-bundle/generator.js +19 -0
- package/dist/src/services/skill-bundle/generator.js.map +1 -1
- package/dist/src/storage/interface.d.ts +48 -4
- package/dist/src/storage/interface.d.ts.map +1 -1
- package/dist/src/storage/interface.js.map +1 -1
- package/dist/src/storage/providers/mongodb/index.d.ts +31 -0
- package/dist/src/storage/providers/mongodb/index.d.ts.map +1 -1
- package/dist/src/storage/providers/mongodb/index.js +187 -9
- package/dist/src/storage/providers/mongodb/index.js.map +1 -1
- package/dist/src/storage/providers/sqlite/index.d.ts +31 -0
- package/dist/src/storage/providers/sqlite/index.d.ts.map +1 -1
- package/dist/src/storage/providers/sqlite/index.js +131 -8
- package/dist/src/storage/providers/sqlite/index.js.map +1 -1
- package/dist/src/storage/providers/sqlite/repos/agent-task.d.ts.map +1 -1
- package/dist/src/storage/providers/sqlite/repos/agent-task.js +6 -4
- package/dist/src/storage/providers/sqlite/repos/agent-task.js.map +1 -1
- package/dist/src/storage/providers/sqlite/schema.d.ts.map +1 -1
- package/dist/src/storage/providers/sqlite/schema.js +79 -8
- package/dist/src/storage/providers/sqlite/schema.js.map +1 -1
- package/dist/src/storage/repositories/pat.repository.d.ts +40 -0
- package/dist/src/storage/repositories/pat.repository.d.ts.map +1 -0
- package/dist/src/storage/repositories/pat.repository.js +14 -0
- package/dist/src/storage/repositories/pat.repository.js.map +1 -0
- package/dist/src/storage/repositories/scheduler.repository.d.ts +2 -0
- package/dist/src/storage/repositories/scheduler.repository.d.ts.map +1 -1
- package/dist/src/storage/repositories/session.repository.d.ts +51 -0
- package/dist/src/storage/repositories/session.repository.d.ts.map +1 -1
- package/dist/src/storage/repositories/session.repository.js +12 -0
- package/dist/src/storage/repositories/session.repository.js.map +1 -1
- package/dist/src/utils/env-config.d.ts.map +1 -1
- package/dist/src/utils/env-config.js +25 -1
- package/dist/src/utils/env-config.js.map +1 -1
- package/dist/src/utils/env-validator.d.ts.map +1 -1
- package/dist/src/utils/env-validator.js +4 -0
- package/dist/src/utils/env-validator.js.map +1 -1
- package/package.json +1 -1
- package/prisma/schema.prisma +48 -0
|
@@ -1,686 +1,730 @@
|
|
|
1
|
-
/* ── Admin Dashboard SPA Styles ──
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
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
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
padding:
|
|
60
|
-
color:
|
|
61
|
-
font-size: .
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
font-
|
|
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
|
-
.adm-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
}
|
|
101
|
-
.adm-
|
|
102
|
-
.adm-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
.adm-
|
|
114
|
-
.adm-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
}
|
|
123
|
-
.adm-
|
|
124
|
-
font-size: .
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
.adm-
|
|
134
|
-
.adm-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
.adm-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
border-radius:
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
.adm-
|
|
155
|
-
.adm-
|
|
156
|
-
.adm-
|
|
157
|
-
.adm-
|
|
158
|
-
.adm-
|
|
159
|
-
|
|
160
|
-
.adm-
|
|
161
|
-
.adm-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
.adm-badge
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
.adm-badge
|
|
175
|
-
|
|
176
|
-
.adm-badge-
|
|
177
|
-
.adm-badge
|
|
178
|
-
|
|
179
|
-
.adm-badge-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
.adm-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
.adm-
|
|
194
|
-
.adm-
|
|
195
|
-
.adm-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
.adm-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
.adm-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
.adm-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
.adm
|
|
222
|
-
.adm
|
|
223
|
-
.adm
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
}
|
|
245
|
-
.adm-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
}
|
|
257
|
-
.adm-
|
|
258
|
-
.adm-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
color: var(--accent
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
border-radius:
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
font-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
.adm
|
|
282
|
-
.adm
|
|
283
|
-
.adm
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
padding:
|
|
288
|
-
border-radius: 6px;
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
.adm-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
.adm
|
|
318
|
-
.adm
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
border-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
padding:
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
.adm-
|
|
385
|
-
.adm-
|
|
386
|
-
.adm-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
.adm-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
/*
|
|
405
|
-
.adm-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
background:
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
}
|
|
420
|
-
.adm-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
}
|
|
426
|
-
.adm-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
.adm-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
font-family: var(--font-mono);
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
}
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
.adm-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
.adm-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
.adm-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
.
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
.adm-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
.adm-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
}
|
|
504
|
-
.adm-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
.adm-
|
|
510
|
-
.adm-
|
|
511
|
-
|
|
512
|
-
}
|
|
513
|
-
.adm-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
}
|
|
517
|
-
.adm-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
}
|
|
523
|
-
.adm-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
}
|
|
527
|
-
.adm-
|
|
528
|
-
.adm-
|
|
529
|
-
|
|
530
|
-
}
|
|
531
|
-
.adm-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
.adm-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
.adm-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
.adm-
|
|
548
|
-
.adm-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
.adm-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
.adm-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
.adm-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
.adm-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
.adm-
|
|
570
|
-
.adm-
|
|
571
|
-
.
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
.adm-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
.adm-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
}
|
|
587
|
-
.adm-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
.adm-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
.adm-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
}
|
|
604
|
-
.adm-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
}
|
|
620
|
-
.adm-
|
|
621
|
-
.adm-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
padding:
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
.adm-
|
|
665
|
-
.adm-
|
|
666
|
-
.adm-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
.adm-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
font-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
1
|
+
/* ── Admin Dashboard SPA Styles ──
|
|
2
|
+
* @file admin.css
|
|
3
|
+
* @description Admin dashboard (operator tooling) styles, .adm-* scoped. Keeps
|
|
4
|
+
* its distinct indigo accent and a permanently-dark sidebar, but all content
|
|
5
|
+
* surfaces map to global theme.css tokens so they flip with dark/light mode.
|
|
6
|
+
* @version-history
|
|
7
|
+
* v1.5.0 — 2026-06-02 — Component unification (#13 tables): strip the dead
|
|
8
|
+
* `, #E5E7EB` hardcoded fallback from `.adm-breakdown-table th` border
|
|
9
|
+
* (.adm always maps --glass-border → --border, so the fallback was dead
|
|
10
|
+
* light-frozen code). No visual change. The .adm table look is unchanged
|
|
11
|
+
* (scoped .adm table still wins over the new generic .data-table).
|
|
12
|
+
* v1.1.0 — 2026-06-02 — Tokenize all surfaces/text/borders/badges for dark mode (Phase 2).
|
|
13
|
+
* v1.2.0 — 2026-06-02 — Component unification (#3): remove .adm-modal-overlay
|
|
14
|
+
* duplicate; msm-tab now uses canonical theme.css .modal-overlay.
|
|
15
|
+
* v1.3.0 — 2026-06-02 — Component unification (#16): add tokenized
|
|
16
|
+
* .tag--status-* classes (replace agent-tasks-tab inline hex status colors).
|
|
17
|
+
* v1.4.0 — 2026-06-02 — Component unification (#21 key/value rows): strip the
|
|
18
|
+
* dead `, #6366F1` hardcoded hex fallbacks from every `var(--accent, #6366F1)`
|
|
19
|
+
* (10 sites incl. .adm-hval) — .adm always defines --accent (indigo light /
|
|
20
|
+
* #818CF8 dark), so the fallback was light-mode-frozen dead code. No visual
|
|
21
|
+
* change; removes hardcoded hex per Rule 7.3. .adm-erow/.adm-hrow markup left
|
|
22
|
+
* in place (mono/bordered look differs from canonical .kv-row).
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
/* Admin-scoped variables: indigo accent identity + surfaces mapped to global
|
|
26
|
+
(flipping) tokens. Text tiers inherit the global tokens so they flip too. */
|
|
27
|
+
.adm {
|
|
28
|
+
--accent: #6366F1;
|
|
29
|
+
--accent-light: rgba(99, 102, 241, 0.12);
|
|
30
|
+
--glass-border: var(--border);
|
|
31
|
+
--glass-bg: var(--bg-card);
|
|
32
|
+
--bg-deep: var(--bg);
|
|
33
|
+
--sidebar-bg: #1E293B; /* dark slate — sidebar stays dark in both themes (by design) */
|
|
34
|
+
--sidebar-text: #CBD5E1;
|
|
35
|
+
--sidebar-border: rgba(255, 255, 255, 0.08);
|
|
36
|
+
}
|
|
37
|
+
/* Brighten the indigo accent for contrast on dark surfaces */
|
|
38
|
+
[data-theme="dark"] .adm { --accent: #818CF8; }
|
|
39
|
+
|
|
40
|
+
/* Layout */
|
|
41
|
+
.adm { display: flex; min-height: 100vh; position: relative; z-index: 1; background: var(--bg-deep); color: var(--text); }
|
|
42
|
+
|
|
43
|
+
/* Sidebar — stays dark per mockup (its colors are intentionally fixed) */
|
|
44
|
+
.adm-sidebar {
|
|
45
|
+
width: 220px;
|
|
46
|
+
background: var(--sidebar-bg);
|
|
47
|
+
border-right: none;
|
|
48
|
+
padding: 16px 0;
|
|
49
|
+
flex-shrink: 0;
|
|
50
|
+
position: sticky;
|
|
51
|
+
top: 0;
|
|
52
|
+
height: 100vh;
|
|
53
|
+
overflow-y: auto;
|
|
54
|
+
display: flex;
|
|
55
|
+
flex-direction: column;
|
|
56
|
+
}
|
|
57
|
+
.adm-sidebar .node-id {
|
|
58
|
+
padding: 0 18px;
|
|
59
|
+
padding-top: 4px;
|
|
60
|
+
color: #475569;
|
|
61
|
+
font-size: .69rem;
|
|
62
|
+
font-family: var(--font-mono);
|
|
63
|
+
margin-bottom: 16px;
|
|
64
|
+
word-break: break-all;
|
|
65
|
+
}
|
|
66
|
+
.adm-nav-group {
|
|
67
|
+
font-size: .625rem;
|
|
68
|
+
text-transform: uppercase;
|
|
69
|
+
letter-spacing: 1px;
|
|
70
|
+
color: #475569;
|
|
71
|
+
padding: 0 18px;
|
|
72
|
+
margin-top: 16px;
|
|
73
|
+
margin-bottom: 4px;
|
|
74
|
+
font-weight: 700;
|
|
75
|
+
}
|
|
76
|
+
.adm-nav-item {
|
|
77
|
+
display: flex;
|
|
78
|
+
align-items: center;
|
|
79
|
+
gap: 10px;
|
|
80
|
+
padding: 7px 18px;
|
|
81
|
+
color: var(--sidebar-text, #CBD5E1);
|
|
82
|
+
font-size: .84rem;
|
|
83
|
+
cursor: pointer;
|
|
84
|
+
border: none;
|
|
85
|
+
background: none;
|
|
86
|
+
width: 100%;
|
|
87
|
+
text-align: left;
|
|
88
|
+
font-family: inherit;
|
|
89
|
+
font-weight: 400;
|
|
90
|
+
transition: all .1s;
|
|
91
|
+
border-left: 3px solid transparent;
|
|
92
|
+
}
|
|
93
|
+
.adm-nav-item:hover { background: rgba(255,255,255,0.04); color: #F1F5F9; }
|
|
94
|
+
.adm-nav-item.active {
|
|
95
|
+
color: #FFFFFF;
|
|
96
|
+
background: rgba(99,102,241,0.18);
|
|
97
|
+
border-left-color: var(--accent);
|
|
98
|
+
font-weight: 500;
|
|
99
|
+
}
|
|
100
|
+
.adm-nav-item .icon { font-size: .81rem; width: 16px; text-align: center; }
|
|
101
|
+
.adm-nav-item .label { flex: 1; }
|
|
102
|
+
.adm-nav-item .cnt {
|
|
103
|
+
background: rgba(255,255,255,0.08);
|
|
104
|
+
color: #94A3B8;
|
|
105
|
+
font-size: .69rem;
|
|
106
|
+
padding: 1px 7px;
|
|
107
|
+
border-radius: 9999px;
|
|
108
|
+
font-weight: 600;
|
|
109
|
+
}
|
|
110
|
+
.adm-sep { height: 1px; background: rgba(255,255,255,0.08); margin: 8px 16px; }
|
|
111
|
+
|
|
112
|
+
/* Main area */
|
|
113
|
+
.adm-main { flex: 1; padding: 24px 32px; overflow-y: auto; background: var(--bg-deep); }
|
|
114
|
+
.adm-topbar {
|
|
115
|
+
display: flex;
|
|
116
|
+
justify-content: space-between;
|
|
117
|
+
align-items: center;
|
|
118
|
+
margin-bottom: 20px;
|
|
119
|
+
flex-wrap: wrap;
|
|
120
|
+
gap: 10px;
|
|
121
|
+
}
|
|
122
|
+
.adm-topbar-right { display: flex; align-items: center; gap: 12px; }
|
|
123
|
+
.adm-page-title {
|
|
124
|
+
font-size: 1.375rem;
|
|
125
|
+
font-weight: 800;
|
|
126
|
+
color: var(--text);
|
|
127
|
+
display: flex;
|
|
128
|
+
align-items: center;
|
|
129
|
+
gap: 10px;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/* Cards */
|
|
133
|
+
.adm-grid { display: grid; gap: 16px; margin-bottom: 20px; }
|
|
134
|
+
.adm-grid-4 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
|
|
135
|
+
.adm-grid-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
|
|
136
|
+
.adm-grid-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
|
|
137
|
+
.adm-card {
|
|
138
|
+
background: var(--glass-bg, #FFFFFF);
|
|
139
|
+
border: 1px solid var(--glass-border, #E5E7EB);
|
|
140
|
+
border-radius: 14px;
|
|
141
|
+
padding: 20px 24px;
|
|
142
|
+
box-shadow: var(--shadow-sm);
|
|
143
|
+
}
|
|
144
|
+
.adm-card h2 {
|
|
145
|
+
font-size: .66rem;
|
|
146
|
+
text-transform: uppercase;
|
|
147
|
+
letter-spacing: .5px;
|
|
148
|
+
color: var(--text-muted);
|
|
149
|
+
margin-bottom: 6px;
|
|
150
|
+
font-weight: 700;
|
|
151
|
+
}
|
|
152
|
+
.adm-stat { font-size: 1.625rem; font-weight: 800; line-height: 1.1; color: var(--text); }
|
|
153
|
+
.adm-stat.indigo { color: var(--accent); }
|
|
154
|
+
.adm-stat.mint,
|
|
155
|
+
.adm-stat.green { color: var(--mint); }
|
|
156
|
+
.adm-stat.cyan { color: var(--teal); }
|
|
157
|
+
.adm-stat.amber { color: var(--warn); }
|
|
158
|
+
.adm-stat.purple { color: var(--purple); }
|
|
159
|
+
.adm-stat.blue { color: var(--blue); }
|
|
160
|
+
.adm-stat.orange { color: var(--orange); }
|
|
161
|
+
.adm-stat.red { color: var(--danger); }
|
|
162
|
+
.adm-stat-label { color: var(--text-muted); font-size: .69rem; margin-top: 2px; }
|
|
163
|
+
|
|
164
|
+
/* Badges */
|
|
165
|
+
.adm-badge {
|
|
166
|
+
display: inline-block;
|
|
167
|
+
padding: 2px 8px;
|
|
168
|
+
border-radius: 20px;
|
|
169
|
+
font-size: .7rem;
|
|
170
|
+
font-weight: 600;
|
|
171
|
+
text-transform: uppercase;
|
|
172
|
+
}
|
|
173
|
+
/* Badge semantic colors */
|
|
174
|
+
.adm-badge--success { background: var(--success-bg); color: var(--success-fg); }
|
|
175
|
+
.adm-badge--warning { background: var(--warn-bg); color: var(--warn-fg); }
|
|
176
|
+
.adm-badge--danger { background: var(--danger-bg); color: var(--danger-fg); }
|
|
177
|
+
.adm-badge--info { background: var(--info-bg); color: var(--info-fg); }
|
|
178
|
+
.adm-badge--accent { background: var(--purple-bg); color: var(--purple-fg); }
|
|
179
|
+
.adm-badge--muted { background: var(--bg-surface); color: var(--text-dim); }
|
|
180
|
+
|
|
181
|
+
/* Badge name aliases → semantic colors */
|
|
182
|
+
.adm-badge-healthy,
|
|
183
|
+
.adm-badge-public,
|
|
184
|
+
.adm-badge-delivered,
|
|
185
|
+
.adm-badge-settled,
|
|
186
|
+
.adm-badge-owner { background: var(--success-bg); color: var(--success-fg); }
|
|
187
|
+
|
|
188
|
+
.adm-badge-watch,
|
|
189
|
+
.adm-badge-pending { background: var(--warn-bg); color: var(--warn-fg); }
|
|
190
|
+
|
|
191
|
+
.adm-badge-danger,
|
|
192
|
+
.adm-badge-critical,
|
|
193
|
+
.adm-badge-cancelled,
|
|
194
|
+
.adm-badge-expired,
|
|
195
|
+
.adm-badge-disputed,
|
|
196
|
+
.adm-badge-error { background: var(--danger-bg); color: var(--danger-fg); }
|
|
197
|
+
|
|
198
|
+
.adm-badge-info,
|
|
199
|
+
.adm-badge-accepted,
|
|
200
|
+
.adm-badge-in_progress,
|
|
201
|
+
.adm-badge-operator,
|
|
202
|
+
.adm-badge-syncing { background: var(--info-bg); color: var(--info-fg); }
|
|
203
|
+
|
|
204
|
+
.adm-badge-private,
|
|
205
|
+
.adm-badge-agent { background: var(--purple-bg); color: var(--purple-fg); }
|
|
206
|
+
|
|
207
|
+
.adm-badge-idle,
|
|
208
|
+
.adm-badge-general { background: var(--bg-surface); color: var(--text-dim); }
|
|
209
|
+
|
|
210
|
+
/* Error / success toast */
|
|
211
|
+
.adm-toast {
|
|
212
|
+
padding: 10px 16px;
|
|
213
|
+
border-radius: 8px;
|
|
214
|
+
font-size: .85rem;
|
|
215
|
+
margin-bottom: 12px;
|
|
216
|
+
display: flex;
|
|
217
|
+
align-items: center;
|
|
218
|
+
gap: 8px;
|
|
219
|
+
animation: adm-toast-in .2s ease;
|
|
220
|
+
}
|
|
221
|
+
.adm-toast-error { background: var(--danger-bg); color: var(--danger-fg); border: 1px solid var(--danger-border); }
|
|
222
|
+
.adm-toast-success { background: var(--success-bg); color: var(--success-fg); border: 1px solid var(--success-border); }
|
|
223
|
+
.adm-toast-dismiss {
|
|
224
|
+
margin-left: auto;
|
|
225
|
+
cursor: pointer;
|
|
226
|
+
opacity: .6;
|
|
227
|
+
background: none;
|
|
228
|
+
border: none;
|
|
229
|
+
color: inherit;
|
|
230
|
+
font-size: 1rem;
|
|
231
|
+
}
|
|
232
|
+
.adm-toast-dismiss:hover { opacity: 1; }
|
|
233
|
+
@keyframes adm-toast-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
|
|
234
|
+
|
|
235
|
+
/* Economy rows */
|
|
236
|
+
.adm-erow { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--border-subtle); }
|
|
237
|
+
.adm-erow:last-child { border-bottom: none; }
|
|
238
|
+
.adm-elabel { color: var(--text-dim); font-size: .84rem; }
|
|
239
|
+
.adm-eval { font-family: var(--font-mono); font-size: .81rem; font-weight: 600; color: var(--text); }
|
|
240
|
+
|
|
241
|
+
/* Health rows */
|
|
242
|
+
.adm-hrow { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border-subtle); }
|
|
243
|
+
.adm-hrow:last-child { border-bottom: none; }
|
|
244
|
+
.adm-hmetric { font-size: .84rem; color: var(--text-dim); }
|
|
245
|
+
.adm-hval { font-family: var(--font-mono); font-size: .84rem; color: var(--accent); }
|
|
246
|
+
|
|
247
|
+
/* Tables */
|
|
248
|
+
.adm table { width: 100%; border-collapse: collapse; font-size: .81rem; }
|
|
249
|
+
.adm th { text-align: left; color: var(--text-muted); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--border); white-space: nowrap; font-size: .69rem; text-transform: uppercase; letter-spacing: .3px; }
|
|
250
|
+
.adm td { padding: 8px 10px; border-bottom: 1px solid var(--border-subtle); color: var(--text-dim); }
|
|
251
|
+
.adm tr:hover td { background: var(--bg-surface); }
|
|
252
|
+
|
|
253
|
+
/* Misc */
|
|
254
|
+
.adm .mono { font-family: var(--font-mono); font-size: .78rem; }
|
|
255
|
+
.adm .scrollable { max-height: 600px; overflow-y: auto; }
|
|
256
|
+
.adm .empty { color: var(--text-muted); text-align: center; padding: 24px; font-size: .85rem; }
|
|
257
|
+
.adm .error-box { background: var(--danger-bg); border: 1px solid var(--danger-border); border-radius: 8px; padding: 16px; color: var(--danger-fg); margin: 20px 0; }
|
|
258
|
+
.adm .tag { display: inline-block; background: var(--bg-surface); color: var(--text-dim); padding: 1px 6px; border-radius: 4px; font-size: .7rem; margin: 1px; }
|
|
259
|
+
/* Status-colored task tags — tokenized (were inline hex colors). Color only;
|
|
260
|
+
base .adm .tag has no border so border-color stays inert as before. */
|
|
261
|
+
.adm .tag--status-active { color: var(--accent); }
|
|
262
|
+
.adm .tag--status-done { color: var(--success); }
|
|
263
|
+
.adm .tag--status-failed { color: var(--danger); }
|
|
264
|
+
.adm .tag--status-stalled { color: var(--warn); }
|
|
265
|
+
.adm .tag--status-queued { color: var(--purple); }
|
|
266
|
+
.adm .tag--status-draft { color: var(--text-dim); }
|
|
267
|
+
|
|
268
|
+
/* Buttons */
|
|
269
|
+
.adm-btn {
|
|
270
|
+
background: var(--accent);
|
|
271
|
+
color: #fff;
|
|
272
|
+
border: none;
|
|
273
|
+
padding: 8px 18px;
|
|
274
|
+
border-radius: 10px;
|
|
275
|
+
cursor: pointer;
|
|
276
|
+
font-size: .81rem;
|
|
277
|
+
font-weight: 600;
|
|
278
|
+
font-family: inherit;
|
|
279
|
+
transition: all .15s;
|
|
280
|
+
}
|
|
281
|
+
.adm-btn:hover { filter: brightness(0.92); }
|
|
282
|
+
.adm-btn:disabled { opacity: .5; cursor: not-allowed; }
|
|
283
|
+
.adm-btn-sm {
|
|
284
|
+
background: none;
|
|
285
|
+
border: 1px solid var(--border);
|
|
286
|
+
color: var(--accent);
|
|
287
|
+
padding: 3px 10px;
|
|
288
|
+
border-radius: 6px;
|
|
289
|
+
cursor: pointer;
|
|
290
|
+
font-size: .75rem;
|
|
291
|
+
font-family: inherit;
|
|
292
|
+
}
|
|
293
|
+
.adm-btn-sm:hover { background: var(--bg-surface); }
|
|
294
|
+
.adm-btn-action {
|
|
295
|
+
background: none;
|
|
296
|
+
border: 1px solid var(--border);
|
|
297
|
+
color: var(--accent);
|
|
298
|
+
padding: 4px 12px;
|
|
299
|
+
border-radius: 6px;
|
|
300
|
+
cursor: pointer;
|
|
301
|
+
font-size: .78rem;
|
|
302
|
+
font-family: inherit;
|
|
303
|
+
}
|
|
304
|
+
.adm-btn-action:hover { background: var(--bg-surface); }
|
|
305
|
+
|
|
306
|
+
/* Sub-panels */
|
|
307
|
+
.adm-sub-panel {
|
|
308
|
+
background: var(--bg-surface);
|
|
309
|
+
border: 1px solid var(--border);
|
|
310
|
+
border-radius: 8px;
|
|
311
|
+
padding: 12px;
|
|
312
|
+
margin-top: 8px;
|
|
313
|
+
font-size: .8rem;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
/* Inputs */
|
|
317
|
+
.adm input[type="text"],
|
|
318
|
+
.adm input[type="number"],
|
|
319
|
+
.adm input[type="email"],
|
|
320
|
+
.adm input[type="password"],
|
|
321
|
+
.adm textarea,
|
|
322
|
+
.adm select {
|
|
323
|
+
padding: 8px 10px;
|
|
324
|
+
border-radius: 6px;
|
|
325
|
+
border: 1.5px solid var(--border);
|
|
326
|
+
background: var(--bg-input);
|
|
327
|
+
color: var(--text);
|
|
328
|
+
font-size: .85rem;
|
|
329
|
+
font-family: inherit;
|
|
330
|
+
}
|
|
331
|
+
.adm input:focus,
|
|
332
|
+
.adm textarea:focus,
|
|
333
|
+
.adm select:focus {
|
|
334
|
+
border-color: var(--accent);
|
|
335
|
+
box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
|
|
336
|
+
outline: none;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
/* Login overlay */
|
|
340
|
+
.adm-login {
|
|
341
|
+
max-width: 420px;
|
|
342
|
+
margin: 60px auto;
|
|
343
|
+
text-align: center;
|
|
344
|
+
}
|
|
345
|
+
.adm-login h2 {
|
|
346
|
+
font-size: 1.2rem;
|
|
347
|
+
color: var(--text);
|
|
348
|
+
text-transform: none;
|
|
349
|
+
letter-spacing: 0;
|
|
350
|
+
margin-bottom: 4px;
|
|
351
|
+
}
|
|
352
|
+
.adm-login p { color: var(--text-dim); font-size: .85rem; margin-bottom: 16px; }
|
|
353
|
+
.adm-login input { width: 100%; margin-bottom: 8px; }
|
|
354
|
+
.adm-login-err {
|
|
355
|
+
margin-top: 10px;
|
|
356
|
+
padding: 8px;
|
|
357
|
+
border-radius: 6px;
|
|
358
|
+
background: var(--danger-bg);
|
|
359
|
+
border: 1px solid var(--danger-border);
|
|
360
|
+
color: var(--danger-fg);
|
|
361
|
+
font-size: .85rem;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
/* Config editor */
|
|
365
|
+
.adm-config-changes {
|
|
366
|
+
margin-bottom: 16px;
|
|
367
|
+
padding: 12px;
|
|
368
|
+
background: var(--warn-bg);
|
|
369
|
+
border: 1px solid var(--warn-border);
|
|
370
|
+
border-radius: 8px;
|
|
371
|
+
}
|
|
372
|
+
.adm-config-array-edit {
|
|
373
|
+
width: 360px;
|
|
374
|
+
max-width: 100%;
|
|
375
|
+
min-height: 4.5rem;
|
|
376
|
+
font-family: 'JetBrains Mono', monospace;
|
|
377
|
+
font-size: 0.8rem;
|
|
378
|
+
padding: 6px 8px;
|
|
379
|
+
border: 1px solid var(--border, #E5E7EB);
|
|
380
|
+
border-radius: 6px;
|
|
381
|
+
resize: vertical;
|
|
382
|
+
box-sizing: border-box;
|
|
383
|
+
}
|
|
384
|
+
.adm-config-readonly { opacity: 0.85; pointer-events: none; }
|
|
385
|
+
.adm-config-readonly input,
|
|
386
|
+
.adm-config-readonly select { background: var(--bg-surface); cursor: not-allowed; }
|
|
387
|
+
.adm-config-readonly-banner {
|
|
388
|
+
margin-bottom: 16px;
|
|
389
|
+
padding: 12px 16px;
|
|
390
|
+
background: var(--info-bg);
|
|
391
|
+
border: 1px solid var(--info-border);
|
|
392
|
+
border-radius: 8px;
|
|
393
|
+
color: var(--info-fg);
|
|
394
|
+
font-size: .85rem;
|
|
395
|
+
}
|
|
396
|
+
.adm-config-result-ok {
|
|
397
|
+
padding: 8px 12px;
|
|
398
|
+
border-radius: 6px;
|
|
399
|
+
background: var(--success-bg);
|
|
400
|
+
color: var(--success-fg);
|
|
401
|
+
border: 1px solid var(--success-border);
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
/* Expandable help sections */
|
|
405
|
+
.adm-help {
|
|
406
|
+
margin-bottom: 12px;
|
|
407
|
+
border: 1px solid var(--border);
|
|
408
|
+
border-radius: 8px;
|
|
409
|
+
background: var(--bg-surface);
|
|
410
|
+
}
|
|
411
|
+
.adm-help-summary {
|
|
412
|
+
cursor: pointer;
|
|
413
|
+
padding: 10px 14px;
|
|
414
|
+
color: var(--accent);
|
|
415
|
+
font-size: .85rem;
|
|
416
|
+
font-weight: 600;
|
|
417
|
+
user-select: none;
|
|
418
|
+
}
|
|
419
|
+
.adm-help-summary:hover { color: var(--text); }
|
|
420
|
+
.adm-help-body {
|
|
421
|
+
padding: 0 14px 12px;
|
|
422
|
+
color: var(--text-dim);
|
|
423
|
+
font-size: .82rem;
|
|
424
|
+
line-height: 1.6;
|
|
425
|
+
}
|
|
426
|
+
.adm-help-body p { margin: 0 0 8px; }
|
|
427
|
+
.adm-help-body ul { margin: 4px 0 8px; padding-left: 20px; }
|
|
428
|
+
.adm-help-body li { margin-bottom: 4px; }
|
|
429
|
+
.adm-help-body code {
|
|
430
|
+
background: var(--code-bg);
|
|
431
|
+
padding: 1px 5px;
|
|
432
|
+
border-radius: 3px;
|
|
433
|
+
font-size: .78rem;
|
|
434
|
+
color: var(--accent);
|
|
435
|
+
}
|
|
436
|
+
.adm-help-body strong { color: var(--text); }
|
|
437
|
+
|
|
438
|
+
/* Card grid for card-based layouts */
|
|
439
|
+
.adm-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
|
|
440
|
+
|
|
441
|
+
/* Responsive */
|
|
442
|
+
@media (max-width: 768px) {
|
|
443
|
+
.adm-sidebar { display: none; }
|
|
444
|
+
.adm-main { padding: 12px; }
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
/* ── System Prompts ── */
|
|
448
|
+
.adm-prompt-editor { display: flex; flex-direction: column; gap: 8px; margin: 8px 0; }
|
|
449
|
+
.adm-prompt-textarea {
|
|
450
|
+
width: 100%; min-height: 300px; max-height: 600px;
|
|
451
|
+
font-family: var(--font-mono); font-size: 13px; line-height: 1.5;
|
|
452
|
+
background: var(--bg-input); border: 1.5px solid var(--border);
|
|
453
|
+
color: var(--text); padding: 12px; border-radius: 8px;
|
|
454
|
+
resize: vertical; box-sizing: border-box; tab-size: 2;
|
|
455
|
+
}
|
|
456
|
+
.adm-prompt-textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(99,102,241,0.15); }
|
|
457
|
+
.adm-prompt-vars { font-size: .8rem; color: var(--text-dim); padding: 8px 12px; background: var(--bg-surface); border-radius: 6px; margin: 4px 0; }
|
|
458
|
+
.adm-prompt-vars code { color: var(--accent); }
|
|
459
|
+
.adm-prompt-version-row {
|
|
460
|
+
display: flex; align-items: center; gap: 8px; padding: 6px 0;
|
|
461
|
+
border-bottom: 1px solid var(--border-subtle); font-size: .85rem;
|
|
462
|
+
}
|
|
463
|
+
.adm-prompt-version-row:last-child { border-bottom: none; }
|
|
464
|
+
.adm-prompt-used-tag {
|
|
465
|
+
display: inline-block; font-size: .7rem; padding: 2px 6px;
|
|
466
|
+
background: var(--bg-surface); border: 1px solid var(--border);
|
|
467
|
+
border-radius: 4px; color: var(--text-dim); margin: 1px;
|
|
468
|
+
}
|
|
469
|
+
.adm-prompt-group-header {
|
|
470
|
+
cursor: pointer; padding: 8px 0; font-weight: 600; color: var(--text);
|
|
471
|
+
display: flex; align-items: center; gap: 6px;
|
|
472
|
+
border-bottom: 1px solid var(--border-subtle);
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
/* ── Form Controls ── */
|
|
476
|
+
.adm-input {
|
|
477
|
+
background: var(--bg-input);
|
|
478
|
+
border: 1.5px solid var(--border);
|
|
479
|
+
color: var(--text);
|
|
480
|
+
padding: 8px 12px;
|
|
481
|
+
border-radius: 6px;
|
|
482
|
+
font-size: .85rem;
|
|
483
|
+
font-family: inherit;
|
|
484
|
+
}
|
|
485
|
+
.adm-input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(99,102,241,0.15); }
|
|
486
|
+
.adm-input-full { width: 100%; }
|
|
487
|
+
|
|
488
|
+
.adm-textarea {
|
|
489
|
+
background: var(--bg-input);
|
|
490
|
+
border: 1.5px solid var(--border);
|
|
491
|
+
color: var(--text);
|
|
492
|
+
padding: 10px;
|
|
493
|
+
border-radius: 6px;
|
|
494
|
+
font-family: var(--font-mono);
|
|
495
|
+
font-size: .8rem;
|
|
496
|
+
resize: vertical;
|
|
497
|
+
line-height: 1.5;
|
|
498
|
+
tab-size: 2;
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
/* ── Flex Utilities ── */
|
|
502
|
+
.adm-flex { display: flex; gap: 8px; }
|
|
503
|
+
.adm-flex-col { display: flex; flex-direction: column; gap: 8px; }
|
|
504
|
+
.adm-flex-between { display: flex; justify-content: space-between; align-items: center; }
|
|
505
|
+
.adm-flex-center { display: flex; align-items: center; gap: 8px; }
|
|
506
|
+
.adm-flex-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
|
|
507
|
+
|
|
508
|
+
/* ── Text Utilities ── */
|
|
509
|
+
.adm-text-xs { font-size: .7rem; }
|
|
510
|
+
.adm-text-sm { font-size: .8rem; }
|
|
511
|
+
.adm-text-base { font-size: .85rem; }
|
|
512
|
+
.adm-text-dim { color: var(--text-dim); }
|
|
513
|
+
.adm-text-bright { color: var(--text); }
|
|
514
|
+
.adm-text-accent { color: var(--accent); }
|
|
515
|
+
.adm-text-error { color: var(--danger-fg); }
|
|
516
|
+
.adm-text-success { color: var(--success-fg); }
|
|
517
|
+
.adm-text-mono { font-family: var(--font-mono); font-size: .8rem; }
|
|
518
|
+
|
|
519
|
+
/* ── Spacing Utilities ── */
|
|
520
|
+
.adm-gap-xs { gap: 4px; }
|
|
521
|
+
.adm-gap-sm { gap: 8px; }
|
|
522
|
+
.adm-gap-md { gap: 12px; }
|
|
523
|
+
.adm-gap-lg { gap: 16px; }
|
|
524
|
+
|
|
525
|
+
.adm-mb-xs { margin-bottom: 4px; }
|
|
526
|
+
.adm-mb-sm { margin-bottom: 8px; }
|
|
527
|
+
.adm-mb-md { margin-bottom: 12px; }
|
|
528
|
+
.adm-mb-lg { margin-bottom: 16px; }
|
|
529
|
+
|
|
530
|
+
.adm-mt-sm { margin-top: 8px; }
|
|
531
|
+
.adm-mt-md { margin-top: 12px; }
|
|
532
|
+
.adm-mt-lg { margin-top: 16px; }
|
|
533
|
+
|
|
534
|
+
/* ── Modal ── canonical overlay/box live in theme.css (.modal-overlay / .modal).
|
|
535
|
+
msm-tab uses .modal-overlay directly; no admin-specific override needed. */
|
|
536
|
+
|
|
537
|
+
/* ── Memory Tab ──
|
|
538
|
+
(the bespoke .adm-mem-stat summary cards were removed — memory/agent-tasks/
|
|
539
|
+
sharing-groups now use the canonical <StatsGrid>/.adm-stat pattern.) */
|
|
540
|
+
.adm-mem-filters {
|
|
541
|
+
display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; align-items: center;
|
|
542
|
+
}
|
|
543
|
+
.adm-mem-filters .adm-input {
|
|
544
|
+
padding: 6px 10px; border: 1px solid var(--glass-border); border-radius: 6px;
|
|
545
|
+
font-size: .85rem; background: var(--glass-bg); color: inherit; min-width: 160px;
|
|
546
|
+
}
|
|
547
|
+
.adm-mem-value-label { font-size: .8rem; color: var(--text-dim); margin-bottom: 4px; }
|
|
548
|
+
.adm-mem-value {
|
|
549
|
+
background: var(--bg-surface); border: 1px solid var(--glass-border); border-radius: 6px;
|
|
550
|
+
padding: 10px; font-size: .8rem; max-height: 300px; overflow: auto;
|
|
551
|
+
white-space: pre-wrap; word-break: break-all; font-family: 'JetBrains Mono', monospace;
|
|
552
|
+
}
|
|
553
|
+
.adm-mem-pagination {
|
|
554
|
+
display: flex; align-items: center; justify-content: center; gap: 12px;
|
|
555
|
+
padding: 12px 0; border-top: 1px solid var(--glass-border); margin-top: 8px;
|
|
556
|
+
}
|
|
557
|
+
.adm-mem-page-info { font-size: .85rem; color: var(--text-dim); }
|
|
558
|
+
/* Semantic button modifiers — combine with .adm-btn-sm / .adm-btn-action
|
|
559
|
+
(which supply padding/radius). Theme-aware via tokens, never hardcoded hex.
|
|
560
|
+
These replace the ad-hoc inline style="color:#ef4444…" overrides that were
|
|
561
|
+
scattered across the tabs. */
|
|
562
|
+
.adm-btn-danger {
|
|
563
|
+
color: var(--danger-fg); border-color: var(--danger-border);
|
|
564
|
+
}
|
|
565
|
+
.adm-btn-danger:hover { background: var(--danger-bg); }
|
|
566
|
+
.adm-btn-success {
|
|
567
|
+
color: var(--success-fg); border-color: var(--success-border);
|
|
568
|
+
}
|
|
569
|
+
.adm-btn-success:hover { background: var(--success-bg); }
|
|
570
|
+
/* Solid danger — combine with .adm-btn (which supplies layout); the bg override
|
|
571
|
+
below wins on source order. For destructive primary actions (e.g. delete). */
|
|
572
|
+
.adm-btn-danger-solid {
|
|
573
|
+
background: var(--danger); color: #fff; border-color: transparent;
|
|
574
|
+
}
|
|
575
|
+
.adm-btn-danger-solid:hover { background: var(--danger); filter: brightness(0.92); }
|
|
576
|
+
|
|
577
|
+
/* Subtabs row */
|
|
578
|
+
.adm-subtabs { display: flex; gap: 8px; margin: 16px 0; flex-wrap: wrap; }
|
|
579
|
+
|
|
580
|
+
/* Active subtab button */
|
|
581
|
+
.adm-btn-active,
|
|
582
|
+
.adm-btn-active:hover { background: var(--accent); color: #fff; }
|
|
583
|
+
|
|
584
|
+
/* Packages tab seed card */
|
|
585
|
+
.adm-pkg-seed-card { margin-bottom: 16px; text-align: center; padding: 24px; }
|
|
586
|
+
.adm-pkg-seed-text { margin-bottom: 12px; }
|
|
587
|
+
.adm-pkg-seed-msg { margin-top: 8px; font-size: .85rem; color: var(--mint); }
|
|
588
|
+
|
|
589
|
+
/* Template moderation */
|
|
590
|
+
.adm-mod-section { margin-bottom: 16px; }
|
|
591
|
+
.adm-mod-review { margin-top: 8px; }
|
|
592
|
+
.adm-mod-review-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--text-bright, #1A1A2E); }
|
|
593
|
+
.adm-mod-desc { font-size: .85rem; color: var(--text-dim, #6B7280); margin-bottom: 8px; }
|
|
594
|
+
.adm-mod-meta-grid { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; font-size: .84rem; }
|
|
595
|
+
.adm-mod-meta-item { color: var(--text-dim, #6B7280); }
|
|
596
|
+
.adm-mod-meta-item strong { color: var(--text-bright, #1A1A2E); }
|
|
597
|
+
.adm-mod-tags { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 8px; }
|
|
598
|
+
.adm-mod-pre { font-size: .78rem; white-space: pre-wrap; word-break: break-all; max-height: 300px; overflow: auto; font-family: var(--font-mono); background: var(--bg-deep, #F8FAFC); border: 1px solid var(--glass-border, #E5E7EB); border-radius: 6px; padding: 10px; }
|
|
599
|
+
.adm-mod-components { margin-bottom: 12px; }
|
|
600
|
+
.adm-mod-components h5 { font-size: .84rem; margin-bottom: 6px; }
|
|
601
|
+
.adm-mod-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 12px; }
|
|
602
|
+
.adm-mod-action-group { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 6px; }
|
|
603
|
+
.adm-mod-action-label { font-size: .78rem; font-weight: 600; color: var(--text-dim, #6B7280); }
|
|
604
|
+
.adm-mod-input { padding: 6px 10px; border: 1px solid var(--glass-border, #E5E7EB); border-radius: 6px; font-size: .85rem; background: var(--glass-bg, #fff); color: inherit; }
|
|
605
|
+
.adm-mod-suspend-panel { margin-top: 8px; }
|
|
606
|
+
.adm-mod-suspend-row { display: flex; gap: 8px; align-items: center; }
|
|
607
|
+
.adm-mod-suspend-row .adm-mod-input { flex: 1; }
|
|
608
|
+
|
|
609
|
+
/* Badge aliases for moderation statuses */
|
|
610
|
+
.adm-badge-approved { background: var(--success-bg); color: var(--success-fg); }
|
|
611
|
+
.adm-badge-rejected { background: var(--danger-bg); color: var(--danger-fg); }
|
|
612
|
+
.adm-badge-suspended { background: var(--warn-bg); color: var(--warn-fg); }
|
|
613
|
+
.adm-badge-published { background: var(--success-bg); color: var(--success-fg); }
|
|
614
|
+
.adm-badge-active { background: var(--success-bg); color: var(--success-fg); }
|
|
615
|
+
.adm-badge-installed { background: var(--success-bg); color: var(--success-fg); }
|
|
616
|
+
|
|
617
|
+
/* ── Board Members ── */
|
|
618
|
+
.adm-board-detail { border-top: 1px solid var(--card-border, var(--glass-border)); padding-top: 8px; }
|
|
619
|
+
.adm-board-post { margin-bottom: 6px; padding: 6px; background: var(--bg-card, var(--glass-bg)); border-radius: 6px; }
|
|
620
|
+
.adm-board-members { border-top: 1px solid var(--card-border, var(--glass-border)); padding-top: 8px; }
|
|
621
|
+
.adm-member-tag {
|
|
622
|
+
display: inline-flex; align-items: center; gap: 4px;
|
|
623
|
+
background: var(--glass-bg); border: 1px solid var(--glass-border);
|
|
624
|
+
border-radius: 4px; padding: 2px 8px; font-size: .8rem;
|
|
625
|
+
}
|
|
626
|
+
.adm-member-tag code { font-size: .78rem; }
|
|
627
|
+
.adm-member-remove {
|
|
628
|
+
background: none; border: none; color: var(--text-dim); cursor: pointer;
|
|
629
|
+
font-size: 1rem; line-height: 1; padding: 0 2px;
|
|
630
|
+
}
|
|
631
|
+
.adm-member-remove:hover { color: var(--danger, #E8564A); }
|
|
632
|
+
.adm-member-add { display: flex; gap: 8px; align-items: center; }
|
|
633
|
+
.adm-member-add .adm-input { flex: 1; font-size: .85rem; }
|
|
634
|
+
.adm-font-mono { font-family: 'JetBrains Mono', monospace; }
|
|
635
|
+
|
|
636
|
+
/* ── Stats Time Range Selector ── */
|
|
637
|
+
.adm-time-range {
|
|
638
|
+
display: flex;
|
|
639
|
+
flex-wrap: wrap;
|
|
640
|
+
align-items: center;
|
|
641
|
+
gap: 8px;
|
|
642
|
+
margin-bottom: 20px;
|
|
643
|
+
padding: 12px 16px;
|
|
644
|
+
background: var(--glass-bg, #FFFFFF);
|
|
645
|
+
border: 1px solid var(--glass-border, #E5E7EB);
|
|
646
|
+
border-radius: 8px;
|
|
647
|
+
}
|
|
648
|
+
.adm-time-range-label {
|
|
649
|
+
font-size: 0.8rem;
|
|
650
|
+
color: var(--text-dim);
|
|
651
|
+
margin-right: 4px;
|
|
652
|
+
}
|
|
653
|
+
.adm-time-btn {
|
|
654
|
+
padding: 4px 12px;
|
|
655
|
+
font-size: 0.75rem;
|
|
656
|
+
border: 1px solid var(--glass-border, #E5E7EB);
|
|
657
|
+
border-radius: 6px;
|
|
658
|
+
background: transparent;
|
|
659
|
+
color: var(--text);
|
|
660
|
+
cursor: pointer;
|
|
661
|
+
font-family: inherit;
|
|
662
|
+
transition: all 0.15s;
|
|
663
|
+
}
|
|
664
|
+
.adm-time-btn:hover { border-color: var(--accent); color: var(--accent); }
|
|
665
|
+
.adm-time-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }
|
|
666
|
+
.adm-time-custom {
|
|
667
|
+
display: flex;
|
|
668
|
+
align-items: center;
|
|
669
|
+
gap: 6px;
|
|
670
|
+
margin-left: auto;
|
|
671
|
+
}
|
|
672
|
+
.adm-time-custom input[type="date"] {
|
|
673
|
+
padding: 3px 8px;
|
|
674
|
+
font-size: 0.75rem;
|
|
675
|
+
border: 1px solid var(--glass-border, #E5E7EB);
|
|
676
|
+
border-radius: 4px;
|
|
677
|
+
background: var(--bg-input);
|
|
678
|
+
color: var(--text);
|
|
679
|
+
font-family: inherit;
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
/* ── Stats Breakdown Table ── */
|
|
683
|
+
.adm-breakdown-table {
|
|
684
|
+
width: 100%;
|
|
685
|
+
border-collapse: collapse;
|
|
686
|
+
font-size: 0.78rem;
|
|
687
|
+
margin-top: 8px;
|
|
688
|
+
}
|
|
689
|
+
.adm-breakdown-table th {
|
|
690
|
+
text-align: left;
|
|
691
|
+
padding: 6px 10px;
|
|
692
|
+
color: var(--text-dim);
|
|
693
|
+
border-bottom: 1px solid var(--border);
|
|
694
|
+
font-weight: 500;
|
|
695
|
+
}
|
|
696
|
+
.adm-breakdown-table td {
|
|
697
|
+
padding: 5px 10px;
|
|
698
|
+
border-bottom: 1px solid var(--border-subtle);
|
|
699
|
+
}
|
|
700
|
+
.adm-breakdown-table td.num {
|
|
701
|
+
text-align: right;
|
|
702
|
+
font-variant-numeric: tabular-nums;
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
/* ── Stats Section Header Colors ── */
|
|
706
|
+
.adm-section-purple { color: var(--purple); }
|
|
707
|
+
.adm-section-cyan { color: var(--teal); }
|
|
708
|
+
.adm-section-violet { color: var(--purple); }
|
|
709
|
+
.adm-section-amber { color: var(--warn); }
|
|
710
|
+
.adm-section-red { color: var(--danger); }
|
|
711
|
+
|
|
712
|
+
/* ── Breakdown Table ── */
|
|
713
|
+
.adm-breakdown-table th.num { text-align: right; }
|
|
714
|
+
|
|
715
|
+
/* ── Stats Inline Breakdown ── */
|
|
716
|
+
.adm-date-separator { color: var(--text-dim); }
|
|
717
|
+
.adm-mailbox-inline { padding: 10px 16px; }
|
|
718
|
+
.adm-blocked-reasons { margin-bottom: 6px; color: var(--text-dim); }
|
|
719
|
+
.adm-channels-summary { color: var(--text-dim); }
|
|
720
|
+
|
|
721
|
+
.adm-badge-live {
|
|
722
|
+
display: inline-block;
|
|
723
|
+
font-size: 0.6rem;
|
|
724
|
+
padding: 1px 6px;
|
|
725
|
+
border-radius: 4px;
|
|
726
|
+
background: var(--accent);
|
|
727
|
+
color: #fff;
|
|
728
|
+
vertical-align: middle;
|
|
729
|
+
margin-left: 6px;
|
|
730
|
+
}
|