card-temp.css 27 KB

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