@wp-operations/wp-ops 0.3.0 → 0.3.1

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.
Files changed (117) hide show
  1. package/package.json +6 -2
  2. package/src/commands/platform.js +16 -2
  3. package/src/main.js +9 -3
  4. package/wp-operations/CHANGELOG.md +14 -0
  5. package/wp-operations/README.md +39 -0
  6. package/wp-operations/agents/builder/AGENT.md +15 -0
  7. package/wp-operations/assets/admin.css +631 -0
  8. package/wp-operations/assets/admin.js +614 -0
  9. package/wp-operations/assets/app/app.css +1 -0
  10. package/wp-operations/assets/app/app.js +70 -0
  11. package/wp-operations/assets/app/fonts/inter-medium.woff +0 -0
  12. package/wp-operations/assets/app/fonts/inter-regular.woff +0 -0
  13. package/wp-operations/assets/app/fonts/inter-semibold.woff +0 -0
  14. package/wp-operations/assets/app/login.css +42 -0
  15. package/wp-operations/assets/brand/icon.svg +20 -0
  16. package/wp-operations/assets/brand/mark.svg +19 -0
  17. package/wp-operations/assets/editors/audiobook.css +311 -0
  18. package/wp-operations/assets/editors/audiofile.css +286 -0
  19. package/wp-operations/assets/editors/course.css +701 -0
  20. package/wp-operations/assets/editors/course.js +698 -0
  21. package/wp-operations/assets/editors/faq.css +258 -0
  22. package/wp-operations/assets/editors/faq.js +196 -0
  23. package/wp-operations/assets/editors/interactive.css +220 -0
  24. package/wp-operations/assets/editors/interactive.js +378 -0
  25. package/wp-operations/assets/editors/media-sources.css +3 -0
  26. package/wp-operations/assets/editors/media-sources.js +40 -0
  27. package/wp-operations/assets/editors/open-media.css +114 -0
  28. package/wp-operations/assets/editors/open-media.js +182 -0
  29. package/wp-operations/assets/editors/thumbnails.css +335 -0
  30. package/wp-operations/assets/editors/thumbnails.js +447 -0
  31. package/wp-operations/assets/editors/translator.css +818 -0
  32. package/wp-operations/functions.php +24 -0
  33. package/wp-operations/index.php +14 -0
  34. package/wp-operations/platform.json +1836 -0
  35. package/wp-operations/skills/ai-development-guardrails/SKILL.md +49 -0
  36. package/wp-operations/skills/gutenberg-reference/SKILL.md +45 -0
  37. package/wp-operations/skills/js-tooling-for-themes/SKILL.md +51 -0
  38. package/wp-operations/skills/tailwind-for-wp/SKILL.md +62 -0
  39. package/wp-operations/skills/wp-clean-classic-themes/SKILL.md +112 -0
  40. package/wp-operations/skills/wp-psr4-plugins/SKILL.md +2043 -0
  41. package/wp-operations/skills/wp-security/SKILL.md +90 -0
  42. package/wp-operations/src/Admin.php +78 -0
  43. package/wp-operations/src/App/Access.php +57 -0
  44. package/wp-operations/src/App/Admin.php +442 -0
  45. package/wp-operations/src/App/App.php +157 -0
  46. package/wp-operations/src/App/Apps.php +379 -0
  47. package/wp-operations/src/App/Bundle.php +111 -0
  48. package/wp-operations/src/App/Contents.php +676 -0
  49. package/wp-operations/src/App/Engine.php +554 -0
  50. package/wp-operations/src/App/Github.php +308 -0
  51. package/wp-operations/src/App/Module.php +23 -0
  52. package/wp-operations/src/App/Ops.php +470 -0
  53. package/wp-operations/src/App/Packages.php +289 -0
  54. package/wp-operations/src/App/Rest.php +539 -0
  55. package/wp-operations/src/App/Sandboxes.php +206 -0
  56. package/wp-operations/src/App/Store.php +104 -0
  57. package/wp-operations/src/App/Usage.php +268 -0
  58. package/wp-operations/src/Config.php +249 -0
  59. package/wp-operations/src/Content/Editor.php +223 -0
  60. package/wp-operations/src/Content/Fields.php +681 -0
  61. package/wp-operations/src/Content/Scoring.php +253 -0
  62. package/wp-operations/src/Content/Structure.php +293 -0
  63. package/wp-operations/src/Content/Types.php +150 -0
  64. package/wp-operations/src/Content/Uploads.php +50 -0
  65. package/wp-operations/src/Editors/AudiobookAuthor.php +61 -0
  66. package/wp-operations/src/Editors/AudiobookChapters.php +632 -0
  67. package/wp-operations/src/Editors/AudiobookCover.php +235 -0
  68. package/wp-operations/src/Editors/Audiofile.php +462 -0
  69. package/wp-operations/src/Editors/Course.php +784 -0
  70. package/wp-operations/src/Editors/Ebook.php +242 -0
  71. package/wp-operations/src/Editors/Editors.php +44 -0
  72. package/wp-operations/src/Editors/Faq.php +237 -0
  73. package/wp-operations/src/Editors/Files.php +139 -0
  74. package/wp-operations/src/Editors/Interactive/Builder.php +103 -0
  75. package/wp-operations/src/Editors/Interactive/Card.php +76 -0
  76. package/wp-operations/src/Editors/Interactive/Editor.php +42 -0
  77. package/wp-operations/src/Editors/Interactive/Field.php +272 -0
  78. package/wp-operations/src/Editors/Interactive/Map.php +84 -0
  79. package/wp-operations/src/Editors/Interactive/Models.php +227 -0
  80. package/wp-operations/src/Editors/Interactive/Report.php +59 -0
  81. package/wp-operations/src/Editors/Interactive/Save.php +323 -0
  82. package/wp-operations/src/Editors/Interactive/Scoring.php +244 -0
  83. package/wp-operations/src/Editors/Interactive/Structure.php +195 -0
  84. package/wp-operations/src/Editors/Legal.php +235 -0
  85. package/wp-operations/src/Editors/OpenMedia.php +140 -0
  86. package/wp-operations/src/Editors/OriginalTitle.php +112 -0
  87. package/wp-operations/src/Editors/Sources.php +28 -0
  88. package/wp-operations/src/Editors/Thumbnails/Admin.php +306 -0
  89. package/wp-operations/src/Editors/Thumbnails/Ajax.php +163 -0
  90. package/wp-operations/src/Editors/Thumbnails/Box.php +188 -0
  91. package/wp-operations/src/Editors/Thumbnails/Storage.php +228 -0
  92. package/wp-operations/src/Editors/Translator/Admin.php +913 -0
  93. package/wp-operations/src/Editors/Translator/Api.php +63 -0
  94. package/wp-operations/src/Editors/Translator/Bar.php +83 -0
  95. package/wp-operations/src/Editors/Translator/Fields.php +273 -0
  96. package/wp-operations/src/Editors/Translator/Storage.php +131 -0
  97. package/wp-operations/src/Editors/Translator/Thumbnail.php +215 -0
  98. package/wp-operations/src/Identity.php +104 -0
  99. package/wp-operations/src/Languages.php +45 -0
  100. package/wp-operations/src/Lockdown.php +85 -0
  101. package/wp-operations/src/Modules/Apps/Admin.php +472 -0
  102. package/wp-operations/src/Modules/Apps/Api.php +193 -0
  103. package/wp-operations/src/Modules/Apps/Apps.php +279 -0
  104. package/wp-operations/src/Modules/Apps/Formatters.php +478 -0
  105. package/wp-operations/src/Modules/Apps/Schemes.php +248 -0
  106. package/wp-operations/src/Modules/Apps/Table.php +101 -0
  107. package/wp-operations/src/Modules/Thumbnails.php +68 -0
  108. package/wp-operations/src/Modules/Translations.php +133 -0
  109. package/wp-operations/src/Platform.php +59 -0
  110. package/wp-operations/src/Setup.php +273 -0
  111. package/wp-operations/src/Status.php +99 -0
  112. package/wp-operations/src/Storage/Client.php +168 -0
  113. package/wp-operations/src/Storage/Offload.php +120 -0
  114. package/wp-operations/src/Storage/Settings.php +166 -0
  115. package/wp-operations/src/Storage/Storage.php +35 -0
  116. package/wp-operations/src/Updates.php +151 -0
  117. package/wp-operations/style.css +11 -0
