print-lock.css 6.8 KB

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