card-temp.css 28 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399
  1. .card-preview {
  2. padding: 10px 0;
  3. background-color: #f0f0f0;
  4. color: #000;
  5. }
  6. .card-preview .page-box {
  7. margin: 10px auto;
  8. box-shadow: 0 0 4px #ddd;
  9. }
  10. .card-print {
  11. padding: 0;
  12. }
  13. .card-print .page-box {
  14. margin: 0 auto;
  15. box-shadow: none;
  16. page-break-after: always;
  17. }
  18. .card-print .elem-fill-question-first::before {
  19. display: none;
  20. }
  21. .card-print .elem-fill-question .option-item,
  22. .card-print .elem-fill-number .fill-number-option,
  23. .card-print .card-head-body .head-stdno .stdno-fill-option,
  24. .card-print .page-number-rect-list li,
  25. .card-print .card-head-body .head-dynamic-rect {
  26. border-width: 0.5pt;
  27. }
  28. .card-print .elem-fill-question .option-item {
  29. line-height: 9px;
  30. }
  31. .card-print .package-number {
  32. display: block !important;
  33. }
  34. .page-box {
  35. position: relative;
  36. background: #fff;
  37. margin: 0 auto;
  38. font-weight: normal;
  39. font-family: "Times New Roman", "宋体", "宋体-简", Arial, sans-serif;
  40. }
  41. .page-box .package-number {
  42. position: absolute;
  43. width: 200px;
  44. height: 40px;
  45. top: 10px;
  46. right: 25%;
  47. margin-left: -100px;
  48. text-align: center;
  49. z-index: 99;
  50. display: none;
  51. }
  52. .page-box .package-number img {
  53. display: block;
  54. height: 28px;
  55. width: 100%;
  56. border: none;
  57. }
  58. .page-box .package-number p {
  59. line-height: 1;
  60. font-size: 12px;
  61. margin: 0;
  62. }
  63. .page-box .page-main {
  64. height: 100%;
  65. position: relative;
  66. white-space: nowrap;
  67. margin: 0 -10px;
  68. font-size: 0;
  69. }
  70. .page-box .page-main-2 .page-column {
  71. width: 50%;
  72. }
  73. .page-box .page-main-3 .page-column {
  74. width: 33.33%;
  75. }
  76. .page-box .page-main-4 .page-column {
  77. width: 25%;
  78. }
  79. .page-box-A3 {
  80. width: 1586px;
  81. height: 1122px;
  82. }
  83. .page-box-A4 {
  84. width: 793px;
  85. height: 1122px;
  86. }
  87. .page-box-A4 .page-main-inner {
  88. padding: 60px 45px;
  89. }
  90. .page-box-8K {
  91. width: 1399px;
  92. height: 964px;
  93. }
  94. .page-box-less .page-number-rect {
  95. display: none;
  96. }
  97. .page-main-inner {
  98. position: absolute;
  99. width: 100%;
  100. height: 100%;
  101. top: 0;
  102. left: 0;
  103. padding: 60px 80px;
  104. z-index: 9;
  105. font-size: 0;
  106. }
  107. .page-main-outer {
  108. position: absolute;
  109. top: 0;
  110. left: 0;
  111. right: 0;
  112. bottom: 0;
  113. z-index: 7;
  114. background-color: transparent;
  115. overflow: hidden;
  116. }
  117. .page-column {
  118. display: inline-block;
  119. vertical-align: middle;
  120. position: relative;
  121. height: 100%;
  122. width: 100%;
  123. font-size: 14px;
  124. padding: 0 10px;
  125. }
  126. .page-column-forbid-area {
  127. position: absolute;
  128. top: 0;
  129. left: 0;
  130. bottom: 0;
  131. right: 0;
  132. z-index: 1;
  133. border: 1px solid #000;
  134. overflow: hidden;
  135. }
  136. .page-column-forbid-area > p {
  137. padding: 20px;
  138. position: absolute;
  139. width: 260px;
  140. height: 82px;
  141. top: 50%;
  142. left: 50%;
  143. margin-top: -41px;
  144. margin-left: -130px;
  145. z-index: 9;
  146. font-weight: bold;
  147. font-size: 30px;
  148. color: #333;
  149. background-color: #fff;
  150. text-align: center;
  151. }
  152. .page-column-main {
  153. position: relative;
  154. height: 100%;
  155. }
  156. .page-column-body {
  157. position: absolute;
  158. top: 0;
  159. bottom: 0;
  160. left: 0;
  161. right: 0;
  162. z-index: 9;
  163. }
  164. .page-column-element .element-item {
  165. position: relative;
  166. }
  167. .page-column-element .element-item-width {
  168. width: 100% !important;
  169. }
  170. .page-column-element .element-item::before {
  171. content: "";
  172. position: absolute;
  173. width: 100%;
  174. height: 100%;
  175. top: 0;
  176. left: 0;
  177. box-sizing: border-box;
  178. z-index: 2;
  179. border: 1px solid #000;
  180. border-top: 0;
  181. }
  182. .page-column-element .element-item > div {
  183. z-index: 9;
  184. position: relative;
  185. }
  186. .page-column-element .element-item-card-head::before {
  187. border: 0;
  188. }
  189. .page-column-element .element-item-topic-head::before {
  190. border: 0;
  191. }
  192. .page-column-element .element-item-fill-question::before,
  193. .page-column-element .element-item-fill-line::before {
  194. border-bottom: 0;
  195. }
  196. .page-column-element .element-item-explain::before {
  197. border-bottom-color: transparent;
  198. }
  199. .page-column-element .element-item-type-last::before {
  200. border-bottom: 1px solid #000;
  201. }
  202. .page-column-element:last-child .element-item::before {
  203. border-bottom: 1px solid #000;
  204. }
  205. .page-column-element:last-child
  206. .element-item-card-head.element-item-type-pre::before {
  207. border-bottom: none;
  208. }
  209. .page-locator {
  210. position: absolute;
  211. left: 80px;
  212. right: 80px;
  213. height: 16px;
  214. z-index: 8;
  215. }
  216. .page-locator-top {
  217. top: 30px;
  218. }
  219. .page-locator-bottom {
  220. bottom: 30px;
  221. }
  222. .page-locator-item {
  223. position: absolute;
  224. width: 24px;
  225. border-bottom: 16px solid #000;
  226. top: 0;
  227. }
  228. .page-locator-item:nth-of-type(1) {
  229. left: 0;
  230. }
  231. .page-locator-item:nth-of-type(2) {
  232. right: 96px;
  233. }
  234. .page-box-1 .page-locator-bottom .page-locator-item:nth-of-type(1) {
  235. right: 0;
  236. left: auto;
  237. }
  238. .page-box-1 .page-locator-item:nth-of-type(1) {
  239. left: 96px;
  240. }
  241. .page-box-1 .page-locator-item:nth-of-type(2) {
  242. right: 0;
  243. }
  244. .page-number {
  245. position: absolute;
  246. bottom: 30px;
  247. }
  248. .page-number-rect {
  249. left: 25%;
  250. transform: translateX(-50%);
  251. -webkit-transform: translateX(-50%);
  252. }
  253. .page-number-rect-list {
  254. font-size: 0;
  255. }
  256. .page-number-rect-list li {
  257. display: inline-block;
  258. vertical-align: top;
  259. font-size: 14px;
  260. width: 24px;
  261. height: 16px;
  262. border: 1px solid #000;
  263. margin-right: 10px;
  264. }
  265. .page-number-rect-list li.rect-li-act {
  266. background-color: #000;
  267. }
  268. .page-number-text {
  269. right: 25%;
  270. }
  271. .page-number-text-cont {
  272. height: 16px;
  273. line-height: 16px;
  274. }
  275. .page-box-A4 .page-number-rect {
  276. left: 50%;
  277. }
  278. .course-barcode {
  279. position: absolute;
  280. width: 200px;
  281. height: 40px;
  282. top: 10px;
  283. left: 50%;
  284. margin-left: -200px;
  285. text-align: center;
  286. }
  287. .course-barcode img {
  288. display: block;
  289. height: 28px;
  290. width: 100%;
  291. border: none;
  292. }
  293. .course-barcode img[src=""] {
  294. display: none;
  295. }
  296. .course-barcode p {
  297. line-height: 1;
  298. font-size: 12px;
  299. margin: 0;
  300. }
  301. .elem-title {
  302. padding: 10px;
  303. font-size: 14px;
  304. font-weight: bold;
  305. color: rgb(0, 0, 0);
  306. line-height: 1;
  307. white-space: normal;
  308. }
  309. .elem-body {
  310. padding: 10px;
  311. }
  312. .grid-container {
  313. margin-left: -10px;
  314. margin-right: -10px;
  315. }
  316. .grid-row {
  317. display: table;
  318. width: 100%;
  319. border-spacing: 10px 0;
  320. border-collapse: separate;
  321. }
  322. .grid-row:nth-of-type(2) {
  323. margin-top: 10px;
  324. }
  325. .grid-row .grid-col {
  326. display: table-cell;
  327. width: 50%;
  328. vertical-align: top;
  329. border: 1px solid #000;
  330. }
  331. .grid-row .grid-col-dash {
  332. border-style: dashed;
  333. vertical-align: middle;
  334. }
  335. .card-head-top {
  336. text-align: center;
  337. color: #000;
  338. }
  339. .card-head-title {
  340. font-size: 24px;
  341. font-weight: bold;
  342. overflow: hidden;
  343. }
  344. .card-head-title > h1 {
  345. line-height: 33px;
  346. white-space: nowrap;
  347. letter-spacing: -1px;
  348. }
  349. .card-head-subtitle {
  350. height: 44px;
  351. font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB",
  352. "Microsoft YaHei", Arial, sans-serif;
  353. font-size: 14px;
  354. overflow: hidden;
  355. white-space: normal;
  356. margin-bottom: 10px;
  357. }
  358. .card-head-subtitle p {
  359. padding: 0 10px;
  360. line-height: 22px;
  361. height: 22px;
  362. white-space: pre;
  363. }
  364. .card-head-body {
  365. font-weight: normal;
  366. }
  367. .card-head-body .el-col {
  368. padding-top: 5px;
  369. padding-bottom: 5px;
  370. }
  371. .card-head-body-spin {
  372. padding: 5px 12px;
  373. white-space: normal;
  374. word-break: break-all;
  375. }
  376. .card-head-body .stdinfo-item {
  377. height: 30px;
  378. line-height: 30px;
  379. position: relative;
  380. overflow: hidden;
  381. }
  382. .card-head-body .stdinfo-item::after {
  383. content: "";
  384. display: block;
  385. position: absolute;
  386. width: 100%;
  387. border-bottom: 1px solid #000;
  388. bottom: 6px;
  389. left: 0;
  390. z-index: 1;
  391. }
  392. .card-head-body .stdinfo-item > span {
  393. z-index: 2;
  394. display: block;
  395. position: relative;
  396. font-size: 14px;
  397. }
  398. .card-head-body .stdinfo-item > span:first-child {
  399. float: left;
  400. background-color: #fff;
  401. text-align: justify;
  402. font-size: 0px;
  403. }
  404. .card-head-body .stdinfo-item > span:first-child > i {
  405. font-size: 14px;
  406. }
  407. .card-head-body .stdinfo-item > span:first-child::after {
  408. content: "";
  409. display: inline-block;
  410. width: 100%;
  411. height: 0;
  412. line-height: 0;
  413. }
  414. .card-head-body .stdinfo-item > span:nth-of-type(2) {
  415. float: left;
  416. width: 20px;
  417. background-color: #fff;
  418. }
  419. .card-head-body .stdinfo-item > span:last-child {
  420. margin-left: 80px;
  421. height: 100%;
  422. }
  423. .card-head-body .head-stdno {
  424. height: 100%;
  425. padding: 0;
  426. }
  427. .card-head-body .head-stdno .stdno-empty {
  428. min-height: 130px;
  429. font-weight: bold;
  430. letter-spacing: 3px;
  431. text-align: center;
  432. position: relative;
  433. }
  434. .card-head-body .head-stdno .stdno-empty > p {
  435. position: absolute;
  436. left: 0;
  437. width: 100%;
  438. top: 50%;
  439. transform: translateY(-50%);
  440. -webkit-transform: translateY(-50%);
  441. }
  442. .card-head-body .head-stdno .stdno-fill {
  443. min-height: 240px;
  444. height: 100%;
  445. position: relative;
  446. }
  447. .card-head-body .head-stdno .stdno-fill-rect {
  448. font-size: 0;
  449. height: 27px;
  450. border-bottom: 1px solid #000;
  451. }
  452. .card-head-body .head-stdno .stdno-fill-number {
  453. display: inline-block;
  454. vertical-align: top;
  455. width: 7.692%;
  456. height: 100%;
  457. }
  458. .card-head-body .head-stdno .stdno-fill-number:not(:last-child) {
  459. border-right: 1px solid #000;
  460. }
  461. .card-head-body .head-stdno .stdno-fill-head {
  462. position: absolute;
  463. width: 100%;
  464. height: 51px;
  465. top: 0;
  466. left: 0;
  467. z-index: 9;
  468. }
  469. .card-head-body .head-stdno .stdno-fill-head > h5 {
  470. border-bottom: 1px solid #000;
  471. line-height: 24px;
  472. font-size: 14px;
  473. font-weight: bold;
  474. text-align: center;
  475. }
  476. .card-head-body .head-stdno .stdno-fill-body {
  477. position: absolute;
  478. top: 0;
  479. bottom: 0;
  480. padding-top: 51px;
  481. display: table;
  482. width: 100%;
  483. }
  484. .card-head-body .head-stdno .stdno-fill-list {
  485. display: table-cell;
  486. width: 7.692%;
  487. padding: 1px 0;
  488. }
  489. .card-head-body .head-stdno .stdno-fill-option {
  490. margin: 8px auto;
  491. width: 18px;
  492. height: 10px;
  493. font-size: 12px;
  494. line-height: 8px;
  495. text-align: center;
  496. color: #000;
  497. border: 1px solid #000;
  498. font-family: "Times New Roman", Arial, sans-serif;
  499. }
  500. .card-head-body .head-stdno .stdno-fill-option > i {
  501. display: inline-block;
  502. transform: scale(0.67, 0.67);
  503. -webkit-transform: scale(0.67, 0.67);
  504. }
  505. .card-head-body .head-stdno .stdno-auto-barcode {
  506. height: 70px;
  507. text-align: center;
  508. }
  509. .card-head-body .head-stdno .stdno-auto-barcode > img {
  510. display: block;
  511. height: 50px;
  512. width: 300px;
  513. margin: 0 auto;
  514. }
  515. .card-head-body .head-stdno .stdno-auto-barcode > p {
  516. line-height: 20px;
  517. }
  518. .card-head-body .head-notice > h4 {
  519. font-weight: normal;
  520. margin-bottom: 8px;
  521. line-height: 20px;
  522. }
  523. .card-head-body .head-notice-cont {
  524. line-height: 1.5;
  525. font-size: 12px;
  526. margin-bottom: 5px;
  527. }
  528. .card-head-body .head-notice-cont > span {
  529. display: block;
  530. }
  531. .card-head-body .head-notice-cont > span:first-child {
  532. width: 20px;
  533. white-space: nowrap;
  534. float: left;
  535. }
  536. .card-head-body .head-notice-cont > span:last-child {
  537. margin-left: 20px;
  538. }
  539. .card-head-body .head-notice-exam-number-fill span {
  540. display: inline;
  541. }
  542. .card-head-body .head-notice-exam-number-fill span:first-child {
  543. float: none;
  544. }
  545. .card-head-body .head-notice-exam-number-fill span:last-child {
  546. margin: 0;
  547. }
  548. .card-head-body .head-dynamic {
  549. padding: 0;
  550. font-size: 12px;
  551. border-spacing: 0;
  552. border-collapse: collapse;
  553. }
  554. .card-head-body .head-dynamic-part:not(:last-child) {
  555. border-bottom: 1px solid #000;
  556. }
  557. .card-head-body .head-dynamic-write {
  558. padding: 5px 12px;
  559. }
  560. .card-head-body .head-dynamic-write .stdinfo-item {
  561. margin-bottom: 0;
  562. }
  563. .card-head-body .head-dynamic-write > p {
  564. line-height: 18px;
  565. }
  566. .card-head-body .head-dynamic-missfill {
  567. display: table;
  568. width: 100%;
  569. }
  570. .card-head-body .head-dynamic-miss {
  571. padding: 10px;
  572. display: table-cell;
  573. vertical-align: middle;
  574. }
  575. .card-head-body .head-dynamic-miss:nth-of-type(2) {
  576. border-left: 1px solid #000;
  577. }
  578. .card-head-body .head-dynamic-miss span {
  579. display: block;
  580. }
  581. .card-head-body .head-dynamic-miss .head-dynamic-content {
  582. height: 14px;
  583. line-height: 14px;
  584. }
  585. .card-head-body .head-dynamic-miss .dynamic-miss-title {
  586. width: 54px;
  587. float: left;
  588. }
  589. .card-head-body .head-dynamic-miss .dynamic-miss-body {
  590. margin-left: 54px;
  591. height: 14px;
  592. text-align: center;
  593. font-size: 0;
  594. }
  595. .card-head-body .head-dynamic-fill {
  596. padding: 10px;
  597. }
  598. .card-head-body .head-dynamic-fill p {
  599. display: inline-block;
  600. vertical-align: middle;
  601. line-height: 18px;
  602. word-wrap: normal;
  603. }
  604. .card-head-body .head-dynamic-fill p:first-child {
  605. margin-right: 20px;
  606. }
  607. .card-head-body .head-dynamic-fill p > span,
  608. .card-head-body .head-dynamic-fill p > i {
  609. display: inline-block;
  610. vertical-align: middle;
  611. box-sizing: border-box;
  612. }
  613. .card-head-body .head-dynamic-fill p:first-child i {
  614. width: 28px;
  615. height: 14px;
  616. background-color: #000;
  617. }
  618. .card-head-body .head-dynamic-fill p:last-child > i {
  619. width: 28px;
  620. height: 14px;
  621. border: 1px solid #000;
  622. font-size: 14px;
  623. font-weight: bold;
  624. margin-right: 6px;
  625. line-height: 12px;
  626. text-align: center;
  627. }
  628. .card-head-body .head-dynamic-fill p:last-child > i:last-child {
  629. margin-right: 0;
  630. }
  631. .card-head-body .head-dynamic-fill p:last-child > i:nth-of-type(3)::before {
  632. content: "";
  633. display: inline-block;
  634. vertical-align: top;
  635. margin-left: -5px;
  636. height: 100%;
  637. width: 5px;
  638. background-color: #000;
  639. }
  640. .card-head-body .head-dynamic-fill p:last-child > i:nth-of-type(4)::before {
  641. content: "";
  642. display: inline-block;
  643. margin-top: 1px;
  644. width: 10px;
  645. height: 10px;
  646. border-radius: 50%;
  647. background-color: #000;
  648. }
  649. .card-head-body .head-dynamic-rect {
  650. display: inline-block;
  651. vertical-align: middle;
  652. width: 24px;
  653. height: 12px;
  654. border: 1px solid #000;
  655. font-size: 12px;
  656. text-align: center;
  657. line-height: 10px;
  658. color: #000;
  659. margin: 0 5px;
  660. font-family: "Times New Roman", Arial, sans-serif;
  661. }
  662. .card-head-body .head-dynamic-rect > i {
  663. display: inline-block;
  664. transform: scale(0.67, 0.67);
  665. -webkit-transform: scale(0.67, 0.67);
  666. }
  667. .card-head-body .head-dynamic-aorb {
  668. display: table;
  669. width: 100%;
  670. }
  671. .card-head-body .head-dynamic-aorb .dynamic-aorb-item {
  672. display: table-cell;
  673. vertical-align: middle;
  674. text-align: center;
  675. }
  676. .card-head-body .head-dynamic-aorb .dynamic-aorb-item:not(:last-child) {
  677. border-right: 1px solid #000;
  678. }
  679. .card-head-body .head-dynamic-aorb-fill .dynamic-aorb-item:first-child {
  680. border: none;
  681. }
  682. .card-head-body .head-dynamic-aorb .dynamic-aorb-title {
  683. width: 83px;
  684. }
  685. .card-head-body .head-dynamic-aorb .dynamic-aorb-info {
  686. width: 50px;
  687. font-size: 16px;
  688. position: relative;
  689. overflow: hidden;
  690. }
  691. .card-head-body .head-dynamic-aorb .dynamic-aorb-info .dynamic-aorb-content {
  692. position: absolute;
  693. top: 50%;
  694. left: 0;
  695. width: 100%;
  696. transform: translateY(-50%);
  697. -webkit-transform: translateY(-50%);
  698. z-index: auto;
  699. }
  700. .card-head-body .head-dynamic-aorb .dynamic-aorb-barcode img {
  701. display: block;
  702. position: relative;
  703. margin: 0 auto;
  704. width: 200px;
  705. height: 26px;
  706. padding: 7px 0;
  707. }
  708. .card-head-body .head-dynamic-aorb .dynamic-aorb-rects {
  709. padding: 16px 10px;
  710. }
  711. .card-head-part {
  712. border: 1px solid #000;
  713. }
  714. .card-head-part:not(:last-child) {
  715. margin-bottom: 10px;
  716. }
  717. .card-head-normal .head-dynamic-1 .head-dynamic-part {
  718. height: 100%;
  719. }
  720. .card-head-narrow .head-stdno {
  721. height: 138px;
  722. }
  723. .card-head-narrow .head-stdno .stdno-auto {
  724. position: relative;
  725. top: 50%;
  726. margin-top: -40px;
  727. }
  728. .card-head-handle.card-head-narrow .head-stdno {
  729. height: 242px;
  730. }
  731. .card-head-body-auto-resize {
  732. margin-left: -5px;
  733. margin-right: -5px;
  734. overflow: hidden;
  735. }
  736. .card-head-body-auto-resize.col-item-auto-height .card-head-body-spin {
  737. height: auto;
  738. }
  739. .card-head-body-auto-resize .head-dynamic-2 .head-dynamic-part {
  740. height: auto;
  741. }
  742. .card-head-body-auto-resize .rect-col {
  743. padding: 5px;
  744. }
  745. .card-head-body-auto-resize .rect-col:first-child {
  746. float: left;
  747. width: 50%;
  748. }
  749. .card-head-body-auto-resize .rect-col:last-child {
  750. float: right;
  751. width: 50%;
  752. }
  753. .card-head-body-auto-resize .rect-col-item {
  754. border: 1px solid #000;
  755. }
  756. .card-head-body-auto-resize .rect-col-item:nth-of-type(2) {
  757. margin-top: 10px;
  758. }
  759. .card-head-body-auto-resize .rect-col-item-none {
  760. border: none;
  761. margin: 0 !important;
  762. }
  763. .elem-topic-head {
  764. text-align: center;
  765. }
  766. .elem-topic-head .elem-body {
  767. padding: 0;
  768. border: 1px solid #000;
  769. }
  770. .elem-topic-head-pad {
  771. padding-top: 10px;
  772. }
  773. .elem-topic-head-empty .elem-body {
  774. border-top: none;
  775. }
  776. .elem-topic-head h3 {
  777. font-size: 16px;
  778. height: 29px;
  779. line-height: 28px;
  780. border-bottom: 1px dotted #000;
  781. font-weight: normal;
  782. }
  783. .elem-topic-head p {
  784. font-size: 12px;
  785. height: 22px;
  786. line-height: 22px;
  787. white-space: nowrap;
  788. overflow: hidden;
  789. }
  790. .elem-line-horizontal {
  791. height: 100%;
  792. line-height: 30px;
  793. }
  794. .elem-line-horizontal .line-body {
  795. display: inline-block;
  796. vertical-align: middle;
  797. width: 100%;
  798. border-bottom: 1px solid #000;
  799. }
  800. .elem-line-vertical {
  801. height: 100%;
  802. text-align: center;
  803. }
  804. .elem-line-vertical .line-body {
  805. display: inline-block;
  806. vertical-align: top;
  807. height: 100%;
  808. border-left: 1px solid #000;
  809. }
  810. .elem-lines .line-item {
  811. display: inline-block;
  812. vertical-align: top;
  813. }
  814. .elem-rect .rect-body {
  815. position: absolute;
  816. width: 100%;
  817. height: 100%;
  818. top: 0;
  819. left: 0;
  820. }
  821. .elem-text .text-body {
  822. padding: 5px;
  823. line-height: 1.4;
  824. }
  825. .elem-text .text-body span {
  826. white-space: pre-wrap;
  827. word-wrap: normal;
  828. word-break: break-all;
  829. }
  830. .elem-text .text-body span.cont-variate {
  831. color: #a0a0a0;
  832. margin: 0 2px;
  833. }
  834. .elem-barcode {
  835. height: 100%;
  836. border-color: transparent;
  837. border-width: 1pt;
  838. position: relative;
  839. }
  840. .elem-barcode > img {
  841. max-height: 100%;
  842. max-width: 100%;
  843. position: absolute;
  844. top: 0;
  845. bottom: 0;
  846. left: 0;
  847. right: 0;
  848. margin: auto;
  849. }
  850. .elem-image {
  851. height: 100%;
  852. border-color: transparent;
  853. border-width: 1pt;
  854. position: relative;
  855. }
  856. .elem-image > p {
  857. position: absolute;
  858. width: 100%;
  859. height: 100%;
  860. top: 0;
  861. left: 0;
  862. display: table;
  863. text-align: center;
  864. color: #b0b0b0;
  865. font-size: 30pt;
  866. }
  867. .elem-image > p i {
  868. display: table-cell;
  869. vertical-align: middle;
  870. }
  871. .elem-image > img {
  872. max-height: 100%;
  873. max-width: 100%;
  874. position: absolute;
  875. top: 0;
  876. bottom: 0;
  877. left: 0;
  878. right: 0;
  879. margin: auto;
  880. }
  881. .elem-grids > table {
  882. table-layout: fixed;
  883. border-spacing: 0;
  884. border-collapse: collapse;
  885. }
  886. .elem-grids > table td {
  887. border: 1px solid #000;
  888. }
  889. .elem-grids-halving > table {
  890. table-layout: auto;
  891. width: 100%;
  892. }
  893. .elem-grids-halving td > div {
  894. padding-bottom: 100%;
  895. }
  896. .elem-pane {
  897. height: 100%;
  898. }
  899. .elem-fill-question {
  900. white-space: normal;
  901. }
  902. .elem-fill-question-first::before {
  903. content: "";
  904. position: absolute;
  905. right: 0;
  906. top: 0;
  907. z-index: 99;
  908. color: #fff;
  909. padding: 6px 10px;
  910. line-height: 1;
  911. font-size: 18px;
  912. border-bottom-left-radius: 10px;
  913. }
  914. .elem-fill-question-first.elem-fill-question-simple::before {
  915. content: "单选";
  916. background-color: #65d5ad;
  917. }
  918. .elem-fill-question-first.elem-fill-question-multiply::before {
  919. content: "多选";
  920. background-color: #617bea;
  921. }
  922. .elem-fill-question-first.elem-fill-question-boolean::before {
  923. content: "判断";
  924. background-color: #ffa952;
  925. }
  926. .elem-fill-question-boolean .option-item:nth-of-type(2) i {
  927. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAItJREFUOE/Vk9ERgCAMQ8M+GUInEyfTITKQV065KuDh8SWftHkNAQIGVxjU44cAkhHAAmCVFD8dwYktulnS3g2oiY2SAdZglmq34sS7pNn3JADJCcAGoGggaftWL2qFgzOc3OjEKbCau1sG3uo51TRN8c3BRX+E9SquAlwmU8t2EeLIf+h+B60hw4ADyTE7EWzzfYYAAAAASUVORK5CYII=);
  928. background-size: 100% 100%;
  929. width: 10px;
  930. height: 10px;
  931. margin-top: -1px;
  932. }
  933. .elem-fill-question-boolean .option-item:nth-of-type(3) i {
  934. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAIVJREFUOE+tk9sNwCAIRa/7MES7WTerQ7BPGxolCpKmVT+Fe3gnTL40qUcHIKKNmXMEFTsA8TmqjwKK8SyG3YIiewQQjkKMGMysOlcCgJrFAykZdX9tdq6JNprphyttOIUA4sQCXw+YKmEg/tZEIrqapoVjbEe8bpEk8tsqj3zWHtOfy7wB41tXEXo/wKEAAAAASUVORK5CYII=);
  935. background-size: 100% 100%;
  936. width: 8px;
  937. height: 8px;
  938. }
  939. .elem-fill-question .elem-body {
  940. padding: 10px 5px;
  941. font-size: 0;
  942. }
  943. .elem-fill-question .group-item {
  944. font-family: "Times New Roman", Arial, sans-serif;
  945. display: inline-block;
  946. vertical-align: top;
  947. font-size: 0;
  948. }
  949. .elem-fill-question .question-item {
  950. font-size: 0;
  951. }
  952. .elem-fill-question .option-item {
  953. display: inline-block;
  954. vertical-align: middle;
  955. padding: 0;
  956. width: 18px;
  957. height: 10px;
  958. text-align: center;
  959. font-size: 12px;
  960. line-height: 8px;
  961. border: 1px solid #000;
  962. color: #000;
  963. box-sizing: border-box;
  964. }
  965. .elem-fill-question .option-item > i {
  966. display: inline-block;
  967. transform: scale(0.67, 0.67);
  968. -webkit-transform: scale(0.67, 0.67);
  969. }
  970. .elem-fill-question .option-item:first-child {
  971. text-align: center;
  972. border: none;
  973. font-size: 12px;
  974. line-height: 10px;
  975. color: #000;
  976. }
  977. .elem-fill-question .option-item:first-child > i {
  978. transform: scale(0.9, 0.9);
  979. -webkit-transform: scale(0.9, 0.9);
  980. }
  981. .elem-fill-question .option-item:last-child {
  982. margin-right: 0 !important;
  983. }
  984. .elem-fill-question-vertical .elem-body {
  985. padding: 10px 20px;
  986. }
  987. .elem-fill-question-vertical .question-item {
  988. display: inline-block;
  989. vertical-align: top;
  990. }
  991. .elem-fill-question-vertical .question-item:last-child {
  992. margin-right: 0 !important;
  993. }
  994. .elem-fill-question-vertical .option-item {
  995. display: block;
  996. }
  997. .elem-fill-question-vertical .option-item:first-child {
  998. padding: 0;
  999. text-align: center;
  1000. }
  1001. .elem-fill-question-vertical .option-item:last-child {
  1002. margin-bottom: 0 !important;
  1003. }
  1004. .elem-fill-area .option-item {
  1005. display: inline-block;
  1006. vertical-align: middle;
  1007. width: 30px;
  1008. height: 16px;
  1009. border: 1px solid #000;
  1010. }
  1011. .elem-fill-area .option-item:last-child {
  1012. margin-right: 0 !important;
  1013. }
  1014. .elem-fill-area-vertical .option-item {
  1015. display: block;
  1016. }
  1017. .elem-fill-area-vertical .option-item:last-child {
  1018. margin-bottom: 0 !important;
  1019. }
  1020. .elem-fill-line {
  1021. white-space: normal;
  1022. }
  1023. .elem-fill-line .elem-body {
  1024. padding: 0 15px 0 10px;
  1025. font-size: 0;
  1026. }
  1027. .elem-fill-line .elem-fill-quesiton {
  1028. display: inline-block;
  1029. vertical-align: top;
  1030. position: relative;
  1031. padding: 0 1px;
  1032. font-size: 12px;
  1033. }
  1034. .elem-fill-line .elem-fill-quesiton li.elem-fill-line {
  1035. height: 40px;
  1036. position: relative;
  1037. margin: 0 10px 0 20px;
  1038. z-index: 8;
  1039. }
  1040. .elem-fill-line .elem-fill-quesiton li.elem-fill-line::after {
  1041. content: "";
  1042. display: block;
  1043. position: absolute;
  1044. width: 100%;
  1045. border-bottom: 1px solid #000;
  1046. bottom: 8px;
  1047. }
  1048. .elem-fill-line .elem-fill-quesiton li.elem-fill-no {
  1049. position: absolute;
  1050. top: 2px;
  1051. bottom: 2px;
  1052. left: 1px;
  1053. z-index: 9;
  1054. min-width: 20px;
  1055. text-align: left;
  1056. background-color: #fff;
  1057. border: none;
  1058. }
  1059. .elem-fill-line .elem-fill-quesiton li.elem-fill-no span {
  1060. display: block;
  1061. position: relative;
  1062. padding-bottom: 5px;
  1063. padding-right: 3px;
  1064. transform: translateY(-100%);
  1065. -webkit-transform: translateY(-100%);
  1066. }
  1067. .elem-fill-line .elem-fill-quesiton li.elem-fill-comma {
  1068. position: absolute;
  1069. top: 0;
  1070. right: -10px;
  1071. z-index: 9;
  1072. transform: translateY(-100%);
  1073. -webkit-transform: translateY(-100%);
  1074. width: 10px;
  1075. padding-bottom: 4px;
  1076. background-color: #fff;
  1077. text-align: center;
  1078. border: none;
  1079. }
  1080. .elem-explain .elem-title {
  1081. padding-bottom: 0;
  1082. }
  1083. .elem-explain .elem-body {
  1084. min-height: 60px;
  1085. position: relative;
  1086. }
  1087. .elem-explain .elem-explain-no {
  1088. position: absolute;
  1089. left: 20px;
  1090. top: 10px;
  1091. font-size: 12px;
  1092. z-index: 9;
  1093. }
  1094. .elem-explain .elem-explain-elements {
  1095. position: absolute;
  1096. width: 100%;
  1097. height: 100%;
  1098. top: 0;
  1099. left: 0;
  1100. z-index: 8;
  1101. }
  1102. .elem-explain .elem-explain-element .explain-element-body {
  1103. position: absolute;
  1104. }
  1105. .elem-composition .elem-title {
  1106. padding-bottom: 0;
  1107. }
  1108. .elem-composition .elem-body {
  1109. min-height: 60px;
  1110. position: relative;
  1111. }
  1112. .elem-composition-elements {
  1113. position: absolute;
  1114. width: 100%;
  1115. height: 100%;
  1116. top: 0;
  1117. left: 0;
  1118. z-index: 8;
  1119. }
  1120. .elem-composition .elem-composition-element .composition-element-body {
  1121. position: absolute;
  1122. overflow: hidden;
  1123. }
  1124. .elem-fill-number {
  1125. border: 1px solid #000;
  1126. }
  1127. .elem-fill-number .fill-number-rect {
  1128. font-size: 0;
  1129. height: 27px;
  1130. border-bottom: 1px solid #000;
  1131. }
  1132. .elem-fill-number .fill-number-number {
  1133. display: inline-block;
  1134. vertical-align: top;
  1135. width: 7.692%;
  1136. height: 100%;
  1137. }
  1138. .elem-fill-number .fill-number-number:not(:last-child) {
  1139. border-right: 1px solid #000;
  1140. }
  1141. .elem-fill-number .fill-number-head {
  1142. height: 51px;
  1143. }
  1144. .elem-fill-number .fill-number-head > h5 {
  1145. border-bottom: 1px solid #000;
  1146. line-height: 24px;
  1147. font-size: 16px;
  1148. font-weight: bold;
  1149. text-align: center;
  1150. }
  1151. .elem-fill-number .fill-number-body {
  1152. display: table;
  1153. width: 100%;
  1154. }
  1155. .elem-fill-number .fill-number-list {
  1156. display: table-cell;
  1157. width: 7.692%;
  1158. padding: 1px 0;
  1159. }
  1160. .elem-fill-number .fill-number-option {
  1161. margin: 8px auto;
  1162. width: 18px;
  1163. height: 10px;
  1164. font-size: 12px;
  1165. line-height: 8px;
  1166. text-align: center;
  1167. color: #000;
  1168. border: 1px solid #000;
  1169. font-family: "Times New Roman", Arial, sans-serif;
  1170. }
  1171. .elem-fill-number .fill-number-option > i {
  1172. display: inline-block;
  1173. transform: scale(0.67, 0.67);
  1174. -webkit-transform: scale(0.67, 0.67);
  1175. }
  1176. .elem-fill-field {
  1177. white-space: normal;
  1178. overflow: hidden;
  1179. }
  1180. .fill-field-item {
  1181. display: inline-block;
  1182. padding: 0 10px;
  1183. width: 100%;
  1184. }
  1185. .fill-field-content {
  1186. height: 30px;
  1187. line-height: 26px;
  1188. overflow: hidden;
  1189. position: relative;
  1190. }
  1191. .fill-field-content::after {
  1192. content: "";
  1193. display: block;
  1194. position: absolute;
  1195. width: 100%;
  1196. border-bottom: 1px solid #000;
  1197. bottom: 2px;
  1198. left: 0;
  1199. z-index: 1;
  1200. }
  1201. .fill-field-content > span {
  1202. z-index: 2;
  1203. display: block;
  1204. position: relative;
  1205. font-size: 14px;
  1206. }
  1207. .fill-field-content > span:first-child {
  1208. float: left;
  1209. background-color: #fff;
  1210. text-align: justify;
  1211. font-size: 0px;
  1212. }
  1213. .fill-field-content > span:first-child > i {
  1214. font-size: 14px;
  1215. }
  1216. .fill-field-content > span:first-child::after {
  1217. content: "";
  1218. display: inline-block;
  1219. width: 100%;
  1220. height: 0;
  1221. line-height: 0;
  1222. }
  1223. .fill-field-content > span:nth-of-type(2) {
  1224. float: left;
  1225. width: 20px;
  1226. background-color: #fff;
  1227. }
  1228. .fill-field-content > span:last-child {
  1229. margin-left: 80px;
  1230. height: 100%;
  1231. }
  1232. .elem-fill-pane {
  1233. font-size: 0;
  1234. white-space: normal;
  1235. overflow: hidden;
  1236. }
  1237. .elem-fill-pane .fill-pane-item {
  1238. display: inline-block;
  1239. vertical-align: top;
  1240. font-size: 14px;
  1241. }
  1242. .elem-fill-pane .fill-pane-cont {
  1243. border: 1px solid #000;
  1244. }
  1245. .elem-forbid-area {
  1246. height: 100%;
  1247. position: relative;
  1248. }
  1249. .elem-forbid-area .text-body {
  1250. position: absolute;
  1251. width: 100%;
  1252. left: 0;
  1253. top: 50%;
  1254. transform: translateY(-50%);
  1255. -webkit-transform: translateY(-50%);
  1256. font-size: 30px;
  1257. text-align: center;
  1258. }
  1259. .elem-fill-table .table {
  1260. width: 100%;
  1261. border-spacing: 0;
  1262. border-collapse: collapse;
  1263. text-align: left;
  1264. }
  1265. .elem-fill-table .table td {
  1266. padding: 0;
  1267. }
  1268. .elem-undertaking {
  1269. position: absolute;
  1270. width: 60px;
  1271. top: 60px;
  1272. bottom: 60px;
  1273. right: 10px;
  1274. font-size: 12px;
  1275. line-height: 15px;
  1276. }
  1277. .elem-undertaking .para-text {
  1278. width: 15px;
  1279. text-align: center;
  1280. position: absolute;
  1281. top: 0;
  1282. }
  1283. .elem-undertaking .para-text span {
  1284. display: inline-block;
  1285. transform: rotate(90deg);
  1286. -webkit-transform: rotate(90deg);
  1287. }
  1288. .elem-undertaking .para-text em {
  1289. display: inline-block;
  1290. margin-left: 5px;
  1291. margin-bottom: 5px;
  1292. height: 10px;
  1293. line-height: 10px;
  1294. }
  1295. .elem-undertaking .para-title {
  1296. right: 0;
  1297. top: 50%;
  1298. transform: translateY(-50%);
  1299. -webkit-transform: translateY(-50%);
  1300. }
  1301. .elem-undertaking .para-cl {
  1302. right: 15px;
  1303. }
  1304. .elem-undertaking .para-body {
  1305. right: 30px;
  1306. height: 100%;
  1307. width: 30px;
  1308. }
  1309. .elem-undertaking .para-body > p {
  1310. display: block;
  1311. width: 15px;
  1312. height: 100%;
  1313. float: right;
  1314. }
  1315. .elem-undertaking .para-body > p:first-child {
  1316. padding-top: 30px;
  1317. }
  1318. .elem-undertaking .para-std {
  1319. bottom: 130px;
  1320. top: auto;
  1321. left: 0;
  1322. }
  1323. .card-free-preview:not(.card-print) {
  1324. padding: 10px 0;
  1325. background-color: #f0f0f0;
  1326. }
  1327. .card-free-preview:not(.card-print) .page-box {
  1328. margin: 10px auto;
  1329. box-shadow: 0 0 4px #ddd;
  1330. }
  1331. .card-free-preview .page-column-element .element-item {
  1332. position: absolute;
  1333. overflow: hidden;
  1334. }
  1335. .card-free-preview .page-column-element .element-item::before {
  1336. display: none;
  1337. }
  1338. @media print {
  1339. .card-preview {
  1340. padding: 0;
  1341. }
  1342. .card-preview .page-box {
  1343. margin: 0 auto;
  1344. box-shadow: none;
  1345. page-break-after: always;
  1346. }
  1347. .card-preview .elem-fill-question-first::before {
  1348. display: none;
  1349. }
  1350. .card-preview .elem-fill-question .option-item,
  1351. .card-preview .card-print .elem-fill-number .fill-number-option,
  1352. .card-preview .card-head-body .head-stdno .stdno-fill-option,
  1353. .card-preview .page-number-rect-list li,
  1354. .card-preview .card-head-body .head-dynamic-rect {
  1355. border-width: 0.5pt;
  1356. }
  1357. .card-preview .elem-fill-question .option-item {
  1358. line-height: 9px;
  1359. }
  1360. }