@open-press/cli 1.0.0 → 1.1.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 (175) hide show
  1. package/README.md +11 -12
  2. package/dist/cli.js +298 -79
  3. package/package.json +9 -7
  4. package/template/core/AGENTS.md +0 -130
  5. package/template/core/CHANGELOG.md +0 -218
  6. package/template/core/README.md +0 -43
  7. package/template/core/engine/cli.mjs +0 -96
  8. package/template/core/engine/commands/_shared.mjs +0 -199
  9. package/template/core/engine/commands/deploy.mjs +0 -31
  10. package/template/core/engine/commands/dev.mjs +0 -49
  11. package/template/core/engine/commands/doctor.mjs +0 -229
  12. package/template/core/engine/commands/export.mjs +0 -8
  13. package/template/core/engine/commands/image.mjs +0 -29
  14. package/template/core/engine/commands/inspect.mjs +0 -35
  15. package/template/core/engine/commands/pdf.mjs +0 -26
  16. package/template/core/engine/commands/preview.mjs +0 -26
  17. package/template/core/engine/commands/render.mjs +0 -17
  18. package/template/core/engine/commands/replace.mjs +0 -41
  19. package/template/core/engine/commands/search.mjs +0 -33
  20. package/template/core/engine/commands/skills-sync.mjs +0 -71
  21. package/template/core/engine/commands/typecheck.mjs +0 -67
  22. package/template/core/engine/commands/upgrade.mjs +0 -159
  23. package/template/core/engine/commands/validate.mjs +0 -17
  24. package/template/core/engine/document-export.mjs +0 -15
  25. package/template/core/engine/output/chrome-pdf.d.mts +0 -34
  26. package/template/core/engine/output/chrome-pdf.mjs +0 -450
  27. package/template/core/engine/output/deploy-sync.mjs +0 -15
  28. package/template/core/engine/output/fonts.mjs +0 -62
  29. package/template/core/engine/output/katex-assets.mjs +0 -45
  30. package/template/core/engine/output/page-block.mjs +0 -30
  31. package/template/core/engine/output/pdf-media.mjs +0 -45
  32. package/template/core/engine/output/public-assets.mjs +0 -19
  33. package/template/core/engine/output/static-server.mjs +0 -571
  34. package/template/core/engine/react/caption-numbering.mjs +0 -73
  35. package/template/core/engine/react/comment-endpoint.d.mts +0 -11
  36. package/template/core/engine/react/comment-endpoint.mjs +0 -102
  37. package/template/core/engine/react/comment-marker.mjs +0 -374
  38. package/template/core/engine/react/document-entry.mjs +0 -331
  39. package/template/core/engine/react/document-export.mjs +0 -512
  40. package/template/core/engine/react/http-json.mjs +0 -24
  41. package/template/core/engine/react/mdx-compile.mjs +0 -629
  42. package/template/core/engine/react/measurement-css.mjs +0 -157
  43. package/template/core/engine/react/object-entities.mjs +0 -204
  44. package/template/core/engine/react/pagination/allocator.mjs +0 -167
  45. package/template/core/engine/react/pagination/regions.mjs +0 -81
  46. package/template/core/engine/react/pagination-constants.mjs +0 -3
  47. package/template/core/engine/react/pagination.mjs +0 -9
  48. package/template/core/engine/react/pipeline/allocate.mjs +0 -217
  49. package/template/core/engine/react/pipeline/final-render.mjs +0 -94
  50. package/template/core/engine/react/pipeline/frame-measurement.mjs +0 -306
  51. package/template/core/engine/react/pipeline/press-tree.mjs +0 -135
  52. package/template/core/engine/react/press-tree-inspection.mjs +0 -172
  53. package/template/core/engine/react/project-asset-endpoint.d.mts +0 -10
  54. package/template/core/engine/react/project-asset-endpoint.mjs +0 -361
  55. package/template/core/engine/react/section-css.mjs +0 -56
  56. package/template/core/engine/react/source-edit-endpoint.d.mts +0 -10
  57. package/template/core/engine/react/source-edit-endpoint.mjs +0 -75
  58. package/template/core/engine/react/sources/heading-numbering.mjs +0 -132
  59. package/template/core/engine/react/sources/mdx-resolver.mjs +0 -439
  60. package/template/core/engine/react/style-discovery.mjs +0 -160
  61. package/template/core/engine/runtime/config.d.mts +0 -48
  62. package/template/core/engine/runtime/config.mjs +0 -172
  63. package/template/core/engine/runtime/file-utils.mjs +0 -114
  64. package/template/core/engine/runtime/file-walk.mjs +0 -22
  65. package/template/core/engine/runtime/inspection.mjs +0 -328
  66. package/template/core/engine/runtime/issue-report.mjs +0 -44
  67. package/template/core/engine/runtime/page-geometry.mjs +0 -131
  68. package/template/core/engine/runtime/path-utils.mjs +0 -20
  69. package/template/core/engine/runtime/source-text-tools.d.mts +0 -102
  70. package/template/core/engine/runtime/source-text-tools.mjs +0 -832
  71. package/template/core/engine/runtime/source-workspace.mjs +0 -168
  72. package/template/core/engine/runtime/validation.mjs +0 -183
  73. package/template/core/index.html +0 -13
  74. package/template/core/openpress.config.mjs +0 -8
  75. package/template/core/package.json +0 -89
  76. package/template/core/src/main.tsx +0 -16
  77. package/template/core/src/openpress/app/OpenPressApp.tsx +0 -296
  78. package/template/core/src/openpress/app/OpenPressRuntime.tsx +0 -102
  79. package/template/core/src/openpress/app/WorkspaceGalleryPage.tsx +0 -219
  80. package/template/core/src/openpress/app/index.ts +0 -2
  81. package/template/core/src/openpress/core/Frame.tsx +0 -91
  82. package/template/core/src/openpress/core/FrameContext.tsx +0 -26
  83. package/template/core/src/openpress/core/MdxArea.tsx +0 -34
  84. package/template/core/src/openpress/core/Press.tsx +0 -55
  85. package/template/core/src/openpress/core/Workspace.tsx +0 -36
  86. package/template/core/src/openpress/core/cn.ts +0 -4
  87. package/template/core/src/openpress/core/index.tsx +0 -47
  88. package/template/core/src/openpress/core/primitives.tsx +0 -91
  89. package/template/core/src/openpress/core/types.ts +0 -236
  90. package/template/core/src/openpress/core/useSource.ts +0 -28
  91. package/template/core/src/openpress/document-model/anchorMapModel.ts +0 -27
  92. package/template/core/src/openpress/document-model/documentIndexes.ts +0 -329
  93. package/template/core/src/openpress/document-model/documentTypes.ts +0 -147
  94. package/template/core/src/openpress/document-model/index.ts +0 -7
  95. package/template/core/src/openpress/document-model/objectEntityModel.ts +0 -55
  96. package/template/core/src/openpress/document-model/projectIdentityModel.ts +0 -15
  97. package/template/core/src/openpress/document-model/reactDocumentMetadataModel.ts +0 -27
  98. package/template/core/src/openpress/document-model/workspaceManifestModel.ts +0 -57
  99. package/template/core/src/openpress/manuscript/index.tsx +0 -238
  100. package/template/core/src/openpress/mdx/index.ts +0 -96
  101. package/template/core/src/openpress/numbering/index.ts +0 -294
  102. package/template/core/src/openpress/reader/PageThumbnailsPanel.tsx +0 -168
  103. package/template/core/src/openpress/reader/PublicReaderPage.tsx +0 -267
  104. package/template/core/src/openpress/reader/ReaderNavigationPanel.tsx +0 -123
  105. package/template/core/src/openpress/reader/index.ts +0 -11
  106. package/template/core/src/openpress/reader/pageViewportScaleModel.ts +0 -73
  107. package/template/core/src/openpress/reader/readerPageRegistry.ts +0 -41
  108. package/template/core/src/openpress/reader/readerPageRoute.ts +0 -21
  109. package/template/core/src/openpress/reader/readerScroll.ts +0 -92
  110. package/template/core/src/openpress/reader/readerStateModel.ts +0 -15
  111. package/template/core/src/openpress/reader/readerTypes.ts +0 -4
  112. package/template/core/src/openpress/reader/usePageViewportScale.ts +0 -119
  113. package/template/core/src/openpress/reader/usePanelState.ts +0 -56
  114. package/template/core/src/openpress/reader/useReaderHashSync.ts +0 -61
  115. package/template/core/src/openpress/reader/useReaderKeyboardNav.ts +0 -48
  116. package/template/core/src/openpress/reader/useReaderRuntime.ts +0 -146
  117. package/template/core/src/openpress/reader/useReaderScrollAnchor.ts +0 -64
  118. package/template/core/src/openpress/shared/Panel.tsx +0 -77
  119. package/template/core/src/openpress/shared/frameScheduler.ts +0 -32
  120. package/template/core/src/openpress/shared/index.ts +0 -4
  121. package/template/core/src/openpress/shared/numberUtils.ts +0 -3
  122. package/template/core/src/openpress/shared/runtimeMode.ts +0 -11
  123. package/template/core/src/openpress/workbench/Workbench.tsx +0 -506
  124. package/template/core/src/openpress/workbench/actions/DeploymentControl.tsx +0 -157
  125. package/template/core/src/openpress/workbench/actions/ExportImageControl.tsx +0 -96
  126. package/template/core/src/openpress/workbench/actions/PageZoomControl.tsx +0 -182
  127. package/template/core/src/openpress/workbench/actions/SearchControl.tsx +0 -345
  128. package/template/core/src/openpress/workbench/actions/deploymentStatusModel.ts +0 -112
  129. package/template/core/src/openpress/workbench/actions/index.ts +0 -6
  130. package/template/core/src/openpress/workbench/actions/useDeploymentWorkbench.ts +0 -136
  131. package/template/core/src/openpress/workbench/dialog/WorkbenchDialog.tsx +0 -72
  132. package/template/core/src/openpress/workbench/dialog/index.ts +0 -1
  133. package/template/core/src/openpress/workbench/document/components/DocumentPanel.tsx +0 -127
  134. package/template/core/src/openpress/workbench/document/components/InlineSourceEditorLayer.tsx +0 -207
  135. package/template/core/src/openpress/workbench/document/components/ReaderStage.tsx +0 -9
  136. package/template/core/src/openpress/workbench/document/hooks/useDocumentWorkbenchModel.ts +0 -34
  137. package/template/core/src/openpress/workbench/document/hooks/useInlineDocumentEditor.ts +0 -525
  138. package/template/core/src/openpress/workbench/document/index.ts +0 -10
  139. package/template/core/src/openpress/workbench/index.ts +0 -2
  140. package/template/core/src/openpress/workbench/inspector/InlineInspectorLayer.tsx +0 -459
  141. package/template/core/src/openpress/workbench/inspector/index.ts +0 -5
  142. package/template/core/src/openpress/workbench/inspector/inlineCommentModel.ts +0 -125
  143. package/template/core/src/openpress/workbench/inspector/inspectorGeometryModel.ts +0 -160
  144. package/template/core/src/openpress/workbench/inspector/inspectorModel.ts +0 -408
  145. package/template/core/src/openpress/workbench/inspector/useInspectorComments.ts +0 -254
  146. package/template/core/src/openpress/workbench/mentions/MentionSuggestionList.tsx +0 -41
  147. package/template/core/src/openpress/workbench/mentions/index.ts +0 -2
  148. package/template/core/src/openpress/workbench/mentions/useComposerMentions.ts +0 -185
  149. package/template/core/src/openpress/workbench/panels/Panel.tsx +0 -1
  150. package/template/core/src/openpress/workbench/panels/PendingCommentsPanel.tsx +0 -80
  151. package/template/core/src/openpress/workbench/panels/WorkbenchControlPanel.tsx +0 -29
  152. package/template/core/src/openpress/workbench/panels/index.ts +0 -3
  153. package/template/core/src/openpress/workbench/project/ProjectEntryPanel.tsx +0 -525
  154. package/template/core/src/openpress/workbench/project/ProjectPreviewDialog.tsx +0 -35
  155. package/template/core/src/openpress/workbench/project/index.ts +0 -2
  156. package/template/core/src/openpress/workbench/project/projectPreviewTypes.ts +0 -11
  157. package/template/core/src/openpress/workbench/project/projectSourceModel.ts +0 -24
  158. package/template/core/src/openpress/workbench/shell/WorkbenchShell.tsx +0 -167
  159. package/template/core/src/openpress/workbench/shell/index.ts +0 -1
  160. package/template/core/src/openpress/workbench/workbenchFormatters.ts +0 -120
  161. package/template/core/src/openpress/workbench/workbenchTypes.ts +0 -35
  162. package/template/core/src/styles/openpress/app-shell.css +0 -251
  163. package/template/core/src/styles/openpress/media-workspace.css +0 -230
  164. package/template/core/src/styles/openpress/print-route.css +0 -184
  165. package/template/core/src/styles/openpress/project-preview-panel.css +0 -924
  166. package/template/core/src/styles/openpress/public-viewer.css +0 -688
  167. package/template/core/src/styles/openpress/reader-runtime.css +0 -989
  168. package/template/core/src/styles/openpress/responsive.css +0 -245
  169. package/template/core/src/styles/openpress/workbench-panels.css +0 -707
  170. package/template/core/src/styles/openpress/workbench.css +0 -1255
  171. package/template/core/src/styles/openpress/workspace-gallery.css +0 -300
  172. package/template/core/src/styles/openpress.css +0 -15
  173. package/template/core/src/vite-env.d.ts +0 -9
  174. package/template/core/tsconfig.json +0 -40
  175. package/template/core/vite.config.ts +0 -584
