print.css 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387
  1. @page { margin: 0 }
  2. body { margin: 0 }
  3. .sheet {
  4. margin: 0;
  5. overflow: hidden;
  6. position: relative;
  7. box-sizing: border-box;
  8. page-break-after: always;
  9. align-items: flex-start;
  10. justify-content: flex-start;
  11. }
  12. /** Paper sizes **/
  13. body.A3 .sheet { width: 297mm; height: 419mm }
  14. body.A3.landscape .sheet { width: 420mm; height: 296mm }
  15. body.A4 .sheet { width: 210mm; height: 296mm }
  16. body.A4.landscape .sheet { width: 297mm; height: 209mm }
  17. body.A5 .sheet { width: 148mm; height: 209mm }
  18. body.A5.landscape .sheet { width: 210mm; height: 147mm }
  19. /** Padding area **/
  20. .sheet.padding-10mm { padding: 10mm }
  21. .sheet.padding-15mm { padding: 15mm }
  22. .sheet.padding-20mm { padding: 20mm }
  23. .sheet.padding-25mm { padding: 25mm }
  24. /** For screen preview **/
  25. @media screen {
  26. body { background: #e0e0e0 }
  27. .sheet {
  28. background: white;
  29. box-shadow: 0 .5mm 2mm rgba(0,0,0,.3);
  30. margin: 5mm;
  31. padding-bottom: 5mm;
  32. }
  33. }
  34. .panelTop{
  35. position: absolute;
  36. width:100%;
  37. height:118px;
  38. justify-content: space-between;
  39. align-items: flex-start;
  40. padding-top: 45px;
  41. }
  42. .left{
  43. margin-left: 30px;
  44. align-items: flex-start;
  45. justify-content: flex-start;
  46. }
  47. .right{
  48. margin-right: 25px;
  49. justify-content: flex-end;
  50. }
  51. .panelTopTitle{
  52. font-size:32px;
  53. }
  54. .panelTopRight{
  55. align-items: flex-end;
  56. height:80px;
  57. justify-content: space-between;
  58. margin-right: 15px;
  59. }
  60. .panelTopRight2{
  61. align-items: flex-end;
  62. }
  63. .panelTopTitle2{
  64. font-size:12px;
  65. margin-top: 5px;
  66. }
  67. .panelTopTitle3{
  68. font-size:12px;
  69. }
  70. .imgQRCode{
  71. width:110px;
  72. height:110px;
  73. }
  74. .panelMain{
  75. width:97%;
  76. margin: 130px 0 0 0;
  77. height:254mm;
  78. justify-content: flex-start;
  79. align-items: flex-start;
  80. flex-wrap: wrap;
  81. align-self: center;
  82. visibility:hidden;
  83. }
  84. .main{
  85. width:44%;
  86. justify-content: flex-start;
  87. margin-left: 20px;
  88. }
  89. .line{
  90. width:1px;
  91. height:100%;
  92. background-color: #ddd;
  93. }
  94. .footer{
  95. position: absolute;
  96. bottom: 0;
  97. width: 100%;
  98. z-index: 10;
  99. /*justify-content: flex-end;*/
  100. }
  101. .pageNumber{
  102. font-size:10px;
  103. color:#999;
  104. margin-bottom: 4px;
  105. /*margin-right: 20px;*/
  106. }
  107. /* 段落显示************************ */
  108. .editFieldNull{
  109. height:25px;
  110. }
  111. .editFieldNull2{
  112. height:30px;
  113. }
  114. .panelItem {
  115. font-weight: 400;
  116. flex-wrap: wrap;
  117. justify-content: flex-start;
  118. z-index: 5;
  119. }
  120. .panelField1 {
  121. width: 100%;
  122. justify-content: flex-start;
  123. align-items: flex-start;
  124. font-size: 18px;
  125. }
  126. .panelField11 {
  127. justify-content: flex-start;
  128. }
  129. .panelTag {
  130. width: 100%;
  131. min-height: 46px;
  132. align-items: flex-start;
  133. justify-content: flex-start;
  134. margin-top: 15px;
  135. z-index: 5;
  136. }
  137. .panelTag .panelTagLine {
  138. margin: 0 0 0 25px;
  139. max-width: 325px;
  140. height: 5px;
  141. }
  142. .panelTag .panelTag1 {
  143. width: auto;
  144. flex-wrap: wrap;
  145. align-items: flex-start;
  146. justify-content: flex-start;
  147. border-bottom: 3px solid #aaa;
  148. }
  149. .panelTag .tag {
  150. font-size: 16px;
  151. margin: 0 7px 10px 7px;
  152. font-weight: 400;
  153. }
  154. .right2 {
  155. position: absolute;
  156. top: 0;
  157. right: 0;
  158. width: 67px;
  159. height: 75px;
  160. align-items: flex-start;
  161. }
  162. .universalpic_show_white_30x30 {
  163. width: 18px;
  164. height: 18px;
  165. margin: 34px 25px 0 25px;
  166. }
  167. .universalpic_hide_white_34x34 {
  168. width: 18px;
  169. height: 10px;
  170. margin: 34px 25px 0 25px;
  171. }
  172. .panelField20{
  173. width: 100%;
  174. justify-content: center;
  175. }
  176. .panelField2 {
  177. width: 100%;
  178. justify-content: flex-start;
  179. align-items: flex-start;
  180. font-size: 10px;
  181. margin-top: 10px;
  182. }
  183. .panelField3 {
  184. margin-top: 15px;
  185. }
  186. .panelItem .panelSound {
  187. width: 20px;
  188. height: 20px;
  189. margin: 0 5px 0 0;
  190. background-color: #eee;
  191. border-radius: 50%;
  192. }
  193. .panelItem .panelSoundHover {
  194. background-color: #d2d2d2;
  195. }
  196. .panelItem .panelSoundHover1 {
  197. color: #d2d2d2;
  198. }
  199. .panelItem .universalpic_starting_tc01_26x26{
  200. width: 13px;
  201. height: 13px;
  202. margin: 5px 10px 5px 0;
  203. }
  204. .panelItem .universalpic_read_mark_black_20x20 {
  205. width: 10px;
  206. height: 10px;
  207. }
  208. .panelItem .panelRecorder {
  209. width:100%;
  210. justify-content: flex-start;
  211. }
  212. .panelItem .panelRecorder0 {
  213. width: 84px;
  214. height: 35px;
  215. background-color: #fff;
  216. border-radius: 5px;
  217. }
  218. .panelItem .universalpic_voicerecorder_transmit_black_44x34{
  219. width: 22px;
  220. height: 17px;
  221. }
  222. .panelItem .textProblem{
  223. padding: 1px 10px;
  224. background-color: #ddd;
  225. border-radius: 11px;
  226. text-align: center;
  227. font-size:14px;
  228. line-height: 22px;
  229. font-weight: 500;
  230. margin: 0 0 15px 0;
  231. width: 65px;
  232. }
  233. .panelItem .textDot{
  234. font-size:18px;
  235. margin-right: 10px;
  236. }
  237. .textLine {
  238. text-decoration: underline;
  239. }
  240. .panelItem .textHighlighter {
  241. background-color: #ddd;
  242. }
  243. .panelItem .textNormal {
  244. min-height: 25px;
  245. }
  246. .panelItem .textNormal0 {
  247. margin-left: 5px;
  248. }
  249. .panelItem .textNormal2 {
  250. font-size: 18px;
  251. }
  252. .panelItem .textPinyin {
  253. text-decoration: underline;
  254. margin-right: 5px;
  255. }
  256. .panelItem .imageContainer {
  257. width: 325px;
  258. margin: 3px 0;
  259. border-radius: 10px;
  260. background-color: rgba(0,0,0,0.1);
  261. }
  262. .panelItem .imageContainer3 {
  263. width: 600px;
  264. margin: 3px 0;
  265. border-radius: 10px;
  266. background-color: rgba(0,0,0,0.1);
  267. }
  268. .panelItem .imageFree {
  269. width: 325px;
  270. border-radius: 3px;
  271. }
  272. .panelItem .imageFree3 {
  273. width: 600px;
  274. border-radius: 3px;
  275. }
  276. .panelItem .imageContainerSmall {
  277. width: 50px;
  278. margin: 3px 0;
  279. border-radius: 10px;
  280. background-color: rgba(0,0,0,0.1);
  281. }
  282. .panelItem .imageFreeSmall {
  283. width: 50px;
  284. border-radius: 5px;
  285. }
  286. .panelItem .imageContainer2 {
  287. width: 325px;
  288. border-radius: 5px;
  289. background-color: rgba(0,0,0,0.1);
  290. }
  291. .panelItem .imageFree2 {
  292. width: 325px;
  293. border-radius: 5px;
  294. }
  295. .panelItem .textBr {
  296. width: 100%;
  297. height: 12px;
  298. }
  299. .panelItem .textReturn {
  300. width: 100%;
  301. }
  302. .panelItem .textReturn2 {
  303. width: 100%;
  304. height: 15px;
  305. }
  306. .timg{
  307. margin: 130px 0 0 25px;
  308. position: fixed;
  309. top:130px;
  310. left:160px;
  311. z-index: 10;
  312. }
  313. /* ******************************** */
  314. .ShowAnswer4{
  315. visibility:hidden;
  316. }
  317. /** Fix for Chrome issue #273306 **/
  318. @media print {
  319. body.A3.landscape { width: 420mm }
  320. body.A3, body.A4.landscape { width: 297mm }
  321. body.A4, body.A5.landscape { width: 210mm }
  322. body.A5 { width: 148mm }
  323. .textProblem{
  324. background-color: #aaa !important;
  325. -webkit-print-color-adjust: exact;
  326. }
  327. .panelItem .textHighlighter {
  328. background-color: #ddd !important;
  329. -webkit-print-color-adjust: exact;
  330. }
  331. }