diff --git a/src/index.html b/src/index.html index 7917f82..967eee0 100644 --- a/src/index.html +++ b/src/index.html @@ -1439,9 +1439,12 @@ } - .modal { position: fixed; inset: 0; background: rgba(0,0,0,.6); display:none; z-index:1000; } + .modal { position: fixed; inset: 0; background: rgba(0,0,0,.6); display:none; align-items:center; justify-content:center; z-index:1000; } .modal.open { display:block; } .modalCard { width:min(900px,92vw); max-height:88vh; overflow:auto; margin:4vh auto; background:var(--panel); color:var(--ink); border:1px solid var(--line); border-radius:8px; padding:14px; } + .modalInner { width:92vw; max-height:88vh; overflow:auto; background:var(--panel); color:var(--ink); border:1px solid var(--line); border-radius:8px; padding:18px 20px; box-shadow:0 12px 36px rgba(0,0,0,.45); font-family:inherit; } + .modalInner h2 { font-family:inherit; } + .modalInner label, .modalInner p, .modalInner .hint { font-family:inherit; } .searchGrid{display:grid;grid-template-columns:1fr 140px 110px;gap:8px;align-items:end} .results{display:grid;gap:8px;margin-top:10px} .resultItem{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;border:1px solid var(--line);border-radius:8px;padding:8px;background:rgba(127,127,127,.07)} @@ -1585,7 +1588,7 @@ overflow: hidden !important; } - aside, .topbar, .printHelp, .nostrWidget { + aside, .topbar, .printHelp, .nostrWidget, .modal { display: none !important; } @@ -1670,6 +1673,29 @@ margin: 0 !important; } + /* "Export print" mode: isolate the sheet inside #exportPrintContainer + so it renders at exact artwork dimensions with no surrounding chrome */ + html:has(body.export-print), + body.export-print { + margin: 0 !important; + padding: 0 !important; + width: auto !important; + height: auto !important; + overflow: visible !important; + } + body.export-print > *:not(#exportPrintContainer) { + display: none !important; + } + #exportPrintContainer { + position: absolute !important; + top: 0 !important; + left: 0 !important; + margin: 0 !important; + padding: 0 !important; + overflow: hidden !important; + background: #ffffff !important; + } + .slot, .discSlot, .jewelSlot { border-color: transparent !important; } @@ -2543,6 +2569,31 @@ +
+