// ============================================ // BILLIT - Print Styles // ============================================ @use 'variables' as *; @media print { // Hide non-printable elements .no-print, .header, .btn, button { display: none !important; visibility: hidden !important; } // Reset backgrounds body { background: white !important; color: black !important; font-size: 11pt; } // Page setup @page { margin: 1cm; size: A4; } // Page breaks .page-break { page-break-before: always; } .avoid-break { page-break-inside: avoid; } // Links a { color: black !important; text-decoration: none !important; } // Tables table { border-collapse: collapse; } th, td { border: 1px solid #000 !important; } // Invoice specific .invoice { max-width: 100%; padding: 0; margin: 0; } .invoice-header { border-bottom: 2px solid black; } .invoice-table { th { background: #e0e0e0 !important; color: black !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; } } .invoice-totals { .row-total { background: #e0e0e0 !important; color: black !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; } } // QR code footer .invoice-qr { position: fixed; bottom: 0; left: 0; right: 0; text-align: center; padding: 10px; border-top: 1px solid #ccc; } }