card-temp.css 26 KB

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