feat(pdf): add print FAB + fix color-mix via clean clone approach

- Added secondary FAB button 'Печать' with printer icon (window.print)
- Created printer.svg icon for the print button
- Added .fab-secondary__ico--print CSS class
- Fixed html2pdf color-mix() issue: buildCleanClone() creates a deep clone
  with all computed styles inlined, all stylesheets removed, and
  pseudo-elements converted to real DOM elements before passing to html2pdf
- Two separate handlers: pdfBtn for download, printBtn for print dialog
This commit is contained in:
Local Build committed 2026-08-13 21:20:27 +02:00
1 parent 319c23e69e
commit e44a72f559
5 files changed
+286 -94

No files matched your search

+6
View File
@@ -960,6 +960,12 @@ a.fab--secondary:visited {
-webkit-mask-image: url("../assets/shared/icons/cv.svg");
}
/* ── Print FAB ── */
.fab-secondary__ico--print {
mask-image: url("../assets/shared/icons/printer.svg");
-webkit-mask-image: url("../assets/shared/icons/printer.svg");
}
.fab--label {
width: auto;
padding: 0.65rem 1.1rem;