Erweiterungen
This commit is contained in:
@@ -52,6 +52,35 @@
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
/* Inspector (right side) */
|
||||
.pdf-inspector {
|
||||
width: 300px;
|
||||
min-width: 260px;
|
||||
border: 1px solid var(--lumo-contrast-20pct);
|
||||
border-radius: var(--lumo-border-radius-m);
|
||||
background: var(--lumo-base-color);
|
||||
box-shadow: var(--lumo-box-shadow-xs);
|
||||
padding: var(--lumo-space-m);
|
||||
max-height: calc(100vh - 220px);
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.pdf-inspector .inspector-title {
|
||||
font-weight: 600;
|
||||
margin-bottom: var(--lumo-space-s);
|
||||
}
|
||||
|
||||
.inspector-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--lumo-space-s);
|
||||
padding: var(--lumo-space-xs) 0;
|
||||
border-bottom: 1px dashed var(--lumo-contrast-10pct);
|
||||
}
|
||||
.inspector-item:last-child { border-bottom: none; }
|
||||
.inspector-item > span { min-width: 90px; font-size: var(--lumo-font-size-s); color: var(--lumo-secondary-text-color); }
|
||||
.pdf-inspector vaadin-number-field { width: 120px; }
|
||||
|
||||
.pdf-canvas {
|
||||
width: 60%;
|
||||
aspect-ratio: 210 / 297; /* A4 */
|
||||
@@ -128,6 +157,12 @@
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Export-only: make box backgrounds transparent */
|
||||
.pdf-canvas.capturing-export .canvas-frame,
|
||||
.pdf-canvas.capturing-export .text-editor {
|
||||
background: transparent !important;
|
||||
}
|
||||
|
||||
/* Image frames: no scrollbars */
|
||||
.image-frame {
|
||||
overflow: hidden; /* hide scrollbars */
|
||||
|
||||
Reference in New Issue
Block a user