@open-press/cli 0.8.0 → 1.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 +33 -23
- package/dist/cli.js +320 -252
- package/package.json +9 -8
- package/template/core/AGENTS.md +0 -126
- package/template/core/CHANGELOG.md +0 -215
- package/template/core/README.md +0 -40
- package/template/core/engine/cli.mjs +0 -96
- package/template/core/engine/commands/_shared.mjs +0 -177
- package/template/core/engine/commands/deploy.mjs +0 -31
- package/template/core/engine/commands/dev.mjs +0 -49
- package/template/core/engine/commands/doctor.mjs +0 -229
- package/template/core/engine/commands/export.mjs +0 -8
- package/template/core/engine/commands/init.mjs +0 -24
- package/template/core/engine/commands/inspect.mjs +0 -35
- package/template/core/engine/commands/pdf.mjs +0 -26
- package/template/core/engine/commands/preview.mjs +0 -26
- package/template/core/engine/commands/render.mjs +0 -17
- package/template/core/engine/commands/replace.mjs +0 -41
- package/template/core/engine/commands/search.mjs +0 -33
- package/template/core/engine/commands/typecheck.mjs +0 -5
- package/template/core/engine/commands/upgrade.mjs +0 -159
- package/template/core/engine/commands/validate.mjs +0 -17
- package/template/core/engine/document-export.mjs +0 -15
- package/template/core/engine/init.mjs +0 -90
- package/template/core/engine/output/chrome-pdf.d.mts +0 -34
- package/template/core/engine/output/chrome-pdf.mjs +0 -358
- package/template/core/engine/output/deploy-sync.mjs +0 -15
- package/template/core/engine/output/fonts.mjs +0 -62
- package/template/core/engine/output/katex-assets.mjs +0 -45
- package/template/core/engine/output/page-block.mjs +0 -30
- package/template/core/engine/output/pdf-media.mjs +0 -45
- package/template/core/engine/output/public-assets.mjs +0 -19
- package/template/core/engine/output/static-server.mjs +0 -532
- package/template/core/engine/react/caption-numbering.mjs +0 -73
- package/template/core/engine/react/comment-endpoint.d.mts +0 -11
- package/template/core/engine/react/comment-endpoint.mjs +0 -102
- package/template/core/engine/react/comment-marker.mjs +0 -374
- package/template/core/engine/react/document-entry.mjs +0 -324
- package/template/core/engine/react/document-export.mjs +0 -373
- package/template/core/engine/react/http-json.mjs +0 -24
- package/template/core/engine/react/mdx-compile.mjs +0 -599
- package/template/core/engine/react/measurement-css.mjs +0 -136
- package/template/core/engine/react/object-entities.mjs +0 -119
- package/template/core/engine/react/pagination/allocator.mjs +0 -122
- package/template/core/engine/react/pagination/regions.mjs +0 -81
- package/template/core/engine/react/pagination-constants.mjs +0 -3
- package/template/core/engine/react/pagination.mjs +0 -9
- package/template/core/engine/react/pipeline/allocate.mjs +0 -251
- package/template/core/engine/react/pipeline/final-render.mjs +0 -94
- package/template/core/engine/react/pipeline/frame-measurement.mjs +0 -302
- package/template/core/engine/react/pipeline/press-tree.mjs +0 -135
- package/template/core/engine/react/project-asset-endpoint.d.mts +0 -10
- package/template/core/engine/react/project-asset-endpoint.mjs +0 -361
- package/template/core/engine/react/section-css.mjs +0 -56
- package/template/core/engine/react/source-edit-endpoint.d.mts +0 -10
- package/template/core/engine/react/source-edit-endpoint.mjs +0 -75
- package/template/core/engine/react/sources/heading-numbering.mjs +0 -132
- package/template/core/engine/react/sources/mdx-resolver.mjs +0 -439
- package/template/core/engine/react/style-discovery.mjs +0 -142
- package/template/core/engine/runtime/config.d.mts +0 -40
- package/template/core/engine/runtime/config.mjs +0 -175
- package/template/core/engine/runtime/file-utils.mjs +0 -106
- package/template/core/engine/runtime/file-walk.mjs +0 -22
- package/template/core/engine/runtime/inspection.mjs +0 -328
- package/template/core/engine/runtime/issue-report.mjs +0 -44
- package/template/core/engine/runtime/path-utils.mjs +0 -20
- package/template/core/engine/runtime/source-text-tools.d.mts +0 -102
- package/template/core/engine/runtime/source-text-tools.mjs +0 -832
- package/template/core/engine/runtime/source-workspace.mjs +0 -159
- package/template/core/engine/runtime/validation.mjs +0 -174
- package/template/core/index.html +0 -13
- package/template/core/openpress.config.mjs +0 -12
- package/template/core/package.json +0 -91
- package/template/core/src/main.tsx +0 -16
- package/template/core/src/openpress/app/OpenPressApp.tsx +0 -140
- package/template/core/src/openpress/app/OpenPressRuntime.tsx +0 -94
- package/template/core/src/openpress/app/index.ts +0 -2
- package/template/core/src/openpress/core/Frame.tsx +0 -78
- package/template/core/src/openpress/core/FrameContext.tsx +0 -24
- package/template/core/src/openpress/core/MdxArea.tsx +0 -34
- package/template/core/src/openpress/core/Press.tsx +0 -34
- package/template/core/src/openpress/core/cn.ts +0 -4
- package/template/core/src/openpress/core/index.tsx +0 -40
- package/template/core/src/openpress/core/primitives.tsx +0 -44
- package/template/core/src/openpress/core/types.ts +0 -191
- package/template/core/src/openpress/core/useSource.ts +0 -28
- package/template/core/src/openpress/document-model/anchorMapModel.ts +0 -27
- package/template/core/src/openpress/document-model/documentIndexes.ts +0 -329
- package/template/core/src/openpress/document-model/documentTypes.ts +0 -138
- package/template/core/src/openpress/document-model/index.ts +0 -6
- package/template/core/src/openpress/document-model/objectEntityModel.ts +0 -51
- package/template/core/src/openpress/document-model/projectIdentityModel.ts +0 -15
- package/template/core/src/openpress/document-model/reactDocumentMetadataModel.ts +0 -27
- package/template/core/src/openpress/manuscript/index.tsx +0 -238
- package/template/core/src/openpress/mdx/index.ts +0 -88
- package/template/core/src/openpress/numbering/index.ts +0 -294
- package/template/core/src/openpress/reader/PublicReaderPage.tsx +0 -267
- package/template/core/src/openpress/reader/ReaderNavigationPanel.tsx +0 -123
- package/template/core/src/openpress/reader/index.ts +0 -10
- package/template/core/src/openpress/reader/pageViewportScaleModel.ts +0 -73
- package/template/core/src/openpress/reader/readerPageRegistry.ts +0 -41
- package/template/core/src/openpress/reader/readerPageRoute.ts +0 -21
- package/template/core/src/openpress/reader/readerScroll.ts +0 -92
- package/template/core/src/openpress/reader/readerStateModel.ts +0 -15
- package/template/core/src/openpress/reader/readerTypes.ts +0 -4
- package/template/core/src/openpress/reader/usePageViewportScale.ts +0 -119
- package/template/core/src/openpress/reader/usePanelState.ts +0 -56
- package/template/core/src/openpress/reader/useReaderHashSync.ts +0 -61
- package/template/core/src/openpress/reader/useReaderKeyboardNav.ts +0 -48
- package/template/core/src/openpress/reader/useReaderRuntime.ts +0 -146
- package/template/core/src/openpress/reader/useReaderScrollAnchor.ts +0 -64
- package/template/core/src/openpress/shared/Panel.tsx +0 -77
- package/template/core/src/openpress/shared/frameScheduler.ts +0 -32
- package/template/core/src/openpress/shared/index.ts +0 -4
- package/template/core/src/openpress/shared/numberUtils.ts +0 -3
- package/template/core/src/openpress/shared/runtimeMode.ts +0 -11
- package/template/core/src/openpress/workbench/Workbench.tsx +0 -407
- package/template/core/src/openpress/workbench/actions/DeploymentControl.tsx +0 -157
- package/template/core/src/openpress/workbench/actions/PageZoomControl.tsx +0 -182
- package/template/core/src/openpress/workbench/actions/SearchControl.tsx +0 -345
- package/template/core/src/openpress/workbench/actions/deploymentStatusModel.ts +0 -112
- package/template/core/src/openpress/workbench/actions/index.ts +0 -5
- package/template/core/src/openpress/workbench/actions/useDeploymentWorkbench.ts +0 -136
- package/template/core/src/openpress/workbench/dialog/WorkbenchDialog.tsx +0 -72
- package/template/core/src/openpress/workbench/dialog/index.ts +0 -1
- package/template/core/src/openpress/workbench/document/components/DocumentPanel.tsx +0 -127
- package/template/core/src/openpress/workbench/document/components/InlineSourceEditorLayer.tsx +0 -207
- package/template/core/src/openpress/workbench/document/components/ReaderStage.tsx +0 -9
- package/template/core/src/openpress/workbench/document/hooks/useDocumentWorkbenchModel.ts +0 -34
- package/template/core/src/openpress/workbench/document/hooks/useInlineDocumentEditor.ts +0 -525
- package/template/core/src/openpress/workbench/document/index.ts +0 -10
- package/template/core/src/openpress/workbench/index.ts +0 -2
- package/template/core/src/openpress/workbench/inspector/InlineInspectorLayer.tsx +0 -459
- package/template/core/src/openpress/workbench/inspector/index.ts +0 -5
- package/template/core/src/openpress/workbench/inspector/inlineCommentModel.ts +0 -125
- package/template/core/src/openpress/workbench/inspector/inspectorGeometryModel.ts +0 -160
- package/template/core/src/openpress/workbench/inspector/inspectorModel.ts +0 -408
- package/template/core/src/openpress/workbench/inspector/useInspectorComments.ts +0 -248
- package/template/core/src/openpress/workbench/mentions/MentionSuggestionList.tsx +0 -41
- package/template/core/src/openpress/workbench/mentions/index.ts +0 -2
- package/template/core/src/openpress/workbench/mentions/useComposerMentions.ts +0 -185
- package/template/core/src/openpress/workbench/panels/Panel.tsx +0 -1
- package/template/core/src/openpress/workbench/panels/PendingCommentsPanel.tsx +0 -76
- package/template/core/src/openpress/workbench/panels/WorkbenchControlPanel.tsx +0 -29
- package/template/core/src/openpress/workbench/panels/index.ts +0 -3
- package/template/core/src/openpress/workbench/project/ProjectEntryPanel.tsx +0 -523
- package/template/core/src/openpress/workbench/project/ProjectPreviewDialog.tsx +0 -35
- package/template/core/src/openpress/workbench/project/index.ts +0 -2
- package/template/core/src/openpress/workbench/project/projectPreviewTypes.ts +0 -11
- package/template/core/src/openpress/workbench/project/projectSourceModel.ts +0 -24
- package/template/core/src/openpress/workbench/shell/WorkbenchShell.tsx +0 -167
- package/template/core/src/openpress/workbench/shell/index.ts +0 -1
- package/template/core/src/openpress/workbench/workbenchFormatters.ts +0 -120
- package/template/core/src/openpress/workbench/workbenchTypes.ts +0 -35
- package/template/core/src/styles/openpress/app-shell.css +0 -251
- package/template/core/src/styles/openpress/media-workspace.css +0 -230
- package/template/core/src/styles/openpress/print-route.css +0 -184
- package/template/core/src/styles/openpress/project-preview-panel.css +0 -924
- package/template/core/src/styles/openpress/public-viewer.css +0 -688
- package/template/core/src/styles/openpress/reader-runtime.css +0 -980
- package/template/core/src/styles/openpress/responsive.css +0 -245
- package/template/core/src/styles/openpress/workbench-panels.css +0 -594
- package/template/core/src/styles/openpress/workbench.css +0 -1255
- package/template/core/src/styles/openpress.css +0 -14
- package/template/core/src/vite-env.d.ts +0 -9
- package/template/core/tsconfig.json +0 -40
- package/template/core/vite.config.ts +0 -584
- package/template/packs/academic-paper/document/chapters/01-introduction/content/01-introduction.mdx +0 -35
- package/template/packs/academic-paper/document/chapters/02-methods/content/01-methods.mdx +0 -50
- package/template/packs/academic-paper/document/chapters/03-results-and-discussion/content/01-results.mdx +0 -47
- package/template/packs/academic-paper/document/chapters/04-acknowledgment/content/01-acknowledgment.mdx +0 -26
- package/template/packs/academic-paper/document/chapters/05-references/content/01-references.mdx +0 -32
- package/template/packs/academic-paper/document/components/ChapterOpenerVisual/index.tsx +0 -76
- package/template/packs/academic-paper/document/components/Page.tsx +0 -60
- package/template/packs/academic-paper/document/components/TokenSwatchGrid/index.tsx +0 -46
- package/template/packs/academic-paper/document/components/TokenSwatchGrid/style.css +0 -63
- package/template/packs/academic-paper/document/components/TypeSpecimen/index.tsx +0 -38
- package/template/packs/academic-paper/document/components/TypeSpecimen/style.css +0 -111
- package/template/packs/academic-paper/document/design.md +0 -279
- package/template/packs/academic-paper/document/index.tsx +0 -123
- package/template/packs/academic-paper/document/media/README.md +0 -13
- package/template/packs/academic-paper/document/media/figure-placeholder.svg +0 -9
- package/template/packs/academic-paper/document/openpress.config.mjs +0 -26
- package/template/packs/academic-paper/document/theme/README.md +0 -11
- package/template/packs/academic-paper/document/theme/base/page-contract.css +0 -522
- package/template/packs/academic-paper/document/theme/base/print.css +0 -93
- package/template/packs/academic-paper/document/theme/base/typography.css +0 -333
- package/template/packs/academic-paper/document/theme/fonts.css +0 -3
- package/template/packs/academic-paper/document/theme/page-surfaces/back-cover.css +0 -43
- package/template/packs/academic-paper/document/theme/page-surfaces/chapter-opener.css +0 -205
- package/template/packs/academic-paper/document/theme/page-surfaces/cover.css +0 -294
- package/template/packs/academic-paper/document/theme/page-surfaces/toc.css +0 -149
- package/template/packs/academic-paper/document/theme/patterns/_chart-frame.css +0 -49
- package/template/packs/academic-paper/document/theme/patterns/figure-grid.css +0 -68
- package/template/packs/academic-paper/document/theme/patterns/table-utilities.css +0 -66
- package/template/packs/academic-paper/document/theme/shell/reader-controls.css +0 -761
- package/template/packs/academic-paper/document/theme/tokens.css +0 -80
- package/template/packs/academic-paper/openpress.config.mjs +0 -5
- package/template/packs/claude-document/document/chapters/01-document-shape/content/01-document-shape.mdx +0 -51
- package/template/packs/claude-document/document/chapters/02-review-loop/content/01-review-loop.mdx +0 -31
- package/template/packs/claude-document/document/components/ChapterOpenerVisual.tsx +0 -96
- package/template/packs/claude-document/document/components/Page.tsx +0 -37
- package/template/packs/claude-document/document/design.md +0 -142
- package/template/packs/claude-document/document/index.tsx +0 -94
- package/template/packs/claude-document/document/media/README.md +0 -13
- package/template/packs/claude-document/document/openpress.config.mjs +0 -26
- package/template/packs/claude-document/document/theme/README.md +0 -15
- package/template/packs/claude-document/document/theme/base/page-contract.css +0 -525
- package/template/packs/claude-document/document/theme/base/print.css +0 -93
- package/template/packs/claude-document/document/theme/base/typography.css +0 -612
- package/template/packs/claude-document/document/theme/fonts.css +0 -4
- package/template/packs/claude-document/document/theme/page-surfaces/back-cover.css +0 -72
- package/template/packs/claude-document/document/theme/page-surfaces/chapter-opener.css +0 -236
- package/template/packs/claude-document/document/theme/page-surfaces/cover.css +0 -309
- package/template/packs/claude-document/document/theme/page-surfaces/toc.css +0 -225
- package/template/packs/claude-document/document/theme/patterns/_chart-frame.css +0 -53
- package/template/packs/claude-document/document/theme/patterns/figure-grid.css +0 -68
- package/template/packs/claude-document/document/theme/patterns/table-utilities.css +0 -66
- package/template/packs/claude-document/document/theme/shell/reader-controls.css +0 -789
- package/template/packs/claude-document/document/theme/tokens.css +0 -89
- package/template/packs/claude-document/openpress.config.mjs +0 -5
- package/template/packs/editorial-monograph/document/chapters/01-product-and-use-cases/content/01-product-and-use-cases.mdx +0 -31
- package/template/packs/editorial-monograph/document/chapters/02-workflow/content/01-workflow.mdx +0 -89
- package/template/packs/editorial-monograph/document/chapters/03-agent-skills-contributors/content/01-agent-skills-contributors.mdx +0 -51
- package/template/packs/editorial-monograph/document/chapters/04-validation-deploy/content/01-validation-deploy.mdx +0 -39
- package/template/packs/editorial-monograph/document/components/ChapterOpenerVisual/index.tsx +0 -76
- package/template/packs/editorial-monograph/document/components/Page.tsx +0 -37
- package/template/packs/editorial-monograph/document/components/TokenSwatchGrid/index.tsx +0 -46
- package/template/packs/editorial-monograph/document/components/TokenSwatchGrid/style.css +0 -63
- package/template/packs/editorial-monograph/document/components/TypeSpecimen/index.tsx +0 -38
- package/template/packs/editorial-monograph/document/components/TypeSpecimen/style.css +0 -111
- package/template/packs/editorial-monograph/document/design.md +0 -279
- package/template/packs/editorial-monograph/document/index.tsx +0 -97
- package/template/packs/editorial-monograph/document/media/README.md +0 -13
- package/template/packs/editorial-monograph/document/openpress.config.mjs +0 -26
- package/template/packs/editorial-monograph/document/theme/README.md +0 -11
- package/template/packs/editorial-monograph/document/theme/base/page-contract.css +0 -505
- package/template/packs/editorial-monograph/document/theme/base/print.css +0 -93
- package/template/packs/editorial-monograph/document/theme/base/typography.css +0 -336
- package/template/packs/editorial-monograph/document/theme/fonts.css +0 -3
- package/template/packs/editorial-monograph/document/theme/page-surfaces/back-cover.css +0 -43
- package/template/packs/editorial-monograph/document/theme/page-surfaces/chapter-opener.css +0 -205
- package/template/packs/editorial-monograph/document/theme/page-surfaces/cover.css +0 -147
- package/template/packs/editorial-monograph/document/theme/page-surfaces/toc.css +0 -149
- package/template/packs/editorial-monograph/document/theme/patterns/_chart-frame.css +0 -49
- package/template/packs/editorial-monograph/document/theme/patterns/figure-grid.css +0 -68
- package/template/packs/editorial-monograph/document/theme/patterns/table-utilities.css +0 -66
- package/template/packs/editorial-monograph/document/theme/shell/reader-controls.css +0 -761
- package/template/packs/editorial-monograph/document/theme/tokens.css +0 -80
- package/template/packs/editorial-monograph/openpress.config.mjs +0 -5
|
@@ -1,924 +0,0 @@
|
|
|
1
|
-
.openpress-project-preview-panel {
|
|
2
|
-
width: 100%;
|
|
3
|
-
min-width: 0;
|
|
4
|
-
min-height: 100%;
|
|
5
|
-
overflow: hidden;
|
|
6
|
-
background: #111312;
|
|
7
|
-
color: #e8e8e4;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.openpress-project-panel {
|
|
11
|
-
display: grid;
|
|
12
|
-
gap: 18px;
|
|
13
|
-
min-height: 0;
|
|
14
|
-
padding: 4px 18px 18px 22px;
|
|
15
|
-
overflow: auto;
|
|
16
|
-
scrollbar-width: none;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.openpress-project-panel::-webkit-scrollbar {
|
|
20
|
-
width: 0;
|
|
21
|
-
height: 0;
|
|
22
|
-
display: none;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.openpress-project-tool-block {
|
|
26
|
-
display: grid;
|
|
27
|
-
gap: 10px;
|
|
28
|
-
min-width: 0;
|
|
29
|
-
border-top: 0;
|
|
30
|
-
padding: 0;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.openpress-project-tool-header {
|
|
34
|
-
display: flex;
|
|
35
|
-
align-items: center;
|
|
36
|
-
justify-content: space-between;
|
|
37
|
-
min-width: 0;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.openpress-project-tool-header span {
|
|
41
|
-
color: rgb(190 196 202 / 58%);
|
|
42
|
-
font-family: var(--openpress-font-mono);
|
|
43
|
-
font-size: 10px;
|
|
44
|
-
font-weight: 650;
|
|
45
|
-
line-height: 1;
|
|
46
|
-
letter-spacing: 0.04em;
|
|
47
|
-
text-transform: uppercase;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.openpress-project-asset-list,
|
|
51
|
-
.openpress-project-component-mention-list {
|
|
52
|
-
display: grid;
|
|
53
|
-
gap: 8px;
|
|
54
|
-
min-width: 0;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.openpress-project-asset,
|
|
58
|
-
.openpress-project-component-mention-list button {
|
|
59
|
-
display: grid;
|
|
60
|
-
min-width: 0;
|
|
61
|
-
border: 0;
|
|
62
|
-
padding: 0;
|
|
63
|
-
background: transparent;
|
|
64
|
-
color: inherit;
|
|
65
|
-
cursor: pointer;
|
|
66
|
-
text-align: left;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.openpress-project-asset {
|
|
70
|
-
grid-template-columns: 42px minmax(0, 1fr);
|
|
71
|
-
gap: 10px;
|
|
72
|
-
align-items: center;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.openpress-project-asset:hover strong,
|
|
76
|
-
.openpress-project-component-mention-list button:hover strong {
|
|
77
|
-
color: rgb(246 246 242 / 96%);
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.openpress-project-asset-thumb {
|
|
81
|
-
display: grid;
|
|
82
|
-
width: 42px;
|
|
83
|
-
height: 34px;
|
|
84
|
-
place-items: center;
|
|
85
|
-
overflow: hidden;
|
|
86
|
-
border: 1px solid rgb(255 255 255 / 9%);
|
|
87
|
-
background: rgb(255 255 255 / 3%);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.openpress-project-asset-thumb img {
|
|
91
|
-
display: block;
|
|
92
|
-
width: 100%;
|
|
93
|
-
height: 100%;
|
|
94
|
-
object-fit: cover;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.openpress-project-asset-body,
|
|
98
|
-
.openpress-project-component-mention-list button span {
|
|
99
|
-
display: grid;
|
|
100
|
-
min-width: 0;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.openpress-project-asset-body strong,
|
|
104
|
-
.openpress-project-component-mention-list strong {
|
|
105
|
-
min-width: 0;
|
|
106
|
-
overflow: hidden;
|
|
107
|
-
color: rgb(214 218 220 / 84%);
|
|
108
|
-
font-size: 12.5px;
|
|
109
|
-
font-weight: 540;
|
|
110
|
-
line-height: 1.25;
|
|
111
|
-
text-overflow: ellipsis;
|
|
112
|
-
white-space: nowrap;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
.openpress-project-component-mention-list button {
|
|
116
|
-
grid-template-columns: 20px minmax(0, 1fr);
|
|
117
|
-
gap: 8px;
|
|
118
|
-
align-items: center;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.openpress-project-component-mention-list svg {
|
|
122
|
-
width: 14px;
|
|
123
|
-
height: 14px;
|
|
124
|
-
color: rgb(223 106 47 / 74%);
|
|
125
|
-
stroke-width: 1.7;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
/* Backdrop / panel / header / close styles now come from the shared
|
|
129
|
-
.openpress-workbench-dialog* class family. Only project-preview-specific
|
|
130
|
-
pieces (rename/delete pill actions, body preview surface, footer forms +
|
|
131
|
-
comment composer) live in this file. */
|
|
132
|
-
|
|
133
|
-
.openpress-project-preview-dialog__body {
|
|
134
|
-
min-width: 0;
|
|
135
|
-
min-height: 0;
|
|
136
|
-
overflow: auto;
|
|
137
|
-
padding: 12px 24px 24px;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.openpress-project-preview-dialog__body[data-preview-kind="media"] {
|
|
141
|
-
display: grid;
|
|
142
|
-
place-items: center;
|
|
143
|
-
background:
|
|
144
|
-
linear-gradient(45deg, rgb(255 255 255 / 3%) 25%, transparent 25%),
|
|
145
|
-
linear-gradient(-45deg, rgb(255 255 255 / 3%) 25%, transparent 25%),
|
|
146
|
-
linear-gradient(45deg, transparent 75%, rgb(255 255 255 / 3%) 75%),
|
|
147
|
-
linear-gradient(-45deg, transparent 75%, rgb(255 255 255 / 3%) 75%);
|
|
148
|
-
background-position: 0 0, 0 10px, 10px -10px, -10px 0;
|
|
149
|
-
background-size: 20px 20px;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.openpress-project-preview-dialog__body[data-preview-kind="media"] img {
|
|
153
|
-
display: block;
|
|
154
|
-
max-width: 100%;
|
|
155
|
-
max-height: calc(100vh - 160px);
|
|
156
|
-
object-fit: contain;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
.openpress-project-preview-dialog__body[data-preview-kind="component"] {
|
|
160
|
-
background: #f7f9fb;
|
|
161
|
-
color: var(--openpress-color-ink, #1f2d3d);
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.openpress-project-preview-dialog__body[data-preview-kind="component"] > div {
|
|
165
|
-
min-width: min-content;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
.openpress-project-markdown-header dt {
|
|
170
|
-
color: rgb(175 181 188 / 64%);
|
|
171
|
-
font-size: 10px;
|
|
172
|
-
font-weight: 650;
|
|
173
|
-
line-height: 1;
|
|
174
|
-
letter-spacing: 0;
|
|
175
|
-
text-transform: uppercase;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
.openpress-project-entry-list {
|
|
179
|
-
position: relative;
|
|
180
|
-
min-height: 0;
|
|
181
|
-
padding: 4px 18px 18px 30px;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
.openpress-project-bookmarks {
|
|
185
|
-
height: 100%;
|
|
186
|
-
overflow: auto;
|
|
187
|
-
scrollbar-width: none;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
.openpress-project-bookmarks::-webkit-scrollbar {
|
|
191
|
-
width: 0;
|
|
192
|
-
height: 0;
|
|
193
|
-
display: none;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
.openpress-project-entry {
|
|
197
|
-
width: 100%;
|
|
198
|
-
min-width: 0;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
.openpress-project-entry.bookmark-h2 {
|
|
202
|
-
grid-template-columns: 34px minmax(0, 1fr);
|
|
203
|
-
align-items: center;
|
|
204
|
-
padding: 8px 0;
|
|
205
|
-
color: rgb(150 156 163 / 72%);
|
|
206
|
-
font-family: var(--openpress-font-serif);
|
|
207
|
-
font-size: 14px;
|
|
208
|
-
line-height: 1.42;
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
.openpress-project-entry:hover,
|
|
212
|
-
.openpress-project-entry.is-active {
|
|
213
|
-
color: rgb(242 242 240 / 94%);
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
.openpress-project-entry .bookmark-index {
|
|
217
|
-
display: inline-flex;
|
|
218
|
-
align-items: center;
|
|
219
|
-
justify-content: flex-start;
|
|
220
|
-
color: rgb(160 166 173 / 58%);
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
.openpress-project-entry.is-active .bookmark-index,
|
|
224
|
-
.openpress-project-entry--gallery.is-active .bookmark-index,
|
|
225
|
-
.openpress-project-entry--components.is-active .bookmark-index {
|
|
226
|
-
color: #d7a034;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
.openpress-project-entry-icon svg {
|
|
230
|
-
width: 14px;
|
|
231
|
-
height: 14px;
|
|
232
|
-
stroke-width: 1.8;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
.openpress-project-entry .bookmark-title {
|
|
236
|
-
min-width: 0;
|
|
237
|
-
overflow: visible;
|
|
238
|
-
color: inherit;
|
|
239
|
-
letter-spacing: 0;
|
|
240
|
-
white-space: normal;
|
|
241
|
-
overflow-wrap: anywhere;
|
|
242
|
-
-webkit-line-clamp: unset;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
.openpress-project-visual-system,
|
|
246
|
-
.openpress-project-markdown-viewer,
|
|
247
|
-
.openpress-project-gallery-viewer,
|
|
248
|
-
.openpress-project-data-viewer,
|
|
249
|
-
.openpress-project-component-viewer {
|
|
250
|
-
min-width: 0;
|
|
251
|
-
height: 100%;
|
|
252
|
-
min-height: 100%;
|
|
253
|
-
display: grid;
|
|
254
|
-
grid-template-rows: auto minmax(0, 1fr);
|
|
255
|
-
gap: 18px;
|
|
256
|
-
overflow: hidden;
|
|
257
|
-
padding: 24px;
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
.openpress-project-section-header,
|
|
261
|
-
.openpress-project-markdown-header {
|
|
262
|
-
min-width: 0;
|
|
263
|
-
display: grid;
|
|
264
|
-
gap: 8px;
|
|
265
|
-
padding-bottom: 18px;
|
|
266
|
-
border-bottom: 1px solid rgb(255 255 255 / 10%);
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
.openpress-project-section-header {
|
|
270
|
-
grid-template-columns: minmax(0, 1fr) auto;
|
|
271
|
-
gap: 18px;
|
|
272
|
-
align-items: end;
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
.openpress-project-section-header--minimal {
|
|
276
|
-
grid-template-columns: minmax(0, 1fr);
|
|
277
|
-
gap: 0;
|
|
278
|
-
padding-bottom: 4px;
|
|
279
|
-
border-bottom: 0;
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
.openpress-project-section-header > div {
|
|
283
|
-
min-width: 0;
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
.openpress-project-section-header p {
|
|
287
|
-
margin: 0 0 6px;
|
|
288
|
-
color: #d7a034;
|
|
289
|
-
font-size: 10px;
|
|
290
|
-
font-weight: 650;
|
|
291
|
-
line-height: 1;
|
|
292
|
-
letter-spacing: 0.08em;
|
|
293
|
-
text-transform: uppercase;
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
.openpress-project-section-header span {
|
|
297
|
-
display: block;
|
|
298
|
-
margin-top: 7px;
|
|
299
|
-
color: rgb(184 190 196 / 72%);
|
|
300
|
-
font-size: 12px;
|
|
301
|
-
line-height: 1.45;
|
|
302
|
-
overflow-wrap: anywhere;
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
.openpress-project-section-header dl {
|
|
306
|
-
display: flex;
|
|
307
|
-
flex-wrap: wrap;
|
|
308
|
-
justify-content: flex-end;
|
|
309
|
-
gap: 10px;
|
|
310
|
-
margin: 0;
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
.openpress-project-section-header dl div {
|
|
314
|
-
display: inline-grid;
|
|
315
|
-
min-width: 74px;
|
|
316
|
-
gap: 5px;
|
|
317
|
-
border: 1px solid rgb(255 255 255 / 10%);
|
|
318
|
-
padding: 8px 10px;
|
|
319
|
-
background: rgb(255 255 255 / 3%);
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
.openpress-project-section-header dt {
|
|
323
|
-
color: rgb(175 181 188 / 64%);
|
|
324
|
-
font-size: 10px;
|
|
325
|
-
font-weight: 650;
|
|
326
|
-
line-height: 1;
|
|
327
|
-
letter-spacing: 0;
|
|
328
|
-
text-transform: uppercase;
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
.openpress-project-section-header dd {
|
|
332
|
-
margin: 0;
|
|
333
|
-
color: rgb(245 245 241 / 88%);
|
|
334
|
-
font-size: 13px;
|
|
335
|
-
font-variant-numeric: tabular-nums;
|
|
336
|
-
line-height: 1;
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
.openpress-project-section-header h2,
|
|
340
|
-
.openpress-project-markdown-header h2 {
|
|
341
|
-
margin: 0;
|
|
342
|
-
color: rgb(248 248 244 / 96%);
|
|
343
|
-
font-size: clamp(22px, 2.4vw, 34px);
|
|
344
|
-
font-weight: 560;
|
|
345
|
-
line-height: 1.05;
|
|
346
|
-
overflow-wrap: anywhere;
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
.openpress-project-section-header--minimal h2 {
|
|
350
|
-
font-family: var(--openpress-font-serif);
|
|
351
|
-
font-size: clamp(24px, 2vw, 30px);
|
|
352
|
-
font-weight: 420;
|
|
353
|
-
letter-spacing: 0;
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
.openpress-project-entry .bookmark-title {
|
|
357
|
-
display: grid;
|
|
358
|
-
gap: 2px;
|
|
359
|
-
line-height: 1.28;
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
.openpress-project-entry .bookmark-title > span,
|
|
363
|
-
.openpress-project-entry .bookmark-title > small {
|
|
364
|
-
display: block;
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
.openpress-project-entry .bookmark-title small {
|
|
368
|
-
color: rgb(150 156 163 / 58%);
|
|
369
|
-
font-family: var(--openpress-font-body);
|
|
370
|
-
font-size: 10px;
|
|
371
|
-
font-weight: 500;
|
|
372
|
-
line-height: 1.2;
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
.openpress-project-entry.is-active .bookmark-title small {
|
|
376
|
-
color: rgb(215 160 52 / 78%);
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
.openpress-project-visual-grid {
|
|
380
|
-
display: grid;
|
|
381
|
-
grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.25fr);
|
|
382
|
-
align-content: start;
|
|
383
|
-
gap: 28px;
|
|
384
|
-
min-height: 0;
|
|
385
|
-
overflow: auto;
|
|
386
|
-
padding-right: 2px;
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
.openpress-project-visual-card {
|
|
390
|
-
min-width: 0;
|
|
391
|
-
border-top: 1px solid rgb(255 255 255 / 10%);
|
|
392
|
-
padding-top: 18px;
|
|
393
|
-
background: transparent;
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
.openpress-project-visual-card header {
|
|
397
|
-
display: grid;
|
|
398
|
-
gap: 5px;
|
|
399
|
-
margin-bottom: 14px;
|
|
400
|
-
}
|
|
401
|
-
|
|
402
|
-
.openpress-project-visual-card header span {
|
|
403
|
-
color: rgb(170 176 183 / 58%);
|
|
404
|
-
font-size: 10px;
|
|
405
|
-
font-weight: 650;
|
|
406
|
-
line-height: 1;
|
|
407
|
-
letter-spacing: 0.04em;
|
|
408
|
-
text-transform: uppercase;
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
.openpress-project-visual-card header strong {
|
|
412
|
-
color: rgb(242 242 240 / 92%);
|
|
413
|
-
font-family: var(--openpress-font-serif);
|
|
414
|
-
font-size: 18px;
|
|
415
|
-
font-weight: 520;
|
|
416
|
-
line-height: 1.2;
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
.openpress-project-visual-card--typography {
|
|
420
|
-
grid-row: span 2;
|
|
421
|
-
}
|
|
422
|
-
|
|
423
|
-
.openpress-project-type-specimen {
|
|
424
|
-
display: grid;
|
|
425
|
-
gap: 10px;
|
|
426
|
-
border: 1px solid rgb(29 40 50 / 10%);
|
|
427
|
-
padding: 22px 24px;
|
|
428
|
-
background: var(--openpress-color-document);
|
|
429
|
-
color: var(--openpress-color-body);
|
|
430
|
-
}
|
|
431
|
-
|
|
432
|
-
.openpress-project-type-specimen .openpress-project-type-kicker {
|
|
433
|
-
margin: 0;
|
|
434
|
-
color: var(--openpress-color-muted);
|
|
435
|
-
font-family: var(--openpress-font-mono);
|
|
436
|
-
font-size: 10px;
|
|
437
|
-
line-height: 1.2;
|
|
438
|
-
letter-spacing: 0.08em;
|
|
439
|
-
text-transform: uppercase;
|
|
440
|
-
}
|
|
441
|
-
|
|
442
|
-
.openpress-project-type-specimen h2,
|
|
443
|
-
.openpress-project-type-specimen h3,
|
|
444
|
-
.openpress-project-type-specimen h4,
|
|
445
|
-
.openpress-project-type-specimen p {
|
|
446
|
-
margin: 0;
|
|
447
|
-
}
|
|
448
|
-
|
|
449
|
-
.openpress-project-type-specimen h2 {
|
|
450
|
-
color: var(--openpress-color-ink);
|
|
451
|
-
font-family: var(--openpress-font-serif);
|
|
452
|
-
font-size: 38px;
|
|
453
|
-
font-weight: 420;
|
|
454
|
-
line-height: 0.98;
|
|
455
|
-
letter-spacing: 0;
|
|
456
|
-
}
|
|
457
|
-
|
|
458
|
-
.openpress-project-type-specimen h3 {
|
|
459
|
-
color: var(--openpress-color-ink);
|
|
460
|
-
font-family: var(--openpress-font-serif);
|
|
461
|
-
font-size: 20px;
|
|
462
|
-
font-weight: 420;
|
|
463
|
-
line-height: 1.25;
|
|
464
|
-
}
|
|
465
|
-
|
|
466
|
-
.openpress-project-type-specimen h4 {
|
|
467
|
-
color: var(--openpress-color-muted);
|
|
468
|
-
font-size: 13px;
|
|
469
|
-
font-weight: 560;
|
|
470
|
-
line-height: 1.35;
|
|
471
|
-
}
|
|
472
|
-
|
|
473
|
-
.openpress-project-type-specimen p:not(.openpress-project-type-kicker) {
|
|
474
|
-
color: var(--openpress-color-body);
|
|
475
|
-
font-size: 13px;
|
|
476
|
-
line-height: 1.8;
|
|
477
|
-
}
|
|
478
|
-
|
|
479
|
-
.openpress-project-type-specimen code {
|
|
480
|
-
width: fit-content;
|
|
481
|
-
border: 1px solid var(--openpress-color-line);
|
|
482
|
-
padding: 5px 7px;
|
|
483
|
-
background: var(--openpress-color-block);
|
|
484
|
-
color: var(--openpress-color-ink);
|
|
485
|
-
font-family: var(--openpress-font-mono);
|
|
486
|
-
font-size: 12px;
|
|
487
|
-
}
|
|
488
|
-
|
|
489
|
-
.openpress-project-swatch-grid {
|
|
490
|
-
display: grid;
|
|
491
|
-
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
|
|
492
|
-
gap: 14px 16px;
|
|
493
|
-
}
|
|
494
|
-
|
|
495
|
-
.openpress-project-swatch {
|
|
496
|
-
display: grid;
|
|
497
|
-
grid-template-columns: 42px minmax(0, 1fr);
|
|
498
|
-
grid-template-areas:
|
|
499
|
-
"chip label"
|
|
500
|
-
"chip token";
|
|
501
|
-
gap: 4px 10px;
|
|
502
|
-
align-items: center;
|
|
503
|
-
min-width: 0;
|
|
504
|
-
}
|
|
505
|
-
|
|
506
|
-
.openpress-project-swatch-chip {
|
|
507
|
-
grid-area: chip;
|
|
508
|
-
width: 38px;
|
|
509
|
-
height: 38px;
|
|
510
|
-
border: 1px solid rgb(255 255 255 / 18%);
|
|
511
|
-
background: var(--openpress-project-swatch);
|
|
512
|
-
}
|
|
513
|
-
|
|
514
|
-
.openpress-project-swatch strong {
|
|
515
|
-
grid-area: label;
|
|
516
|
-
color: rgb(242 242 240 / 92%);
|
|
517
|
-
font-size: 12px;
|
|
518
|
-
font-weight: 560;
|
|
519
|
-
line-height: 1.2;
|
|
520
|
-
}
|
|
521
|
-
|
|
522
|
-
.openpress-project-swatch code {
|
|
523
|
-
grid-area: token;
|
|
524
|
-
min-width: 0;
|
|
525
|
-
border: 0;
|
|
526
|
-
padding: 0;
|
|
527
|
-
background: transparent;
|
|
528
|
-
color: rgb(170 176 183 / 62%);
|
|
529
|
-
font-family: var(--openpress-font-mono);
|
|
530
|
-
font-size: 10px;
|
|
531
|
-
line-height: 1.25;
|
|
532
|
-
overflow-wrap: anywhere;
|
|
533
|
-
}
|
|
534
|
-
|
|
535
|
-
.openpress-project-surface-preview {
|
|
536
|
-
display: grid;
|
|
537
|
-
gap: 12px;
|
|
538
|
-
}
|
|
539
|
-
|
|
540
|
-
.openpress-project-surface-paper,
|
|
541
|
-
.openpress-project-surface-block {
|
|
542
|
-
display: grid;
|
|
543
|
-
gap: 5px;
|
|
544
|
-
min-height: 82px;
|
|
545
|
-
align-content: center;
|
|
546
|
-
border: 1px solid rgb(29 40 50 / 10%);
|
|
547
|
-
padding: 18px;
|
|
548
|
-
color: var(--openpress-color-body);
|
|
549
|
-
}
|
|
550
|
-
|
|
551
|
-
.openpress-project-surface-paper {
|
|
552
|
-
background-color: var(--openpress-color-document);
|
|
553
|
-
background-image: var(--openpress-paper-texture);
|
|
554
|
-
background-position: var(--openpress-paper-texture-position);
|
|
555
|
-
background-size: var(--openpress-paper-texture-size);
|
|
556
|
-
}
|
|
557
|
-
|
|
558
|
-
.openpress-project-surface-block {
|
|
559
|
-
background: var(--openpress-color-block);
|
|
560
|
-
}
|
|
561
|
-
|
|
562
|
-
.openpress-project-surface-paper span,
|
|
563
|
-
.openpress-project-surface-block span {
|
|
564
|
-
color: var(--openpress-color-ink);
|
|
565
|
-
font-size: 13px;
|
|
566
|
-
font-weight: 650;
|
|
567
|
-
line-height: 1.2;
|
|
568
|
-
}
|
|
569
|
-
|
|
570
|
-
.openpress-project-surface-paper p,
|
|
571
|
-
.openpress-project-surface-block p {
|
|
572
|
-
margin: 0;
|
|
573
|
-
color: var(--openpress-color-muted);
|
|
574
|
-
font-size: 12px;
|
|
575
|
-
line-height: 1.55;
|
|
576
|
-
}
|
|
577
|
-
|
|
578
|
-
.openpress-project-markdown-header p {
|
|
579
|
-
margin: 0;
|
|
580
|
-
color: rgb(184 190 196 / 72%);
|
|
581
|
-
font-size: 12px;
|
|
582
|
-
line-height: 1.45;
|
|
583
|
-
overflow-wrap: anywhere;
|
|
584
|
-
}
|
|
585
|
-
|
|
586
|
-
.openpress-project-markdown-header dl {
|
|
587
|
-
display: flex;
|
|
588
|
-
flex-wrap: wrap;
|
|
589
|
-
gap: 10px;
|
|
590
|
-
margin: 8px 0 0;
|
|
591
|
-
}
|
|
592
|
-
|
|
593
|
-
.openpress-project-markdown-header dl div {
|
|
594
|
-
display: inline-grid;
|
|
595
|
-
grid-template-columns: auto auto;
|
|
596
|
-
gap: 8px;
|
|
597
|
-
align-items: baseline;
|
|
598
|
-
border: 1px solid rgb(255 255 255 / 10%);
|
|
599
|
-
padding: 6px 9px;
|
|
600
|
-
}
|
|
601
|
-
|
|
602
|
-
.openpress-project-markdown-header dd {
|
|
603
|
-
margin: 0;
|
|
604
|
-
color: rgb(245 245 241 / 88%);
|
|
605
|
-
font-size: 12px;
|
|
606
|
-
font-variant-numeric: tabular-nums;
|
|
607
|
-
line-height: 1;
|
|
608
|
-
}
|
|
609
|
-
|
|
610
|
-
.openpress-project-markdown-source {
|
|
611
|
-
min-width: 0;
|
|
612
|
-
min-height: 0;
|
|
613
|
-
margin: 0;
|
|
614
|
-
overflow: auto;
|
|
615
|
-
border: 1px solid rgb(255 255 255 / 12%);
|
|
616
|
-
padding: 22px;
|
|
617
|
-
background: #f4f0e7;
|
|
618
|
-
color: #1f2326;
|
|
619
|
-
font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
|
|
620
|
-
font-size: 12.5px;
|
|
621
|
-
line-height: 1.68;
|
|
622
|
-
white-space: pre-wrap;
|
|
623
|
-
overflow-wrap: anywhere;
|
|
624
|
-
}
|
|
625
|
-
|
|
626
|
-
.openpress-project-markdown-source code {
|
|
627
|
-
font: inherit;
|
|
628
|
-
}
|
|
629
|
-
|
|
630
|
-
.openpress-project-data-list {
|
|
631
|
-
display: grid;
|
|
632
|
-
align-content: start;
|
|
633
|
-
gap: 16px;
|
|
634
|
-
min-height: 0;
|
|
635
|
-
overflow: auto;
|
|
636
|
-
padding-right: 2px;
|
|
637
|
-
}
|
|
638
|
-
|
|
639
|
-
.openpress-project-component-list-header {
|
|
640
|
-
padding-bottom: 0;
|
|
641
|
-
border-bottom: 0;
|
|
642
|
-
}
|
|
643
|
-
|
|
644
|
-
.openpress-project-component-list {
|
|
645
|
-
display: grid;
|
|
646
|
-
grid-template-columns: minmax(0, 1fr);
|
|
647
|
-
align-content: start;
|
|
648
|
-
gap: 22px;
|
|
649
|
-
min-height: 0;
|
|
650
|
-
overflow: auto;
|
|
651
|
-
padding-right: 2px;
|
|
652
|
-
}
|
|
653
|
-
|
|
654
|
-
.openpress-project-component-preview-row {
|
|
655
|
-
display: grid;
|
|
656
|
-
gap: 10px;
|
|
657
|
-
min-width: 0;
|
|
658
|
-
margin: 0;
|
|
659
|
-
}
|
|
660
|
-
|
|
661
|
-
.openpress-project-component-preview-row figcaption {
|
|
662
|
-
display: flex;
|
|
663
|
-
align-items: center;
|
|
664
|
-
justify-content: space-between;
|
|
665
|
-
gap: 12px;
|
|
666
|
-
min-width: 0;
|
|
667
|
-
color: rgb(242 242 240 / 90%);
|
|
668
|
-
font-family: var(--openpress-font-mono);
|
|
669
|
-
font-size: 11px;
|
|
670
|
-
line-height: 1.2;
|
|
671
|
-
}
|
|
672
|
-
|
|
673
|
-
.openpress-project-component-preview-row figcaption span {
|
|
674
|
-
min-width: 0;
|
|
675
|
-
overflow: hidden;
|
|
676
|
-
text-overflow: ellipsis;
|
|
677
|
-
white-space: nowrap;
|
|
678
|
-
}
|
|
679
|
-
|
|
680
|
-
.openpress-project-component-preview-row figcaption small {
|
|
681
|
-
flex-shrink: 0;
|
|
682
|
-
color: rgb(170 176 183 / 62%);
|
|
683
|
-
font: inherit;
|
|
684
|
-
}
|
|
685
|
-
|
|
686
|
-
.openpress-project-component-preview {
|
|
687
|
-
display: block;
|
|
688
|
-
min-width: 0;
|
|
689
|
-
min-height: 260px;
|
|
690
|
-
max-height: 520px;
|
|
691
|
-
overflow: auto;
|
|
692
|
-
border: 1px solid rgb(255 255 255 / 12%);
|
|
693
|
-
padding: 18px;
|
|
694
|
-
background: #f7f9fb;
|
|
695
|
-
color: var(--openpress-color-ink, #1f2d3d);
|
|
696
|
-
}
|
|
697
|
-
|
|
698
|
-
.openpress-project-component-preview [data-openpress-component] {
|
|
699
|
-
max-width: 100%;
|
|
700
|
-
}
|
|
701
|
-
|
|
702
|
-
.openpress-project-data-card {
|
|
703
|
-
display: grid;
|
|
704
|
-
gap: 12px;
|
|
705
|
-
min-width: 0;
|
|
706
|
-
border: 1px solid rgb(255 255 255 / 10%);
|
|
707
|
-
padding: 14px;
|
|
708
|
-
background: rgb(255 255 255 / 3%);
|
|
709
|
-
}
|
|
710
|
-
|
|
711
|
-
.openpress-project-data-card header {
|
|
712
|
-
display: grid;
|
|
713
|
-
grid-template-columns: 26px minmax(0, 1fr);
|
|
714
|
-
gap: 10px;
|
|
715
|
-
align-items: start;
|
|
716
|
-
min-width: 0;
|
|
717
|
-
}
|
|
718
|
-
|
|
719
|
-
.openpress-project-data-card header svg {
|
|
720
|
-
width: 16px;
|
|
721
|
-
height: 16px;
|
|
722
|
-
margin-top: 2px;
|
|
723
|
-
color: #d7a034;
|
|
724
|
-
stroke-width: 1.8;
|
|
725
|
-
}
|
|
726
|
-
|
|
727
|
-
.openpress-project-data-card h3 {
|
|
728
|
-
margin: 0;
|
|
729
|
-
color: rgb(242 242 240 / 92%);
|
|
730
|
-
font-size: 13px;
|
|
731
|
-
font-weight: 560;
|
|
732
|
-
line-height: 1.3;
|
|
733
|
-
overflow-wrap: anywhere;
|
|
734
|
-
}
|
|
735
|
-
|
|
736
|
-
.openpress-project-data-card p {
|
|
737
|
-
margin: 4px 0 0;
|
|
738
|
-
color: rgb(184 190 196 / 72%);
|
|
739
|
-
font-size: 12px;
|
|
740
|
-
line-height: 1.35;
|
|
741
|
-
overflow-wrap: anywhere;
|
|
742
|
-
}
|
|
743
|
-
|
|
744
|
-
.openpress-project-data-preview {
|
|
745
|
-
min-width: 0;
|
|
746
|
-
border: 1px solid rgb(255 255 255 / 10%);
|
|
747
|
-
padding: 14px;
|
|
748
|
-
background: rgb(255 255 255 / 3%);
|
|
749
|
-
}
|
|
750
|
-
|
|
751
|
-
.openpress-project-data-preview--empty {
|
|
752
|
-
color: rgb(170 176 183 / 62%);
|
|
753
|
-
font-size: 12px;
|
|
754
|
-
}
|
|
755
|
-
|
|
756
|
-
.openpress-project-data-chart-preview {
|
|
757
|
-
border: 0;
|
|
758
|
-
padding: 0;
|
|
759
|
-
background: transparent;
|
|
760
|
-
}
|
|
761
|
-
|
|
762
|
-
.openpress-project-data-chart-preview .chart-frame {
|
|
763
|
-
margin: 0;
|
|
764
|
-
color: var(--openpress-color-ink);
|
|
765
|
-
}
|
|
766
|
-
|
|
767
|
-
.openpress-project-data-chart-preview .cost-donut__layout {
|
|
768
|
-
width: min(86%, 154mm);
|
|
769
|
-
}
|
|
770
|
-
|
|
771
|
-
.openpress-project-data-chart-preview .revenue-line-chart__svg {
|
|
772
|
-
max-height: none;
|
|
773
|
-
}
|
|
774
|
-
|
|
775
|
-
.openpress-project-data-raw {
|
|
776
|
-
min-width: 0;
|
|
777
|
-
}
|
|
778
|
-
|
|
779
|
-
.openpress-project-data-raw summary {
|
|
780
|
-
cursor: pointer;
|
|
781
|
-
color: rgb(184 190 196 / 72%);
|
|
782
|
-
font-size: 11px;
|
|
783
|
-
line-height: 1.2;
|
|
784
|
-
}
|
|
785
|
-
|
|
786
|
-
.openpress-project-data-raw pre {
|
|
787
|
-
min-width: 0;
|
|
788
|
-
max-height: 320px;
|
|
789
|
-
margin: 10px 0 0;
|
|
790
|
-
overflow: auto;
|
|
791
|
-
border: 1px solid rgb(255 255 255 / 10%);
|
|
792
|
-
padding: 12px;
|
|
793
|
-
background: #f4f0e7;
|
|
794
|
-
color: #1f2326;
|
|
795
|
-
font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
|
|
796
|
-
font-size: 11.5px;
|
|
797
|
-
line-height: 1.55;
|
|
798
|
-
white-space: pre-wrap;
|
|
799
|
-
overflow-wrap: anywhere;
|
|
800
|
-
}
|
|
801
|
-
|
|
802
|
-
.openpress-project-data-card code {
|
|
803
|
-
font: inherit;
|
|
804
|
-
}
|
|
805
|
-
|
|
806
|
-
.openpress-project-media-sections {
|
|
807
|
-
display: grid;
|
|
808
|
-
align-content: start;
|
|
809
|
-
gap: 28px;
|
|
810
|
-
min-height: 0;
|
|
811
|
-
overflow: auto;
|
|
812
|
-
padding-right: 2px;
|
|
813
|
-
}
|
|
814
|
-
|
|
815
|
-
.openpress-project-media-section {
|
|
816
|
-
display: grid;
|
|
817
|
-
gap: 12px;
|
|
818
|
-
min-width: 0;
|
|
819
|
-
}
|
|
820
|
-
|
|
821
|
-
.openpress-project-media-section-header {
|
|
822
|
-
display: flex;
|
|
823
|
-
align-items: baseline;
|
|
824
|
-
justify-content: space-between;
|
|
825
|
-
min-width: 0;
|
|
826
|
-
border-bottom: 1px solid rgb(255 255 255 / 10%);
|
|
827
|
-
padding-bottom: 8px;
|
|
828
|
-
}
|
|
829
|
-
|
|
830
|
-
.openpress-project-media-section-header h3 {
|
|
831
|
-
margin: 0;
|
|
832
|
-
color: rgb(238 238 234 / 90%);
|
|
833
|
-
font-size: 13px;
|
|
834
|
-
font-weight: 560;
|
|
835
|
-
line-height: 1.2;
|
|
836
|
-
letter-spacing: 0;
|
|
837
|
-
}
|
|
838
|
-
|
|
839
|
-
.openpress-project-media-gallery {
|
|
840
|
-
display: grid;
|
|
841
|
-
grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
|
|
842
|
-
gap: 16px;
|
|
843
|
-
min-width: 0;
|
|
844
|
-
}
|
|
845
|
-
|
|
846
|
-
.openpress-project-media-card {
|
|
847
|
-
display: grid;
|
|
848
|
-
gap: 10px;
|
|
849
|
-
align-content: start;
|
|
850
|
-
min-width: 0;
|
|
851
|
-
margin: 0;
|
|
852
|
-
}
|
|
853
|
-
|
|
854
|
-
.openpress-project-media-card img {
|
|
855
|
-
width: 100%;
|
|
856
|
-
aspect-ratio: 16 / 10;
|
|
857
|
-
object-fit: cover;
|
|
858
|
-
border: 1px solid rgb(255 255 255 / 10%);
|
|
859
|
-
background: rgb(255 255 255 / 4%);
|
|
860
|
-
}
|
|
861
|
-
|
|
862
|
-
.openpress-project-media-card[data-unused="true"] img {
|
|
863
|
-
opacity: 0.42;
|
|
864
|
-
filter: grayscale(0.7);
|
|
865
|
-
}
|
|
866
|
-
|
|
867
|
-
.openpress-project-media-card figcaption {
|
|
868
|
-
display: grid;
|
|
869
|
-
min-width: 0;
|
|
870
|
-
}
|
|
871
|
-
|
|
872
|
-
.openpress-project-media-card strong {
|
|
873
|
-
min-width: 0;
|
|
874
|
-
color: rgb(242 242 240 / 92%);
|
|
875
|
-
font-size: 12px;
|
|
876
|
-
font-weight: 520;
|
|
877
|
-
line-height: 1.35;
|
|
878
|
-
overflow-wrap: anywhere;
|
|
879
|
-
}
|
|
880
|
-
|
|
881
|
-
.openpress-project-media-section-empty {
|
|
882
|
-
margin: 0;
|
|
883
|
-
color: rgb(170 176 183 / 62%);
|
|
884
|
-
font-size: 12px;
|
|
885
|
-
line-height: 1.45;
|
|
886
|
-
}
|
|
887
|
-
|
|
888
|
-
.openpress-project-empty {
|
|
889
|
-
width: min(980px, 100%);
|
|
890
|
-
margin: 0 auto;
|
|
891
|
-
padding: 28px 24px;
|
|
892
|
-
color: rgb(170 176 183 / 70%);
|
|
893
|
-
font-size: 13px;
|
|
894
|
-
}
|
|
895
|
-
|
|
896
|
-
@media (max-width: 900px) {
|
|
897
|
-
.openpress-project-section-header {
|
|
898
|
-
grid-template-columns: 1fr;
|
|
899
|
-
align-items: start;
|
|
900
|
-
}
|
|
901
|
-
|
|
902
|
-
.openpress-project-section-header dl {
|
|
903
|
-
justify-content: flex-start;
|
|
904
|
-
}
|
|
905
|
-
|
|
906
|
-
.openpress-project-visual-system,
|
|
907
|
-
.openpress-project-markdown-viewer,
|
|
908
|
-
.openpress-project-gallery-viewer,
|
|
909
|
-
.openpress-project-component-viewer {
|
|
910
|
-
padding: 18px 14px calc(80px + env(safe-area-inset-bottom));
|
|
911
|
-
}
|
|
912
|
-
|
|
913
|
-
.openpress-project-visual-grid {
|
|
914
|
-
grid-template-columns: 1fr;
|
|
915
|
-
}
|
|
916
|
-
|
|
917
|
-
.openpress-project-visual-card--typography {
|
|
918
|
-
grid-row: auto;
|
|
919
|
-
}
|
|
920
|
-
|
|
921
|
-
.openpress-project-component-list {
|
|
922
|
-
grid-template-columns: 1fr;
|
|
923
|
-
}
|
|
924
|
-
}
|