card-temp.css 25 KB

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