codex-endpoint-switcher 1.1.0 → 1.3.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/package.json +3 -3
- package/src/main/cloud-sync-client.js +12 -7
- package/src/renderer/index.html +182 -158
- package/src/renderer/renderer.js +223 -85
- package/src/renderer/styles.css +526 -130
- package/src/web/server.js +26 -1
package/src/renderer/styles.css
CHANGED
|
@@ -21,8 +21,14 @@
|
|
|
21
21
|
box-sizing: border-box;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
+
html,
|
|
25
|
+
body {
|
|
26
|
+
height: 100%;
|
|
27
|
+
}
|
|
28
|
+
|
|
24
29
|
body {
|
|
25
30
|
margin: 0;
|
|
31
|
+
overflow: hidden;
|
|
26
32
|
min-height: 100vh;
|
|
27
33
|
color: var(--text);
|
|
28
34
|
font-family: "Segoe UI Variable", "Microsoft YaHei UI", "PingFang SC", sans-serif;
|
|
@@ -48,10 +54,21 @@ code {
|
|
|
48
54
|
position: relative;
|
|
49
55
|
max-width: 1440px;
|
|
50
56
|
margin: 0 auto;
|
|
51
|
-
|
|
57
|
+
height: 100vh;
|
|
58
|
+
padding: 16px;
|
|
59
|
+
overflow: hidden;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.app-shell {
|
|
63
|
+
height: 100%;
|
|
64
|
+
display: block;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.app-shell[hidden],
|
|
68
|
+
.auth-gate[hidden] {
|
|
69
|
+
display: none;
|
|
52
70
|
}
|
|
53
71
|
|
|
54
|
-
.hero-card,
|
|
55
72
|
.panel {
|
|
56
73
|
backdrop-filter: blur(18px);
|
|
57
74
|
-webkit-backdrop-filter: blur(18px);
|
|
@@ -60,15 +77,6 @@ code {
|
|
|
60
77
|
box-shadow: var(--shadow);
|
|
61
78
|
}
|
|
62
79
|
|
|
63
|
-
.hero-card {
|
|
64
|
-
display: grid;
|
|
65
|
-
grid-template-columns: 1.6fr 0.9fr;
|
|
66
|
-
gap: 20px;
|
|
67
|
-
overflow: hidden;
|
|
68
|
-
padding: 34px;
|
|
69
|
-
border-radius: var(--radius-xl);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
80
|
.eyebrow,
|
|
73
81
|
.panel-kicker {
|
|
74
82
|
margin: 0 0 10px;
|
|
@@ -78,108 +86,80 @@ code {
|
|
|
78
86
|
font-weight: 700;
|
|
79
87
|
}
|
|
80
88
|
|
|
81
|
-
.hero-copy h1,
|
|
82
89
|
.panel-header h2,
|
|
83
|
-
.profile-heading h3
|
|
90
|
+
.profile-heading h3,
|
|
91
|
+
.modal-header h2 {
|
|
84
92
|
margin: 0;
|
|
85
93
|
font-family: "Bahnschrift", "Microsoft YaHei UI", sans-serif;
|
|
86
94
|
letter-spacing: 0.01em;
|
|
87
95
|
}
|
|
88
96
|
|
|
89
|
-
.
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
.hero-text {
|
|
95
|
-
max-width: 620px;
|
|
96
|
-
margin: 16px 0 0;
|
|
97
|
-
color: var(--muted);
|
|
98
|
-
font-size: 1rem;
|
|
99
|
-
line-height: 1.7;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.hero-actions {
|
|
103
|
-
display: flex;
|
|
104
|
-
flex-wrap: wrap;
|
|
105
|
-
gap: 12px;
|
|
106
|
-
margin-top: 24px;
|
|
97
|
+
.auth-gate {
|
|
98
|
+
height: 100%;
|
|
99
|
+
display: grid;
|
|
100
|
+
place-items: center;
|
|
107
101
|
}
|
|
108
102
|
|
|
109
|
-
.
|
|
110
|
-
|
|
111
|
-
min-height:
|
|
112
|
-
|
|
103
|
+
.auth-card {
|
|
104
|
+
width: min(560px, 100%);
|
|
105
|
+
min-height: auto;
|
|
106
|
+
padding: 20px;
|
|
107
|
+
border-radius: 36px;
|
|
108
|
+
display: block;
|
|
113
109
|
background:
|
|
114
|
-
|
|
115
|
-
rgba(
|
|
116
|
-
|
|
117
|
-
overflow: hidden;
|
|
110
|
+
radial-gradient(circle at top left, rgba(216, 97, 53, 0.18), transparent 34%),
|
|
111
|
+
radial-gradient(circle at bottom right, rgba(46, 139, 139, 0.16), transparent 32%),
|
|
112
|
+
rgba(255, 249, 243, 0.9);
|
|
118
113
|
}
|
|
119
114
|
|
|
120
|
-
.
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
border-radius: 999px;
|
|
128
|
-
background: rgba(255, 255, 255, 0.82);
|
|
115
|
+
.auth-form-card {
|
|
116
|
+
display: grid;
|
|
117
|
+
align-content: center;
|
|
118
|
+
gap: 14px;
|
|
119
|
+
padding: 14px;
|
|
120
|
+
border-radius: 30px;
|
|
121
|
+
background: rgba(255, 252, 248, 0.82);
|
|
129
122
|
border: 1px solid rgba(47, 36, 30, 0.08);
|
|
130
|
-
color: var(--text);
|
|
131
|
-
font-weight: 700;
|
|
132
123
|
}
|
|
133
124
|
|
|
134
|
-
.
|
|
135
|
-
|
|
136
|
-
border-radius: 999px;
|
|
137
|
-
filter: blur(2px);
|
|
138
|
-
animation: drift 9s ease-in-out infinite;
|
|
125
|
+
.auth-panel-header {
|
|
126
|
+
margin-bottom: 0;
|
|
139
127
|
}
|
|
140
128
|
|
|
141
|
-
.
|
|
142
|
-
top:
|
|
143
|
-
left: 36px;
|
|
144
|
-
width: 180px;
|
|
145
|
-
height: 180px;
|
|
146
|
-
background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.92), rgba(216, 97, 53, 0.6));
|
|
129
|
+
.auth-form {
|
|
130
|
+
margin-top: 0;
|
|
147
131
|
}
|
|
148
132
|
|
|
149
|
-
.
|
|
150
|
-
|
|
151
|
-
top:
|
|
152
|
-
width: 140px;
|
|
153
|
-
height: 140px;
|
|
154
|
-
background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(46, 139, 139, 0.65));
|
|
155
|
-
animation-delay: -3s;
|
|
133
|
+
.auth-form .field-hint,
|
|
134
|
+
.auth-status {
|
|
135
|
+
margin-top: 2px;
|
|
156
136
|
}
|
|
157
137
|
|
|
158
138
|
.content-grid {
|
|
159
139
|
display: grid;
|
|
160
|
-
grid-template-columns:
|
|
140
|
+
grid-template-columns: 0.84fr 1.16fr;
|
|
141
|
+
height: 100%;
|
|
161
142
|
gap: 20px;
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
.panel {
|
|
166
|
-
padding: 24px;
|
|
167
|
-
border-radius: var(--radius-lg);
|
|
143
|
+
min-height: 0;
|
|
144
|
+
overflow: hidden;
|
|
168
145
|
}
|
|
169
146
|
|
|
170
|
-
.
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
grid-
|
|
147
|
+
.left-column {
|
|
148
|
+
min-height: 0;
|
|
149
|
+
display: grid;
|
|
150
|
+
grid-template-rows: auto minmax(0, 1fr);
|
|
151
|
+
gap: 20px;
|
|
152
|
+
overflow: hidden;
|
|
174
153
|
}
|
|
175
154
|
|
|
176
|
-
.
|
|
177
|
-
|
|
178
|
-
grid-row: 1 / 3;
|
|
155
|
+
.left-column > .panel {
|
|
156
|
+
align-self: stretch;
|
|
179
157
|
}
|
|
180
158
|
|
|
181
|
-
.
|
|
182
|
-
|
|
159
|
+
.panel {
|
|
160
|
+
padding: 18px;
|
|
161
|
+
border-radius: var(--radius-lg);
|
|
162
|
+
min-height: 0;
|
|
183
163
|
}
|
|
184
164
|
|
|
185
165
|
.panel-header {
|
|
@@ -187,7 +167,15 @@ code {
|
|
|
187
167
|
justify-content: space-between;
|
|
188
168
|
gap: 16px;
|
|
189
169
|
align-items: start;
|
|
190
|
-
margin-bottom:
|
|
170
|
+
margin-bottom: 14px;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.panel-header-actions {
|
|
174
|
+
display: flex;
|
|
175
|
+
align-items: center;
|
|
176
|
+
justify-content: flex-end;
|
|
177
|
+
gap: 10px;
|
|
178
|
+
flex-wrap: wrap;
|
|
191
179
|
}
|
|
192
180
|
|
|
193
181
|
.panel-tag,
|
|
@@ -204,12 +192,30 @@ code {
|
|
|
204
192
|
|
|
205
193
|
.current-grid {
|
|
206
194
|
display: grid;
|
|
207
|
-
grid-template-columns: repeat(
|
|
208
|
-
gap:
|
|
195
|
+
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
196
|
+
gap: 6px;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.current-summary {
|
|
200
|
+
margin-bottom: 6px;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.current-copy {
|
|
204
|
+
margin: 0;
|
|
205
|
+
color: var(--muted);
|
|
206
|
+
font-size: 0.84rem;
|
|
207
|
+
line-height: 1.4;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.current-tools {
|
|
211
|
+
display: grid;
|
|
212
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
213
|
+
gap: 8px;
|
|
214
|
+
margin-bottom: 6px;
|
|
209
215
|
}
|
|
210
216
|
|
|
211
217
|
.metric-card {
|
|
212
|
-
padding:
|
|
218
|
+
padding: 14px;
|
|
213
219
|
border-radius: var(--radius-md);
|
|
214
220
|
background: var(--panel-strong);
|
|
215
221
|
border: 1px solid rgba(47, 36, 30, 0.08);
|
|
@@ -222,8 +228,31 @@ code {
|
|
|
222
228
|
word-break: break-all;
|
|
223
229
|
}
|
|
224
230
|
|
|
225
|
-
.
|
|
226
|
-
|
|
231
|
+
.current-panel .panel-header {
|
|
232
|
+
margin-bottom: 6px;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.current-panel {
|
|
236
|
+
align-self: start;
|
|
237
|
+
display: grid;
|
|
238
|
+
align-content: start;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.current-panel .metric-card {
|
|
242
|
+
padding: 5px 8px;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.current-panel .metric-card strong {
|
|
246
|
+
margin-top: 2px;
|
|
247
|
+
font-size: 0.88rem;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.current-panel .metric-label {
|
|
251
|
+
font-size: 0.76rem;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
.current-panel .secondary-button {
|
|
255
|
+
height: 32px;
|
|
227
256
|
}
|
|
228
257
|
|
|
229
258
|
.metric-label {
|
|
@@ -233,19 +262,31 @@ code {
|
|
|
233
262
|
|
|
234
263
|
.stack-form {
|
|
235
264
|
display: grid;
|
|
236
|
-
gap:
|
|
237
|
-
padding:
|
|
265
|
+
gap: 12px;
|
|
266
|
+
padding: 14px;
|
|
238
267
|
border-radius: var(--radius-md);
|
|
239
268
|
background: rgba(255, 255, 255, 0.45);
|
|
240
269
|
border: 1px solid rgba(47, 36, 30, 0.08);
|
|
241
270
|
}
|
|
242
271
|
|
|
243
272
|
.stack-form + .stack-form {
|
|
244
|
-
margin-top:
|
|
273
|
+
margin-top: 12px;
|
|
245
274
|
}
|
|
246
275
|
|
|
247
|
-
|
|
248
|
-
|
|
276
|
+
#authForm {
|
|
277
|
+
grid-template-columns: 1fr;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
#endpointForm {
|
|
281
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
#authForm .field-hint,
|
|
285
|
+
#authForm .action-row,
|
|
286
|
+
#endpointForm .field:nth-of-type(3),
|
|
287
|
+
#endpointForm .field-hint,
|
|
288
|
+
#endpointForm .action-row {
|
|
289
|
+
grid-column: 1 / -1;
|
|
249
290
|
}
|
|
250
291
|
|
|
251
292
|
.field {
|
|
@@ -308,37 +349,86 @@ input[readonly] {
|
|
|
308
349
|
gap: 10px;
|
|
309
350
|
}
|
|
310
351
|
|
|
311
|
-
.
|
|
352
|
+
.account-primary-grid {
|
|
312
353
|
display: grid;
|
|
313
354
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
314
355
|
gap: 10px;
|
|
315
356
|
}
|
|
316
357
|
|
|
317
|
-
.
|
|
318
|
-
|
|
319
|
-
|
|
358
|
+
.account-primary-card,
|
|
359
|
+
.account-inline-card {
|
|
360
|
+
padding: 12px;
|
|
361
|
+
border-radius: 16px;
|
|
320
362
|
background: rgba(255, 255, 255, 0.72);
|
|
321
363
|
border: 1px solid rgba(47, 36, 30, 0.08);
|
|
322
364
|
}
|
|
323
365
|
|
|
324
|
-
.
|
|
366
|
+
.account-primary-card {
|
|
367
|
+
min-height: 82px;
|
|
368
|
+
display: grid;
|
|
369
|
+
align-content: space-between;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
.account-primary-card strong,
|
|
373
|
+
.account-inline-card strong {
|
|
325
374
|
display: block;
|
|
326
|
-
margin-top:
|
|
327
|
-
|
|
375
|
+
margin-top: 6px;
|
|
376
|
+
line-height: 1.45;
|
|
377
|
+
word-break: break-word;
|
|
328
378
|
}
|
|
329
379
|
|
|
330
|
-
.
|
|
331
|
-
|
|
380
|
+
.account-primary-card strong {
|
|
381
|
+
font-size: 1rem;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
.account-inline-grid {
|
|
385
|
+
display: grid;
|
|
386
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
387
|
+
gap: 8px;
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
.account-inline-card {
|
|
391
|
+
padding-top: 10px;
|
|
392
|
+
padding-bottom: 10px;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
.account-inline-card strong {
|
|
396
|
+
font-size: 0.9rem;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
.account-inline-card-wide strong {
|
|
400
|
+
white-space: nowrap;
|
|
401
|
+
overflow: hidden;
|
|
402
|
+
text-overflow: ellipsis;
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
.account-actions-grid {
|
|
406
|
+
display: grid;
|
|
407
|
+
gap: 7px;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
.account-actions-grid-compact {
|
|
411
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
.account-actions-grid-sync {
|
|
415
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
.account-actions-grid button {
|
|
419
|
+
min-width: 0;
|
|
420
|
+
height: 36px;
|
|
421
|
+
padding: 0 12px;
|
|
332
422
|
}
|
|
333
423
|
|
|
334
424
|
.metric-actions {
|
|
335
|
-
margin-top:
|
|
425
|
+
margin-top: 8px;
|
|
336
426
|
}
|
|
337
427
|
|
|
338
428
|
.primary-button,
|
|
339
429
|
.secondary-button,
|
|
340
430
|
.ghost-button {
|
|
341
|
-
height:
|
|
431
|
+
height: 40px;
|
|
342
432
|
padding: 0 16px;
|
|
343
433
|
border-radius: 999px;
|
|
344
434
|
border: 1px solid transparent;
|
|
@@ -368,7 +458,7 @@ input[readonly] {
|
|
|
368
458
|
}
|
|
369
459
|
|
|
370
460
|
.danger-button {
|
|
371
|
-
height:
|
|
461
|
+
height: 40px;
|
|
372
462
|
padding: 0 16px;
|
|
373
463
|
border-radius: 999px;
|
|
374
464
|
border: 1px solid rgba(168, 52, 44, 0.15);
|
|
@@ -399,16 +489,52 @@ input[readonly] {
|
|
|
399
489
|
|
|
400
490
|
.profiles-list {
|
|
401
491
|
display: grid;
|
|
492
|
+
grid-auto-rows: minmax(190px, auto);
|
|
493
|
+
align-content: start;
|
|
494
|
+
flex: 1 1 auto;
|
|
402
495
|
gap: 14px;
|
|
496
|
+
min-height: 0;
|
|
497
|
+
overflow: auto;
|
|
498
|
+
padding-right: 6px;
|
|
499
|
+
padding-bottom: 6px;
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
.profiles-panel {
|
|
503
|
+
display: flex;
|
|
504
|
+
flex-direction: column;
|
|
505
|
+
min-height: 0;
|
|
506
|
+
overflow: hidden;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
.profiles-list::-webkit-scrollbar,
|
|
510
|
+
.modal-card::-webkit-scrollbar {
|
|
511
|
+
width: 10px;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
.profiles-list::-webkit-scrollbar-thumb,
|
|
515
|
+
.modal-card::-webkit-scrollbar-thumb {
|
|
516
|
+
background: rgba(47, 36, 30, 0.18);
|
|
517
|
+
border-radius: 999px;
|
|
518
|
+
border: 2px solid transparent;
|
|
519
|
+
background-clip: padding-box;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
.profiles-list::-webkit-scrollbar-track,
|
|
523
|
+
.modal-card::-webkit-scrollbar-track {
|
|
524
|
+
background: rgba(47, 36, 30, 0.04);
|
|
525
|
+
border-radius: 999px;
|
|
403
526
|
}
|
|
404
527
|
|
|
405
528
|
.profile-card {
|
|
406
529
|
display: grid;
|
|
530
|
+
grid-template-rows: auto auto;
|
|
407
531
|
gap: 14px;
|
|
532
|
+
min-height: 100%;
|
|
408
533
|
padding: 18px;
|
|
409
534
|
border-radius: var(--radius-md);
|
|
410
535
|
background: var(--panel-strong);
|
|
411
536
|
border: 1px solid rgba(47, 36, 30, 0.08);
|
|
537
|
+
overflow: visible;
|
|
412
538
|
}
|
|
413
539
|
|
|
414
540
|
.profile-card.active {
|
|
@@ -433,6 +559,7 @@ input[readonly] {
|
|
|
433
559
|
.profile-heading {
|
|
434
560
|
display: grid;
|
|
435
561
|
gap: 8px;
|
|
562
|
+
min-width: 0;
|
|
436
563
|
}
|
|
437
564
|
|
|
438
565
|
.profile-badges {
|
|
@@ -458,7 +585,10 @@ input[readonly] {
|
|
|
458
585
|
|
|
459
586
|
.profile-meta {
|
|
460
587
|
display: grid;
|
|
588
|
+
grid-template-rows: repeat(3, auto);
|
|
461
589
|
gap: 8px;
|
|
590
|
+
min-height: 0;
|
|
591
|
+
align-content: start;
|
|
462
592
|
}
|
|
463
593
|
|
|
464
594
|
.profile-meta span {
|
|
@@ -466,10 +596,14 @@ input[readonly] {
|
|
|
466
596
|
gap: 4px;
|
|
467
597
|
color: var(--muted);
|
|
468
598
|
font-size: 0.92rem;
|
|
599
|
+
min-width: 0;
|
|
469
600
|
}
|
|
470
601
|
|
|
471
602
|
.profile-meta strong {
|
|
472
603
|
color: var(--text);
|
|
604
|
+
white-space: nowrap;
|
|
605
|
+
overflow: hidden;
|
|
606
|
+
text-overflow: ellipsis;
|
|
473
607
|
}
|
|
474
608
|
|
|
475
609
|
.profile-path {
|
|
@@ -489,11 +623,11 @@ input[readonly] {
|
|
|
489
623
|
}
|
|
490
624
|
|
|
491
625
|
.status-box {
|
|
492
|
-
min-height:
|
|
493
|
-
padding:
|
|
626
|
+
min-height: 46px;
|
|
627
|
+
padding: 10px 14px;
|
|
494
628
|
border-radius: var(--radius-md);
|
|
495
629
|
border: 1px solid rgba(47, 36, 30, 0.08);
|
|
496
|
-
line-height: 1.
|
|
630
|
+
line-height: 1.5;
|
|
497
631
|
white-space: pre-wrap;
|
|
498
632
|
}
|
|
499
633
|
|
|
@@ -512,39 +646,301 @@ input[readonly] {
|
|
|
512
646
|
color: var(--error);
|
|
513
647
|
}
|
|
514
648
|
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
649
|
+
.account-panel {
|
|
650
|
+
display: grid;
|
|
651
|
+
gap: 7px;
|
|
652
|
+
align-content: start;
|
|
653
|
+
overflow: hidden;
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
.account-hint {
|
|
657
|
+
margin: -2px 0 0;
|
|
658
|
+
font-size: 0.82rem;
|
|
659
|
+
line-height: 1.35;
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
.modal-open {
|
|
663
|
+
overflow: hidden !important;
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
.modal-shell {
|
|
667
|
+
position: fixed;
|
|
668
|
+
inset: 0;
|
|
669
|
+
z-index: 40;
|
|
670
|
+
display: grid;
|
|
671
|
+
place-items: center;
|
|
672
|
+
padding: 24px;
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
.modal-shell[hidden] {
|
|
676
|
+
display: none;
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
.modal-backdrop {
|
|
680
|
+
position: absolute;
|
|
681
|
+
inset: 0;
|
|
682
|
+
background: rgba(47, 36, 30, 0.34);
|
|
683
|
+
backdrop-filter: blur(8px);
|
|
684
|
+
-webkit-backdrop-filter: blur(8px);
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
.modal-card {
|
|
688
|
+
position: relative;
|
|
689
|
+
z-index: 1;
|
|
690
|
+
width: min(720px, calc(100vw - 48px));
|
|
691
|
+
max-height: min(760px, calc(100vh - 48px));
|
|
692
|
+
padding: 22px;
|
|
693
|
+
border-radius: 28px;
|
|
694
|
+
overflow: auto;
|
|
695
|
+
background: rgba(255, 249, 243, 0.96);
|
|
696
|
+
border: 1px solid rgba(49, 40, 34, 0.12);
|
|
697
|
+
box-shadow: 0 36px 90px rgba(47, 36, 30, 0.24);
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
.modal-header {
|
|
701
|
+
display: flex;
|
|
702
|
+
justify-content: space-between;
|
|
703
|
+
gap: 16px;
|
|
704
|
+
align-items: start;
|
|
705
|
+
margin-bottom: 16px;
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
.modal-text {
|
|
709
|
+
margin: 8px 0 0;
|
|
710
|
+
color: var(--muted);
|
|
711
|
+
line-height: 1.6;
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
.icon-button {
|
|
715
|
+
width: 42px;
|
|
716
|
+
height: 42px;
|
|
717
|
+
border: 1px solid rgba(47, 36, 30, 0.12);
|
|
718
|
+
border-radius: 999px;
|
|
719
|
+
background: rgba(255, 255, 255, 0.75);
|
|
720
|
+
color: var(--text);
|
|
721
|
+
cursor: pointer;
|
|
722
|
+
font-size: 1.5rem;
|
|
723
|
+
line-height: 1;
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
.endpoint-form {
|
|
727
|
+
margin-top: 0;
|
|
523
728
|
}
|
|
524
729
|
|
|
525
730
|
@media (max-width: 1160px) {
|
|
526
|
-
|
|
731
|
+
body {
|
|
732
|
+
overflow: auto;
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
.page-shell {
|
|
736
|
+
height: auto;
|
|
737
|
+
min-height: 100vh;
|
|
738
|
+
overflow: visible;
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
.auth-gate {
|
|
742
|
+
height: auto;
|
|
743
|
+
}
|
|
744
|
+
|
|
527
745
|
.content-grid {
|
|
528
746
|
grid-template-columns: 1fr;
|
|
529
747
|
}
|
|
530
748
|
|
|
531
|
-
.
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
.current-panel {
|
|
535
|
-
grid-column: auto;
|
|
536
|
-
grid-row: auto;
|
|
749
|
+
.left-column {
|
|
750
|
+
grid-template-rows: auto auto;
|
|
751
|
+
overflow: visible;
|
|
537
752
|
}
|
|
538
753
|
|
|
539
|
-
.
|
|
540
|
-
|
|
754
|
+
.panel-header-actions {
|
|
755
|
+
justify-content: flex-start;
|
|
541
756
|
}
|
|
542
757
|
|
|
543
|
-
.
|
|
758
|
+
.current-grid,
|
|
759
|
+
.account-inline-grid {
|
|
544
760
|
grid-template-columns: 1fr;
|
|
545
761
|
}
|
|
546
762
|
|
|
547
|
-
.
|
|
548
|
-
grid-
|
|
763
|
+
.account-primary-grid {
|
|
764
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
765
|
+
}
|
|
766
|
+
|
|
767
|
+
.account-panel,
|
|
768
|
+
.profiles-panel {
|
|
769
|
+
overflow: visible;
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
.modal-shell {
|
|
773
|
+
padding: 16px;
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
.modal-card {
|
|
777
|
+
width: min(100%, 680px);
|
|
778
|
+
max-height: calc(100vh - 32px);
|
|
779
|
+
padding: 18px;
|
|
780
|
+
}
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
@media (max-width: 768px) {
|
|
784
|
+
.page-shell {
|
|
785
|
+
padding: 8px;
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
.app-shell {
|
|
789
|
+
height: auto;
|
|
790
|
+
min-height: 100%;
|
|
791
|
+
gap: 10px;
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
.auth-card {
|
|
795
|
+
width: 100%;
|
|
796
|
+
padding: 10px;
|
|
797
|
+
border-radius: 24px;
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
.auth-form-card,
|
|
801
|
+
.panel {
|
|
802
|
+
border-radius: 20px;
|
|
803
|
+
padding: 14px;
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
.account-hint {
|
|
807
|
+
font-size: 0.82rem;
|
|
808
|
+
line-height: 1.4;
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
.current-tools {
|
|
812
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
.current-tools button,
|
|
816
|
+
.action-row button,
|
|
817
|
+
.account-actions-grid button,
|
|
818
|
+
.card-actions button {
|
|
819
|
+
flex: 1 1 calc(50% - 6px);
|
|
820
|
+
min-width: 0;
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
.panel-header {
|
|
824
|
+
gap: 12px;
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
.current-tools {
|
|
828
|
+
display: grid;
|
|
829
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
830
|
+
gap: 8px;
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
.current-panel,
|
|
834
|
+
.account-panel,
|
|
835
|
+
.profiles-panel {
|
|
836
|
+
height: auto;
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
.current-grid,
|
|
840
|
+
.account-primary-grid,
|
|
841
|
+
.account-inline-grid {
|
|
842
|
+
grid-template-columns: 1fr;
|
|
843
|
+
gap: 8px;
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
.account-actions-grid-sync {
|
|
847
|
+
grid-template-columns: 1fr;
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
.account-actions-grid-compact {
|
|
851
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
852
|
+
}
|
|
853
|
+
|
|
854
|
+
.account-primary-card,
|
|
855
|
+
.account-inline-card {
|
|
856
|
+
padding: 10px;
|
|
857
|
+
min-height: auto;
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
.account-primary-card strong,
|
|
861
|
+
.account-inline-card strong {
|
|
862
|
+
font-size: 0.92rem;
|
|
863
|
+
line-height: 1.4;
|
|
864
|
+
white-space: normal;
|
|
865
|
+
overflow: visible;
|
|
866
|
+
text-overflow: clip;
|
|
867
|
+
}
|
|
868
|
+
|
|
869
|
+
.profile-card {
|
|
870
|
+
gap: 10px;
|
|
871
|
+
padding: 14px;
|
|
872
|
+
min-height: 0;
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
.profile-topline {
|
|
876
|
+
flex-direction: column;
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
.card-actions {
|
|
880
|
+
justify-content: flex-start;
|
|
881
|
+
width: 100%;
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
.modal-shell {
|
|
885
|
+
padding: 8px;
|
|
886
|
+
}
|
|
887
|
+
|
|
888
|
+
.modal-card {
|
|
889
|
+
width: 100%;
|
|
890
|
+
max-height: calc(100vh - 8px);
|
|
891
|
+
border-radius: 22px;
|
|
892
|
+
padding: 16px;
|
|
893
|
+
}
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
@media (max-width: 560px) {
|
|
897
|
+
.current-tools {
|
|
898
|
+
grid-template-columns: 1fr;
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
.profiles-list {
|
|
902
|
+
grid-auto-rows: auto;
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
.profile-card {
|
|
906
|
+
height: auto;
|
|
907
|
+
}
|
|
908
|
+
|
|
909
|
+
.profile-meta {
|
|
910
|
+
grid-template-rows: none;
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
.profile-meta strong {
|
|
914
|
+
white-space: normal;
|
|
915
|
+
overflow: visible;
|
|
916
|
+
text-overflow: clip;
|
|
917
|
+
}
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
@media (max-height: 920px) and (min-width: 1161px) {
|
|
921
|
+
.page-shell {
|
|
922
|
+
padding: 12px;
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
.auth-card {
|
|
926
|
+
min-height: auto;
|
|
927
|
+
padding: 16px;
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
.panel {
|
|
931
|
+
padding: 16px;
|
|
932
|
+
}
|
|
933
|
+
|
|
934
|
+
.metric-card {
|
|
935
|
+
padding: 12px;
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
.stack-form {
|
|
939
|
+
gap: 10px;
|
|
940
|
+
padding: 12px;
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
.content-grid {
|
|
944
|
+
gap: 14px;
|
|
549
945
|
}
|
|
550
946
|
}
|