print-lock.css 6.0 KB

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