@@ -0,0 +1,631 @@
1
+ .platform-fields {
2
+ display: flex;
3
+ flex-wrap: wrap;
4
+ gap: 14px 16px;
5
+ padding: 4px 0;
6
+ }
7
+
8
+ .platform-field {
9
+ flex: 1 1 100%;
10
+ min-width: 0;
11
+ }
12
+
13
+ .platform-field--small { flex: 0 1 110px; }
14
+ .platform-field--key { flex: 0 1 200px; }
15
+ .platform-field--half { flex: 1 1 calc(50% - 8px); }
16
+
17
+ .platform-field__label {
18
+ display: block;
19
+ margin-bottom: 6px;
20
+ font-weight: 600;
21
+ color: #1d2327;
22
+ }
23
+
24
+ .platform-field input[type="text"],
25
+ .platform-field input[type="url"],
26
+ .platform-field input[type="email"],
27
+ .platform-field input[type="number"],
28
+ .platform-field select,
29
+ .platform-field textarea {
30
+ width: 100%;
31
+ max-width: 100%;
32
+ }
33
+
34
+ .platform-field .description {
35
+ margin-top: 4px;
36
+ }
37
+
38
+ .platform-icon-button {
39
+ display: inline-flex;
40
+ align-items: center;
41
+ justify-content: center;
42
+ width: 28px;
43
+ height: 28px;
44
+ padding: 0;
45
+ border: 0;
46
+ border-radius: 4px;
47
+ background: transparent;
48
+ color: #50575e;
49
+ cursor: pointer;
50
+ }
51
+
52
+ .platform-icon-button:hover,
53
+ .platform-icon-button:focus-visible {
54
+ background: #f0f0f1;
55
+ color: #1d2327;
56
+ }
57
+
58
+ .platform-badge {
59
+ padding: 1px 8px;
60
+ border-radius: 10px;
61
+ background: #f0f0f1;
62
+ color: #50575e;
63
+ font-size: 11px;
64
+ line-height: 18px;
65
+ }
66
+
67
+ /* Language tabs */
68
+
69
+ .platform-langs__tabs,
70
+ .platform-segmented {
71
+ display: inline-flex;
72
+ flex-wrap: wrap;
73
+ gap: 2px;
74
+ margin-bottom: 8px;
75
+ padding: 2px;
76
+ border: 1px solid #dcdcde;
77
+ border-radius: 6px;
78
+ background: #f6f7f7;
79
+ }
80
+
81
+ .platform-langs__tab,
82
+ .platform-segmented__item {
83
+ padding: 4px 12px;
84
+ border: 0;
85
+ border-radius: 4px;
86
+ background: transparent;
87
+ color: #50575e;
88
+ cursor: pointer;
89
+ font-size: 13px;
90
+ }
91
+
92
+ .platform-langs__tab.is-active,
93
+ .platform-segmented__item.is-active {
94
+ background: #fff;
95
+ color: #1d2327;
96
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
97
+ }
98
+
99
+ .platform-langs__panel,
100
+ .platform-video__panel {
101
+ display: none;
102
+ }
103
+
104
+ .platform-langs__panel.is-active,
105
+ .platform-video__panel.is-active {
106
+ display: block;
107
+ }
108
+
109
+ /* Repeater */
110
+
111
+ .platform-repeater__rows {
112
+ display: flex;
113
+ flex-direction: column;
114
+ gap: 8px;
115
+ margin-bottom: 8px;
116
+ }
117
+
118
+ .platform-repeater__row {
119
+ border: 1px solid #dcdcde;
120
+ border-radius: 6px;
121
+ background: #fff;
122
+ }
123
+
124
+ .platform-repeater .platform-repeater .platform-repeater__row {
125
+ background: #f9f9f9;
126
+ }
127
+
128
+ .platform-repeater__bar {
129
+ display: flex;
130
+ align-items: center;
131
+ gap: 6px;
132
+ padding: 4px 6px 4px 8px;
133
+ border-bottom: 1px solid #f0f0f1;
134
+ }
135
+
136
+ .platform-repeater__handle,
137
+ .platform-structure__handle {
138
+ color: #a7aaad;
139
+ cursor: move;
140
+ }
141
+
142
+ .platform-repeater__title {
143
+ flex: 1;
144
+ overflow: hidden;
145
+ color: #50575e;
146
+ white-space: nowrap;
147
+ text-overflow: ellipsis;
148
+ }
149
+
150
+ .platform-repeater__body {
151
+ display: flex;
152
+ flex-wrap: wrap;
153
+ gap: 12px 14px;
154
+ padding: 12px;
155
+ }
156
+
157
+ .platform-repeater__row.is-collapsed .platform-repeater__body {
158
+ display: none;
159
+ }
160
+
161
+ .platform-repeater__row.is-collapsed .platform-repeater__toggle .dashicons {
162
+ transform: rotate(180deg);
163
+ }
164
+
165
+ /* Image, files, upload */
166
+
167
+ .platform-image {
168
+ display: flex;
169
+ flex-wrap: wrap;
170
+ align-items: center;
171
+ gap: 12px;
172
+ }
173
+
174
+ .platform-image__frame {
175
+ display: none;
176
+ align-items: center;
177
+ gap: 8px;
178
+ text-decoration: none;
179
+ }
180
+
181
+ .platform-image.has-value .platform-image__frame {
182
+ display: inline-flex;
183
+ }
184
+
185
+ .platform-image__preview {
186
+ display: block;
187
+ width: 96px;
188
+ height: 96px;
189
+ object-fit: cover;
190
+ border: 1px solid #dcdcde;
191
+ border-radius: 4px;
192
+ background: #f6f7f7;
193
+ }
194
+
195
+ .platform-image__name {
196
+ display: none;
197
+ max-width: 260px;
198
+ overflow: hidden;
199
+ font-family: Menlo, Consolas, monospace;
200
+ font-size: 12px;
201
+ white-space: nowrap;
202
+ text-overflow: ellipsis;
203
+ }
204
+
205
+ .platform-image.is-broken .platform-image__preview {
206
+ display: none;
207
+ }
208
+
209
+ .platform-image.is-broken .platform-image__name {
210
+ display: inline;
211
+ }
212
+
213
+ .platform-image__actions {
214
+ display: inline-flex;
215
+ align-items: center;
216
+ gap: 10px;
217
+ }
218
+
219
+ .platform-image:not(.has-value) .platform-image__remove,
220
+ .platform-upload:not(.has-value) .platform-upload__clear,
221
+ .platform-upload:not(.has-value) .platform-upload__link {
222
+ display: none;
223
+ }
224
+
225
+ .platform-files__list {
226
+ margin: 0 0 8px;
227
+ }
228
+
229
+ .platform-upload {
230
+ display: flex;
231
+ flex-wrap: wrap;
232
+ align-items: center;
233
+ gap: 8px;
234
+ }
235
+
236
+ .platform-upload__url {
237
+ display: none;
238
+ }
239
+
240
+ .platform-upload.is-editing .platform-upload__url {
241
+ display: block;
242
+ flex: 1 1 100%;
243
+ }
244
+
245
+ .platform-upload.is-editing .platform-upload__link,
246
+ .platform-upload.is-editing .platform-upload__edit {
247
+ display: none;
248
+ }
249
+
250
+ .platform-upload__link {
251
+ max-width: 100%;
252
+ overflow: hidden;
253
+ font-family: Menlo, Consolas, monospace;
254
+ font-size: 12px;
255
+ white-space: nowrap;
256
+ text-overflow: ellipsis;
257
+ }
258
+
259
+ .platform-upload__actions {
260
+ display: inline-flex;
261
+ align-items: center;
262
+ gap: 10px;
263
+ }
264
+
265
+ .platform-upload.is-uploading .platform-upload__actions {
266
+ pointer-events: none;
267
+ opacity: 0.5;
268
+ }
269
+
270
+ .platform-upload__progress {
271
+ flex: 1 1 100%;
272
+ height: 4px;
273
+ overflow: hidden;
274
+ border-radius: 2px;
275
+ background: #f0f0f1;
276
+ }
277
+
278
+ .platform-upload__progress > span {
279
+ display: block;
280
+ width: 0;
281
+ height: 100%;
282
+ background: #2271b1;
283
+ transition: width 0.2s;
284
+ }
285
+
286
+ .platform-audio {
287
+ display: flex;
288
+ flex-wrap: wrap;
289
+ align-items: center;
290
+ gap: 8px 16px;
291
+ }
292
+
293
+ .platform-audio .platform-upload {
294
+ flex: 1 1 300px;
295
+ }
296
+
297
+ .platform-field .platform-audio__duration input {
298
+ width: 90px;
299
+ margin-left: 4px;
300
+ }
301
+
302
+ .platform-audio__download {
303
+ display: inline-block;
304
+ margin-top: 8px;
305
+ }
306
+
307
+ /* Video */
308
+
309
+ .platform-video__panel input,
310
+ .platform-video__panel textarea {
311
+ width: 100%;
312
+ }
313
+
314
+ .platform-runtime {
315
+ display: flex;
316
+ align-items: center;
317
+ gap: 8px;
318
+ margin-top: 10px;
319
+ color: #50575e;
320
+ }
321
+
322
+ .platform-runtime label {
323
+ display: inline-flex;
324
+ align-items: center;
325
+ gap: 4px;
326
+ }
327
+
328
+ .platform-field .platform-runtime input {
329
+ width: 64px;
330
+ }
331
+
332
+ .platform-runtime__label {
333
+ margin-right: 4px;
334
+ font-weight: 600;
335
+ }
336
+
337
+ /* Scoring */
338
+
339
+ .platform-scoring__params {
340
+ display: grid;
341
+ grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
342
+ gap: 12px;
343
+ margin-top: 12px;
344
+ }
345
+
346
+ .platform-scoring__param span {
347
+ display: block;
348
+ margin-bottom: 4px;
349
+ }
350
+
351
+ .platform-scoring__param input,
352
+ .platform-scoring__param select {
353
+ width: 100%;
354
+ }
355
+
356
+ /* Nested content builder */
357
+
358
+ .platform-structure__list {
359
+ display: flex;
360
+ flex-direction: column;
361
+ gap: 6px;
362
+ margin-bottom: 10px;
363
+ }
364
+
365
+ .platform-structure__list:empty {
366
+ margin-bottom: 0;
367
+ }
368
+
369
+ .platform-structure__item {
370
+ border: 1px solid #dcdcde;
371
+ border-radius: 6px;
372
+ background: #fff;
373
+ }
374
+
375
+ .platform-structure__children .platform-structure__item {
376
+ background: #f9f9f9;
377
+ }
378
+
379
+ .platform-structure__bar {
380
+ display: flex;
381
+ align-items: center;
382
+ gap: 8px;
383
+ min-height: 40px;
384
+ padding: 0 6px 0 10px;
385
+ cursor: pointer;
386
+ }
387
+
388
+ .platform-structure__title {
389
+ flex: 1;
390
+ overflow: hidden;
391
+ font-weight: 600;
392
+ white-space: nowrap;
393
+ text-overflow: ellipsis;
394
+ }
395
+
396
+ .platform-structure__count {
397
+ color: #646970;
398
+ font-size: 12px;
399
+ }
400
+
401
+ .platform-structure__children {
402
+ display: none;
403
+ padding: 4px 12px 12px 32px;
404
+ border-top: 1px solid #f0f0f1;
405
+ }
406
+
407
+ .platform-structure__item.is-open > .platform-structure__children {
408
+ display: block;
409
+ }
410
+
411
+ .platform-structure__item.is-open > .platform-structure__bar .platform-structure__toggle .dashicons {
412
+ transform: rotate(180deg);
413
+ }
414
+
415
+ .platform-structure__add .dashicons {
416
+ margin-top: 4px;
417
+ font-size: 16px;
418
+ }
419
+
420
+ .ui-sortable-helper {
421
+ box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
422
+ }
423
+
424
+ /* Modal */
425
+
426
+ .platform-modal {
427
+ position: fixed;
428
+ inset: 0;
429
+ z-index: 100000;
430
+ display: flex;
431
+ align-items: center;
432
+ justify-content: center;
433
+ padding: 24px;
434
+ background: rgba(0, 0, 0, 0.55);
435
+ }
436
+
437
+ .platform-modal[hidden] {
438
+ display: none;
439
+ }
440
+
441
+ .platform-modal__dialog {
442
+ display: flex;
443
+ flex-direction: column;
444
+ width: min(920px, 100%);
445
+ max-height: 100%;
446
+ border-radius: 8px;
447
+ background: #fff;
448
+ box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
449
+ }
450
+
451
+ .platform-modal__head,
452
+ .platform-modal__foot {
453
+ display: flex;
454
+ align-items: center;
455
+ gap: 8px;
456
+ padding: 12px 16px;
457
+ }
458
+
459
+ .platform-modal__head {
460
+ justify-content: space-between;
461
+ border-bottom: 1px solid #f0f0f1;
462
+ }
463
+
464
+ .platform-modal__title {
465
+ margin: 0;
466
+ font-size: 16px;
467
+ }
468
+
469
+ .platform-modal__body {
470
+ flex: 1;
471
+ overflow-y: auto;
472
+ padding: 16px;
473
+ }
474
+
475
+ .platform-modal__foot {
476
+ justify-content: flex-end;
477
+ border-top: 1px solid #f0f0f1;
478
+ }
479
+
480
+ .platform-modal__status {
481
+ flex: 1;
482
+ color: #b32d2e;
483
+ }
484
+
485
+ .platform-modal__loading {
486
+ text-align: center;
487
+ }
488
+
489
+ .platform-modal__loading .spinner {
490
+ float: none;
491
+ }
492
+
493
+ body.platform-modal-open {
494
+ overflow: hidden;
495
+ }
496
+
497
+ /* Admin pages */
498
+
499
+ .platform-toolbar {
500
+ display: flex;
501
+ flex-wrap: wrap;
502
+ align-items: center;
503
+ gap: 8px;
504
+ margin: 12px 0;
505
+ }
506
+
507
+ .platform-grid {
508
+ display: grid;
509
+ grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
510
+ gap: 12px;
511
+ }
512
+
513
+ .platform-card {
514
+ padding: 12px;
515
+ border: 1px solid #dcdcde;
516
+ border-radius: 6px;
517
+ background: #fff;
518
+ }
519
+
520
+ .platform-card__title {
521
+ margin: 0 0 8px;
522
+ overflow: hidden;
523
+ font-weight: 600;
524
+ white-space: nowrap;
525
+ text-overflow: ellipsis;
526
+ }
527
+
528
+ .platform-thumbs {
529
+ display: flex;
530
+ flex-wrap: wrap;
531
+ gap: 8px;
532
+ }
533
+
534
+ .platform-thumb {
535
+ position: relative;
536
+ display: flex;
537
+ flex-direction: column;
538
+ align-items: center;
539
+ width: 84px;
540
+ gap: 4px;
541
+ font-size: 11px;
542
+ }
543
+
544
+ .platform-thumb__image {
545
+ display: flex;
546
+ align-items: center;
547
+ justify-content: center;
548
+ width: 84px;
549
+ height: 84px;
550
+ overflow: hidden;
551
+ border: 1px dashed #c3c4c7;
552
+ border-radius: 4px;
553
+ background: #f6f7f7 center / cover no-repeat;
554
+ color: #8c8f94;
555
+ cursor: pointer;
556
+ }
557
+
558
+ .platform-thumb.has-value .platform-thumb__image {
559
+ border-style: solid;
560
+ }
561
+
562
+ .platform-thumb__remove {
563
+ position: absolute;
564
+ top: -6px;
565
+ right: -6px;
566
+ display: none;
567
+ width: 20px;
568
+ height: 20px;
569
+ padding: 0;
570
+ border: 0;
571
+ border-radius: 50%;
572
+ background: #b32d2e;
573
+ color: #fff;
574
+ cursor: pointer;
575
+ line-height: 20px;
576
+ }
577
+
578
+ .platform-thumb.has-value .platform-thumb__remove {
579
+ display: block;
580
+ }
581
+
582
+ .platform-progress {
583
+ display: inline-block;
584
+ width: 60px;
585
+ height: 6px;
586
+ margin-right: 6px;
587
+ overflow: hidden;
588
+ border-radius: 3px;
589
+ background: #f0f0f1;
590
+ vertical-align: middle;
591
+ }
592
+
593
+ .platform-progress > span {
594
+ display: block;
595
+ height: 100%;
596
+ background: #00a32a;
597
+ }
598
+
599
+ .platform-translation {
600
+ display: grid;
601
+ grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
602
+ gap: 8px 16px;
603
+ align-items: start;
604
+ padding: 12px 0;
605
+ border-bottom: 1px solid #f0f0f1;
606
+ }
607
+
608
+ .platform-translation__original {
609
+ max-height: 220px;
610
+ overflow: auto;
611
+ padding: 8px;
612
+ border-radius: 4px;
613
+ background: #f6f7f7;
614
+ white-space: pre-wrap;
615
+ word-break: break-word;
616
+ }
617
+
618
+ .platform-translation__label {
619
+ grid-column: 1 / -1;
620
+ font-weight: 600;
621
+ }
622
+
623
+ .platform-translation textarea {
624
+ width: 100%;
625
+ }
626
+
627
+ .platform-checklist {
628
+ display: grid;
629
+ grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
630
+ gap: 12px;
631
+ }