Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
 
 

148 lignes
2.3 KiB

  1. @media screen {
  2. .print-format-gutter {
  3. background-color: #ddd;
  4. padding: 15px 0px;
  5. }
  6. .print-format {
  7. background-color: white;
  8. box-shadow: 0px 0px 9px rgba(0,0,0,0.5);
  9. max-width: 8.3in;
  10. min-height: 11.69in;
  11. padding: 0.75in;
  12. margin: auto;
  13. }
  14. .page-break {
  15. padding: 30px 0px;
  16. border-bottom: 1px dashed #888;
  17. }
  18. .page-break:first-child {
  19. padding-top: 0px;
  20. }
  21. .page-break:last-child {
  22. border-bottom: 0px;
  23. }
  24. /* mozilla hack for images in table */
  25. body:last-child .print-format td img {
  26. width: 100% !important;
  27. }
  28. @media(max-width: 767px) {
  29. .print-format {
  30. padding: 0.2in;
  31. }
  32. }
  33. }
  34. @media print {
  35. .print-format p {
  36. margin-left: 1px;
  37. margin-right: 1px;
  38. }
  39. }
  40. .data-field {
  41. margin-top: 5px;
  42. margin-bottom: 5px;
  43. }
  44. .important .value {
  45. font-size: 120%;
  46. font-weight: bold;
  47. }
  48. .important label {
  49. line-height: 1.8;
  50. margin: 0px;
  51. }
  52. .table {
  53. margin: 20px 0px;
  54. }
  55. .square-image {
  56. width: 100%;
  57. height: 0;
  58. padding: 50% 0;
  59. background-size: contain;
  60. /*background-size: cover;*/
  61. background-repeat: no-repeat !important;
  62. background-position: center center;
  63. border-radius: 4px;
  64. }
  65. .print-item-image {
  66. object-fit: contain;
  67. }
  68. .pdf-variables,
  69. .pdf-variable,
  70. .visible-pdf {
  71. display: none !important;
  72. }
  73. .print-format {
  74. font-size: {{ print_settings.font_size|flt or 9 }}pt;
  75. font-family: {{ font }};
  76. -webkit-print-color-adjust:exact;
  77. }
  78. .page-break {
  79. page-break-after: always;
  80. }
  81. .print-heading {
  82. border-bottom: 1px solid #aaa;
  83. margin-bottom: 10px;
  84. }
  85. .print-heading h2 {
  86. margin: 0px;
  87. }
  88. .print-heading h4 {
  89. margin-top: 5px;
  90. }
  91. table.no-border, table.no-border td {
  92. border: 0px;
  93. }
  94. .print-format label {
  95. /* wkhtmltopdf breaks label into multiple lines when it is inline-block */
  96. display: block;
  97. }
  98. .print-format img {
  99. max-width: 100%;
  100. }
  101. .print-format table td > .primary:first-child {
  102. font-weight: bold;
  103. }
  104. .print-format td, .print-format th {
  105. vertical-align: top !important;
  106. padding: 6px !important;
  107. }
  108. .print-format p {
  109. margin: 3px 0px 3px;
  110. }
  111. table td div {
  112. /* needed to avoid partial cutting of text between page break in wkhtmltopdf */
  113. page-break-inside: avoid !important;
  114. }
  115. /* hack for webkit specific browser */
  116. @media (-webkit-min-device-pixel-ratio:0) {
  117. thead, tfoot { display: table-row-group; }
  118. }
  119. [document-status] {
  120. margin-bottom: 5mm;
  121. }