card-temp.css 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407
  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: "宋体", "宋体-简", Arial, sans-serif;
  40. }
  41. .page-box .package-number {
  42. position: absolute;
  43. width: 400px;
  44. height: 40px;
  45. padding: 0 20px;
  46. top: 10px;
  47. left: 54%;
  48. text-align: center;
  49. z-index: 99;
  50. display: none;
  51. }
  52. .page-box .package-number img {
  53. display: inline-block;
  54. height: 28px;
  55. width: auto;
  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-A4 {
  84. width: 793px;
  85. height: 1122px;
  86. }
  87. .page-box-A4 .page-main-inner {
  88. padding: 60px 45px;
  89. }
  90. .page-box-8K {
  91. width: 1474px;
  92. height: 1020px;
  93. }
  94. .page-box-less .page-number-rect {
  95. display: none;
  96. }
  97. .page-main-inner {
  98. position: absolute;
  99. width: 100%;
  100. height: 100%;
  101. top: 0;
  102. left: 0;
  103. padding: 60px 80px;
  104. z-index: 9;
  105. font-size: 0;
  106. }
  107. .page-main-outer {
  108. position: absolute;
  109. top: 0;
  110. left: 0;
  111. right: 0;
  112. bottom: 0;
  113. z-index: 7;
  114. background-color: transparent;
  115. overflow: hidden;
  116. }
  117. .page-column {
  118. display: inline-block;
  119. vertical-align: middle;
  120. position: relative;
  121. height: 100%;
  122. width: 100%;
  123. font-size: 14px;
  124. padding: 0 10px;
  125. }
  126. .page-column-forbid-area {
  127. position: absolute;
  128. top: 0;
  129. left: 0;
  130. bottom: 0;
  131. right: 0;
  132. z-index: 1;
  133. border: 1px solid #000;
  134. overflow: hidden;
  135. }
  136. .page-column-forbid-area > p {
  137. padding: 20px;
  138. position: absolute;
  139. width: 260px;
  140. height: 82px;
  141. top: 50%;
  142. left: 50%;
  143. margin-top: -41px;
  144. margin-left: -130px;
  145. z-index: 9;
  146. font-weight: bold;
  147. font-size: 30px;
  148. color: #333;
  149. background-color: #fff;
  150. text-align: center;
  151. }
  152. .page-column-main {
  153. position: relative;
  154. height: 100%;
  155. }
  156. .page-column-body {
  157. position: absolute;
  158. top: 0;
  159. bottom: 0;
  160. left: 0;
  161. right: 0;
  162. z-index: 9;
  163. }
  164. .page-column-element .element-item {
  165. position: relative;
  166. }
  167. .page-column-element .element-item-width {
  168. width: 100% !important;
  169. }
  170. .page-column-element .element-item::before {
  171. content: "";
  172. position: absolute;
  173. width: 100%;
  174. height: 100%;
  175. top: 0;
  176. left: 0;
  177. box-sizing: border-box;
  178. z-index: 2;
  179. border: 1px solid #000;
  180. border-top: 0;
  181. }
  182. .page-column-element .element-item > div {
  183. z-index: 9;
  184. position: relative;
  185. }
  186. .page-column-element .element-item-card-head::before {
  187. border: 0;
  188. }
  189. .page-column-element .element-item-topic-head::before {
  190. border: 0;
  191. }
  192. .page-column-element .element-item-fill-question::before,
  193. .page-column-element .element-item-fill-line::before {
  194. border-bottom: 0;
  195. }
  196. .page-column-element .element-item-explain::before {
  197. border-bottom-color: transparent;
  198. }
  199. .page-column-element .element-item-type-last::before {
  200. border-bottom: 1px solid #000;
  201. }
  202. .page-column-element:last-child .element-item::before {
  203. border-bottom: 1px solid #000;
  204. }
  205. .page-column-element:last-child
  206. .element-item-card-head.element-item-type-pre::before {
  207. border-bottom: none;
  208. }
  209. .page-locator {
  210. position: absolute;
  211. left: 80px;
  212. right: 80px;
  213. height: 16px;
  214. z-index: 8;
  215. }
  216. .page-locator-top {
  217. top: 30px;
  218. }
  219. .page-locator-bottom {
  220. bottom: 30px;
  221. }
  222. .page-locator-item {
  223. position: absolute;
  224. width: 24px;
  225. border-bottom: 16px solid #000;
  226. top: 0;
  227. }
  228. .page-locator-item:nth-of-type(1) {
  229. left: 0;
  230. }
  231. .page-locator-item:nth-of-type(2) {
  232. right: 96px;
  233. }
  234. .page-box-1 .page-locator-bottom .page-locator-item:nth-of-type(1) {
  235. right: 0;
  236. left: auto;
  237. }
  238. .page-box-1 .page-locator-item:nth-of-type(1) {
  239. left: 96px;
  240. }
  241. .page-box-1 .page-locator-item:nth-of-type(2) {
  242. right: 0;
  243. }
  244. .page-number {
  245. position: absolute;
  246. bottom: 30px;
  247. }
  248. .page-number-rect {
  249. left: 25%;
  250. transform: translateX(-50%);
  251. -webkit-transform: translateX(-50%);
  252. }
  253. .page-number-rect-list {
  254. font-size: 0;
  255. }
  256. .page-number-rect-list li {
  257. display: inline-block;
  258. vertical-align: top;
  259. font-size: 14px;
  260. width: 24px;
  261. height: 16px;
  262. border: 1px solid #000;
  263. margin-right: 10px;
  264. }
  265. .page-number-rect-list li.rect-li-act {
  266. background-color: #000;
  267. }
  268. .page-number-text {
  269. right: 25%;
  270. }
  271. .page-number-text-cont {
  272. height: 16px;
  273. line-height: 16px;
  274. }
  275. .page-box-A4 .page-number-rect {
  276. left: 50%;
  277. }
  278. .course-barcode {
  279. position: absolute;
  280. width: 400px;
  281. height: 40px;
  282. padding: 0 20px;
  283. top: 10px;
  284. left: 50%;
  285. margin-left: -400px;
  286. text-align: center;
  287. }
  288. .course-barcode img {
  289. display: inline-block;
  290. height: 28px;
  291. width: auto;
  292. border: none;
  293. }
  294. .course-barcode img[src=""] {
  295. display: none;
  296. }
  297. .course-barcode p {
  298. line-height: 1;
  299. font-size: 12px;
  300. margin: 0;
  301. }
  302. .elem-title {
  303. padding: 10px;
  304. font-size: 14px;
  305. font-weight: bold;
  306. color: rgb(0, 0, 0);
  307. line-height: 1;
  308. white-space: normal;
  309. }
  310. .elem-body {
  311. padding: 10px;
  312. }
  313. .grid-container {
  314. margin-left: -10px;
  315. margin-right: -10px;
  316. }
  317. .grid-row {
  318. display: table;
  319. width: 100%;
  320. border-spacing: 10px 0;
  321. border-collapse: separate;
  322. }
  323. .grid-row:nth-of-type(2) {
  324. margin-top: 10px;
  325. }
  326. .grid-row .grid-col {
  327. display: table-cell;
  328. width: 50%;
  329. vertical-align: top;
  330. border: 1px solid #000;
  331. }
  332. .grid-row .grid-col-dash {
  333. border-style: dashed;
  334. vertical-align: middle;
  335. }
  336. .card-head-top {
  337. text-align: center;
  338. color: #000;
  339. }
  340. .card-head-title {
  341. font-size: 24px;
  342. font-weight: bold;
  343. overflow: hidden;
  344. }
  345. .card-head-title > h1 {
  346. line-height: 33px;
  347. white-space: nowrap;
  348. letter-spacing: -1px;
  349. }
  350. .card-head-subtitle {
  351. height: 44px;
  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. }
  674. .card-head-body .head-dynamic-aorb-fill .dynamic-aorb-item:first-child {
  675. border: none;
  676. }
  677. .card-head-body .head-dynamic-aorb .dynamic-aorb-title {
  678. width: 40%;
  679. padding: 10px;
  680. }
  681. .card-head-body .head-dynamic-aorb .dynamic-aorb-info {
  682. width: 60%;
  683. font-size: 16px;
  684. position: relative;
  685. overflow: hidden;
  686. text-align: center;
  687. }
  688. .card-head-body .head-dynamic-aorb .dynamic-aorb-info .dynamic-aorb-content {
  689. position: absolute;
  690. top: 50%;
  691. left: 0;
  692. width: 100%;
  693. transform: translateY(-50%);
  694. -webkit-transform: translateY(-50%);
  695. z-index: auto;
  696. }
  697. .card-head-body .head-dynamic-aorb .dynamic-aorb-barcode img {
  698. display: block;
  699. position: relative;
  700. margin: 0 auto;
  701. width: 200px;
  702. height: 26px;
  703. padding: 7px 0;
  704. }
  705. .card-head-body .head-dynamic-aorb .dynamic-aorb-rects {
  706. width: 60%;
  707. padding: 16px 10px;
  708. text-align: center;
  709. }
  710. .card-head-body .head-dynamic-aorb .dynamic-aorb-rects .head-dynamic-rect {
  711. margin: 0 30px;
  712. }
  713. .card-head-body .head-dynamic-aorb .head-dynamic-rect:first-child {
  714. margin-left: 0;
  715. }
  716. .card-head-body .head-dynamic-aorb .head-dynamic-rect:last-child {
  717. margin-right: 0;
  718. }
  719. .card-head-part {
  720. border: 1px solid #000;
  721. }
  722. .card-head-part:not(:last-child) {
  723. margin-bottom: 10px;
  724. }
  725. .card-head-normal .head-dynamic-1 .head-dynamic-part {
  726. height: 100%;
  727. }
  728. .card-head-narrow .head-stdno {
  729. height: 138px;
  730. }
  731. .card-head-narrow .head-stdno .stdno-auto {
  732. position: relative;
  733. top: 50%;
  734. margin-top: -40px;
  735. }
  736. .card-head-handle.card-head-narrow .head-stdno {
  737. height: 242px;
  738. }
  739. .card-head-body-auto-resize {
  740. margin-left: -5px;
  741. margin-right: -5px;
  742. overflow: hidden;
  743. }
  744. .card-head-body-auto-resize.col-item-auto-height .card-head-body-spin {
  745. height: auto;
  746. }
  747. .card-head-body-auto-resize .head-dynamic-2 .head-dynamic-part {
  748. height: auto;
  749. }
  750. .card-head-body-auto-resize .rect-col {
  751. padding: 5px;
  752. }
  753. .card-head-body-auto-resize .rect-col:first-child {
  754. float: left;
  755. width: 50%;
  756. }
  757. .card-head-body-auto-resize .rect-col:last-child {
  758. float: right;
  759. width: 50%;
  760. }
  761. .card-head-body-auto-resize .rect-col-item {
  762. border: 1px solid #000;
  763. }
  764. .card-head-body-auto-resize .rect-col-item:nth-of-type(2) {
  765. margin-top: 10px;
  766. }
  767. .card-head-body-auto-resize .rect-col-item-none {
  768. border: none;
  769. margin: 0 !important;
  770. }
  771. .elem-topic-head {
  772. text-align: center;
  773. }
  774. .elem-topic-head .elem-body {
  775. padding: 0;
  776. border: 1px solid #000;
  777. }
  778. .elem-topic-head-pad {
  779. padding-top: 10px;
  780. }
  781. .elem-topic-head-empty .elem-body {
  782. border-top: none;
  783. }
  784. .elem-topic-head h3 {
  785. font-size: 16px;
  786. height: 29px;
  787. line-height: 28px;
  788. border-bottom: 1px dotted #000;
  789. font-weight: normal;
  790. }
  791. .elem-topic-head p {
  792. font-size: 12px;
  793. height: 22px;
  794. line-height: 22px;
  795. white-space: nowrap;
  796. overflow: hidden;
  797. }
  798. .elem-line-horizontal {
  799. height: 100%;
  800. line-height: 30px;
  801. }
  802. .elem-line-horizontal .line-body {
  803. display: inline-block;
  804. vertical-align: middle;
  805. width: 100%;
  806. border-bottom: 1px solid #000;
  807. }
  808. .elem-line-vertical {
  809. height: 100%;
  810. text-align: center;
  811. }
  812. .elem-line-vertical .line-body {
  813. display: inline-block;
  814. vertical-align: top;
  815. height: 100%;
  816. border-left: 1px solid #000;
  817. }
  818. .elem-lines .line-item {
  819. display: inline-block;
  820. vertical-align: top;
  821. }
  822. .elem-rect .rect-body {
  823. position: absolute;
  824. width: 100%;
  825. height: 100%;
  826. top: 0;
  827. left: 0;
  828. }
  829. .elem-text .text-body {
  830. padding: 5px;
  831. line-height: 1.4;
  832. }
  833. .elem-text .text-body span {
  834. white-space: pre-wrap;
  835. word-wrap: normal;
  836. word-break: break-all;
  837. }
  838. .elem-text .text-body span.cont-variate {
  839. color: #a0a0a0;
  840. margin: 0 2px;
  841. }
  842. .elem-barcode {
  843. height: 100%;
  844. border-color: transparent;
  845. border-width: 1pt;
  846. position: relative;
  847. }
  848. .elem-barcode > img {
  849. max-height: 100%;
  850. max-width: 100%;
  851. position: absolute;
  852. top: 0;
  853. bottom: 0;
  854. left: 0;
  855. right: 0;
  856. margin: auto;
  857. }
  858. .elem-image {
  859. height: 100%;
  860. border-color: transparent;
  861. border-width: 1pt;
  862. position: relative;
  863. }
  864. .elem-image > p {
  865. position: absolute;
  866. width: 100%;
  867. height: 100%;
  868. top: 0;
  869. left: 0;
  870. display: table;
  871. text-align: center;
  872. color: #b0b0b0;
  873. font-size: 30pt;
  874. }
  875. .elem-image > p i {
  876. display: table-cell;
  877. vertical-align: middle;
  878. }
  879. .elem-image > img {
  880. max-height: 100%;
  881. max-width: 100%;
  882. position: absolute;
  883. top: 0;
  884. bottom: 0;
  885. left: 0;
  886. right: 0;
  887. margin: auto;
  888. }
  889. .elem-grids > table {
  890. table-layout: fixed;
  891. border-spacing: 0;
  892. border-collapse: collapse;
  893. }
  894. .elem-grids > table td {
  895. border: 1px solid #000;
  896. }
  897. .elem-grids-halving > table {
  898. table-layout: auto;
  899. width: 100%;
  900. }
  901. .elem-grids-halving td > div {
  902. padding-bottom: 100%;
  903. }
  904. .elem-pane {
  905. height: 100%;
  906. }
  907. .elem-fill-question {
  908. white-space: normal;
  909. }
  910. .elem-fill-question-first::before {
  911. content: "";
  912. position: absolute;
  913. right: 0;
  914. top: 0;
  915. z-index: 99;
  916. color: #fff;
  917. padding: 6px 10px;
  918. line-height: 1;
  919. font-size: 18px;
  920. border-bottom-left-radius: 10px;
  921. }
  922. .elem-fill-question-first.elem-fill-question-simple::before {
  923. content: "单选";
  924. background-color: #65d5ad;
  925. }
  926. .elem-fill-question-first.elem-fill-question-multiply::before {
  927. content: "多选";
  928. background-color: #617bea;
  929. }
  930. .elem-fill-question-first.elem-fill-question-boolean::before {
  931. content: "判断";
  932. background-color: #ffa952;
  933. }
  934. .elem-fill-question-boolean .option-item:nth-of-type(2) i {
  935. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAItJREFUOE/Vk9ERgCAMQ8M+GUInEyfTITKQV065KuDh8SWftHkNAQIGVxjU44cAkhHAAmCVFD8dwYktulnS3g2oiY2SAdZglmq34sS7pNn3JADJCcAGoGggaftWL2qFgzOc3OjEKbCau1sG3uo51TRN8c3BRX+E9SquAlwmU8t2EeLIf+h+B60hw4ADyTE7EWzzfYYAAAAASUVORK5CYII=);
  936. background-size: 100% 100%;
  937. width: 10px;
  938. height: 10px;
  939. margin-top: -1px;
  940. }
  941. .elem-fill-question-boolean .option-item:nth-of-type(3) i {
  942. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAIVJREFUOE+tk9sNwCAIRa/7MES7WTerQ7BPGxolCpKmVT+Fe3gnTL40qUcHIKKNmXMEFTsA8TmqjwKK8SyG3YIiewQQjkKMGMysOlcCgJrFAykZdX9tdq6JNprphyttOIUA4sQCXw+YKmEg/tZEIrqapoVjbEe8bpEk8tsqj3zWHtOfy7wB41tXEXo/wKEAAAAASUVORK5CYII=);
  943. background-size: 100% 100%;
  944. width: 8px;
  945. height: 8px;
  946. }
  947. .elem-fill-question .elem-body {
  948. padding: 10px 5px;
  949. font-size: 0;
  950. }
  951. .elem-fill-question .group-item {
  952. font-family: "Times New Roman", Arial, sans-serif;
  953. display: inline-block;
  954. vertical-align: top;
  955. font-size: 0;
  956. }
  957. .elem-fill-question .question-item {
  958. font-size: 0;
  959. }
  960. .elem-fill-question .option-item {
  961. display: inline-block;
  962. vertical-align: middle;
  963. padding: 0;
  964. width: 18px;
  965. height: 10px;
  966. text-align: center;
  967. font-size: 12px;
  968. line-height: 8px;
  969. border: 1px solid #000;
  970. color: #000;
  971. box-sizing: border-box;
  972. }
  973. .elem-fill-question .option-item > i {
  974. display: inline-block;
  975. transform: scale(0.67, 0.67);
  976. -webkit-transform: scale(0.67, 0.67);
  977. }
  978. .elem-fill-question .option-item:first-child {
  979. text-align: center;
  980. border: none;
  981. font-size: 12px;
  982. line-height: 10px;
  983. color: #000;
  984. }
  985. .elem-fill-question .option-item:first-child > i {
  986. transform: scale(0.9, 0.9);
  987. -webkit-transform: scale(0.9, 0.9);
  988. }
  989. .elem-fill-question .option-item:last-child {
  990. margin-right: 0 !important;
  991. }
  992. .elem-fill-question-vertical .elem-body {
  993. padding: 10px 20px;
  994. }
  995. .elem-fill-question-vertical .question-item {
  996. display: inline-block;
  997. vertical-align: top;
  998. }
  999. .elem-fill-question-vertical .question-item:last-child {
  1000. margin-right: 0 !important;
  1001. }
  1002. .elem-fill-question-vertical .option-item {
  1003. display: block;
  1004. }
  1005. .elem-fill-question-vertical .option-item:first-child {
  1006. padding: 0;
  1007. text-align: center;
  1008. }
  1009. .elem-fill-question-vertical .option-item:last-child {
  1010. margin-bottom: 0 !important;
  1011. }
  1012. .elem-fill-area .option-item {
  1013. display: inline-block;
  1014. vertical-align: middle;
  1015. width: 30px;
  1016. height: 16px;
  1017. border: 1px solid #000;
  1018. }
  1019. .elem-fill-area .option-item:last-child {
  1020. margin-right: 0 !important;
  1021. }
  1022. .elem-fill-area-vertical .option-item {
  1023. display: block;
  1024. }
  1025. .elem-fill-area-vertical .option-item:last-child {
  1026. margin-bottom: 0 !important;
  1027. }
  1028. .elem-fill-line {
  1029. white-space: normal;
  1030. }
  1031. .elem-fill-line .elem-body {
  1032. padding: 0 15px 0 10px;
  1033. font-size: 0;
  1034. }
  1035. .elem-fill-line .elem-fill-quesiton {
  1036. display: inline-block;
  1037. vertical-align: top;
  1038. position: relative;
  1039. padding: 0 1px;
  1040. font-size: 12px;
  1041. }
  1042. .elem-fill-line .elem-fill-quesiton li.elem-fill-line {
  1043. height: 40px;
  1044. position: relative;
  1045. margin: 0 10px 0 20px;
  1046. z-index: 8;
  1047. }
  1048. .elem-fill-line .elem-fill-quesiton li.elem-fill-line::after {
  1049. content: "";
  1050. display: block;
  1051. position: absolute;
  1052. width: 100%;
  1053. border-bottom: 1px solid #000;
  1054. bottom: 8px;
  1055. }
  1056. .elem-fill-line .elem-fill-quesiton li.elem-fill-no {
  1057. position: absolute;
  1058. top: 2px;
  1059. bottom: 2px;
  1060. left: 1px;
  1061. z-index: 9;
  1062. min-width: 20px;
  1063. text-align: left;
  1064. background-color: #fff;
  1065. border: none;
  1066. }
  1067. .elem-fill-line .elem-fill-quesiton li.elem-fill-no span {
  1068. display: block;
  1069. position: relative;
  1070. padding-bottom: 5px;
  1071. padding-right: 3px;
  1072. transform: translateY(-100%);
  1073. -webkit-transform: translateY(-100%);
  1074. }
  1075. .elem-fill-line .elem-fill-quesiton li.elem-fill-comma {
  1076. position: absolute;
  1077. top: 0;
  1078. right: -10px;
  1079. z-index: 9;
  1080. transform: translateY(-100%);
  1081. -webkit-transform: translateY(-100%);
  1082. width: 10px;
  1083. padding-bottom: 4px;
  1084. background-color: #fff;
  1085. text-align: center;
  1086. border: none;
  1087. }
  1088. .elem-explain .elem-title {
  1089. padding-bottom: 0;
  1090. }
  1091. .elem-explain .elem-body {
  1092. min-height: 60px;
  1093. position: relative;
  1094. }
  1095. .elem-explain .elem-explain-no {
  1096. position: absolute;
  1097. left: 20px;
  1098. top: 10px;
  1099. font-size: 12px;
  1100. z-index: 9;
  1101. }
  1102. .elem-explain .elem-explain-elements {
  1103. position: absolute;
  1104. width: 100%;
  1105. height: 100%;
  1106. top: 0;
  1107. left: 0;
  1108. z-index: 8;
  1109. }
  1110. .elem-explain .elem-explain-element .explain-element-body {
  1111. position: absolute;
  1112. }
  1113. .elem-composition .elem-title {
  1114. padding-bottom: 0;
  1115. }
  1116. .elem-composition .elem-body {
  1117. min-height: 60px;
  1118. position: relative;
  1119. }
  1120. .elem-composition-elements {
  1121. position: absolute;
  1122. width: 100%;
  1123. height: 100%;
  1124. top: 0;
  1125. left: 0;
  1126. z-index: 8;
  1127. }
  1128. .elem-composition .elem-composition-element .composition-element-body {
  1129. position: absolute;
  1130. overflow: hidden;
  1131. }
  1132. .elem-fill-number {
  1133. border: 1px solid #000;
  1134. }
  1135. .elem-fill-number .fill-number-rect {
  1136. font-size: 0;
  1137. height: 27px;
  1138. border-bottom: 1px solid #000;
  1139. }
  1140. .elem-fill-number .fill-number-number {
  1141. display: inline-block;
  1142. vertical-align: top;
  1143. width: 7.692%;
  1144. height: 100%;
  1145. }
  1146. .elem-fill-number .fill-number-number:not(:last-child) {
  1147. border-right: 1px solid #000;
  1148. }
  1149. .elem-fill-number .fill-number-head {
  1150. height: 51px;
  1151. }
  1152. .elem-fill-number .fill-number-head > h5 {
  1153. border-bottom: 1px solid #000;
  1154. line-height: 24px;
  1155. font-size: 16px;
  1156. font-weight: bold;
  1157. text-align: center;
  1158. }
  1159. .elem-fill-number .fill-number-body {
  1160. display: table;
  1161. width: 100%;
  1162. }
  1163. .elem-fill-number .fill-number-list {
  1164. display: table-cell;
  1165. width: 7.692%;
  1166. padding: 1px 0;
  1167. }
  1168. .elem-fill-number .fill-number-option {
  1169. margin: 8px auto;
  1170. width: 18px;
  1171. height: 10px;
  1172. font-size: 12px;
  1173. line-height: 8px;
  1174. text-align: center;
  1175. color: #000;
  1176. border: 1px solid #000;
  1177. font-family: "Times New Roman", Arial, sans-serif;
  1178. }
  1179. .elem-fill-number .fill-number-option > i {
  1180. display: inline-block;
  1181. transform: scale(0.67, 0.67);
  1182. -webkit-transform: scale(0.67, 0.67);
  1183. }
  1184. .elem-fill-field {
  1185. white-space: normal;
  1186. overflow: hidden;
  1187. }
  1188. .fill-field-item {
  1189. display: inline-block;
  1190. padding: 0 10px;
  1191. width: 100%;
  1192. }
  1193. .fill-field-content {
  1194. height: 30px;
  1195. line-height: 26px;
  1196. overflow: hidden;
  1197. position: relative;
  1198. }
  1199. .fill-field-content::after {
  1200. content: "";
  1201. display: block;
  1202. position: absolute;
  1203. width: 100%;
  1204. border-bottom: 1px solid #000;
  1205. bottom: 2px;
  1206. left: 0;
  1207. z-index: 1;
  1208. }
  1209. .fill-field-content > span {
  1210. z-index: 2;
  1211. display: block;
  1212. position: relative;
  1213. font-size: 14px;
  1214. }
  1215. .fill-field-content > span:first-child {
  1216. float: left;
  1217. background-color: #fff;
  1218. text-align: justify;
  1219. font-size: 0px;
  1220. }
  1221. .fill-field-content > span:first-child > i {
  1222. font-size: 14px;
  1223. }
  1224. .fill-field-content > span:first-child::after {
  1225. content: "";
  1226. display: inline-block;
  1227. width: 100%;
  1228. height: 0;
  1229. line-height: 0;
  1230. }
  1231. .fill-field-content > span:nth-of-type(2) {
  1232. float: left;
  1233. width: 20px;
  1234. background-color: #fff;
  1235. }
  1236. .fill-field-content > span:last-child {
  1237. margin-left: 80px;
  1238. height: 100%;
  1239. }
  1240. .elem-fill-pane {
  1241. font-size: 0;
  1242. white-space: normal;
  1243. overflow: hidden;
  1244. }
  1245. .elem-fill-pane .fill-pane-item {
  1246. display: inline-block;
  1247. vertical-align: top;
  1248. font-size: 14px;
  1249. }
  1250. .elem-fill-pane .fill-pane-cont {
  1251. border: 1px solid #000;
  1252. }
  1253. .elem-forbid-area {
  1254. height: 100%;
  1255. position: relative;
  1256. }
  1257. .elem-forbid-area .text-body {
  1258. position: absolute;
  1259. width: 100%;
  1260. left: 0;
  1261. top: 50%;
  1262. transform: translateY(-50%);
  1263. -webkit-transform: translateY(-50%);
  1264. font-size: 30px;
  1265. text-align: center;
  1266. }
  1267. .elem-fill-table .table {
  1268. width: 100%;
  1269. border-spacing: 0;
  1270. border-collapse: collapse;
  1271. text-align: left;
  1272. }
  1273. .elem-fill-table .table td {
  1274. padding: 0;
  1275. }
  1276. .elem-undertaking {
  1277. position: absolute;
  1278. width: 60px;
  1279. top: 60px;
  1280. bottom: 60px;
  1281. right: 10px;
  1282. font-size: 12px;
  1283. line-height: 15px;
  1284. }
  1285. .elem-undertaking .para-text {
  1286. width: 15px;
  1287. text-align: center;
  1288. position: absolute;
  1289. top: 0;
  1290. }
  1291. .elem-undertaking .para-text span {
  1292. display: inline-block;
  1293. transform: rotate(90deg);
  1294. -webkit-transform: rotate(90deg);
  1295. }
  1296. .elem-undertaking .para-text em {
  1297. display: inline-block;
  1298. margin-left: 5px;
  1299. margin-bottom: 5px;
  1300. height: 10px;
  1301. line-height: 10px;
  1302. }
  1303. .elem-undertaking .para-title {
  1304. right: 0;
  1305. top: 50%;
  1306. transform: translateY(-50%);
  1307. -webkit-transform: translateY(-50%);
  1308. }
  1309. .elem-undertaking .para-cl {
  1310. right: 15px;
  1311. }
  1312. .elem-undertaking .para-body {
  1313. right: 30px;
  1314. height: 100%;
  1315. width: 30px;
  1316. }
  1317. .elem-undertaking .para-body > p {
  1318. display: block;
  1319. width: 15px;
  1320. height: 100%;
  1321. float: right;
  1322. }
  1323. .elem-undertaking .para-body > p:first-child {
  1324. padding-top: 30px;
  1325. }
  1326. .elem-undertaking .para-std {
  1327. bottom: 130px;
  1328. top: auto;
  1329. left: 0;
  1330. }
  1331. .card-free-preview:not(.card-print) {
  1332. padding: 10px 0;
  1333. background-color: #f0f0f0;
  1334. }
  1335. .card-free-preview:not(.card-print) .page-box {
  1336. margin: 10px auto;
  1337. box-shadow: 0 0 4px #ddd;
  1338. }
  1339. .card-free-preview .page-column-element .element-item {
  1340. position: absolute;
  1341. overflow: hidden;
  1342. }
  1343. .card-free-preview .page-column-element .element-item::before {
  1344. display: none;
  1345. }
  1346. @media print {
  1347. .card-preview {
  1348. padding: 0;
  1349. }
  1350. .card-preview .page-box {
  1351. margin: 0 auto;
  1352. box-shadow: none;
  1353. page-break-after: always;
  1354. }
  1355. .card-preview .elem-fill-question-first::before {
  1356. display: none;
  1357. }
  1358. .card-preview .elem-fill-question .option-item,
  1359. .card-preview .card-print .elem-fill-number .fill-number-option,
  1360. .card-preview .card-head-body .head-stdno .stdno-fill-option,
  1361. .card-preview .page-number-rect-list li,
  1362. .card-preview .card-head-body .head-dynamic-rect {
  1363. border-width: 0.5pt;
  1364. }
  1365. .card-preview .elem-fill-question .option-item {
  1366. line-height: 9px;
  1367. }
  1368. }