print-lock.css 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346
  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: 0;
  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: keep-all;
  95. /* word-break: break-all; */
  96. }
  97. .design .hiprint-printElement-text-content {
  98. border: 1px dashed rgb(206, 188, 188);
  99. box-sizing: border-box;
  100. }
  101. .hiprint-printElement-longText {
  102. background-color: transparent;
  103. background-repeat: repeat;
  104. border: 0.75pt none rgb(0, 0, 0);
  105. direction: ltr;
  106. font-family: "SimSun";
  107. font-size: 9pt;
  108. font-style: normal;
  109. font-weight: normal;
  110. padding-bottom: 0pt;
  111. padding-left: 0pt;
  112. padding-right: 0pt;
  113. padding-top: 0pt;
  114. text-align: left;
  115. text-decoration: none;
  116. line-height: 9.75pt;
  117. box-sizing: border-box;
  118. word-wrap: break-word;
  119. /* word-break: break-all; */
  120. word-break: keep-all;
  121. /*white-space: pre-wrap*/
  122. }
  123. .hiprint-printElement-table {
  124. background-color: transparent;
  125. background-repeat: repeat;
  126. color: rgb(0, 0, 0);
  127. border-color: rgb(0, 0, 0);
  128. border-style: none;
  129. direction: ltr;
  130. font-family: "SimSun";
  131. font-size: 9pt;
  132. font-style: normal;
  133. font-weight: normal;
  134. padding-bottom: 0pt;
  135. padding-left: 0pt;
  136. padding-right: 0pt;
  137. padding-top: 0pt;
  138. text-align: left;
  139. text-decoration: none;
  140. padding: 0 0 0 0;
  141. box-sizing: border-box;
  142. line-height: 9.75pt;
  143. }
  144. .hiprint-printElement-table thead {
  145. background: #e8e8e8;
  146. font-weight: 700;
  147. }
  148. table.hiprint-printElement-tableTarget {
  149. width: 100%;
  150. }
  151. .hiprint-printElement-tableTarget,
  152. .hiprint-printElement-tableTarget tr,
  153. .hiprint-printElement-tableTarget td {
  154. border-color: rgb(0, 0, 0);
  155. /* border-style: none; */
  156. /*border: 1px solid rgb(0,0,0);*/
  157. font-weight: normal;
  158. direction: ltr;
  159. padding-bottom: 0pt;
  160. padding-left: 4pt;
  161. padding-right: 4pt;
  162. padding-top: 0pt;
  163. text-decoration: none;
  164. vertical-align: middle;
  165. box-sizing: border-box;
  166. word-wrap: break-word;
  167. word-break: break-all;
  168. /*line-height: 9.75pt;
  169. font-size: 9pt;*/
  170. }
  171. .hiprint-printElement-tableTarget-border-all {
  172. border: 1px solid;
  173. }
  174. .hiprint-printElement-tableTarget-border-none {
  175. border: 0px solid;
  176. }
  177. .hiprint-printElement-tableTarget-border-lr {
  178. border-left: 1px solid;
  179. border-right: 1px solid;
  180. }
  181. .hiprint-printElement-tableTarget-border-left {
  182. border-left: 1px solid;
  183. }
  184. .hiprint-printElement-tableTarget-border-right {
  185. border-right: 1px solid;
  186. }
  187. .hiprint-printElement-tableTarget-border-tb {
  188. border-top: 1px solid;
  189. border-bottom: 1px solid;
  190. }
  191. .hiprint-printElement-tableTarget-border-top {
  192. border-top: 1px solid;
  193. }
  194. .hiprint-printElement-tableTarget-border-bottom {
  195. border-bottom: 1px solid;
  196. }
  197. .hiprint-printElement-tableTarget-border-td-none td {
  198. border: 0px solid;
  199. }
  200. .hiprint-printElement-tableTarget-border-td-all td:not(:nth-last-child(-n + 2)) {
  201. border-right: 1px solid;
  202. }
  203. .hiprint-printElement-tableTarget-border-td-all td:not(last-child) {
  204. border-right: 1px solid;
  205. }
  206. .hiprint-printElement-tableTarget-border-td-all td:last-child {
  207. border-left: 1px solid;
  208. }
  209. .hiprint-printElement-tableTarget-border-td-all td:last-child:first-child {
  210. border-left: none;
  211. }
  212. /*.hiprint-printElement-tableTarget tr,*/
  213. .hiprint-printElement-tableTarget td {
  214. height: 18pt;
  215. }
  216. .hiprint-printPaper .hiprint-paperNumber {
  217. font-size: 9pt;
  218. }
  219. .hiprint-printPaper .hiprint-paperNumber-disabled {
  220. float: right !important;
  221. right: 0 !important;
  222. color: gainsboro !important;
  223. }
  224. .hiprint-printElement-vline,
  225. .hiprint-printElement-hline {
  226. border: 0px none rgb(0, 0, 0);
  227. }
  228. .hiprint-printElement-vline {
  229. border-left: 0.75pt solid #000;
  230. border-right: 0px none rgb(0, 0, 0) !important;
  231. border-bottom: 0px none rgb(0, 0, 0) !important;
  232. border-top: 0px none rgb(0, 0, 0) !important;
  233. }
  234. .hiprint-printElement-hline {
  235. border-top: 0.75pt solid #000;
  236. border-right: 0px none rgb(0, 0, 0) !important;
  237. border-bottom: 0px none rgb(0, 0, 0) !important;
  238. border-left: 0px none rgb(0, 0, 0) !important;
  239. }
  240. .hiprint-printElement-oval,
  241. .hiprint-printElement-rect {
  242. border: 0.75pt solid #000;
  243. }
  244. .hiprint-text-content-middle {
  245. }
  246. .hiprint-text-content-middle > div:first-child {
  247. display: grid;
  248. align-items: center;
  249. }
  250. .hiprint-text-content-bottom {
  251. }
  252. .hiprint-text-content-bottom > div:first-child {
  253. display: grid;
  254. align-items: flex-end;
  255. }
  256. .hiprint-text-content-wrap {
  257. }
  258. .hiprint-text-content-wrap .hiprint-text-content-wrap-nowrap {
  259. white-space: nowrap;
  260. }
  261. .hiprint-text-content-wrap .hiprint-text-content-wrap-clip {
  262. white-space: nowrap;
  263. overflow: hidden;
  264. text-overflow: clip;
  265. }
  266. .hiprint-text-content-wrap .hiprint-text-content-wrap-ellipsis {
  267. white-space: nowrap;
  268. overflow: hidden;
  269. text-overflow: ellipsis;
  270. }
  271. /*hi-grid-row */
  272. .hi-grid-row {
  273. position: relative;
  274. height: auto;
  275. margin-right: 0;
  276. margin-left: 0;
  277. zoom: 1;
  278. display: block;
  279. box-sizing: border-box;
  280. }
  281. .hi-grid-row::after,
  282. .hi-grid-row::before {
  283. display: table;
  284. content: "";
  285. box-sizing: border-box;
  286. }
  287. .hi-grid-col {
  288. display: block;
  289. box-sizing: border-box;
  290. position: relative;
  291. float: left;
  292. flex: 0 0 auto;
  293. }
  294. .table-grid-row {
  295. margin-left: -0pt;
  296. margin-right: -0pt;
  297. }
  298. .tableGridColumnsGutterRow {
  299. padding-left: 0pt;
  300. padding-right: 0pt;
  301. }
  302. .hiprint-gridColumnsFooter {
  303. text-align: left;
  304. clear: both;
  305. }