print-lock.css 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349
  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. table.hiprint-printElement-tableTarget {
  144. width: 100%;
  145. }
  146. .hiprint-printElement-tableTarget, .hiprint-printElement-tableTarget tr, .hiprint-printElement-tableTarget td {
  147. border-color: rgb(0, 0, 0);
  148. /*border-style: none;*/
  149. /*border: 1px solid rgb(0, 0, 0);*/
  150. font-weight: normal;
  151. direction: ltr;
  152. padding-bottom: 0pt;
  153. padding-left: 4pt;
  154. padding-right: 4pt;
  155. padding-top: 0pt;
  156. text-decoration: none;
  157. vertical-align: middle;
  158. box-sizing: border-box;
  159. word-wrap: break-word;
  160. word-break: break-all;
  161. /*line-height: 9.75pt;
  162. font-size: 9pt;*/
  163. }
  164. .hiprint-printElement-tableTarget-border-all {
  165. border: 1px solid;
  166. }
  167. .hiprint-printElement-tableTarget-border-none {
  168. border: 0px solid;
  169. }
  170. .hiprint-printElement-tableTarget-border-lr {
  171. border-left: 1px solid;
  172. border-right: 1px solid;
  173. }
  174. .hiprint-printElement-tableTarget-border-left {
  175. border-left: 1px solid;
  176. }
  177. .hiprint-printElement-tableTarget-border-right {
  178. border-right: 1px solid;
  179. }
  180. .hiprint-printElement-tableTarget-border-tb {
  181. border-top: 1px solid;
  182. border-bottom: 1px solid;
  183. }
  184. .hiprint-printElement-tableTarget-border-top {
  185. border-top: 1px solid;
  186. }
  187. .hiprint-printElement-tableTarget-border-bottom {
  188. border-bottom: 1px solid;
  189. }
  190. .hiprint-printElement-tableTarget-border-td-none td {
  191. border: 0px solid;
  192. }
  193. .hiprint-printElement-tableTarget-border-td-all td:not(:nth-last-child(-n+2)) {
  194. border-right: 1px solid;
  195. }
  196. .hiprint-printElement-tableTarget-border-td-all td:last-child {
  197. border-left: 1px solid;
  198. }
  199. .hiprint-printElement-tableTarget-border-td-all td:last-child:first-child {
  200. border-left: none;
  201. }
  202. /*.hiprint-printElement-tableTarget tr,*/
  203. .hiprint-printElement-tableTarget td {
  204. height: 18pt;
  205. }
  206. .hiprint-printPaper .hiprint-paperNumber {
  207. font-size: 9pt;
  208. }
  209. .design .hiprint-printElement-table-handle {
  210. position: absolute;
  211. height: 21pt;
  212. width: 21pt;
  213. background: red;
  214. z-index: 1;
  215. }
  216. .hiprint-printPaper .hiprint-paperNumber-disabled {
  217. float: right !important;
  218. right: 0 !important;
  219. color: gainsboro !important;
  220. }
  221. .hiprint-printElement-vline, .hiprint-printElement-hline {
  222. border: 0px none rgb(0, 0, 0);
  223. }
  224. .hiprint-printElement-vline {
  225. border-left: 0.75pt solid #000;
  226. border-right: 0px none rgb(0, 0, 0) !important;
  227. border-bottom: 0px none rgb(0, 0, 0) !important;
  228. border-top: 0px none rgb(0, 0, 0) !important;
  229. }
  230. .hiprint-printElement-hline {
  231. border-top: 0.75pt solid #000;
  232. border-right: 0px none rgb(0, 0, 0) !important;
  233. border-bottom: 0px none rgb(0, 0, 0) !important;
  234. border-left: 0px none rgb(0, 0, 0) !important;
  235. }
  236. .hiprint-printElement-oval, .hiprint-printElement-rect {
  237. border: 0.75pt solid #000;
  238. }
  239. .hiprint-text-content-middle {
  240. }
  241. .hiprint-text-content-middle > div {
  242. display: grid;
  243. align-items: center;
  244. }
  245. .hiprint-text-content-bottom {
  246. }
  247. .hiprint-text-content-bottom > div {
  248. display: grid;
  249. align-items: flex-end;
  250. }
  251. .hiprint-text-content-wrap {
  252. }
  253. .hiprint-text-content-wrap .hiprint-text-content-wrap-nowrap {
  254. white-space: nowrap;
  255. }
  256. .hiprint-text-content-wrap .hiprint-text-content-wrap-clip {
  257. white-space: nowrap;
  258. overflow: hidden;
  259. text-overflow: clip;
  260. }
  261. .hiprint-text-content-wrap .hiprint-text-content-wrap-ellipsis {
  262. white-space: nowrap;
  263. overflow: hidden;
  264. text-overflow: ellipsis;
  265. }
  266. /*hi-grid-row */
  267. .hi-grid-row {
  268. position: relative;
  269. height: auto;
  270. margin-right: 0;
  271. margin-left: 0;
  272. zoom: 1;
  273. display: block;
  274. box-sizing: border-box;
  275. }
  276. .hi-grid-row::after, .hi-grid-row::before {
  277. display: table;
  278. content: '';
  279. box-sizing: border-box;
  280. }
  281. .hi-grid-col {
  282. display: block;
  283. box-sizing: border-box;
  284. position: relative;
  285. float: left;
  286. flex: 0 0 auto;
  287. }
  288. .table-grid-row {
  289. margin-left: -0pt;
  290. margin-right: -0pt;
  291. }
  292. .tableGridColumnsGutterRow {
  293. padding-left: 0pt;
  294. padding-right: 0pt;
  295. }
  296. .hiprint-gridColumnsFooter {
  297. text-align: left;
  298. clear: both;
  299. }