Some checks are pending
E2E / Playwright e2e (push) Waiting to run
- Introduced `DocsPageSeparators` component to manage visual gaps between pages in the document editor. - Updated `DocsBodyMarginMasks` to include dark mode support for improved styling. - Refactored `DocsPageViewInner` to integrate new separators and margin masks, enhancing layout consistency. - Adjusted layout constants to increase the gap between stacked pages for better visual separation. - Improved test coverage for page flow calculations and layout metrics.
70 lines
2.3 KiB
CSS
70 lines
2.3 KiB
CSS
/* UltiDocs PDF capture styles (print uses a dedicated iframe) */
|
|
|
|
.docs-printing.docs-pdf-capture header,
|
|
.docs-printing.docs-pdf-capture .docs-toolbar-shell,
|
|
.docs-printing.docs-pdf-capture .docs-rulers-left-rail,
|
|
.docs-printing.docs-pdf-capture .docs-status-bar,
|
|
.docs-printing.docs-pdf-capture .docs-hf-chrome,
|
|
.docs-printing.docs-pdf-capture .docs-graphic-floating-toolbar,
|
|
.docs-printing.docs-pdf-capture .docs-table-floating-toolbar,
|
|
.docs-printing.docs-pdf-capture .docs-graphic-options-sidebar,
|
|
.docs-printing.docs-pdf-capture .docs-graphic-handle,
|
|
.docs-printing.docs-pdf-capture .docs-graphic-rotate-handle,
|
|
.docs-printing.docs-pdf-capture .docs-graphic-outline,
|
|
.docs-printing.docs-pdf-capture .docs-graphic-snap-guides,
|
|
.docs-printing.docs-pdf-capture .docs-ruler-margin-drag-tooltip,
|
|
.docs-printing.docs-pdf-capture .docs-editor-workspace > div > .absolute {
|
|
display: none !important;
|
|
}
|
|
|
|
.docs-printing.docs-pdf-capture .docs-editor-workspace,
|
|
.docs-printing.docs-pdf-capture .docs-editor-workspace > div,
|
|
.docs-printing.docs-pdf-capture .docs-editor-workspace .flex-row {
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
overflow: visible !important;
|
|
}
|
|
|
|
.docs-printing.docs-pdf-capture .ultidrive-docs-canvas {
|
|
overflow: visible !important;
|
|
background: white !important;
|
|
height: auto !important;
|
|
min-height: 0 !important;
|
|
}
|
|
|
|
.docs-printing.docs-pdf-capture .ultidrive-docs-canvas > div,
|
|
.docs-printing.docs-pdf-capture .ultidrive-docs-canvas > div > div {
|
|
height: auto !important;
|
|
min-height: 0 !important;
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
}
|
|
|
|
.docs-printing.docs-pdf-capture [data-docs-page-stack] {
|
|
position: relative !important;
|
|
left: 0 !important;
|
|
top: 0 !important;
|
|
transform: none !important;
|
|
transform-origin: top left !important;
|
|
margin: 0 !important;
|
|
}
|
|
|
|
.docs-printing.docs-pdf-capture .ultidrive-docs-page {
|
|
box-shadow: none !important;
|
|
border: none !important;
|
|
}
|
|
|
|
.docs-printing.docs-pdf-capture .docs-body-margin-mask {
|
|
border-color: transparent !important;
|
|
}
|
|
|
|
.docs-printing.docs-pdf-capture .docs-page-gap-band,
|
|
.docs-printing.docs-pdf-capture .docs-page-inter-margin-gutter,
|
|
.docs-printing.docs-pdf-capture .docs-page-rim {
|
|
display: none !important;
|
|
}
|
|
|
|
.docs-printing.docs-pdf-capture .ultidrive-docs-editor-surface--dimmed .ProseMirror {
|
|
opacity: 1 !important;
|
|
}
|