print-lock.css 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281
  1. @media print {
  2. body {
  3. margin: 0px;
  4. padding: 0px;
  5. }
  6. }
  7. @page {
  8. margin: 0;
  9. }
  10. .hiprint-printPaper * {
  11. box-sizing: border-box;
  12. -moz-box-sizing: border-box; /* Firefox */
  13. -webkit-box-sizing: border-box; /* Safari */
  14. }
  15. .hiprint-printPaper *:focus {
  16. outline: -webkit-focus-ring-color auto 0px;
  17. }
  18. .hiprint-page-break-avoid {
  19. page-break-after: avoid;
  20. }
  21. .hiprint-printPaper {
  22. position: relative;
  23. padding: 0 0 0 0;
  24. page-break-after: always;
  25. overflow-x: hidden;
  26. overflow: hidden;
  27. }
  28. .hiprint-printPaper .hiprint-printPaper-content {
  29. position: relative;
  30. }
  31. .hiprint-printPaper.design {
  32. overflow: visible;
  33. }
  34. .hiprint-printTemplate .hiprint-printPanel {
  35. page-break-after: always;
  36. }
  37. .hiprint-printPaper, hiprint-printPanel {
  38. box-sizing: border-box;
  39. border: 0px;
  40. }
  41. .hiprint-printPanel .hiprint-printPaper:last-child {
  42. page-break-after: avoid;
  43. }
  44. .hiprint-printTemplate .hiprint-printPanel:last-child {
  45. page-break-after: avoid;
  46. }
  47. .hiprint-printPaper .hideheaderLinetarget {
  48. border-top: 0px dashed rgb(201, 190, 190) !important;
  49. }
  50. .hiprint-printPaper .hidefooterLinetarget {
  51. border-top: 0px dashed rgb(201, 190, 190) !important;
  52. }
  53. .hiprint-printPaper.design {
  54. border: 1px dashed rgba(170,170,170,0.7);
  55. }
  56. .design .hiprint-printElement-table-content, .design .hiprint-printElement-longText-content {
  57. overflow: hidden;
  58. box-sizing: border-box;
  59. }
  60. .design .resize-panel {
  61. box-sizing: border-box;
  62. border: 1px dotted;
  63. }
  64. .hiprint-printElement-text {
  65. background-color: transparent;
  66. background-repeat: repeat;
  67. padding: 0 0 0 0;
  68. border: 0.75pt none rgb(0,0,0);
  69. direction: ltr;
  70. font-family: 'SimSun';
  71. font-size: 9pt;
  72. font-style: normal;
  73. font-weight: normal;
  74. padding-bottom: 0pt;
  75. padding-left: 0pt;
  76. padding-right: 0pt;
  77. padding-top: 0pt;
  78. text-align: left;
  79. text-decoration: none;
  80. line-height: 9.75pt;
  81. box-sizing: border-box;
  82. word-wrap: break-word;
  83. /* word-break: break-all; */
  84. word-break: keep-all;
  85. }
  86. .design .hiprint-printElement-text-content {
  87. border: 1px dashed rgb(206, 188, 188);
  88. box-sizing: border-box;
  89. }
  90. .hiprint-printElement-longText {
  91. background-color: transparent;
  92. background-repeat: repeat;
  93. border: 0.75pt none rgb(0,0,0);
  94. direction: ltr;
  95. font-family: 'SimSun';
  96. font-size: 9pt;
  97. font-style: normal;
  98. font-weight: normal;
  99. padding-bottom: 0pt;
  100. padding-left: 0pt;
  101. padding-right: 0pt;
  102. padding-top: 0pt;
  103. text-align: left;
  104. text-decoration: none;
  105. line-height: 9.75pt;
  106. box-sizing: border-box;
  107. word-wrap: break-word;
  108. /* word-break: break-all; */
  109. /*white-space: pre-wrap*/
  110. word-break: keep-all;
  111. }
  112. .hiprint-printElement-table {
  113. background-color: transparent;
  114. background-repeat: repeat;
  115. color: rgb(0,0,0);
  116. border-color: rgb(0,0,0);
  117. border-style: none;
  118. direction: ltr;
  119. font-family: 'SimSun';
  120. font-size: 9pt;
  121. font-style: normal;
  122. font-weight: normal;
  123. padding-bottom: 0pt;
  124. padding-left: 0pt;
  125. padding-right: 0pt;
  126. padding-top: 0pt;
  127. text-align: left;
  128. text-decoration: none;
  129. padding: 0 0 0 0;
  130. box-sizing: border-box;
  131. line-height: 9.75pt;
  132. }
  133. .hiprint-printElement-table thead {
  134. background: #e8e8e8;
  135. font-weight: 700;
  136. }
  137. .hiprint-printElement-tableTarget, .hiprint-printElement-tableTarget tr, .hiprint-printElement-tableTarget td {
  138. border-color: rgb(0,0,0);
  139. border-style: none;
  140. border: 1px solid rgb(0,0,0);
  141. font-weight: normal;
  142. direction: ltr;
  143. padding-bottom: 0pt;
  144. padding-left: 0pt;
  145. padding-right: 0pt;
  146. padding-top: 0pt;
  147. text-decoration: none;
  148. vertical-align: middle;
  149. box-sizing: border-box;
  150. word-wrap: break-word;
  151. word-break: break-all;
  152. /*line-height: 9.75pt;
  153. font-size: 9pt;*/
  154. }
  155. /*.hiprint-printElement-tableTarget tr,*/
  156. .hiprint-printElement-tableTarget td {
  157. height: 18pt;
  158. }
  159. .hiprint-printPaper .hiprint-paperNumber {
  160. font-size: 9pt;
  161. }
  162. .design .hiprint-printElement-table-handle {
  163. position: absolute;
  164. height: 21pt;
  165. width: 21pt;
  166. background: red;
  167. z-index:1;
  168. }
  169. .hiprint-printPaper .hiprint-paperNumber-disabled {
  170. float: right !important;
  171. right: 0 !important;
  172. color: gainsboro !important;
  173. }
  174. .hiprint-printElement-vline, .hiprint-printElement-hline {
  175. border: 0px none rgb(0,0,0);
  176. }
  177. .hiprint-printElement-vline {
  178. border-left: 0.75pt solid #000;
  179. border-right: 0px none rgb(0,0,0) !important;
  180. border-bottom: 0px none rgb(0,0,0) !important;
  181. border-top: 0px none rgb(0,0,0) !important;
  182. }
  183. .hiprint-printElement-hline {
  184. border-top: 0.75pt solid #000;
  185. border-right: 0px none rgb(0,0,0) !important;
  186. border-bottom: 0px none rgb(0,0,0) !important;
  187. border-left: 0px none rgb(0,0,0) !important;
  188. }
  189. .hiprint-printElement-oval, .hiprint-printElement-rect {
  190. border: 0.75pt solid #000;
  191. }
  192. .hiprint-text-content-middle {
  193. display:table;
  194. }
  195. .hiprint-text-content-middle>div {
  196. display: table-cell;
  197. vertical-align:middle
  198. }
  199. .hiprint-text-content-bottom {
  200. display: table;
  201. }
  202. .hiprint-text-content-bottom > div {
  203. display: table-cell;
  204. vertical-align: bottom
  205. }
  206. /*hi-grid-row */
  207. .hi-grid-row {
  208. position: relative;
  209. height: auto;
  210. margin-right: 0;
  211. margin-left: 0;
  212. zoom: 1;
  213. display: block;
  214. box-sizing: border-box;
  215. }
  216. .hi-grid-row::after, .hi-grid-row::before {
  217. display: table;
  218. content: '';
  219. box-sizing: border-box;
  220. }
  221. .hi-grid-col {
  222. display: block;
  223. box-sizing: border-box;
  224. position: relative;
  225. float: left;
  226. flex: 0 0 auto;
  227. }
  228. .table-grid-row {
  229. margin-left: -0pt;
  230. margin-right: -0pt;
  231. }
  232. .tableGridColumnsGutterRow {
  233. padding-left: 0pt;
  234. padding-right: 0pt;
  235. }
  236. .hiprint-gridColumnsFooter {
  237. text-align: left;
  238. clear: both;
  239. }