@cmdoss/agent-pass-plugin 0.0.0-stage → 0.1.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/README.md +131 -2
- package/dist/agentpass.js +199 -0
- package/dist/cli.js +37 -0
- package/dist/domain.js +103 -0
- package/dist/engine.js +260 -0
- package/dist/http.js +170 -0
- package/dist/mcp.js +259 -0
- package/dist/onboarding.js +258 -0
- package/dist/public/catalog.js +35 -0
- package/dist/public/http.js +89 -0
- package/dist/public-server.js +11 -0
- package/dist/runtime/config.js +16 -0
- package/dist/runtime/installation.js +107 -0
- package/dist/runtime/lock.js +38 -0
- package/dist/runtime/paths.js +56 -0
- package/dist/runtime/setup.js +155 -0
- package/dist/sdk-ui.js +48 -0
- package/dist/server.js +107 -0
- package/dist/shared/constants.js +9 -0
- package/dist/store.js +84 -0
- package/dist/testnet/adapter.js +275 -0
- package/dist/testnet/authorization.js +620 -0
- package/dist/testnet/chain/codec.js +68 -0
- package/dist/testnet/chain/inspection.js +54 -0
- package/dist/testnet/chain/policy.js +78 -0
- package/dist/testnet/chain/prepared.js +150 -0
- package/dist/testnet/chain/receipt.js +49 -0
- package/dist/testnet/chain/sdk.js +34 -0
- package/dist/testnet/chain/types.js +1 -0
- package/dist/testnet/engine.js +395 -0
- package/dist/testnet/http.js +139 -0
- package/dist/testnet/model.js +49 -0
- package/dist/testnet/policy.js +44 -0
- package/dist/testnet/read-model.js +217 -0
- package/dist/testnet/repository.js +62 -0
- package/dist/testnet/runner.js +306 -0
- package/dist/testnet/types.js +1 -0
- package/dist/workflows.js +379 -0
- package/docs/agent-pass-integration.md +75 -0
- package/docs/architecture.md +93 -0
- package/docs/npm-release.md +83 -0
- package/npm-shrinkwrap.json +5376 -0
- package/package.json +72 -4
- package/public/assets/agent-pass-plugin-client.js +16 -0
- package/public/assets/agent-pass-plugin-sdk.js +1 -0
- package/public/assets/sui-payment-rails.avif +0 -0
- package/public/assets/sui-payments-hero.json +1 -0
- package/public/fonts/TWKEverett-Medium.woff2 +0 -0
- package/public/fonts/TWKEverett-Regular.woff2 +0 -0
- package/public/fonts/TWKEverettMono-Medium.woff2 +0 -0
- package/public/fonts/TWKEverettMono-Regular.woff2 +0 -0
- package/public/index.html +81 -0
- package/public/styles/base.css +117 -0
- package/public/styles/catalog.css +279 -0
- package/public/styles/controls.css +118 -0
- package/public/styles/dialog.css +257 -0
- package/public/styles/home.css +82 -0
- package/public/styles/layout.css +45 -0
- package/public/styles/plans.css +271 -0
- package/public/styles/responsive.css +643 -0
- package/public/styles/review.css +150 -0
- package/public/styles/sdk-wallet.css +125 -0
- package/public/styles/sdk.css +441 -0
- package/public/styles/shell.css +348 -0
- package/public/styles/tokens.css +75 -0
- package/public/styles.css +11 -0
- package/scripts/setup.mjs +10 -0
- package/skills/agent-pass-plugin-trading/SKILL.md +60 -0
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
dialog {
|
|
2
|
+
width: min(640px, calc(100vw - 48px));
|
|
3
|
+
max-height: calc(100dvh - 48px);
|
|
4
|
+
margin: auto;
|
|
5
|
+
padding: 0;
|
|
6
|
+
border: 2px solid var(--raised);
|
|
7
|
+
background: var(--surface);
|
|
8
|
+
color: white;
|
|
9
|
+
overflow: hidden;
|
|
10
|
+
}
|
|
11
|
+
dialog[open] {
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
}
|
|
15
|
+
dialog::backdrop {
|
|
16
|
+
background: #000c;
|
|
17
|
+
}
|
|
18
|
+
.dialog-header {
|
|
19
|
+
display: flex;
|
|
20
|
+
align-items: center;
|
|
21
|
+
justify-content: space-between;
|
|
22
|
+
gap: 24px;
|
|
23
|
+
padding: 24px;
|
|
24
|
+
border-bottom: 1px solid var(--line-soft);
|
|
25
|
+
flex-shrink: 0;
|
|
26
|
+
}
|
|
27
|
+
.dialog-header h2 {
|
|
28
|
+
font-size: 32px;
|
|
29
|
+
line-height: 1.1;
|
|
30
|
+
letter-spacing: -0.03em;
|
|
31
|
+
}
|
|
32
|
+
.dialog-body {
|
|
33
|
+
min-height: 0;
|
|
34
|
+
display: flex;
|
|
35
|
+
flex-direction: column;
|
|
36
|
+
gap: 24px;
|
|
37
|
+
padding: 24px;
|
|
38
|
+
overflow: auto;
|
|
39
|
+
}
|
|
40
|
+
.dialog-body p {
|
|
41
|
+
color: white;
|
|
42
|
+
font-size: 16px;
|
|
43
|
+
line-height: 1.4;
|
|
44
|
+
}
|
|
45
|
+
.dialog-footer {
|
|
46
|
+
display: flex;
|
|
47
|
+
justify-content: flex-end;
|
|
48
|
+
gap: 16px;
|
|
49
|
+
padding: 20px 24px;
|
|
50
|
+
border-top: 1px solid var(--line-soft);
|
|
51
|
+
flex-shrink: 0;
|
|
52
|
+
}
|
|
53
|
+
.dialog-footer:empty {
|
|
54
|
+
display: none;
|
|
55
|
+
}
|
|
56
|
+
.dialog-body:has(> .dialog-error:only-child:empty) {
|
|
57
|
+
display: none;
|
|
58
|
+
}
|
|
59
|
+
.form-fields {
|
|
60
|
+
display: grid;
|
|
61
|
+
grid-template-columns: 1fr 1fr;
|
|
62
|
+
gap: 24px;
|
|
63
|
+
}
|
|
64
|
+
.field {
|
|
65
|
+
min-width: 0;
|
|
66
|
+
display: block;
|
|
67
|
+
}
|
|
68
|
+
.field > span {
|
|
69
|
+
display: block;
|
|
70
|
+
margin-bottom: 10px;
|
|
71
|
+
color: white;
|
|
72
|
+
font-size: 14px;
|
|
73
|
+
line-height: 1.4;
|
|
74
|
+
}
|
|
75
|
+
.field small {
|
|
76
|
+
display: block;
|
|
77
|
+
margin-top: 10px;
|
|
78
|
+
color: #c2c6cd;
|
|
79
|
+
font-size: 14px;
|
|
80
|
+
line-height: 1.4;
|
|
81
|
+
}
|
|
82
|
+
.field input,
|
|
83
|
+
.field select {
|
|
84
|
+
width: 100%;
|
|
85
|
+
min-width: 0;
|
|
86
|
+
height: 44px;
|
|
87
|
+
padding: 10px 12px;
|
|
88
|
+
border: 0;
|
|
89
|
+
border-bottom: 1px solid var(--line);
|
|
90
|
+
border-radius: 0;
|
|
91
|
+
background: var(--raised);
|
|
92
|
+
color: white;
|
|
93
|
+
font-size: 16px;
|
|
94
|
+
font-variant-numeric: tabular-nums;
|
|
95
|
+
}
|
|
96
|
+
.field.wide {
|
|
97
|
+
grid-column: 1/-1;
|
|
98
|
+
}
|
|
99
|
+
.advanced {
|
|
100
|
+
margin-top: 24px;
|
|
101
|
+
padding-top: 18px;
|
|
102
|
+
border-top: 1px solid var(--line-soft);
|
|
103
|
+
}
|
|
104
|
+
.advanced summary {
|
|
105
|
+
color: white;
|
|
106
|
+
font-size: 14px;
|
|
107
|
+
cursor: pointer;
|
|
108
|
+
}
|
|
109
|
+
.advanced .form-fields {
|
|
110
|
+
margin-top: 24px;
|
|
111
|
+
}
|
|
112
|
+
.form-error {
|
|
113
|
+
margin-top: 16px;
|
|
114
|
+
}
|
|
115
|
+
.code-block {
|
|
116
|
+
max-height: 190px;
|
|
117
|
+
overflow: auto;
|
|
118
|
+
margin: 0;
|
|
119
|
+
padding: 16px;
|
|
120
|
+
background: black;
|
|
121
|
+
border: 0;
|
|
122
|
+
color: white;
|
|
123
|
+
font: 13px/1.6 var(--mono);
|
|
124
|
+
white-space: pre-wrap;
|
|
125
|
+
overflow-wrap: anywhere;
|
|
126
|
+
}
|
|
127
|
+
.setup-command {
|
|
128
|
+
display: flex;
|
|
129
|
+
flex-direction: column;
|
|
130
|
+
align-items: stretch;
|
|
131
|
+
gap: 12px;
|
|
132
|
+
}
|
|
133
|
+
.setup-command .command-top {
|
|
134
|
+
display: flex;
|
|
135
|
+
align-items: center;
|
|
136
|
+
justify-content: space-between;
|
|
137
|
+
gap: 24px;
|
|
138
|
+
}
|
|
139
|
+
.setup-command .command-top h3 {
|
|
140
|
+
font-size: 18px;
|
|
141
|
+
}
|
|
142
|
+
.setup-command .command-top .button {
|
|
143
|
+
min-height: 36px;
|
|
144
|
+
}
|
|
145
|
+
.dialog-error:empty {
|
|
146
|
+
display: none;
|
|
147
|
+
}
|
|
148
|
+
.manual-copy {
|
|
149
|
+
width: 100%;
|
|
150
|
+
min-height: 160px;
|
|
151
|
+
padding: 16px;
|
|
152
|
+
border: 1px solid var(--line);
|
|
153
|
+
background: black;
|
|
154
|
+
color: white;
|
|
155
|
+
font: 14px/1.6 var(--mono);
|
|
156
|
+
resize: vertical;
|
|
157
|
+
}
|
|
158
|
+
.skip-link {
|
|
159
|
+
position: fixed;
|
|
160
|
+
z-index: 30;
|
|
161
|
+
top: -100px;
|
|
162
|
+
left: 24px;
|
|
163
|
+
padding: 12px 16px;
|
|
164
|
+
background: var(--action);
|
|
165
|
+
color: white;
|
|
166
|
+
}
|
|
167
|
+
.skip-link:focus {
|
|
168
|
+
top: 8px;
|
|
169
|
+
}
|
|
170
|
+
#notification {
|
|
171
|
+
position: fixed;
|
|
172
|
+
z-index: 20;
|
|
173
|
+
left: 50%;
|
|
174
|
+
bottom: 20px;
|
|
175
|
+
transform: translateX(-50%);
|
|
176
|
+
max-width: calc(100vw - 48px);
|
|
177
|
+
font-size: 14px;
|
|
178
|
+
line-height: 1.4;
|
|
179
|
+
pointer-events: none;
|
|
180
|
+
}
|
|
181
|
+
#notification:not(:empty) {
|
|
182
|
+
border: 1px solid var(--line-soft);
|
|
183
|
+
padding: 16px 24px;
|
|
184
|
+
background: var(--raised);
|
|
185
|
+
color: white;
|
|
186
|
+
}
|
|
187
|
+
#notification.error {
|
|
188
|
+
color: white;
|
|
189
|
+
}
|
|
190
|
+
.sr-only {
|
|
191
|
+
position: absolute;
|
|
192
|
+
width: 1px;
|
|
193
|
+
height: 1px;
|
|
194
|
+
overflow: hidden;
|
|
195
|
+
clip: rect(0, 0, 0, 0);
|
|
196
|
+
white-space: nowrap;
|
|
197
|
+
}
|
|
198
|
+
.inline-pair {
|
|
199
|
+
display: flex;
|
|
200
|
+
align-items: center;
|
|
201
|
+
justify-content: space-between;
|
|
202
|
+
gap: 24px;
|
|
203
|
+
}
|
|
204
|
+
.full-width {
|
|
205
|
+
width: 100%;
|
|
206
|
+
}
|
|
207
|
+
.gap-small {
|
|
208
|
+
gap: 16px;
|
|
209
|
+
}
|
|
210
|
+
.heading-note {
|
|
211
|
+
color: #c2c6cd;
|
|
212
|
+
font-size: 14px;
|
|
213
|
+
}
|
|
214
|
+
.strategy-description-short {
|
|
215
|
+
color: white;
|
|
216
|
+
font-size: 16px;
|
|
217
|
+
line-height: 1.4;
|
|
218
|
+
}
|
|
219
|
+
.disconnected-card {
|
|
220
|
+
max-width: 480px;
|
|
221
|
+
}
|
|
222
|
+
.empty-state.disconnected-state {
|
|
223
|
+
flex: 0 0 auto;
|
|
224
|
+
align-self: center;
|
|
225
|
+
width: min(640px, 100%);
|
|
226
|
+
padding: 40px 24px;
|
|
227
|
+
}
|
|
228
|
+
.plans-view > #view-error:empty {
|
|
229
|
+
display: none;
|
|
230
|
+
}
|
|
231
|
+
#plan-tab-content > .reason:empty {
|
|
232
|
+
display: none;
|
|
233
|
+
}
|
|
234
|
+
.margin-top {
|
|
235
|
+
margin-top: 16px;
|
|
236
|
+
}
|
|
237
|
+
.align-right {
|
|
238
|
+
text-align: right !important;
|
|
239
|
+
}
|
|
240
|
+
.request-status {
|
|
241
|
+
color: #c2c6cd;
|
|
242
|
+
font-size: 14px;
|
|
243
|
+
}
|
|
244
|
+
.skeleton-line {
|
|
245
|
+
width: 150px;
|
|
246
|
+
height: 16px;
|
|
247
|
+
background: var(--raised);
|
|
248
|
+
}
|
|
249
|
+
.error-list {
|
|
250
|
+
display: flex;
|
|
251
|
+
flex-direction: column;
|
|
252
|
+
gap: 16px;
|
|
253
|
+
}
|
|
254
|
+
.dialog-divider {
|
|
255
|
+
padding-top: 24px;
|
|
256
|
+
border-top: 1px solid var(--line-soft);
|
|
257
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
.home-view {
|
|
2
|
+
position: relative;
|
|
3
|
+
isolation: isolate;
|
|
4
|
+
align-items: center;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
overflow: hidden;
|
|
7
|
+
padding: 16px 16px 32px;
|
|
8
|
+
}
|
|
9
|
+
.home-art {
|
|
10
|
+
position: absolute;
|
|
11
|
+
z-index: -1;
|
|
12
|
+
inset: auto 50% -72px auto;
|
|
13
|
+
width: calc(100% + 48px);
|
|
14
|
+
height: 100%;
|
|
15
|
+
transform: translateX(50%);
|
|
16
|
+
background: url("/assets/sui-payment-rails.avif") center bottom / 100% auto
|
|
17
|
+
no-repeat;
|
|
18
|
+
pointer-events: none;
|
|
19
|
+
}
|
|
20
|
+
.home-art > * {
|
|
21
|
+
position: absolute;
|
|
22
|
+
inset: 0;
|
|
23
|
+
display: block;
|
|
24
|
+
width: 100%;
|
|
25
|
+
height: 100%;
|
|
26
|
+
}
|
|
27
|
+
.home-art img,
|
|
28
|
+
.home-art video,
|
|
29
|
+
.home-art canvas,
|
|
30
|
+
.home-art svg {
|
|
31
|
+
display: block;
|
|
32
|
+
width: 100%;
|
|
33
|
+
height: 100%;
|
|
34
|
+
object-fit: contain;
|
|
35
|
+
}
|
|
36
|
+
.home-art * {
|
|
37
|
+
pointer-events: none;
|
|
38
|
+
}
|
|
39
|
+
.home-art.is-playing {
|
|
40
|
+
background-image: none;
|
|
41
|
+
}
|
|
42
|
+
.wallet-choices {
|
|
43
|
+
display: grid;
|
|
44
|
+
gap: 12px;
|
|
45
|
+
}
|
|
46
|
+
.wallet-choice {
|
|
47
|
+
min-height: 64px;
|
|
48
|
+
width: 100%;
|
|
49
|
+
border: 0;
|
|
50
|
+
padding: 18px 20px;
|
|
51
|
+
background: var(--raised);
|
|
52
|
+
color: var(--ink);
|
|
53
|
+
display: flex;
|
|
54
|
+
align-items: center;
|
|
55
|
+
justify-content: space-between;
|
|
56
|
+
font-size: 18px;
|
|
57
|
+
text-align: left;
|
|
58
|
+
}
|
|
59
|
+
.wallet-choice:hover:not(:disabled) {
|
|
60
|
+
background: #343940;
|
|
61
|
+
}
|
|
62
|
+
.home-module {
|
|
63
|
+
transform: translateY(-80px);
|
|
64
|
+
min-height: 0;
|
|
65
|
+
width: min(800px, 100%);
|
|
66
|
+
display: flex;
|
|
67
|
+
flex-direction: column;
|
|
68
|
+
align-items: center;
|
|
69
|
+
gap: 32px;
|
|
70
|
+
text-align: center;
|
|
71
|
+
}
|
|
72
|
+
.home-module h1 {
|
|
73
|
+
max-width: 800px;
|
|
74
|
+
font-size: var(--display);
|
|
75
|
+
line-height: var(--display-leading);
|
|
76
|
+
letter-spacing: -4px;
|
|
77
|
+
}
|
|
78
|
+
.grid-region {
|
|
79
|
+
flex: 1;
|
|
80
|
+
min-height: 0;
|
|
81
|
+
overflow: auto;
|
|
82
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
.view {
|
|
2
|
+
flex: 1;
|
|
3
|
+
min-width: 0;
|
|
4
|
+
min-height: 0;
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
gap: 32px;
|
|
8
|
+
}
|
|
9
|
+
.view-head {
|
|
10
|
+
display: flex;
|
|
11
|
+
align-items: center;
|
|
12
|
+
justify-content: space-between;
|
|
13
|
+
gap: 32px;
|
|
14
|
+
flex-shrink: 0;
|
|
15
|
+
}
|
|
16
|
+
.catalog-view > .view-head {
|
|
17
|
+
margin-bottom: 32px;
|
|
18
|
+
}
|
|
19
|
+
.catalog-view > #view-error:empty {
|
|
20
|
+
display: none;
|
|
21
|
+
}
|
|
22
|
+
.view-head p {
|
|
23
|
+
margin-top: 16px;
|
|
24
|
+
color: white;
|
|
25
|
+
font-size: 18px;
|
|
26
|
+
line-height: 1.4;
|
|
27
|
+
}
|
|
28
|
+
.view-head .search {
|
|
29
|
+
width: 320px;
|
|
30
|
+
}
|
|
31
|
+
.search {
|
|
32
|
+
min-width: 0;
|
|
33
|
+
height: 48px;
|
|
34
|
+
padding: 12px 16px;
|
|
35
|
+
border: 0;
|
|
36
|
+
border-bottom: 1px solid var(--line);
|
|
37
|
+
border-radius: 0;
|
|
38
|
+
background: var(--surface);
|
|
39
|
+
color: white;
|
|
40
|
+
font-size: 16px;
|
|
41
|
+
}
|
|
42
|
+
.search::placeholder {
|
|
43
|
+
color: #c2c6cd;
|
|
44
|
+
opacity: 1;
|
|
45
|
+
}
|
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
.plans-view {
|
|
2
|
+
gap: 24px;
|
|
3
|
+
}
|
|
4
|
+
.metrics {
|
|
5
|
+
display: grid;
|
|
6
|
+
grid-template-columns: 1fr 1fr;
|
|
7
|
+
gap: 24px;
|
|
8
|
+
flex-shrink: 0;
|
|
9
|
+
}
|
|
10
|
+
.metric {
|
|
11
|
+
min-width: 0;
|
|
12
|
+
padding: 20px 24px;
|
|
13
|
+
border: 0;
|
|
14
|
+
background: var(--surface);
|
|
15
|
+
}
|
|
16
|
+
.metric .label {
|
|
17
|
+
display: block;
|
|
18
|
+
margin-bottom: 10px;
|
|
19
|
+
color: #c2c6cd;
|
|
20
|
+
font-size: 14px;
|
|
21
|
+
}
|
|
22
|
+
.metric .amount {
|
|
23
|
+
max-width: 100%;
|
|
24
|
+
display: inline-block;
|
|
25
|
+
overflow-wrap: anywhere;
|
|
26
|
+
font-size: 40px;
|
|
27
|
+
line-height: 1.1;
|
|
28
|
+
letter-spacing: -0.04em;
|
|
29
|
+
font-variant-numeric: tabular-nums;
|
|
30
|
+
}
|
|
31
|
+
.metric .unit {
|
|
32
|
+
margin-left: 10px;
|
|
33
|
+
color: #c2c6cd;
|
|
34
|
+
font-size: 16px;
|
|
35
|
+
}
|
|
36
|
+
.metric .hint {
|
|
37
|
+
display: block;
|
|
38
|
+
margin-top: 8px;
|
|
39
|
+
color: #c2c6cd;
|
|
40
|
+
font-size: 13px;
|
|
41
|
+
line-height: 1.25;
|
|
42
|
+
}
|
|
43
|
+
.plans-layout {
|
|
44
|
+
flex: 1;
|
|
45
|
+
min-height: 0;
|
|
46
|
+
display: grid;
|
|
47
|
+
grid-template-columns: 280px minmax(0, 1fr);
|
|
48
|
+
gap: 24px;
|
|
49
|
+
}
|
|
50
|
+
.plans-master {
|
|
51
|
+
min-height: 0;
|
|
52
|
+
display: flex;
|
|
53
|
+
flex-direction: column;
|
|
54
|
+
border: 0;
|
|
55
|
+
background: var(--surface);
|
|
56
|
+
}
|
|
57
|
+
.master-title {
|
|
58
|
+
display: flex;
|
|
59
|
+
align-items: center;
|
|
60
|
+
justify-content: space-between;
|
|
61
|
+
gap: 16px;
|
|
62
|
+
padding: 20px;
|
|
63
|
+
border-bottom: 1px solid var(--line-soft);
|
|
64
|
+
font-size: 16px;
|
|
65
|
+
}
|
|
66
|
+
.plan-list {
|
|
67
|
+
flex: 1;
|
|
68
|
+
min-height: 0;
|
|
69
|
+
padding: 8px 0;
|
|
70
|
+
overflow: auto;
|
|
71
|
+
}
|
|
72
|
+
.plan-row {
|
|
73
|
+
width: 100%;
|
|
74
|
+
display: flex;
|
|
75
|
+
flex-direction: column;
|
|
76
|
+
gap: 14px;
|
|
77
|
+
padding: 20px;
|
|
78
|
+
border: 0;
|
|
79
|
+
border-left: 2px solid transparent;
|
|
80
|
+
background: transparent;
|
|
81
|
+
color: white;
|
|
82
|
+
text-align: left;
|
|
83
|
+
}
|
|
84
|
+
.plan-row:hover {
|
|
85
|
+
background: var(--raised);
|
|
86
|
+
}
|
|
87
|
+
.plan-row.selected {
|
|
88
|
+
border-left-color: var(--action);
|
|
89
|
+
background: var(--raised);
|
|
90
|
+
}
|
|
91
|
+
.plan-row .row-top {
|
|
92
|
+
display: flex;
|
|
93
|
+
justify-content: space-between;
|
|
94
|
+
gap: 16px;
|
|
95
|
+
font-size: 16px;
|
|
96
|
+
}
|
|
97
|
+
.plan-row .row-bottom {
|
|
98
|
+
display: flex;
|
|
99
|
+
justify-content: space-between;
|
|
100
|
+
gap: 16px;
|
|
101
|
+
color: #c2c6cd;
|
|
102
|
+
font-size: 13px;
|
|
103
|
+
}
|
|
104
|
+
.master-pagination {
|
|
105
|
+
padding: 12px 20px;
|
|
106
|
+
}
|
|
107
|
+
.badge {
|
|
108
|
+
display: inline-block;
|
|
109
|
+
color: #c2c6cd;
|
|
110
|
+
font-size: 14px;
|
|
111
|
+
line-height: 1.25;
|
|
112
|
+
white-space: nowrap;
|
|
113
|
+
}
|
|
114
|
+
.badge.running,
|
|
115
|
+
.badge.approved {
|
|
116
|
+
color: var(--blue-ink);
|
|
117
|
+
}
|
|
118
|
+
.badge.blocked,
|
|
119
|
+
.badge.paused,
|
|
120
|
+
.badge.revoked {
|
|
121
|
+
color: white;
|
|
122
|
+
}
|
|
123
|
+
.plan-detail {
|
|
124
|
+
min-width: 0;
|
|
125
|
+
min-height: 0;
|
|
126
|
+
display: flex;
|
|
127
|
+
flex-direction: column;
|
|
128
|
+
border: 0;
|
|
129
|
+
background: var(--surface);
|
|
130
|
+
}
|
|
131
|
+
.plan-detail-header {
|
|
132
|
+
display: flex;
|
|
133
|
+
align-items: center;
|
|
134
|
+
justify-content: space-between;
|
|
135
|
+
gap: 24px;
|
|
136
|
+
padding: 20px 24px;
|
|
137
|
+
flex-shrink: 0;
|
|
138
|
+
}
|
|
139
|
+
.plan-detail-header h2 {
|
|
140
|
+
font-size: 28px;
|
|
141
|
+
line-height: 1.1;
|
|
142
|
+
letter-spacing: -0.03em;
|
|
143
|
+
}
|
|
144
|
+
.plan-detail-header p {
|
|
145
|
+
margin-top: 8px;
|
|
146
|
+
color: #c2c6cd;
|
|
147
|
+
font-size: 13px;
|
|
148
|
+
}
|
|
149
|
+
.plan-detail .tabs {
|
|
150
|
+
min-height: 48px;
|
|
151
|
+
}
|
|
152
|
+
.plan-detail .tabs button {
|
|
153
|
+
padding: 14px 0;
|
|
154
|
+
}
|
|
155
|
+
.plan-tab {
|
|
156
|
+
flex: 1;
|
|
157
|
+
min-height: 0;
|
|
158
|
+
overflow: auto;
|
|
159
|
+
}
|
|
160
|
+
.plan-values {
|
|
161
|
+
display: grid;
|
|
162
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
163
|
+
gap: 24px;
|
|
164
|
+
padding: 24px;
|
|
165
|
+
}
|
|
166
|
+
.plan-value .label {
|
|
167
|
+
display: block;
|
|
168
|
+
margin-bottom: 10px;
|
|
169
|
+
color: #c2c6cd;
|
|
170
|
+
font-size: 14px;
|
|
171
|
+
}
|
|
172
|
+
.plan-value .value {
|
|
173
|
+
font-size: 28px;
|
|
174
|
+
line-height: 1.15;
|
|
175
|
+
letter-spacing: -0.03em;
|
|
176
|
+
font-variant-numeric: tabular-nums;
|
|
177
|
+
}
|
|
178
|
+
.plan-value .value small {
|
|
179
|
+
display: inline-block;
|
|
180
|
+
margin-left: 6px;
|
|
181
|
+
color: #c2c6cd;
|
|
182
|
+
font-size: 14px;
|
|
183
|
+
}
|
|
184
|
+
.plan-detail .reason {
|
|
185
|
+
padding: 0 24px 24px;
|
|
186
|
+
color: white;
|
|
187
|
+
font-size: 16px;
|
|
188
|
+
line-height: 1.4;
|
|
189
|
+
}
|
|
190
|
+
.plan-secondary {
|
|
191
|
+
padding: 0 24px 24px;
|
|
192
|
+
}
|
|
193
|
+
.plan-secondary .definition-list {
|
|
194
|
+
grid-template-columns: 1fr 1fr;
|
|
195
|
+
gap: 0 24px;
|
|
196
|
+
}
|
|
197
|
+
.plan-secondary .definition-list > div {
|
|
198
|
+
padding: 12px 0;
|
|
199
|
+
font-size: 14px;
|
|
200
|
+
}
|
|
201
|
+
.plan-controls {
|
|
202
|
+
display: flex;
|
|
203
|
+
align-items: center;
|
|
204
|
+
justify-content: space-between;
|
|
205
|
+
gap: 16px;
|
|
206
|
+
padding: 16px 24px;
|
|
207
|
+
border-top: 1px solid var(--line-soft);
|
|
208
|
+
flex-shrink: 0;
|
|
209
|
+
}
|
|
210
|
+
.control-group {
|
|
211
|
+
display: flex;
|
|
212
|
+
flex-wrap: wrap;
|
|
213
|
+
gap: 12px;
|
|
214
|
+
}
|
|
215
|
+
.plan-controls .button {
|
|
216
|
+
min-width: 100px;
|
|
217
|
+
}
|
|
218
|
+
.plan-controls .button.primary {
|
|
219
|
+
min-width: 140px;
|
|
220
|
+
}
|
|
221
|
+
.plan-controls .control-note {
|
|
222
|
+
color: #c2c6cd;
|
|
223
|
+
font-size: 14px;
|
|
224
|
+
}
|
|
225
|
+
.activity-table-wrap {
|
|
226
|
+
height: 100%;
|
|
227
|
+
overflow: auto;
|
|
228
|
+
}
|
|
229
|
+
.activity-table {
|
|
230
|
+
width: 100%;
|
|
231
|
+
border-collapse: collapse;
|
|
232
|
+
font-size: 14px;
|
|
233
|
+
}
|
|
234
|
+
.activity-table th {
|
|
235
|
+
position: sticky;
|
|
236
|
+
z-index: 1;
|
|
237
|
+
top: 0;
|
|
238
|
+
padding: 16px 24px;
|
|
239
|
+
border-bottom: 1px solid var(--line-soft);
|
|
240
|
+
background: var(--surface);
|
|
241
|
+
color: #c2c6cd;
|
|
242
|
+
text-align: left;
|
|
243
|
+
font-size: 14px;
|
|
244
|
+
font-weight: 400;
|
|
245
|
+
white-space: nowrap;
|
|
246
|
+
}
|
|
247
|
+
.activity-table td {
|
|
248
|
+
padding: 18px 24px;
|
|
249
|
+
border-bottom: 1px solid var(--line-soft);
|
|
250
|
+
color: white;
|
|
251
|
+
vertical-align: top;
|
|
252
|
+
}
|
|
253
|
+
.activity-table .event-reason {
|
|
254
|
+
max-width: 400px;
|
|
255
|
+
line-height: 1.4;
|
|
256
|
+
}
|
|
257
|
+
.activity-table .event-time {
|
|
258
|
+
display: block;
|
|
259
|
+
margin-top: 8px;
|
|
260
|
+
color: #c2c6cd;
|
|
261
|
+
font-size: 12px;
|
|
262
|
+
white-space: nowrap;
|
|
263
|
+
}
|
|
264
|
+
.activity-table .numeric {
|
|
265
|
+
text-align: right;
|
|
266
|
+
font-variant-numeric: tabular-nums;
|
|
267
|
+
white-space: nowrap;
|
|
268
|
+
}
|
|
269
|
+
.activity-pagination {
|
|
270
|
+
padding: 10px 24px;
|
|
271
|
+
}
|