diff --git a/web-dashboard/index.html b/web-dashboard/index.html index c943625..988ba08 100644 --- a/web-dashboard/index.html +++ b/web-dashboard/index.html @@ -360,6 +360,41 @@ .contract-template-form .field-checkbox input { width: auto; } .signature-pad-wrap { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; } .signature-pad-canvas { border: 1px solid var(--border); border-radius: 8px; background: #fff; touch-action: none; cursor: crosshair; } + + /* --- Dokument-Vorschau (Modal) --- */ + .doc-preview-overlay { + position: fixed; + inset: 0; + background: rgba(0,0,0,0.5); + z-index: 200; + display: flex; + align-items: center; + justify-content: center; + padding: 24px; + } + .doc-preview-box { + background: var(--card-bg); + border-radius: 14px; + box-shadow: var(--shadow); + width: 100%; + max-width: 720px; + max-height: 90vh; + display: flex; + flex-direction: column; + overflow: hidden; + } + .doc-preview-header { + display: flex; + align-items: center; + justify-content: space-between; + padding: 14px 18px; + border-bottom: 1px solid var(--border); + gap: 12px; + } + .doc-preview-header strong { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } + .doc-preview-body { flex: 1; overflow: auto; background: var(--bg); display: flex; align-items: center; justify-content: center; min-height: 300px; } + .doc-preview-body img { max-width: 100%; display: block; } + .doc-preview-body iframe { width: 100%; height: 75vh; border: none; } #trashCalendarEl { font-size: 13px; } #trashCalendarEl .fc { font-family: inherit; } #trashCalendarEl .fc-toolbar-title { font-size: 16px; font-weight: 700; color: var(--text); } @@ -1032,6 +1067,20 @@ + + +