Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 

340 rader
6.8 KiB

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