_print.scss 904 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. //
  2. // Misc: Print
  3. //
  4. @media print {
  5. //Add to elements that you do not want to show when printing
  6. .no-print {
  7. display: none !important;
  8. }
  9. //Elements that we want to hide when printing
  10. .main-sidebar,
  11. .main-header,
  12. .content-header {
  13. @extend .no-print;
  14. }
  15. //This is the only element that should appear, so let's remove the margins
  16. .content-wrapper,
  17. .main-footer {
  18. @include translate(0, 0);
  19. margin-left: 0 !important;
  20. min-height: 0 !important;
  21. }
  22. .layout-fixed .content-wrapper {
  23. padding-top: 0 !important;
  24. }
  25. //Invoice printing
  26. .invoice {
  27. border: 0;
  28. margin: 0;
  29. padding: 0;
  30. width: 100%;
  31. }
  32. .invoice-col {
  33. float: left;
  34. width: 33.3333333%;
  35. }
  36. //Make sure table content displays properly
  37. .table-responsive {
  38. overflow: auto;
  39. > .table tr th,
  40. > .table tr td {
  41. white-space: normal !important;
  42. }
  43. }
  44. }