body { -webkit-print-color-adjust: exact !important; } @page { size: landscape !important; } #box-face-receipt { padding: 20px; .receipt-body { border: 1px solid rgba(#000, 1); padding: 15px; .infoRow { margin-bottom: 15px; } .topLeft { display: flex; align-items: center; justify-content: center; text-align: center; background: rgba(0, 0, 0, 0.05); padding: 10px; flex-basis: 300px; &:first-child { margin-bottom: 5px; } } h2 { margin-bottom: 20px; } b, span { display: inline-block; } b { margin-left: 5px; } .receiverInfo { .topLeft { background: transparent; justify-content: flex-end; align-items: flex-start; svg { width: 200px; path, rect { fill: #000; } } } } } } #box-inner-receipt { padding: 20px; .receipt-body { border: 1px solid rgba(#000, 1); padding: 15px; .topBar { margin-bottom: 30px; svg { width: 200px; path, rect { fill: #000; } } } .topLeft { display: flex; align-items: center; justify-content: center; text-align: center; background: rgba(0, 0, 0, 0.05); padding: 10px; flex-basis: 300px; &:first-child { margin-left: 5px; } } .stuff-list { margin-bottom: 30px !important; @media print { .notice { display: none; } } table { width: 100% !important; thead { tr { background: rgba(0, 0, 0, 0.7) !important; color: #fff !important; } } tr { background-color: #E0E6ED !important; &.odd { background-color: #8A92A9 !important; } td, th { padding: 10px !important; text-align: center !important; } } } } } } #factor-layout { border: 1px dashed #000; padding: 10px; margin-bottom: 30px; span, p { font-family: 'iranYekanR', sans-serif; color: #000; } .pageHeader { margin-bottom: 10px; .row1 { h2 { text-align: center; font-family: 'iranYekanB'; font-weight: bold; } } .row2 { display: flex; flex-direction: column; align-items: flex-end; p { width: 200px; text-align: right; } } } .factor { width: 100%; border: 1px solid #000; .factorInfo { display: flex; flex-direction: column; padding: 10px; p { text-align: right; padding: 10px 0; color: #000; } .row1 { display: flex; flex-direction: row; justify-content: center; p { flex-basis: 33.33%; } } } table { width: 100%; thead { tr { th { background: rgba(#000, 0.1); text-align: center; border: 1px solid #000; padding: 5px; } } } tbody { tr { td, th { text-align: center; border: 1px solid #000; padding: 5px; } } } } } }