feat: add local DICOM and canvas PDF previews

This commit is contained in:
SantaSpeen committed 2026-10-22 01:25:48 +03:00
1 parent b569f68300
commit dd29258828
18 files changed
+960 -6

No files matched your search

+57
View File
@@ -1,4 +1,61 @@
/* Lightweight workspace: system fonts, solid surfaces, no blur or filter layers. */
.document-viewer {
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
min-height: 320px;
color: var(--textSecondary);
background: var(--background);
overflow: hidden;
}
.document-tools {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
gap: 10px;
padding: 12px;
background: var(--surfacePrimary);
border-bottom: 1px solid var(--borderPrimary);
}
.document-tools label {
display: flex;
align-items: center;
gap: 6px;
font-size: 12px;
}
.document-tools input {
width: 82px;
padding: 6px;
background: var(--background);
color: var(--textSecondary);
border: 1px solid var(--borderPrimary);
border-radius: 6px;
}
.document-tools select {
width: auto;
margin: 0;
}
.document-stage {
flex: 1;
min-height: 0;
overflow: auto;
padding: 16px;
text-align: center;
}
.document-stage canvas {
max-width: 100%;
height: auto;
}
.document-error {
padding: 16px;
overflow-wrap: anywhere;
}
.public-document {
height: 75vh;
min-height: 420px;
}
#share.card.share-listing {
width: min(800px, calc(100vw - 32px));
}