print-lock.css 5.7 KB

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