card-temp.css 27 KB

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