card-temp.css 27 KB

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