@open-press/core 1.2.0 → 1.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.
- package/README.md +2 -2
- package/engine/cli.mjs +1 -1
- package/engine/commands/_shared.mjs +10 -5
- package/engine/commands/deploy.mjs +19 -4
- package/engine/commands/typecheck.mjs +1 -1
- package/engine/document-export.mjs +1 -1
- package/engine/output/page-block.mjs +11 -2
- package/engine/output/public-assets.mjs +41 -6
- package/engine/output/static-server.mjs +84 -24
- package/engine/react/caption-numbering.mjs +2 -2
- package/engine/react/comment-marker.mjs +1 -2
- package/engine/react/document-entry.mjs +64 -11
- package/engine/react/document-export.d.mts +6 -0
- package/engine/react/document-export.mjs +158 -28
- package/engine/react/mdx-compile.mjs +4 -4
- package/engine/react/measurement-css.mjs +3 -3
- package/engine/react/page-folio.mjs +37 -0
- package/engine/react/pagination/allocator.mjs +4 -4
- package/engine/react/pipeline/frame-measurement.mjs +34 -16
- package/engine/react/press-tree-inspection.mjs +43 -13
- package/engine/react/project-asset-endpoint.mjs +45 -11
- package/engine/react/sources/heading-numbering.mjs +2 -2
- package/engine/react/sources/mdx-resolver.mjs +3 -3
- package/engine/react/style-discovery.mjs +60 -11
- package/engine/react/text-source-transform.mjs +18 -4
- package/engine/runtime/config.mjs +22 -22
- package/engine/runtime/file-utils.mjs +57 -13
- package/engine/runtime/inspection.mjs +40 -15
- package/engine/runtime/page-geometry.mjs +6 -6
- package/engine/runtime/source-text-tools.mjs +28 -4
- package/engine/runtime/source-workspace.mjs +6 -9
- package/engine/runtime/validation.mjs +42 -24
- package/package.json +1 -1
- package/src/openpress/app/OpenPressApp.tsx +10 -16
- package/src/openpress/app/OpenPressRuntime.tsx +29 -4
- package/src/openpress/app/WorkspaceGalleryPage.tsx +1 -1
- package/src/openpress/core/PageFolio.tsx +115 -0
- package/src/openpress/core/Press.tsx +5 -10
- package/src/openpress/core/Slide.tsx +11 -0
- package/src/openpress/core/index.tsx +4 -0
- package/src/openpress/core/types.ts +21 -13
- package/src/openpress/core/useSource.ts +1 -1
- package/src/openpress/document-model/workspaceManifestModel.ts +4 -9
- package/src/openpress/reader/PageThumbnailsPanel.tsx +28 -5
- package/src/openpress/reader/SlidePresentationPage.tsx +36 -19
- package/src/openpress/reader/SlidePublicPage.tsx +332 -0
- package/src/openpress/reader/index.ts +1 -0
- package/src/openpress/reader/pageViewportScaleModel.ts +5 -3
- package/src/openpress/reader/usePageViewportScale.ts +9 -5
- package/src/openpress/workbench/Workbench.tsx +46 -164
- package/src/openpress/workbench/actions/DeploymentControl.tsx +1 -1
- package/src/openpress/workbench/actions/ExportControl.tsx +267 -0
- package/src/openpress/workbench/actions/index.ts +1 -1
- package/src/openpress/workbench/actions/useDeploymentWorkbench.ts +7 -2
- package/src/openpress/workbench/hooks/useWorkbenchNavigation.ts +42 -0
- package/src/openpress/workbench/project/ProjectEntryPanel.tsx +2 -278
- package/src/openpress/workbench/shell/WorkbenchToolbarActions.tsx +206 -0
- package/src/styles/openpress/app-shell.css +0 -83
- package/src/styles/openpress/print-route.css +1 -3
- package/src/styles/openpress/project-preview-panel.css +5 -783
- package/src/styles/openpress/public-viewer.css +7 -249
- package/src/styles/openpress/reader-runtime.css +0 -274
- package/src/styles/openpress/slide-presenter.css +150 -0
- package/src/styles/openpress/slide-public-viewer.css +222 -0
- package/src/styles/openpress/workbench-dialog.css +267 -0
- package/src/styles/openpress/workbench-export.css +154 -0
- package/src/styles/openpress/workbench-inline-editor.css +128 -0
- package/src/styles/openpress/workbench-panels.css +0 -88
- package/src/styles/openpress/workbench-search.css +257 -0
- package/src/styles/openpress/workbench-toolbar.css +422 -0
- package/src/styles/openpress/workbench.css +34 -1263
- package/src/styles/openpress/workspace-gallery.css +0 -5
- package/src/styles/openpress.css +7 -1
- package/vite.config.ts +98 -25
- package/src/openpress/workbench/actions/ExportImageControl.tsx +0 -96
- package/src/styles/openpress/media-workspace.css +0 -230
|
@@ -138,190 +138,6 @@
|
|
|
138
138
|
white-space: nowrap;
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
.openpress-public-actions {
|
|
142
|
-
display: flex;
|
|
143
|
-
align-items: center;
|
|
144
|
-
gap: 16px;
|
|
145
|
-
flex-wrap: wrap;
|
|
146
|
-
padding: 0 22px 18px;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
.openpress-public-action-section {
|
|
150
|
-
display: grid;
|
|
151
|
-
gap: 8px;
|
|
152
|
-
padding: 0 22px 16px;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
.openpress-public-action-heading {
|
|
156
|
-
color: rgb(160 166 173 / 46%);
|
|
157
|
-
font-size: 9px;
|
|
158
|
-
font-weight: 600;
|
|
159
|
-
line-height: 1;
|
|
160
|
-
letter-spacing: 0.12em;
|
|
161
|
-
text-transform: uppercase;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.openpress-public-action-list {
|
|
165
|
-
display: grid;
|
|
166
|
-
border-top: 1px solid rgb(255 255 255 / 8%);
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
.openpress-public-action-entry {
|
|
170
|
-
display: grid;
|
|
171
|
-
grid-template-columns: 15px minmax(0, 1fr) auto;
|
|
172
|
-
align-items: center;
|
|
173
|
-
width: 100%;
|
|
174
|
-
min-width: 0;
|
|
175
|
-
min-height: 34px;
|
|
176
|
-
gap: 8px;
|
|
177
|
-
border: 0 !important;
|
|
178
|
-
border-bottom: 1px solid rgb(255 255 255 / 7%) !important;
|
|
179
|
-
padding: 8px 0 !important;
|
|
180
|
-
background: transparent !important;
|
|
181
|
-
box-shadow: none !important;
|
|
182
|
-
color: rgb(198 204 210 / 76%);
|
|
183
|
-
font: inherit;
|
|
184
|
-
font-size: 11px;
|
|
185
|
-
font-weight: 500;
|
|
186
|
-
line-height: 1.25;
|
|
187
|
-
letter-spacing: 0.04em;
|
|
188
|
-
text-align: left;
|
|
189
|
-
text-decoration: none;
|
|
190
|
-
cursor: pointer;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
.openpress-public-action-entry:hover:not(:disabled) {
|
|
194
|
-
color: rgb(242 242 240 / 92%);
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
.openpress-public-action-entry:disabled {
|
|
198
|
-
cursor: progress;
|
|
199
|
-
opacity: 0.62;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
.openpress-public-action-entry svg {
|
|
203
|
-
width: 13px;
|
|
204
|
-
height: 13px;
|
|
205
|
-
color: currentColor;
|
|
206
|
-
opacity: 0.78;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
.openpress-public-action-entry__label {
|
|
210
|
-
overflow: hidden;
|
|
211
|
-
min-width: 0;
|
|
212
|
-
text-overflow: ellipsis;
|
|
213
|
-
white-space: nowrap;
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
.openpress-public-action-entry .openpress-dev-pdf-status {
|
|
217
|
-
justify-self: end;
|
|
218
|
-
overflow: hidden;
|
|
219
|
-
min-width: 0;
|
|
220
|
-
max-width: 100%;
|
|
221
|
-
text-overflow: ellipsis;
|
|
222
|
-
white-space: nowrap;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
.openpress-public-action-entry .openpress-dev-deploy-status {
|
|
226
|
-
justify-self: end;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
.openpress-public-action-entry[data-openpress-deploy-status="dirty"] {
|
|
230
|
-
color: rgb(240 182 76 / 92%);
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
.openpress-public-export-button {
|
|
234
|
-
display: inline-flex;
|
|
235
|
-
align-items: center;
|
|
236
|
-
width: auto;
|
|
237
|
-
height: auto;
|
|
238
|
-
min-width: 0;
|
|
239
|
-
justify-content: flex-start;
|
|
240
|
-
gap: 6px;
|
|
241
|
-
border: 0 !important;
|
|
242
|
-
padding: 0 !important;
|
|
243
|
-
background: transparent !important;
|
|
244
|
-
box-shadow: none;
|
|
245
|
-
color: rgb(198 204 210 / 68%);
|
|
246
|
-
font-size: 11px;
|
|
247
|
-
font-weight: 500;
|
|
248
|
-
line-height: 1.3;
|
|
249
|
-
letter-spacing: 0.08em;
|
|
250
|
-
opacity: 0.88;
|
|
251
|
-
text-decoration: none;
|
|
252
|
-
cursor: pointer;
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
.openpress-public-export-button:hover:not(:disabled) {
|
|
256
|
-
color: rgb(242 242 240 / 88%);
|
|
257
|
-
opacity: 1;
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
.openpress-public-export-button:disabled {
|
|
261
|
-
cursor: default;
|
|
262
|
-
opacity: 0.5;
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
.openpress-public-export-button svg {
|
|
266
|
-
width: 12px;
|
|
267
|
-
height: 12px;
|
|
268
|
-
color: currentColor;
|
|
269
|
-
opacity: 0.8;
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
.openpress-public-export-button:focus-visible {
|
|
273
|
-
outline: 1px solid rgb(242 242 240 / 28%);
|
|
274
|
-
outline-offset: 4px;
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
.openpress-view-mode-section {
|
|
278
|
-
padding-bottom: 18px;
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
.openpress-view-mode-toggle {
|
|
282
|
-
display: grid;
|
|
283
|
-
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
284
|
-
gap: 6px;
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
.openpress-view-mode-toggle button {
|
|
288
|
-
display: inline-flex;
|
|
289
|
-
align-items: center;
|
|
290
|
-
justify-content: center;
|
|
291
|
-
gap: 6px;
|
|
292
|
-
min-width: 0;
|
|
293
|
-
min-height: 34px;
|
|
294
|
-
border: 1px solid rgb(255 255 255 / 11%);
|
|
295
|
-
border-radius: 0;
|
|
296
|
-
padding: 0 10px;
|
|
297
|
-
background: rgb(255 255 255 / 3%);
|
|
298
|
-
color: rgb(198 204 210 / 72%);
|
|
299
|
-
font: inherit;
|
|
300
|
-
font-size: 11px;
|
|
301
|
-
font-weight: 600;
|
|
302
|
-
line-height: 1;
|
|
303
|
-
letter-spacing: 0.04em;
|
|
304
|
-
cursor: pointer;
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
.openpress-view-mode-toggle button:hover:not(:disabled),
|
|
308
|
-
.openpress-view-mode-toggle button.is-active {
|
|
309
|
-
border-color: rgb(242 242 240 / 38%);
|
|
310
|
-
background: rgb(242 242 240 / 10%);
|
|
311
|
-
color: rgb(242 242 240 / 95%);
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
.openpress-view-mode-toggle button:disabled {
|
|
315
|
-
cursor: not-allowed;
|
|
316
|
-
opacity: 0.42;
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
.openpress-view-mode-toggle svg {
|
|
320
|
-
width: 13px;
|
|
321
|
-
height: 13px;
|
|
322
|
-
flex: 0 0 auto;
|
|
323
|
-
}
|
|
324
|
-
|
|
325
141
|
.openpress-dev-pdf-status {
|
|
326
142
|
display: inline-flex;
|
|
327
143
|
align-items: center;
|
|
@@ -368,12 +184,6 @@
|
|
|
368
184
|
}
|
|
369
185
|
}
|
|
370
186
|
|
|
371
|
-
.openpress-dev-public-tools {
|
|
372
|
-
display: grid;
|
|
373
|
-
gap: 10px;
|
|
374
|
-
padding: 0 22px 18px;
|
|
375
|
-
}
|
|
376
|
-
|
|
377
187
|
.openpress-dev-control-tabs {
|
|
378
188
|
display: grid;
|
|
379
189
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
@@ -381,17 +191,7 @@
|
|
|
381
191
|
border-bottom: 1px solid rgb(255 255 255 / 8%);
|
|
382
192
|
}
|
|
383
193
|
|
|
384
|
-
.openpress-dev-
|
|
385
|
-
display: grid;
|
|
386
|
-
width: fit-content;
|
|
387
|
-
grid-template-columns: repeat(2, max-content);
|
|
388
|
-
gap: 18px;
|
|
389
|
-
border-bottom: 1px solid rgb(255 255 255 / 8%);
|
|
390
|
-
}
|
|
391
|
-
|
|
392
|
-
.openpress-dev-control-tabs button,
|
|
393
|
-
.openpress-dev-project-tabs button,
|
|
394
|
-
.openpress-dev-deploy-button {
|
|
194
|
+
.openpress-dev-control-tabs button {
|
|
395
195
|
position: relative;
|
|
396
196
|
min-width: 0;
|
|
397
197
|
border: 0;
|
|
@@ -401,8 +201,7 @@
|
|
|
401
201
|
cursor: pointer;
|
|
402
202
|
}
|
|
403
203
|
|
|
404
|
-
.openpress-dev-control-tabs button
|
|
405
|
-
.openpress-dev-project-tabs button {
|
|
204
|
+
.openpress-dev-control-tabs button {
|
|
406
205
|
display: inline-flex;
|
|
407
206
|
align-items: center;
|
|
408
207
|
justify-content: flex-start;
|
|
@@ -416,16 +215,12 @@
|
|
|
416
215
|
}
|
|
417
216
|
|
|
418
217
|
.openpress-dev-control-tabs button:hover,
|
|
419
|
-
.openpress-dev-control-tabs button.is-active
|
|
420
|
-
.openpress-dev-project-tabs button:hover,
|
|
421
|
-
.openpress-dev-project-tabs button[aria-pressed="true"],
|
|
422
|
-
.openpress-dev-deploy-button:hover:not(:disabled) {
|
|
218
|
+
.openpress-dev-control-tabs button.is-active {
|
|
423
219
|
color: rgb(242 242 240 / 94%);
|
|
424
220
|
background: transparent;
|
|
425
221
|
}
|
|
426
222
|
|
|
427
|
-
.openpress-dev-control-tabs button::after
|
|
428
|
-
.openpress-dev-project-tabs button::after {
|
|
223
|
+
.openpress-dev-control-tabs button::after {
|
|
429
224
|
position: absolute;
|
|
430
225
|
right: 0;
|
|
431
226
|
bottom: -1px;
|
|
@@ -435,13 +230,11 @@
|
|
|
435
230
|
content: "";
|
|
436
231
|
}
|
|
437
232
|
|
|
438
|
-
.openpress-dev-control-tabs button.is-active::after
|
|
439
|
-
.openpress-dev-project-tabs button[aria-pressed="true"]::after {
|
|
233
|
+
.openpress-dev-control-tabs button.is-active::after {
|
|
440
234
|
background: rgb(242 242 240 / 78%);
|
|
441
235
|
}
|
|
442
236
|
|
|
443
|
-
.openpress-dev-control-tabs svg
|
|
444
|
-
.openpress-dev-project-tabs svg {
|
|
237
|
+
.openpress-dev-control-tabs svg {
|
|
445
238
|
width: 13px;
|
|
446
239
|
height: 13px;
|
|
447
240
|
flex: 0 0 auto;
|
|
@@ -449,37 +242,13 @@
|
|
|
449
242
|
opacity: 0.78;
|
|
450
243
|
}
|
|
451
244
|
|
|
452
|
-
.openpress-dev-control-tabs span
|
|
453
|
-
.openpress-dev-project-tabs span {
|
|
245
|
+
.openpress-dev-control-tabs span {
|
|
454
246
|
overflow: hidden;
|
|
455
247
|
max-width: 100%;
|
|
456
248
|
text-overflow: ellipsis;
|
|
457
249
|
white-space: nowrap;
|
|
458
250
|
}
|
|
459
251
|
|
|
460
|
-
.openpress-dev-deploy-button {
|
|
461
|
-
display: inline-flex;
|
|
462
|
-
width: fit-content;
|
|
463
|
-
align-items: center;
|
|
464
|
-
gap: 6px;
|
|
465
|
-
padding: 0;
|
|
466
|
-
color: rgb(240 182 76 / 80%);
|
|
467
|
-
font-size: 11px;
|
|
468
|
-
font-weight: 500;
|
|
469
|
-
line-height: 1.3;
|
|
470
|
-
letter-spacing: 0.08em;
|
|
471
|
-
}
|
|
472
|
-
|
|
473
|
-
.openpress-dev-deploy-button svg {
|
|
474
|
-
width: 13px;
|
|
475
|
-
height: 13px;
|
|
476
|
-
}
|
|
477
|
-
|
|
478
|
-
.openpress-dev-deploy-button:disabled {
|
|
479
|
-
cursor: progress;
|
|
480
|
-
opacity: 0.58;
|
|
481
|
-
}
|
|
482
|
-
|
|
483
252
|
.openpress-dev-deploy-status {
|
|
484
253
|
display: inline-flex;
|
|
485
254
|
align-items: center;
|
|
@@ -537,17 +306,6 @@
|
|
|
537
306
|
box-shadow: 0 0 0 1px rgb(248 113 113 / 24%), 0 0 14px rgb(248 113 113 / 16%);
|
|
538
307
|
}
|
|
539
308
|
|
|
540
|
-
.openpress-dev-panel-section {
|
|
541
|
-
padding: 0 22px 22px;
|
|
542
|
-
color: rgb(170 176 183 / 72%);
|
|
543
|
-
font-size: 12px;
|
|
544
|
-
line-height: 1.5;
|
|
545
|
-
}
|
|
546
|
-
|
|
547
|
-
.openpress-dev-panel-section p {
|
|
548
|
-
margin: 0;
|
|
549
|
-
}
|
|
550
|
-
|
|
551
309
|
.openpress-public-viewer .openpress-panel-section--current {
|
|
552
310
|
border-bottom: 0;
|
|
553
311
|
padding: 14px 0 20px;
|
|
@@ -43,24 +43,6 @@
|
|
|
43
43
|
scroll-snap-stop: always;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
.openpress-html-page__toolbar {
|
|
47
|
-
display: flex;
|
|
48
|
-
align-items: center;
|
|
49
|
-
justify-content: space-between;
|
|
50
|
-
gap: 16px;
|
|
51
|
-
margin-bottom: 10px;
|
|
52
|
-
color: #90969d;
|
|
53
|
-
font-size: 12px;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.openpress-html-page__toolbar code {
|
|
57
|
-
overflow: hidden;
|
|
58
|
-
max-width: 520px;
|
|
59
|
-
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
60
|
-
text-overflow: ellipsis;
|
|
61
|
-
white-space: nowrap;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
46
|
.openpress-reader-app[data-openpress-inspector-mode="on"] .openpress-html-page__html {
|
|
65
47
|
/* Inspector mode is a click-to-select-block flow. Disable text selection
|
|
66
48
|
across the rendered page so drag-selects / Cmd+A don't paint the whole
|
|
@@ -392,11 +374,6 @@
|
|
|
392
374
|
color: rgb(134 239 172 / 88%);
|
|
393
375
|
}
|
|
394
376
|
|
|
395
|
-
.openpress-public-action-entry[data-openpress-inspector-active="true"] {
|
|
396
|
-
border-color: color-mix(in srgb, var(--openpress-accent, #df4b21) 60%, transparent);
|
|
397
|
-
color: var(--openpress-accent, #df4b21);
|
|
398
|
-
}
|
|
399
|
-
|
|
400
377
|
.openpress-dev-inspector-status {
|
|
401
378
|
display: block;
|
|
402
379
|
overflow: hidden;
|
|
@@ -408,87 +385,6 @@
|
|
|
408
385
|
white-space: nowrap;
|
|
409
386
|
}
|
|
410
387
|
|
|
411
|
-
.openpress-dev-inspector-comment {
|
|
412
|
-
display: grid;
|
|
413
|
-
gap: 8px;
|
|
414
|
-
padding: 12px 0;
|
|
415
|
-
border-bottom: 1px solid rgb(255 255 255 / 7%);
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
.openpress-dev-inspector-comment label {
|
|
419
|
-
color: rgb(198 204 210 / 76%);
|
|
420
|
-
font-size: 11px;
|
|
421
|
-
font-weight: 600;
|
|
422
|
-
line-height: 1.2;
|
|
423
|
-
}
|
|
424
|
-
|
|
425
|
-
.openpress-dev-inspector-comment textarea {
|
|
426
|
-
width: 100%;
|
|
427
|
-
min-height: 74px;
|
|
428
|
-
resize: vertical;
|
|
429
|
-
border: 1px solid rgb(255 255 255 / 11%);
|
|
430
|
-
border-radius: 6px;
|
|
431
|
-
padding: 9px 10px;
|
|
432
|
-
background: rgb(255 255 255 / 5%);
|
|
433
|
-
color: rgb(242 242 240 / 92%);
|
|
434
|
-
font: inherit;
|
|
435
|
-
font-size: 12px;
|
|
436
|
-
line-height: 1.45;
|
|
437
|
-
}
|
|
438
|
-
|
|
439
|
-
.openpress-dev-inspector-comment textarea:disabled {
|
|
440
|
-
cursor: not-allowed;
|
|
441
|
-
opacity: 0.58;
|
|
442
|
-
}
|
|
443
|
-
|
|
444
|
-
.openpress-dev-inspector-comment textarea:focus {
|
|
445
|
-
outline: 2px solid color-mix(in srgb, var(--openpress-accent, #df4b21) 58%, transparent);
|
|
446
|
-
outline-offset: 2px;
|
|
447
|
-
}
|
|
448
|
-
|
|
449
|
-
.openpress-dev-inspector-comment button {
|
|
450
|
-
display: inline-flex;
|
|
451
|
-
align-items: center;
|
|
452
|
-
justify-content: center;
|
|
453
|
-
gap: 7px;
|
|
454
|
-
min-height: 34px;
|
|
455
|
-
border: 1px solid color-mix(in srgb, var(--openpress-accent, #df4b21) 42%, transparent);
|
|
456
|
-
border-radius: 6px;
|
|
457
|
-
padding: 7px 10px;
|
|
458
|
-
background: color-mix(in srgb, var(--openpress-accent, #df4b21) 16%, transparent);
|
|
459
|
-
color: rgb(242 242 240 / 92%);
|
|
460
|
-
font: inherit;
|
|
461
|
-
font-size: 11px;
|
|
462
|
-
font-weight: 700;
|
|
463
|
-
cursor: pointer;
|
|
464
|
-
}
|
|
465
|
-
|
|
466
|
-
.openpress-dev-inspector-comment button:disabled {
|
|
467
|
-
cursor: not-allowed;
|
|
468
|
-
opacity: 0.48;
|
|
469
|
-
}
|
|
470
|
-
|
|
471
|
-
.openpress-dev-inspector-comment button svg {
|
|
472
|
-
width: 13px;
|
|
473
|
-
height: 13px;
|
|
474
|
-
}
|
|
475
|
-
|
|
476
|
-
.openpress-dev-inspector-comment p {
|
|
477
|
-
min-height: 14px;
|
|
478
|
-
margin: 0;
|
|
479
|
-
color: rgb(198 204 210 / 70%);
|
|
480
|
-
font-size: 11px;
|
|
481
|
-
line-height: 1.25;
|
|
482
|
-
}
|
|
483
|
-
|
|
484
|
-
.openpress-dev-inspector-comment p[data-openpress-inspector-comment-status="failed"] {
|
|
485
|
-
color: rgb(241 107 98 / 90%);
|
|
486
|
-
}
|
|
487
|
-
|
|
488
|
-
.openpress-dev-inspector-comment p[data-openpress-inspector-comment-status="saved"] {
|
|
489
|
-
color: rgb(132 211 164 / 88%);
|
|
490
|
-
}
|
|
491
|
-
|
|
492
388
|
.openpress-comments-panel {
|
|
493
389
|
min-height: 100%;
|
|
494
390
|
padding: 34px clamp(22px, 4vw, 56px) 56px;
|
|
@@ -496,47 +392,6 @@
|
|
|
496
392
|
color: #e8e8e4;
|
|
497
393
|
}
|
|
498
394
|
|
|
499
|
-
.openpress-comments-panel__header {
|
|
500
|
-
display: flex;
|
|
501
|
-
align-items: flex-end;
|
|
502
|
-
justify-content: space-between;
|
|
503
|
-
gap: 20px;
|
|
504
|
-
padding-bottom: 22px;
|
|
505
|
-
border-bottom: 1px solid rgb(255 255 255 / 9%);
|
|
506
|
-
}
|
|
507
|
-
|
|
508
|
-
.openpress-comments-panel__header h1 {
|
|
509
|
-
margin: 4px 0 6px;
|
|
510
|
-
color: rgb(242 242 240 / 94%);
|
|
511
|
-
font-family: var(--openpress-font-serif);
|
|
512
|
-
font-size: clamp(30px, 4vw, 52px);
|
|
513
|
-
font-weight: 520;
|
|
514
|
-
line-height: 1.05;
|
|
515
|
-
letter-spacing: 0;
|
|
516
|
-
}
|
|
517
|
-
|
|
518
|
-
.openpress-comments-panel__header p,
|
|
519
|
-
.openpress-comments-panel__eyebrow {
|
|
520
|
-
margin: 0;
|
|
521
|
-
color: rgb(160 166 173 / 72%);
|
|
522
|
-
font-size: 12px;
|
|
523
|
-
line-height: 1.4;
|
|
524
|
-
}
|
|
525
|
-
|
|
526
|
-
.openpress-comments-panel__eyebrow {
|
|
527
|
-
display: block;
|
|
528
|
-
font-weight: 700;
|
|
529
|
-
letter-spacing: 0.06em;
|
|
530
|
-
text-transform: uppercase;
|
|
531
|
-
}
|
|
532
|
-
|
|
533
|
-
.openpress-comments-panel__actions {
|
|
534
|
-
display: flex;
|
|
535
|
-
flex-wrap: wrap;
|
|
536
|
-
gap: 8px;
|
|
537
|
-
justify-content: flex-end;
|
|
538
|
-
}
|
|
539
|
-
|
|
540
395
|
.openpress-comments-panel button {
|
|
541
396
|
display: inline-flex;
|
|
542
397
|
min-height: 34px;
|
|
@@ -569,24 +424,6 @@
|
|
|
569
424
|
height: 14px;
|
|
570
425
|
}
|
|
571
426
|
|
|
572
|
-
.openpress-comments-panel__error {
|
|
573
|
-
margin: 18px 0 0;
|
|
574
|
-
border-left: 3px solid rgb(248 113 113 / 76%);
|
|
575
|
-
padding: 8px 0 8px 12px;
|
|
576
|
-
color: rgb(248 113 113 / 88%);
|
|
577
|
-
font-size: 13px;
|
|
578
|
-
line-height: 1.45;
|
|
579
|
-
}
|
|
580
|
-
|
|
581
|
-
.openpress-comments-panel__empty {
|
|
582
|
-
margin-top: 22px;
|
|
583
|
-
border: 1px dashed rgb(255 255 255 / 13%);
|
|
584
|
-
border-radius: 8px;
|
|
585
|
-
padding: 24px;
|
|
586
|
-
color: rgb(160 166 173 / 72%);
|
|
587
|
-
font-size: 14px;
|
|
588
|
-
}
|
|
589
|
-
|
|
590
427
|
.openpress-comments-list {
|
|
591
428
|
display: grid;
|
|
592
429
|
gap: 12px;
|
|
@@ -608,17 +445,6 @@
|
|
|
608
445
|
rgb(255 255 255 / 3.5%);
|
|
609
446
|
}
|
|
610
447
|
|
|
611
|
-
.openpress-comment-entry__body {
|
|
612
|
-
min-width: 0;
|
|
613
|
-
}
|
|
614
|
-
|
|
615
|
-
.openpress-comment-entry__topline {
|
|
616
|
-
display: grid;
|
|
617
|
-
grid-template-columns: minmax(0, 1fr) auto;
|
|
618
|
-
gap: 10px;
|
|
619
|
-
align-items: start;
|
|
620
|
-
}
|
|
621
|
-
|
|
622
448
|
.openpress-comment-entry__note {
|
|
623
449
|
margin: 0;
|
|
624
450
|
color: rgb(242 242 240 / 92%);
|
|
@@ -627,22 +453,6 @@
|
|
|
627
453
|
line-height: 1.55;
|
|
628
454
|
}
|
|
629
455
|
|
|
630
|
-
.openpress-comment-entry__intent {
|
|
631
|
-
display: inline-flex;
|
|
632
|
-
align-items: center;
|
|
633
|
-
min-height: 22px;
|
|
634
|
-
border: 1px solid color-mix(in srgb, var(--openpress-accent, #df4b21) 45%, transparent);
|
|
635
|
-
border-radius: 999px;
|
|
636
|
-
padding: 3px 8px;
|
|
637
|
-
background: color-mix(in srgb, var(--openpress-accent, #df4b21) 16%, transparent);
|
|
638
|
-
color: color-mix(in srgb, var(--openpress-accent, #df4b21) 80%, white);
|
|
639
|
-
font-size: 10px;
|
|
640
|
-
font-weight: 800;
|
|
641
|
-
line-height: 1;
|
|
642
|
-
letter-spacing: 0.04em;
|
|
643
|
-
text-transform: uppercase;
|
|
644
|
-
}
|
|
645
|
-
|
|
646
456
|
.openpress-comment-entry__meta {
|
|
647
457
|
display: flex;
|
|
648
458
|
min-width: 0;
|
|
@@ -664,19 +474,6 @@
|
|
|
664
474
|
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
665
475
|
}
|
|
666
476
|
|
|
667
|
-
.openpress-comment-entry__hint {
|
|
668
|
-
display: inline-flex;
|
|
669
|
-
width: fit-content;
|
|
670
|
-
margin: 8px 0 0;
|
|
671
|
-
border: 1px solid color-mix(in srgb, var(--openpress-accent, #df4b21) 18%, transparent);
|
|
672
|
-
border-radius: 999px;
|
|
673
|
-
padding: 3px 8px;
|
|
674
|
-
background: color-mix(in srgb, var(--openpress-accent, #df4b21) 8%, rgb(255 255 255 / 4%));
|
|
675
|
-
color: rgb(190 184 178 / 78%);
|
|
676
|
-
font-size: 11px;
|
|
677
|
-
line-height: 1.2;
|
|
678
|
-
}
|
|
679
|
-
|
|
680
477
|
.openpress-comments-panel--embedded {
|
|
681
478
|
min-height: 0;
|
|
682
479
|
overflow: auto;
|
|
@@ -684,46 +481,6 @@
|
|
|
684
481
|
background: transparent;
|
|
685
482
|
}
|
|
686
483
|
|
|
687
|
-
.openpress-comments-panel--embedded .openpress-comments-panel__header {
|
|
688
|
-
display: grid;
|
|
689
|
-
gap: 10px;
|
|
690
|
-
align-items: start;
|
|
691
|
-
padding-bottom: 12px;
|
|
692
|
-
}
|
|
693
|
-
|
|
694
|
-
.openpress-comments-panel--embedded .openpress-comments-panel__header h1 {
|
|
695
|
-
margin: 2px 0 3px;
|
|
696
|
-
font-family: inherit;
|
|
697
|
-
font-size: 14px;
|
|
698
|
-
font-weight: 700;
|
|
699
|
-
line-height: 1.35;
|
|
700
|
-
}
|
|
701
|
-
|
|
702
|
-
.openpress-comments-panel--embedded .openpress-comments-panel__header p,
|
|
703
|
-
.openpress-comments-panel--embedded .openpress-comments-panel__eyebrow {
|
|
704
|
-
font-size: 11px;
|
|
705
|
-
}
|
|
706
|
-
|
|
707
|
-
.openpress-comments-panel--embedded .openpress-comments-panel__actions {
|
|
708
|
-
justify-content: flex-start;
|
|
709
|
-
}
|
|
710
|
-
|
|
711
|
-
.openpress-comments-panel--embedded .openpress-comments-panel__actions button {
|
|
712
|
-
width: 34px;
|
|
713
|
-
min-height: 30px;
|
|
714
|
-
padding: 0;
|
|
715
|
-
font-size: 11px;
|
|
716
|
-
}
|
|
717
|
-
|
|
718
|
-
.openpress-comments-panel--embedded .openpress-comments-panel__actions button span {
|
|
719
|
-
position: absolute;
|
|
720
|
-
width: 1px;
|
|
721
|
-
height: 1px;
|
|
722
|
-
overflow: hidden;
|
|
723
|
-
clip: rect(0 0 0 0);
|
|
724
|
-
white-space: nowrap;
|
|
725
|
-
}
|
|
726
|
-
|
|
727
484
|
.openpress-comments-panel--embedded .openpress-comments-list {
|
|
728
485
|
gap: 0;
|
|
729
486
|
margin-top: 6px;
|
|
@@ -808,12 +565,6 @@
|
|
|
808
565
|
height: 13px;
|
|
809
566
|
}
|
|
810
567
|
|
|
811
|
-
.openpress-comments-panel--embedded .openpress-comments-panel__empty {
|
|
812
|
-
margin-top: 10px;
|
|
813
|
-
padding: 14px;
|
|
814
|
-
font-size: 12px;
|
|
815
|
-
}
|
|
816
|
-
|
|
817
568
|
.openpress-html-page__html .reader-page {
|
|
818
569
|
display: block;
|
|
819
570
|
width: var(--openpress-page-width);
|
|
@@ -832,31 +583,6 @@
|
|
|
832
583
|
display: flex;
|
|
833
584
|
}
|
|
834
585
|
|
|
835
|
-
.openpress-html-page__html .reader-page--content figure.openpress-component-frame,
|
|
836
|
-
.openpress-print-document .reader-page--content figure.openpress-component-frame {
|
|
837
|
-
width: min(100%, 168mm);
|
|
838
|
-
max-width: 100%;
|
|
839
|
-
margin: var(--openpress-space-4) auto;
|
|
840
|
-
overflow: visible;
|
|
841
|
-
box-sizing: border-box;
|
|
842
|
-
break-inside: avoid;
|
|
843
|
-
}
|
|
844
|
-
|
|
845
|
-
.openpress-html-page__html .reader-page--content figure.openpress-component-frame > .openpress-component-frame__body,
|
|
846
|
-
.openpress-print-document .reader-page--content figure.openpress-component-frame > .openpress-component-frame__body {
|
|
847
|
-
width: 100%;
|
|
848
|
-
max-width: 100%;
|
|
849
|
-
margin: 0;
|
|
850
|
-
box-sizing: border-box;
|
|
851
|
-
}
|
|
852
|
-
|
|
853
|
-
.openpress-html-page__html .reader-page--content figure.openpress-component-frame > figcaption,
|
|
854
|
-
.openpress-print-document .reader-page--content figure.openpress-component-frame > figcaption {
|
|
855
|
-
display: block;
|
|
856
|
-
width: 100%;
|
|
857
|
-
margin-top: 2.6mm;
|
|
858
|
-
}
|
|
859
|
-
|
|
860
586
|
.openpress-print-document {
|
|
861
587
|
width: var(--openpress-page-width);
|
|
862
588
|
min-height: 100vh;
|