card-temp.css 28 KB

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