Commit Graph
9 Commits
Author SHA1 Message Date
Local Build e44a72f559 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
2026-08-13 21:20:27 +02:00
Local Build 632e54ce4e fix: compute --on-accent in inline head script for all pages
--on-accent was only set by deferred theme-core.js module, causing
all fab--primary and btn--primary elements to have wrong text/icon
color on first paint. Now computed from HSL values in the synchronous
theme-init-script partial, matching theme-core.js logic exactly.

Remove hardcoded fallback from fab--label CSS.
2026-08-13 20:46:50 +02:00
Local Build e02291fffd fix(resume): use fab fab--primary pattern with text label
- fab fab--primary fab--label (same base as contact FAB)
- fab-primary__ico--pdf with cv.svg mask
- fab__label for text
- fab__spinner for loading state
- fab--label overrides fixed width from fab--primary
2026-08-13 20:27:13 +02:00
Local Build d7e717e2e7 fix(resume): use design-system .btn component for PDF button
- Use btn btn--primary btn--flat btn--resume (existing pattern)
- btn__icon with cv.svg mask already defined in design system
- Remove all custom fab--primary overrides
- Keep only btn__spinner and loading state CSS
2026-08-13 20:23:03 +02:00
Local Build f173efd339 feat(resume): add label text to PDF download button
- Button now shows icon + 'Скачать в PDF' text
- Add fab--label modifier for auto-width with padding
- Add fab-primary__label for text styling
2026-08-13 20:18:17 +02:00
Local Build 1ab72e533a refactor(resume): use design-system fab--primary pattern for PDF button
- Use fab-primary__ico with mask-image (cv.svg) instead of inline SVG
- Follow same pattern as contact FAB
- Add fab-primary__spinner for loading state
- Remove custom fab--pdf styles
2026-08-13 20:14:43 +02:00
Local Build e39c07f544 fix(resume): remove glass-neutral from PDF FAB to fix background override 2026-08-13 20:13:02 +02:00
Local Build 1a1648c5e2 feat(resume): add PDF download FAB button with lazy-loaded html2pdf.js
- New partial fab-stack-resume.html with PDF download button
- Button shows spinner during PDF generation
- Photo converted to dataURL before rendering
- html2pdf.js loaded from CDN on first click only
- CSS for fab--pdf button and loading spinner
2026-08-13 19:54:30 +02:00
root 5f18505943 sync: full site from notebook (source of truth) + missing media 2026-07-24 20:20:51 +02:00