@@ -1,1255 +0,0 @@
1
- .openpress-workbench {
2
- display: block;
3
- min-height: 100vh;
4
- background: #141414;
5
- color: var(--openpress-text);
6
- }
7
-
8
- .openpress-public-shell {
9
- position: fixed;
10
- inset: 0;
11
- width: 100%;
12
- height: 100dvh;
13
- min-height: 100dvh;
14
- overflow: hidden;
15
- overscroll-behavior: none;
16
- }
17
-
18
- .openpress-workbench__stage {
19
- grid-area: main;
20
- min-width: 0;
21
- container-type: inline-size;
22
- padding: 0;
23
- overflow: hidden;
24
- background: #141414;
25
- scrollbar-width: none;
26
- }
27
-
28
- .openpress-workbench__stage::-webkit-scrollbar {
29
- width: 0;
30
- height: 0;
31
- display: none;
32
- }
33
-
34
- .openpress-public-viewer.openpress-workbench-shell.openpress-reader-app,
35
- .openpress-public-viewer.openpress-workbench-shell.openpress-reader-app.is-closed-left,
36
- .openpress-public-viewer.openpress-workbench-shell.openpress-reader-app.is-closed-right,
37
- .openpress-public-viewer.openpress-workbench-shell.openpress-reader-app.is-closed-left.is-closed-right {
38
- --openpress-workbench-toolbar-height: 44px;
39
- --openpress-workbench-left-width: clamp(260px, 18vw, 330px);
40
- --openpress-workbench-right-width: clamp(304px, 22vw, 390px);
41
- display: grid;
42
- grid-template-rows: var(--openpress-workbench-toolbar-height) minmax(0, 1fr);
43
- grid-template-columns: var(--openpress-workbench-left-width) minmax(0, 1fr) var(--openpress-workbench-right-width);
44
- grid-template-areas:
45
- "toolbar toolbar toolbar"
46
- "left main right";
47
- }
48
-
49
- .openpress-public-viewer.openpress-workbench-shell.openpress-reader-app.is-closed-right {
50
- grid-template-columns: var(--openpress-workbench-left-width) minmax(0, 1fr) 0;
51
- }
52
-
53
- .openpress-public-viewer.openpress-workbench-shell.openpress-reader-app.is-closed-left {
54
- grid-template-columns: 0 minmax(0, 1fr) var(--openpress-workbench-right-width);
55
- }
56
-
57
- .openpress-public-viewer.openpress-workbench-shell.openpress-reader-app.is-closed-left.is-closed-right {
58
- grid-template-columns: 0 minmax(0, 1fr) 0;
59
- }
60
-
61
- .openpress-workbench-toolbar {
62
- z-index: 30;
63
- display: flex;
64
- min-width: 0;
65
- height: var(--openpress-workbench-toolbar-height, 44px);
66
- min-height: 0;
67
- grid-area: toolbar;
68
- align-items: center;
69
- justify-content: space-between;
70
- gap: 12px;
71
- border-bottom: 1px solid rgb(255 255 255 / 9%);
72
- padding: 0 12px;
73
- background: rgb(18 18 18 / 96%);
74
- backdrop-filter: blur(18px);
75
- }
76
-
77
- .openpress-workbench-toolbar__content {
78
- display: flex;
79
- flex: 1 1 auto;
80
- min-width: 0;
81
- align-items: center;
82
- justify-content: space-between;
83
- gap: 12px;
84
- }
85
-
86
- .openpress-workbench-toolbar__group {
87
- display: flex;
88
- min-width: 0;
89
- align-items: center;
90
- gap: 8px;
91
- }
92
-
93
- .openpress-workbench-toolbar__group--right {
94
- justify-content: flex-end;
95
- }
96
-
97
- .openpress-workbench-toolbar__group--page {
98
- flex: 1 1 auto;
99
- justify-content: center;
100
- }
101
-
102
- .openpress-workbench-toolbar-panel-toggle {
103
- display: inline-flex;
104
- width: 30px;
105
- height: 30px;
106
- flex: 0 0 auto;
107
- align-items: center;
108
- justify-content: center;
109
- border: 1px solid transparent;
110
- border-radius: 4px;
111
- padding: 0;
112
- background: transparent;
113
- color: #8e949b;
114
- cursor: pointer;
115
- transition:
116
- color 160ms ease,
117
- transform 160ms ease;
118
- }
119
-
120
- .openpress-workbench-toolbar-panel-toggle:hover {
121
- color: #f2f2f0;
122
- }
123
-
124
- .openpress-workbench-toolbar-panel-toggle:active {
125
- transform: translateY(1px);
126
- }
127
-
128
- .openpress-workbench-toolbar-panel-toggle svg {
129
- width: 14px;
130
- height: 14px;
131
- }
132
-
133
- .openpress-workbench-page-geometry,
134
- .openpress-workbench-zoom-control {
135
- display: inline-flex;
136
- overflow: hidden;
137
- height: 30px;
138
- max-width: min(34vw, 280px);
139
- align-items: center;
140
- justify-content: center;
141
- gap: 7px;
142
- border: 1px solid transparent;
143
- border-radius: 4px;
144
- padding: 0 8px;
145
- background: transparent;
146
- color: #aeb3b8;
147
- font: inherit;
148
- line-height: 1;
149
- white-space: nowrap;
150
- cursor: pointer;
151
- transition:
152
- border-color 160ms ease,
153
- background 160ms ease,
154
- color 160ms ease,
155
- transform 160ms ease;
156
- }
157
-
158
- .openpress-workbench-page-geometry:hover,
159
- .openpress-workbench-zoom-control:hover {
160
- color: #f2f2f0;
161
- }
162
-
163
- .openpress-workbench-page-geometry:active,
164
- .openpress-workbench-zoom-control:active {
165
- transform: translateY(1px);
166
- }
167
-
168
- .openpress-workbench-page-geometry svg,
169
- .openpress-workbench-zoom-control svg {
170
- width: 13px;
171
- height: 13px;
172
- flex: 0 0 auto;
173
- color: currentColor;
174
- }
175
-
176
- .openpress-workbench-page-geometry__label,
177
- .openpress-workbench-page-geometry__dimensions {
178
- overflow: hidden;
179
- min-width: 0;
180
- text-overflow: ellipsis;
181
- white-space: nowrap;
182
- }
183
-
184
- .openpress-workbench-page-geometry__label {
185
- color: #d8dadd;
186
- font-size: 11px;
187
- font-weight: 560;
188
- }
189
-
190
- .openpress-workbench-page-geometry__dimensions {
191
- color: #7f858c;
192
- font-family: var(--openpress-font-mono);
193
- font-size: 10px;
194
- font-weight: 500;
195
- }
196
-
197
- .openpress-workbench-zoom-control {
198
- max-width: min(20vw, 92px);
199
- color: #9fa5ab;
200
- font-family: var(--openpress-font-mono);
201
- font-size: 10px;
202
- font-weight: 650;
203
- }
204
-
205
- .openpress-workbench-zoom-control-wrap {
206
- position: relative;
207
- display: inline-flex;
208
- }
209
-
210
- .openpress-workbench-zoom-control__chevron {
211
- width: 12px !important;
212
- height: 12px !important;
213
- opacity: 0.7;
214
- }
215
-
216
- .openpress-workbench-zoom-control[aria-expanded="true"],
217
- .openpress-workbench-zoom-control[data-openpress-toolbar-active="true"] {
218
- border-color: rgb(242 242 240 / 16%);
219
- background: rgb(242 242 240 / 7%);
220
- color: #f2f2f0;
221
- }
222
-
223
- .openpress-workbench-zoom-menu {
224
- position: absolute;
225
- top: calc(100% + 8px);
226
- left: 50%;
227
- z-index: 80;
228
- display: grid;
229
- width: 188px;
230
- gap: 6px;
231
- border: 1px solid rgb(255 255 255 / 16%);
232
- border-radius: 10px;
233
- padding: 8px;
234
- background: rgb(46 47 46 / 96%);
235
- box-shadow: 0 18px 42px rgb(0 0 0 / 34%);
236
- color: rgb(245 245 242 / 88%);
237
- transform: translateX(-50%);
238
- backdrop-filter: blur(18px);
239
- }
240
-
241
- .openpress-workbench-zoom-menu__section {
242
- display: grid;
243
- gap: 2px;
244
- }
245
-
246
- .openpress-workbench-zoom-menu__divider {
247
- height: 1px;
248
- margin: 4px 6px;
249
- background: rgb(255 255 255 / 14%);
250
- }
251
-
252
- .openpress-workbench-zoom-menu__item {
253
- display: grid;
254
- grid-template-columns: 18px 18px minmax(0, 1fr);
255
- min-height: 30px;
256
- align-items: center;
257
- gap: 9px;
258
- border: 0;
259
- border-radius: 6px;
260
- padding: 0 8px;
261
- background: transparent;
262
- color: inherit;
263
- font: inherit;
264
- font-size: 12px;
265
- font-weight: 650;
266
- line-height: 1;
267
- text-align: left;
268
- cursor: pointer;
269
- }
270
-
271
- .openpress-workbench-zoom-menu__item:hover,
272
- .openpress-workbench-zoom-menu__item:focus-visible {
273
- background: rgb(255 255 255 / 9%);
274
- outline: 0;
275
- }
276
-
277
- .openpress-workbench-zoom-menu__item[aria-checked="true"] {
278
- color: #ffffff;
279
- }
280
-
281
- .openpress-workbench-zoom-menu__item svg {
282
- width: 15px;
283
- height: 15px;
284
- }
285
-
286
- .openpress-workbench-zoom-menu__check {
287
- display: grid;
288
- width: 18px;
289
- height: 18px;
290
- place-items: center;
291
- }
292
-
293
- .openpress-workbench-zoom-menu__spacer {
294
- width: 18px;
295
- height: 1px;
296
- }
297
-
298
- .openpress-workbench-toolbar-action {
299
- position: relative;
300
- display: inline-flex;
301
- overflow: hidden;
302
- height: 30px;
303
- width: 30px;
304
- min-width: 30px;
305
- max-width: 30px;
306
- align-items: center;
307
- justify-content: center;
308
- gap: 0;
309
- border: 1px solid transparent;
310
- border-radius: 4px;
311
- padding: 0;
312
- background: transparent;
313
- color: #aeb3b8;
314
- font: inherit;
315
- font-size: 11px;
316
- font-weight: 500;
317
- line-height: 1;
318
- text-decoration: none;
319
- white-space: nowrap;
320
- cursor: pointer;
321
- transition:
322
- border-color 160ms ease,
323
- background 160ms ease,
324
- color 160ms ease,
325
- transform 160ms ease;
326
- }
327
-
328
- .openpress-workbench-toolbar-action:hover:not(:disabled) {
329
- color: #f2f2f0;
330
- }
331
-
332
- .openpress-workbench-toolbar-action:active:not(:disabled) {
333
- transform: translateY(1px);
334
- }
335
-
336
- .openpress-workbench-toolbar-action:disabled {
337
- cursor: progress;
338
- color: #a7adb2;
339
- opacity: 0.62;
340
- }
341
-
342
- .openpress-workbench-toolbar-action[data-openpress-toolbar-expanded="true"] {
343
- width: auto;
344
- min-width: 30px;
345
- max-width: min(34vw, 300px);
346
- gap: 7px;
347
- padding: 0 10px;
348
- }
349
-
350
- .openpress-workbench-toolbar-action[data-openpress-toolbar-active="true"] {
351
- border-color: rgb(240 182 76 / 34%);
352
- background: rgb(240 182 76 / 8%);
353
- color: rgb(240 182 76 / 92%);
354
- }
355
-
356
- .openpress-workbench-toolbar-action[data-openpress-deploy-status="online"] {
357
- color: rgb(110 231 160 / 88%);
358
- }
359
-
360
- .openpress-workbench-toolbar-action[data-openpress-deploy-status="dirty"],
361
- .openpress-workbench-toolbar-action[data-openpress-deploy-status="deploying"] {
362
- color: rgb(240 182 76 / 92%);
363
- }
364
-
365
- .openpress-workbench-toolbar-action[data-openpress-deploy-status="failed"] {
366
- color: rgb(248 113 113 / 90%);
367
- }
368
-
369
- .openpress-workbench-toolbar-action[data-deploy-status="deploying"]::after {
370
- position: absolute;
371
- inset: 3px;
372
- border: 1px solid rgb(240 182 76 / 36%);
373
- border-top-color: rgb(240 182 76 / 96%);
374
- border-radius: 999px;
375
- animation: openpress-toolbar-deploy-spin 0.9s linear infinite;
376
- content: "";
377
- }
378
-
379
- .openpress-workbench-toolbar-action[data-deploy-status="deploying"] svg {
380
- animation: openpress-toolbar-deploy-pulse 0.9s ease-in-out infinite alternate;
381
- }
382
-
383
- .openpress-workbench-toolbar-action svg {
384
- width: 13px;
385
- height: 13px;
386
- flex: 0 0 auto;
387
- color: currentColor;
388
- }
389
-
390
- .openpress-workbench-toolbar-action__label,
391
- .openpress-workbench-toolbar-action .openpress-dev-pdf-status,
392
- .openpress-workbench-toolbar-action .openpress-dev-deploy-status,
393
- .openpress-workbench-toolbar-action .openpress-dev-edit-status,
394
- .openpress-workbench-toolbar-action .openpress-dev-inspector-status {
395
- display: none;
396
- overflow: hidden;
397
- min-width: 0;
398
- text-overflow: ellipsis;
399
- white-space: nowrap;
400
- }
401
-
402
- .openpress-workbench-toolbar-action[data-openpress-toolbar-expanded="true"] .openpress-workbench-toolbar-action__label,
403
- .openpress-workbench-toolbar-action[data-openpress-toolbar-expanded="true"] .openpress-dev-pdf-status,
404
- .openpress-workbench-toolbar-action[data-openpress-toolbar-expanded="true"] .openpress-dev-deploy-status,
405
- .openpress-workbench-toolbar-action[data-openpress-toolbar-expanded="true"] .openpress-dev-edit-status,
406
- .openpress-workbench-toolbar-action[data-openpress-toolbar-expanded="true"] .openpress-dev-inspector-status {
407
- display: inline-flex;
408
- }
409
-
410
- .openpress-workbench-toolbar-action .openpress-dev-pdf-status,
411
- .openpress-workbench-toolbar-action .openpress-dev-deploy-status,
412
- .openpress-workbench-toolbar-action .openpress-dev-edit-status,
413
- .openpress-workbench-toolbar-action .openpress-dev-inspector-status {
414
- max-width: 150px;
415
- font-size: 10px;
416
- }
417
-
418
- .openpress-dev-edit-status {
419
- align-items: center;
420
- gap: 5px;
421
- }
422
-
423
- .openpress-dev-edit-status--toolbar {
424
- display: inline-flex;
425
- max-width: 132px;
426
- min-height: 24px;
427
- align-items: center;
428
- gap: 6px;
429
- overflow: hidden;
430
- border: 1px solid rgb(240 182 76 / 18%);
431
- border-radius: 4px;
432
- padding: 0 8px;
433
- background: rgb(240 182 76 / 7%);
434
- color: rgb(240 182 76 / 88%);
435
- font-size: 10px;
436
- line-height: 1;
437
- text-overflow: ellipsis;
438
- white-space: nowrap;
439
- }
440
-
441
- .openpress-dev-edit-status[data-openpress-edit-status="failed"] {
442
- color: rgb(248 113 113 / 92%);
443
- }
444
-
445
- .openpress-dev-edit-status__spinner {
446
- width: 9px;
447
- height: 9px;
448
- flex: 0 0 auto;
449
- border: 1px solid rgb(240 182 76 / 32%);
450
- border-top-color: rgb(240 182 76 / 96%);
451
- border-radius: 999px;
452
- animation: openpress-toolbar-deploy-spin 0.8s linear infinite;
453
- }
454
-
455
- .openpress-workbench-toolbar > .openpress-dev-inspector-status {
456
- max-width: 180px;
457
- flex: 0 1 auto;
458
- color: rgb(198 204 210 / 70%);
459
- font-size: 10px;
460
- }
461
-
462
- .openpress-dev-deploy-status--toolbar {
463
- max-width: 86px;
464
- overflow: hidden;
465
- color: rgb(240 182 76 / 86%);
466
- text-overflow: ellipsis;
467
- }
468
-
469
- .openpress-inline-source-editor-layer {
470
- position: fixed;
471
- inset: 0;
472
- z-index: 980;
473
- pointer-events: none;
474
- }
475
-
476
- .openpress-inline-source-editor {
477
- position: fixed;
478
- display: grid;
479
- gap: 10px;
480
- max-width: calc(100vw - 28px);
481
- border: 1px solid rgb(255 255 255 / 12%);
482
- border-radius: 6px;
483
- padding: 12px;
484
- background: #151716;
485
- color: rgb(242 242 238 / 94%);
486
- box-shadow: 0 18px 46px rgb(0 0 0 / 34%);
487
- pointer-events: auto;
488
- }
489
-
490
- .openpress-inline-source-editor__header,
491
- .openpress-inline-source-editor__footer {
492
- display: flex;
493
- align-items: center;
494
- justify-content: space-between;
495
- gap: 10px;
496
- min-width: 0;
497
- }
498
-
499
- .openpress-inline-source-editor__header > div {
500
- display: grid;
501
- gap: 4px;
502
- min-width: 0;
503
- }
504
-
505
- .openpress-inline-source-editor__header strong {
506
- overflow: hidden;
507
- font-size: 12px;
508
- font-weight: 650;
509
- line-height: 1.1;
510
- text-overflow: ellipsis;
511
- white-space: nowrap;
512
- }
513
-
514
- .openpress-inline-source-editor__eyebrow {
515
- color: rgb(174 179 184 / 58%);
516
- font-family: var(--openpress-font-mono);
517
- font-size: 9px;
518
- font-weight: 700;
519
- letter-spacing: 0.08em;
520
- }
521
-
522
- .openpress-inline-source-editor__header button,
523
- .openpress-inline-source-editor__footer button {
524
- min-height: 28px;
525
- border: 1px solid rgb(255 255 255 / 12%);
526
- border-radius: 4px;
527
- background: transparent;
528
- color: rgb(242 242 238 / 82%);
529
- font: inherit;
530
- font-size: 11px;
531
- cursor: pointer;
532
- }
533
-
534
- .openpress-inline-source-editor__header button {
535
- width: 28px;
536
- padding: 0;
537
- font-size: 15px;
538
- }
539
-
540
- .openpress-inline-source-editor__footer button {
541
- padding: 0 10px;
542
- }
543
-
544
- .openpress-inline-source-editor__footer button:last-child {
545
- border-color: rgb(240 182 76 / 28%);
546
- background: rgb(240 182 76 / 9%);
547
- color: rgb(240 182 76 / 92%);
548
- }
549
-
550
- .openpress-inline-source-editor__footer button:disabled {
551
- cursor: progress;
552
- opacity: 0.54;
553
- }
554
-
555
- .openpress-inline-source-editor textarea {
556
- width: 100%;
557
- min-height: 126px;
558
- resize: vertical;
559
- border: 1px solid rgb(255 255 255 / 12%);
560
- border-radius: 4px;
561
- padding: 10px;
562
- background: rgb(0 0 0 / 24%);
563
- color: rgb(242 242 238 / 92%);
564
- font-family: var(--openpress-font-mono);
565
- font-size: 11px;
566
- line-height: 1.55;
567
- outline: none;
568
- }
569
-
570
- .openpress-inline-source-editor textarea:focus {
571
- border-color: rgb(240 182 76 / 42%);
572
- box-shadow: 0 0 0 1px rgb(240 182 76 / 16%);
573
- }
574
-
575
- .openpress-inline-source-editor__footer > span {
576
- min-width: 0;
577
- overflow: hidden;
578
- color: rgb(174 179 184 / 70%);
579
- font-size: 10px;
580
- text-overflow: ellipsis;
581
- white-space: nowrap;
582
- }
583
-
584
- .openpress-inline-source-editor__footer > span[data-openpress-source-editor-status="saving"] {
585
- color: rgb(240 182 76 / 88%);
586
- }
587
-
588
- .openpress-inline-source-editor__footer > span[data-openpress-source-editor-status="failed"] {
589
- color: rgb(248 113 113 / 90%);
590
- }
591
-
592
- .openpress-inline-source-editor__footer > div {
593
- display: inline-flex;
594
- gap: 6px;
595
- flex: 0 0 auto;
596
- }
597
-
598
- .openpress-workbench-dialog-backdrop {
599
- position: fixed;
600
- inset: 0;
601
- z-index: 1000;
602
- display: grid;
603
- place-items: start center;
604
- overflow: auto;
605
- padding: calc(var(--openpress-workbench-toolbar-height, 44px) + 28px) 28px 28px;
606
- background: rgb(0 0 0 / 54%);
607
- }
608
-
609
- .openpress-workbench-dialog {
610
- position: relative;
611
- display: grid;
612
- grid-template-rows: auto minmax(0, 1fr) auto;
613
- width: min(560px, calc(100vw - 56px));
614
- max-height: calc(100vh - var(--openpress-workbench-toolbar-height, 44px) - 56px);
615
- overflow: hidden;
616
- border: 1px solid rgb(255 255 255 / 12%);
617
- border-radius: 6px;
618
- background: #151716;
619
- color: rgb(242 242 238 / 94%);
620
- box-shadow: 0 24px 68px rgb(0 0 0 / 42%);
621
- }
622
-
623
- /* The project preview surface needs more room for media thumbnails and
624
- rendered component previews than the deploy/search default. */
625
- .openpress-workbench-dialog.openpress-project-preview-dialog {
626
- width: min(860px, calc(100vw - 56px));
627
- }
628
-
629
- /* The project preview footer holds stacked action forms + a comment
630
- composer instead of a row of buttons. Override the default
631
- flex-row footer layout for this dialog only. */
632
- .openpress-workbench-dialog.openpress-project-preview-dialog .openpress-workbench-dialog__footer {
633
- display: grid;
634
- gap: 12px;
635
- justify-content: stretch;
636
- align-items: stretch;
637
- }
638
-
639
- .openpress-workbench-dialog::before {
640
- position: absolute;
641
- top: 0;
642
- right: 0;
643
- left: 0;
644
- height: 2px;
645
- background: rgb(240 182 76 / 82%);
646
- content: "";
647
- }
648
-
649
- .openpress-workbench-dialog__header,
650
- .openpress-workbench-dialog__footer {
651
- display: flex;
652
- align-items: center;
653
- justify-content: space-between;
654
- gap: 12px;
655
- }
656
-
657
- .openpress-workbench-dialog__header {
658
- align-items: flex-start;
659
- padding: 18px 48px 14px 24px;
660
- }
661
-
662
- .openpress-workbench-dialog__footer {
663
- padding: 14px 24px 18px;
664
- }
665
-
666
- .openpress-workbench-dialog__heading {
667
- display: grid;
668
- min-width: 0;
669
- gap: 5px;
670
- }
671
-
672
- .openpress-workbench-dialog__eyebrow {
673
- display: block;
674
- color: rgb(160 166 173 / 62%);
675
- font-family: var(--openpress-font-mono);
676
- font-size: 10px;
677
- font-weight: 650;
678
- line-height: 1;
679
- letter-spacing: 0;
680
- text-transform: uppercase;
681
- }
682
-
683
- .openpress-workbench-dialog__title-row {
684
- display: grid;
685
- min-width: 0;
686
- grid-template-columns: auto minmax(0, 1fr);
687
- align-items: center;
688
- column-gap: 8px;
689
- min-height: 20px;
690
- }
691
-
692
- .openpress-workbench-dialog h2 {
693
- margin: 0;
694
- color: rgb(242 242 240 / 94%);
695
- font-size: 15px;
696
- font-weight: 650;
697
- line-height: 20px;
698
- }
699
-
700
- .openpress-workbench-dialog h2::before,
701
- .openpress-workbench-dialog h3::before {
702
- display: none;
703
- content: none;
704
- }
705
-
706
- .openpress-workbench-dialog__title-meta {
707
- display: flex;
708
- min-width: 0;
709
- min-height: 20px;
710
- align-items: center;
711
- }
712
-
713
- .openpress-workbench-dialog__close {
714
- position: absolute;
715
- top: 9px;
716
- right: 9px;
717
- display: inline-flex;
718
- width: 30px;
719
- height: 30px;
720
- align-items: center;
721
- justify-content: center;
722
- border: 1px solid transparent;
723
- border-radius: 4px;
724
- padding: 0;
725
- background: transparent;
726
- color: #aeb3b8;
727
- cursor: pointer;
728
- }
729
-
730
- .openpress-workbench-dialog__close:hover {
731
- color: #f2f2f0;
732
- }
733
-
734
- .openpress-workbench-dialog__close svg {
735
- width: 14px;
736
- height: 14px;
737
- }
738
-
739
- .openpress-deploy-dialog {
740
- width: min(420px, calc(100vw - 56px));
741
- gap: 12px;
742
- padding: 16px;
743
- }
744
-
745
- .openpress-deploy-dialog__source {
746
- display: inline-flex;
747
- min-height: 19px;
748
- align-items: center;
749
- max-width: 100%;
750
- overflow: hidden;
751
- border: 1px solid rgb(110 231 160 / 18%);
752
- border-radius: 999px;
753
- padding: 0 7px;
754
- background: rgb(110 231 160 / 7%);
755
- color: rgb(144 238 177 / 88%);
756
- font-size: 10px;
757
- font-weight: 620;
758
- line-height: 1;
759
- text-overflow: ellipsis;
760
- white-space: nowrap;
761
- }
762
-
763
- .openpress-deploy-dialog dl {
764
- display: grid;
765
- gap: 8px;
766
- margin: 0;
767
- border-top: 1px solid rgb(255 255 255 / 8%);
768
- border-bottom: 1px solid rgb(255 255 255 / 8%);
769
- padding: 12px 0;
770
- }
771
-
772
- .openpress-deploy-dialog dl div {
773
- display: grid;
774
- min-width: 0;
775
- grid-template-columns: 78px minmax(0, 1fr);
776
- gap: 12px;
777
- align-items: center;
778
- }
779
-
780
- .openpress-deploy-dialog dt,
781
- .openpress-deploy-dialog dd {
782
- margin: 0;
783
- min-width: 0;
784
- font-size: 11px;
785
- line-height: 1.35;
786
- }
787
-
788
- .openpress-deploy-dialog dt {
789
- color: rgb(150 156 163 / 68%);
790
- }
791
-
792
- .openpress-deploy-dialog dd {
793
- overflow: hidden;
794
- color: rgb(226 229 230 / 86%);
795
- text-align: left;
796
- text-overflow: ellipsis;
797
- white-space: nowrap;
798
- }
799
-
800
- .openpress-deploy-dialog dd a {
801
- color: rgb(214 218 222 / 92%);
802
- text-decoration: none;
803
- }
804
-
805
- .openpress-deploy-dialog dd a:hover {
806
- color: rgb(240 182 76 / 94%);
807
- text-decoration: underline;
808
- text-underline-offset: 3px;
809
- }
810
-
811
- .openpress-deploy-dialog__status {
812
- display: inline-flex;
813
- align-items: center;
814
- justify-content: flex-start;
815
- gap: 6px;
816
- color: rgb(198 204 210 / 78%);
817
- }
818
-
819
- .openpress-deploy-dialog__status::before {
820
- width: 6px;
821
- height: 6px;
822
- flex: 0 0 auto;
823
- border-radius: 999px;
824
- background: currentColor;
825
- content: "";
826
- }
827
-
828
- .openpress-deploy-dialog__status[data-openpress-deploy-status="online"] {
829
- color: rgb(110 231 160 / 90%);
830
- }
831
-
832
- .openpress-deploy-dialog__status[data-openpress-deploy-status="dirty"],
833
- .openpress-deploy-dialog__status[data-openpress-deploy-status="deploying"] {
834
- color: rgb(240 182 76 / 92%);
835
- }
836
-
837
- .openpress-deploy-dialog__status[data-openpress-deploy-status="failed"] {
838
- color: rgb(248 113 113 / 90%);
839
- }
840
-
841
- .openpress-deploy-dialog__message {
842
- margin: 0;
843
- border-left: 2px solid rgb(248 113 113 / 76%);
844
- padding: 6px 0 6px 10px;
845
- color: rgb(248 113 113 / 88%);
846
- font-size: 12px;
847
- line-height: 1.45;
848
- }
849
-
850
- .openpress-deploy-dialog .openpress-workbench-dialog__footer button {
851
- display: inline-flex;
852
- height: 30px;
853
- align-items: center;
854
- justify-content: center;
855
- gap: 7px;
856
- border: 1px solid rgb(255 255 255 / 12%);
857
- border-radius: 4px;
858
- padding: 0 10px;
859
- background: transparent;
860
- color: rgb(226 229 230 / 86%);
861
- font: inherit;
862
- font-size: 11px;
863
- font-weight: 560;
864
- cursor: pointer;
865
- }
866
-
867
- .openpress-deploy-dialog .openpress-workbench-dialog__footer button:hover:not(:disabled) {
868
- border-color: rgb(240 182 76 / 34%);
869
- color: rgb(240 182 76 / 92%);
870
- }
871
-
872
- .openpress-deploy-dialog .openpress-workbench-dialog__footer button:disabled {
873
- cursor: not-allowed;
874
- opacity: 0.46;
875
- }
876
-
877
- .openpress-deploy-dialog .openpress-workbench-dialog__footer svg {
878
- width: 13px;
879
- height: 13px;
880
- }
881
-
882
- .openpress-search-dialog-backdrop {
883
- z-index: 1001;
884
- padding: calc(var(--openpress-workbench-toolbar-height, 44px) + 24px) 24px 24px;
885
- background: rgb(0 0 0 / 46%);
886
- }
887
-
888
- .openpress-search-dialog {
889
- width: min(640px, calc(100vw - 48px));
890
- max-height: min(72vh, 760px);
891
- grid-template-rows: auto auto minmax(0, 1fr);
892
- box-shadow: 0 24px 72px rgb(0 0 0 / 44%);
893
- }
894
-
895
- .openpress-search-dialog__header {
896
- gap: 16px;
897
- padding: 16px 48px 10px 16px;
898
- }
899
-
900
- .openpress-search-dialog__form {
901
- display: grid;
902
- gap: 10px;
903
- border-top: 1px solid rgb(255 255 255 / 8%);
904
- border-bottom: 1px solid rgb(255 255 255 / 8%);
905
- padding: 12px 16px;
906
- }
907
-
908
- .openpress-search-dialog__input-row {
909
- display: grid;
910
- grid-template-columns: 16px minmax(0, 1fr) auto;
911
- gap: 8px;
912
- align-items: center;
913
- min-height: 34px;
914
- border: 1px solid rgb(255 255 255 / 12%);
915
- border-radius: 5px;
916
- padding: 0 7px 0 10px;
917
- background: rgb(255 255 255 / 4%);
918
- }
919
-
920
- .openpress-search-dialog__input-row > svg {
921
- width: 13px;
922
- height: 13px;
923
- color: rgb(160 166 173 / 70%);
924
- }
925
-
926
- .openpress-search-dialog__input-row input {
927
- min-width: 0;
928
- border: 0;
929
- padding: 0;
930
- background: transparent;
931
- color: rgb(242 242 238 / 94%);
932
- font: inherit;
933
- font-size: 12px;
934
- outline: 0;
935
- }
936
-
937
- .openpress-search-dialog__input-row input::placeholder {
938
- color: rgb(160 166 173 / 54%);
939
- }
940
-
941
- .openpress-search-dialog__input-row button,
942
- .openpress-search-dialog__scope button {
943
- display: inline-flex;
944
- height: 26px;
945
- align-items: center;
946
- justify-content: center;
947
- gap: 6px;
948
- border: 1px solid transparent;
949
- border-radius: 4px;
950
- padding: 0 9px;
951
- background: transparent;
952
- color: rgb(214 218 222 / 82%);
953
- font: inherit;
954
- font-size: 11px;
955
- font-weight: 560;
956
- cursor: pointer;
957
- }
958
-
959
- .openpress-search-dialog__input-row button:hover:not(:disabled),
960
- .openpress-search-dialog__scope button:hover {
961
- color: rgb(240 182 76 / 92%);
962
- }
963
-
964
- .openpress-search-dialog__input-row button:disabled {
965
- cursor: progress;
966
- opacity: 0.62;
967
- }
968
-
969
- .openpress-search-dialog__input-row button svg {
970
- width: 12px;
971
- height: 12px;
972
- }
973
-
974
- .openpress-search-dialog__input-row button:disabled svg,
975
- .openpress-search-dialog__empty svg {
976
- animation: openpress-search-spin 0.9s linear infinite;
977
- }
978
-
979
- .openpress-search-dialog__scope {
980
- display: inline-flex;
981
- width: fit-content;
982
- align-items: center;
983
- gap: 2px;
984
- border: 1px solid rgb(255 255 255 / 10%);
985
- border-radius: 5px;
986
- padding: 2px;
987
- background: rgb(255 255 255 / 3%);
988
- }
989
-
990
- .openpress-search-dialog__scope button[data-openpress-search-scope-active="true"] {
991
- border-color: rgb(240 182 76 / 26%);
992
- background: rgb(240 182 76 / 9%);
993
- color: rgb(240 182 76 / 92%);
994
- }
995
-
996
- .openpress-search-dialog__empty,
997
- .openpress-search-dialog__error {
998
- display: flex;
999
- align-items: center;
1000
- gap: 8px;
1001
- margin: 0;
1002
- padding: 18px 16px;
1003
- color: rgb(160 166 173 / 72%);
1004
- font-size: 12px;
1005
- line-height: 1.5;
1006
- }
1007
-
1008
- .openpress-search-dialog__empty svg {
1009
- width: 13px;
1010
- height: 13px;
1011
- }
1012
-
1013
- .openpress-search-dialog__error {
1014
- color: rgb(248 113 113 / 88%);
1015
- }
1016
-
1017
- .openpress-search-dialog__results {
1018
- min-height: 0;
1019
- overflow: auto;
1020
- padding: 12px 16px 16px;
1021
- }
1022
-
1023
- .openpress-search-dialog__summary {
1024
- margin: 0 0 10px;
1025
- color: rgb(160 166 173 / 70%);
1026
- font-size: 11px;
1027
- line-height: 1.35;
1028
- }
1029
-
1030
- .openpress-search-dialog__file {
1031
- display: grid;
1032
- gap: 7px;
1033
- margin: 0 0 12px;
1034
- padding-bottom: 12px;
1035
- border-bottom: 1px solid rgb(255 255 255 / 8%);
1036
- }
1037
-
1038
- .openpress-search-dialog__file:last-child {
1039
- margin-bottom: 0;
1040
- padding-bottom: 0;
1041
- border-bottom: 0;
1042
- }
1043
-
1044
- .openpress-search-dialog__file h3 {
1045
- display: grid;
1046
- min-width: 0;
1047
- grid-template-columns: 14px minmax(0, 1fr) auto;
1048
- gap: 7px;
1049
- align-items: center;
1050
- margin: 0;
1051
- color: rgb(226 229 230 / 90%);
1052
- font-size: 12px;
1053
- font-weight: 650;
1054
- line-height: 1.25;
1055
- }
1056
-
1057
- .openpress-search-dialog__file h3 svg {
1058
- width: 12px;
1059
- height: 12px;
1060
- color: rgb(240 182 76 / 82%);
1061
- }
1062
-
1063
- .openpress-search-dialog__file h3 span {
1064
- overflow: hidden;
1065
- min-width: 0;
1066
- text-overflow: ellipsis;
1067
- white-space: nowrap;
1068
- }
1069
-
1070
- .openpress-search-dialog__file h3 small {
1071
- display: inline-flex;
1072
- min-width: 20px;
1073
- height: 18px;
1074
- align-items: center;
1075
- justify-content: center;
1076
- border: 1px solid rgb(255 255 255 / 10%);
1077
- border-radius: 999px;
1078
- color: rgb(160 166 173 / 78%);
1079
- font-size: 10px;
1080
- font-weight: 650;
1081
- }
1082
-
1083
- .openpress-search-dialog__file ol {
1084
- display: grid;
1085
- gap: 5px;
1086
- margin: 0;
1087
- padding: 0;
1088
- list-style: none;
1089
- }
1090
-
1091
- .openpress-search-dialog__file li {
1092
- display: block;
1093
- min-width: 0;
1094
- }
1095
-
1096
- .openpress-search-dialog__result {
1097
- display: grid;
1098
- width: 100%;
1099
- min-width: 0;
1100
- grid-template-columns: 44px minmax(0, 1fr) auto;
1101
- gap: 10px;
1102
- align-items: baseline;
1103
- border-radius: 4px;
1104
- border: 1px solid transparent;
1105
- padding: 6px 7px;
1106
- background: rgb(255 255 255 / 3%);
1107
- color: inherit;
1108
- font: inherit;
1109
- text-align: left;
1110
- cursor: pointer;
1111
- }
1112
-
1113
- .openpress-search-dialog__result:hover:not(:disabled) {
1114
- border-color: rgb(240 182 76 / 18%);
1115
- background: rgb(240 182 76 / 7%);
1116
- }
1117
-
1118
- .openpress-search-dialog__result:disabled {
1119
- cursor: default;
1120
- opacity: 0.68;
1121
- }
1122
-
1123
- .openpress-search-dialog__line {
1124
- color: rgb(160 166 173 / 74%);
1125
- font-family: var(--openpress-font-mono);
1126
- font-size: 10px;
1127
- line-height: 1.35;
1128
- }
1129
-
1130
- .openpress-search-dialog__preview {
1131
- overflow: hidden;
1132
- min-width: 0;
1133
- color: rgb(226 229 230 / 84%);
1134
- font-family: var(--openpress-font-mono);
1135
- font-size: 11px;
1136
- line-height: 1.45;
1137
- text-overflow: ellipsis;
1138
- white-space: nowrap;
1139
- }
1140
-
1141
- .openpress-search-dialog__page {
1142
- color: rgb(240 182 76 / 82%);
1143
- font-family: var(--openpress-font-mono);
1144
- font-size: 10px;
1145
- font-weight: 650;
1146
- line-height: 1.35;
1147
- }
1148
-
1149
- .openpress-search-dialog__result:disabled .openpress-search-dialog__page {
1150
- color: rgb(160 166 173 / 58%);
1151
- }
1152
-
1153
- @keyframes openpress-toolbar-deploy-spin {
1154
- to {
1155
- transform: rotate(360deg);
1156
- }
1157
- }
1158
-
1159
- @keyframes openpress-search-spin {
1160
- to {
1161
- transform: rotate(360deg);
1162
- }
1163
- }
1164
-
1165
- @keyframes openpress-toolbar-deploy-pulse {
1166
- from {
1167
- opacity: 0.58;
1168
- }
1169
- to {
1170
- opacity: 1;
1171
- }
1172
- }
1173
-
1174
- .openpress-workbench-left-panel,
1175
- .openpress-workbench-right-panel {
1176
- min-width: 0;
1177
- min-height: 0;
1178
- height: auto;
1179
- max-height: none;
1180
- margin: 0;
1181
- align-self: stretch;
1182
- background: #171717;
1183
- }
1184
-
1185
- .openpress-public-viewer.openpress-workbench-shell .openpress-workbench-left-panel {
1186
- grid-area: left;
1187
- display: grid;
1188
- grid-template-rows: auto minmax(0, 1fr) auto;
1189
- height: auto;
1190
- max-height: none;
1191
- align-self: stretch;
1192
- border-right: 1px solid rgb(255 255 255 / 8%);
1193
- }
1194
-
1195
- .openpress-public-viewer.openpress-workbench-shell .openpress-workbench-right-panel {
1196
- position: relative;
1197
- grid-area: right;
1198
- display: grid;
1199
- grid-template-rows: minmax(0, 1fr);
1200
- height: auto;
1201
- max-height: none;
1202
- align-self: stretch;
1203
- border-left: 1px solid rgb(255 255 255 / 8%);
1204
- overflow: hidden;
1205
- }
1206
-
1207
- .openpress-workbench-right-panel .openpress-public-drawer-close {
1208
- position: absolute;
1209
- top: 12px;
1210
- right: 12px;
1211
- z-index: 3;
1212
- display: none;
1213
- }
1214
-
1215
- .openpress-reader-app.is-closed-right .openpress-workbench-right-panel {
1216
- pointer-events: none;
1217
- }
1218
-
1219
- .openpress-reader-app.is-closed-right .openpress-workbench-right-panel > * {
1220
- opacity: 0;
1221
- }
1222
-
1223
- .openpress-reader-app.is-closed-left .openpress-workbench-left-panel {
1224
- pointer-events: none;
1225
- }
1226
-
1227
- .openpress-reader-app.is-closed-left .openpress-workbench-left-panel > * {
1228
- opacity: 0;
1229
- }
1230
-
1231
- .openpress-reader-app .reader-stage {
1232
- position: relative;
1233
- width: 100%;
1234
- height: 100%;
1235
- min-height: 0;
1236
- overflow: auto;
1237
- overscroll-behavior: auto;
1238
- background: transparent;
1239
- scrollbar-width: none;
1240
- scroll-behavior: smooth;
1241
- }
1242
-
1243
- /* Page Scale Model keeps document pages fixed-size, so page-by-page snap is the default. */
1244
- .openpress-reader-app[data-openpress-view-mode="paged"] .reader-stage,
1245
- .openpress-reader-app:not([data-openpress-view-mode]) .reader-stage {
1246
- scroll-snap-type: y mandatory;
1247
- }
1248
-
1249
- .openpress-reader-app .reader-stage::-webkit-scrollbar,
1250
- .openpress-workspace-panel::-webkit-scrollbar,
1251
- .openpress-reader-app .reader-bookmarks::-webkit-scrollbar {
1252
- width: 0;
1253
- height: 0;
1254
- display: none;
1255
- }