print.pcss.css 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. @media print {
  2. * {
  3. color: #000 !important; /* Black prints faster: h5bp.com/s */
  4. background-color: transparent !important;
  5. box-shadow: none !important;
  6. text-shadow: none !important;
  7. }
  8. body {
  9. padding-top: 0;
  10. }
  11. pre,
  12. blockquote {
  13. border: 1px solid #999;
  14. page-break-inside: avoid;
  15. }
  16. thead {
  17. display: table-header-group; /* h5bp.com/t */
  18. }
  19. tr,
  20. img {
  21. page-break-inside: avoid;
  22. }
  23. img {
  24. max-width: 100% !important;
  25. }
  26. p,
  27. h2,
  28. h3 {
  29. orphans: 3;
  30. widows: 3;
  31. }
  32. h2,
  33. h3 {
  34. page-break-after: avoid;
  35. }
  36. a,
  37. .link {
  38. color: #000;
  39. }
  40. .button,
  41. .button--primary {
  42. background: none !important;
  43. }
  44. .messages {
  45. border-width: 1px;
  46. border-color: #999;
  47. }
  48. .is-collapse-enabled .tabs {
  49. max-height: 999em;
  50. }
  51. .is-horizontal .tabs__tab {
  52. margin: 0 4px !important;
  53. border-radius: 4px 4px 0 0 !important;
  54. }
  55. .dropbutton-multiple .dropbutton .secondary-action {
  56. display: block;
  57. }
  58. .js .dropbutton-widget,
  59. .js td .dropbutton-widget /* Splitbuttons */ {
  60. position: relative;
  61. }
  62. .js .dropbutton .dropbutton-toggle {
  63. display: none;
  64. }
  65. .js .dropbutton-multiple .dropbutton-widget {
  66. border-radius: 4px;
  67. background: none;
  68. }
  69. input.form-autocomplete,
  70. input.form-text,
  71. input.form-tel,
  72. input.form-email,
  73. input.form-url,
  74. input.form-search,
  75. input.form-number,
  76. input.form-color,
  77. input.form-file,
  78. textarea.form-textarea,
  79. select.form-select {
  80. border-width: 1px;
  81. }
  82. }