card-temp.css 28 KB

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