Pārlūkot izejas kodu

题卡展示样式

zhangjie 1 gadu atpakaļ
vecāks
revīzija
b1d49b8402

+ 12 - 1
src/modules/card/assets/styles/card-preview.scss

@@ -23,6 +23,8 @@
     }
   }
   .elem-fill-question .option-item,
+  .elem-fill-number .fill-number-option,
+  .card-head-body .head-stdno .stdno-fill-option,
   .page-number-rect-list li,
   .card-head .head-dynamic-rect {
     border-width: 0.5pt;
@@ -652,7 +654,6 @@
   }
   &-subtitle {
     height: 44px;
-    font-family: $--font-family;
     font-size: 14px;
     overflow: hidden;
     white-space: normal;
@@ -731,9 +732,19 @@
       height: 100%;
       padding: 0;
       .stdno-empty {
+        min-height: 130px;
         font-weight: bold;
         letter-spacing: 3px;
         text-align: center;
+        position: relative;
+        > p {
+          position: absolute;
+          left: 0;
+          width: 100%;
+          top: 50%;
+          transform: translateY(-50%);
+          -webkit-transform: translateY(-50%);
+        }
       }
       .stdno-fill {
         min-height: 240px;

+ 462 - 92
src/modules/card/assets/styles/card-temp.css

@@ -8,6 +8,7 @@
   -webkit-box-shadow: 0 0 4px #ddd;
   box-shadow: 0 0 4px #ddd;
 }
+
 .card-print {
   padding: 0;
 }
@@ -21,10 +22,13 @@
   display: none;
 }
 .card-print .elem-fill-question .option-item,
+.card-print .elem-fill-number .fill-number-option,
+.card-print .card-head-body .head-stdno .stdno-fill-option,
 .card-print .page-number-rect-list li,
 .card-print .card-head .head-dynamic-rect {
   border-width: 0.5pt;
 }
+
 .page-box {
   position: relative;
   background: #fff;
@@ -236,6 +240,7 @@
   height: 14px;
   line-height: 14px;
 }
+
 .page-main-side {
   position: absolute;
   top: 60px;
@@ -256,6 +261,7 @@
   -webkit-transform-origin: 0 0;
   transform-origin: 0 0;
 }
+
 .page-main-inner {
   position: absolute;
   width: 100%;
@@ -266,6 +272,7 @@
   z-index: 9;
   font-size: 0;
 }
+
 .page-main-outer {
   position: absolute;
   top: 0;
@@ -276,6 +283,7 @@
   background-color: transparent;
   overflow: hidden;
 }
+
 .page-column {
   display: inline-block;
   vertical-align: middle;
@@ -405,6 +413,7 @@
   text-align: center;
   bottom: -26px;
 }
+
 .page-locator {
   position: absolute;
   left: 80px;
@@ -430,6 +439,7 @@
 .page-locator-item:nth-of-type(2) {
   right: 96px;
 }
+
 .page-box-1 .page-locator-bottom .page-locator-item:nth-of-type(1) {
   right: 0;
   left: auto;
@@ -440,6 +450,7 @@
 .page-box-1 .page-locator-item:nth-of-type(2) {
   right: 0;
 }
+
 .page-number-rect {
   position: absolute;
   bottom: 30px;
@@ -469,6 +480,7 @@
   height: 16px;
   line-height: 16px;
 }
+
 .elem-title {
   padding: 10px;
   font-size: 14px;
@@ -479,10 +491,12 @@
 .elem-body {
   padding: 10px;
 }
+
 .grid-container {
   margin-left: -10px;
   margin-right: -10px;
 }
+
 .grid-row {
   display: table;
   width: 100%;
@@ -502,30 +516,53 @@
   border-style: dashed;
   vertical-align: middle;
 }
-.card-head-title {
+
+.card-head-top {
   text-align: center;
   color: #000;
+}
+.card-head-title {
   font-size: 24px;
   font-weight: bold;
   overflow: hidden;
 }
 .card-head-title > h1 {
-  line-height: 40px;
+  line-height: 33px;
   white-space: nowrap;
   letter-spacing: -1px;
 }
-.card-head-info {
-  padding-bottom: 30px;
+.card-head-subtitle {
+  height: 44px;
+  font-size: 14px;
+  overflow: hidden;
+  white-space: normal;
+  margin-bottom: 10px;
+}
+.card-head-subtitle p {
+  padding: 0 10px;
+  line-height: 22px;
+  height: 22px;
+  white-space: pre;
+}
+.card-head-body {
+  font-weight: normal;
+}
+.card-head-body .el-col {
+  padding-top: 5px;
+  padding-bottom: 5px;
 }
-.card-head-info .info-item {
+.card-head-body-spin {
+  padding: 5px 12px;
+  white-space: normal;
+  word-break: break-all;
+}
+.card-head-body .stdinfo-item {
   height: 30px;
   line-height: 30px;
   position: relative;
   overflow: hidden;
-  width: 80%;
-  margin: 0 auto;
 }
-.card-head-info .info-item::after {
+.card-head-body .stdinfo-item::after {
   content: "";
   display: block;
   position: absolute;
@@ -535,77 +572,234 @@
   left: 0;
   z-index: 1;
 }
-.card-head-info .info-item > span {
+.card-head-body .stdinfo-item > span {
   z-index: 2;
   display: block;
   position: relative;
   font-size: 14px;
 }
-.card-head-info .info-item > span:first-child {
+.card-head-body .stdinfo-item > span:first-child {
   float: left;
   background-color: #fff;
   text-align: justify;
+  font-size: 0px;
 }
-.card-head-info .info-item > span:nth-of-type(2) {
+.card-head-body .stdinfo-item > span:first-child > i {
+  font-size: 14px;
+}
+.card-head-body .stdinfo-item > span:first-child::after {
+  content: "";
+  display: inline-block;
+  width: 100%;
+  height: 0;
+  line-height: 0;
+}
+.card-head-body .stdinfo-item > span:nth-of-type(2) {
   float: left;
   width: 20px;
   background-color: #fff;
 }
-.card-head-info .info-item > span:last-child {
+.card-head-body .stdinfo-item > span:last-child {
+  margin-left: 80px;
+  height: 100%;
+}
+.card-head-body .head-stdno {
+  height: 100%;
+  padding: 0;
+}
+.card-head-body .head-stdno .stdno-empty {
+  min-height: 130px;
+  font-weight: bold;
+  letter-spacing: 3px;
+  text-align: center;
+  position: relative;
+}
+.card-head-body .head-stdno .stdno-empty > p {
+  position: absolute;
+  left: 0;
+  width: 100%;
+  top: 50%;
+  transform: translateY(-50%);
+  -webkit-transform: translateY(-50%);
+}
+.card-head-body .head-stdno .stdno-fill {
+  min-height: 240px;
+  height: 100%;
+  position: relative;
+}
+.card-head-body .head-stdno .stdno-fill-rect {
+  font-size: 0;
+  height: 27px;
+  border-bottom: 1px solid #000;
+}
+.card-head-body .head-stdno .stdno-fill-number {
+  display: inline-block;
+  vertical-align: top;
+  width: 7.692%;
   height: 100%;
 }
-.card-head-notice {
+.card-head-body .head-stdno .stdno-fill-number:not(:last-child) {
+  border-right: 1px solid #000;
+}
+.card-head-body .head-stdno .stdno-fill-head {
+  position: absolute;
+  width: 100%;
+  height: 51px;
+  top: 0;
+  left: 0;
+  z-index: 9;
+}
+.card-head-body .head-stdno .stdno-fill-head > h5 {
+  border-bottom: 1px solid #000;
+  line-height: 24px;
+  font-size: 14px;
+  font-weight: bold;
+  text-align: center;
+}
+.card-head-body .head-stdno .stdno-fill-body {
+  position: absolute;
+  top: 0;
+  bottom: 0;
+  padding-top: 51px;
+  display: table;
+  width: 100%;
+}
+.card-head-body .head-stdno .stdno-fill-list {
+  display: table-cell;
+  width: 7.692%;
+  padding: 1px 0;
+}
+.card-head-body .head-stdno .stdno-fill-option {
+  margin: 8px auto;
+  width: 18px;
+  height: 10px;
+  font-size: 12px;
+  line-height: 8px;
+  text-align: center;
+  color: #000;
   border: 1px solid #000;
-  padding: 6px 8px;
+  font-family: "Times New Roman", Arial, sans-serif;
+}
+.card-head-body .head-stdno .stdno-fill-option > i {
+  display: inline-block;
+  transform: scale(0.67, 0.67);
+  -webkit-transform: scale(0.67, 0.67);
+}
+.card-head-body .head-stdno .stdno-auto-barcode {
+  height: 70px;
+  text-align: center;
+}
+.card-head-body .head-stdno .stdno-auto-barcode > img {
+  display: block;
+  height: 50px;
+  width: 300px;
+  margin: 0 auto;
+}
+.card-head-body .head-stdno .stdno-auto-barcode > p {
+  line-height: 20px;
 }
-.card-head-notice > h4 {
+.card-head-body .head-notice > h4 {
   font-weight: normal;
   margin-bottom: 8px;
+  line-height: 20px;
 }
-.card-head-notice-cont {
+.card-head-body .head-notice-cont {
   line-height: 1.5;
   font-size: 12px;
   margin-bottom: 5px;
 }
-.card-head-notice-cont > span {
+.card-head-body .head-notice-cont > span {
   display: block;
 }
-.card-head-notice-cont > span:first-child {
+.card-head-body .head-notice-cont > span:first-child {
   width: 20px;
   white-space: nowrap;
   float: left;
 }
-.card-head-notice-cont > span:last-child {
+.card-head-body .head-notice-cont > span:last-child {
   margin-left: 20px;
-  white-space: normal;
 }
-.card-head-dynamic {
-  padding: 6px 8px;
-  border: 1px solid #000;
-  border-top: none;
+.card-head-body .head-notice-exam-number-fill span {
+  display: inline;
+}
+.card-head-body .head-notice-exam-number-fill span:first-child {
+  float: none;
+}
+.card-head-body .head-notice-exam-number-fill span:last-child {
+  margin: 0;
+}
+.card-head-body .head-dynamic {
+  padding: 0;
+  font-size: 12px;
+  border-spacing: 0;
+  border-collapse: collapse;
+}
+.card-head-body .head-dynamic-part:not(:last-child) {
+  border-bottom: 1px solid #000;
+}
+.card-head-body .head-dynamic-write {
+  padding: 5px 12px;
+}
+.card-head-body .head-dynamic-write .stdinfo-item {
+  margin-bottom: 0;
+}
+.card-head-body .head-dynamic-write > p {
+  line-height: 18px;
+}
+.card-head-body .head-dynamic-missfill {
+  display: table;
+  width: 100%;
+}
+.card-head-body .head-dynamic-miss {
+  padding: 10px;
+  display: table-cell;
+  vertical-align: middle;
+}
+.card-head-body .head-dynamic-miss:nth-of-type(2) {
+  border-left: 1px solid #000;
+}
+.card-head-body .head-dynamic-miss span {
+  display: block;
 }
-.card-head-dynamic p {
+.card-head-body .head-dynamic-miss .head-dynamic-content {
+  height: 14px;
+  line-height: 14px;
+}
+.card-head-body .head-dynamic-miss .dynamic-miss-title {
+  width: 54px;
+  float: left;
+}
+.card-head-body .head-dynamic-miss .dynamic-miss-body {
+  margin-left: 54px;
+  height: 14px;
+  text-align: center;
+  font-size: 0;
+}
+.card-head-body .head-dynamic-fill {
+  padding: 10px;
+}
+.card-head-body .head-dynamic-fill p {
   display: inline-block;
   vertical-align: middle;
   line-height: 18px;
   word-wrap: normal;
 }
-.card-head-dynamic p:first-child {
-  margin-right: 100px;
+.card-head-body .head-dynamic-fill p:first-child {
+  margin-right: 20px;
 }
-.card-head-dynamic p > span,
-.card-head-dynamic p > i {
+.card-head-body .head-dynamic-fill p > span,
+.card-head-body .head-dynamic-fill p > i {
   display: inline-block;
   vertical-align: middle;
   -webkit-box-sizing: border-box;
   box-sizing: border-box;
 }
-.card-head-dynamic p:first-child i {
+.card-head-body .head-dynamic-fill p:first-child i {
   width: 28px;
   height: 14px;
   background-color: #000;
 }
-.card-head-dynamic p:last-child > i {
+.card-head-body .head-dynamic-fill p:last-child > i {
   width: 28px;
   height: 14px;
   border: 1px solid #000;
@@ -615,10 +809,10 @@
   line-height: 12px;
   text-align: center;
 }
-.card-head-dynamic p:last-child > i:last-child {
+.card-head-body .head-dynamic-fill p:last-child > i:last-child {
   margin-right: 0;
 }
-.card-head-dynamic p:last-child > i:nth-of-type(3)::before {
+.card-head-body .head-dynamic-fill p:last-child > i:nth-of-type(3)::before {
   content: "";
   display: inline-block;
   vertical-align: top;
@@ -627,7 +821,7 @@
   width: 5px;
   background-color: #000;
 }
-.card-head-dynamic p:last-child > i:nth-of-type(4)::before {
+.card-head-body .head-dynamic-fill p:last-child > i:nth-of-type(4)::before {
   content: "";
   display: inline-block;
   margin-top: 1px;
@@ -636,95 +830,251 @@
   border-radius: 50%;
   background-color: #000;
 }
-.card-head-model-two .card-head-info {
-  padding-bottom: 15px;
+.card-head-body .head-dynamic-rect {
+  display: inline-block;
+  vertical-align: middle;
+  width: 24px;
+  height: 12px;
+  border: 1px solid #000;
+  font-size: 12px;
   text-align: center;
+  line-height: 10px;
+  color: #000;
+  margin: 0 5px;
+  font-family: "Times New Roman", Arial, sans-serif;
 }
-.card-head-model-two .card-head-info .info-item {
-  height: 30px;
-  line-height: 30px;
-  position: relative;
-  overflow: hidden;
-  width: 26%;
+.card-head-body .head-dynamic-rect > i {
   display: inline-block;
-  vertical-align: text-bottom;
-  margin: 0 10px;
+  transform: scale(0.67, 0.67);
+  -webkit-transform: scale(0.67, 0.67);
 }
-.card-head-model-two .card-head-body {
-  border: 1px solid #000;
-  position: relative;
+.card-head-body .head-dynamic-aorb {
+  display: table;
+  width: 100%;
 }
-.card-head-model-two .card-head-notice {
-  position: relative;
-  min-height: 200px;
-  width: 50%;
-  left: 50%;
+.card-head-body .head-dynamic-aorb .dynamic-aorb-item {
+  display: table-cell;
+  vertical-align: middle;
+  text-align: center;
+}
+.card-head-body .head-dynamic-aorb .dynamic-aorb-item:not(:last-child) {
+  border-right: 1px solid #000;
+}
+.card-head-body .head-dynamic-aorb-fill .dynamic-aorb-item:first-child {
   border: none;
-  border-left: 1px solid #000;
 }
-.card-head-model-two .card-head-stdno {
+.card-head-body .head-dynamic-aorb .dynamic-aorb-title {
+  width: 83px;
+}
+.card-head-body .head-dynamic-aorb .dynamic-aorb-info {
+  width: 50px;
+  font-size: 16px;
+  position: relative;
+  overflow: hidden;
+}
+.card-head-body .head-dynamic-aorb .dynamic-aorb-info .dynamic-aorb-content {
   position: absolute;
+  top: 50%;
   left: 0;
-  top: 0;
-  width: 50%;
-  height: 75%;
-  z-index: 2;
-  border-bottom: 1px solid #000;
+  width: 100%;
+  transform: translateY(-50%);
+  -webkit-transform: translateY(-50%);
+  z-index: auto;
 }
-.card-head-model-two .card-head-stdno:last-child {
-  border-bottom: none;
+.card-head-body .head-dynamic-aorb .dynamic-aorb-barcode img {
+  display: block;
+  position: relative;
+  margin: 0 auto;
+  width: 200px;
+  height: 26px;
+  padding: 7px 0;
+}
+.card-head-body .head-dynamic-aorb .dynamic-aorb-rects {
+  padding: 16px 10px;
+}
+.card-head-part {
+  border: 1px solid #000;
+}
+.card-head-part:not(:last-child) {
+  margin-bottom: 10px;
+}
+.card-head-normal .head-dynamic-1 .head-dynamic-part {
   height: 100%;
 }
-.card-head-model-two .card-head-stdno .stdno-empty {
-  position: absolute;
-  width: 100%;
+.card-head-narrow .head-stdno {
+  height: 138px;
+}
+.card-head-narrow .head-stdno .stdno-auto {
+  position: relative;
   top: 50%;
+  margin-top: -40px;
+}
+.card-head-handle.card-head-narrow .head-stdno {
+  height: 242px;
+}
+
+.card-head-model-one .card-head-info {
+  padding-bottom: 30px;
+}
+.card-head-model-one .card-head-info .info-item {
   height: 30px;
   line-height: 30px;
-  text-align: center;
-  font-size: 26px;
-  margin-top: -15px;
-  left: 0;
+  position: relative;
+  overflow: hidden;
+  width: 80%;
+  margin: 0 auto;
 }
-.card-head-model-two .card-head-dynamic {
+.card-head-model-one .card-head-info .info-item::after {
+  content: "";
+  display: block;
   position: absolute;
+  width: 100%;
+  border-bottom: 1px solid #000;
+  bottom: 6px;
   left: 0;
-  bottom: 0;
-  width: 50%;
-  height: 25%;
+  z-index: 1;
+}
+.card-head-model-one .card-head-info .info-item > span {
   z-index: 2;
-  border: none;
-  padding: 0;
+  display: block;
+  position: relative;
+  font-size: 14px;
+}
+.card-head-model-one .card-head-info .info-item > span:first-child {
+  float: left;
+  background-color: #fff;
+  text-align: justify;
+}
+.card-head-model-one .card-head-info .info-item > span:nth-of-type(2) {
+  float: left;
+  width: 20px;
+  background-color: #fff;
 }
-.card-head-model-two .card-head-dynamic .head-dynamic-content {
+.card-head-model-one .card-head-info .info-item > span:last-child {
   height: 100%;
-  display: inline-table;
-  width: 50%;
+}
+.card-head-model-one .card-head-notice {
+  border: 1px solid #000;
+  padding: 6px 8px;
+}
+.card-head-model-one .card-head-notice > h4 {
+  font-weight: normal;
+  margin-bottom: 8px;
+}
+.card-head-model-one .card-head-notice-cont {
+  line-height: 1.5;
+  font-size: 12px;
+  margin-bottom: 5px;
+}
+.card-head-model-one .card-head-notice-cont > span {
+  display: block;
+}
+.card-head-model-one .card-head-notice-cont > span:first-child {
+  width: 20px;
+  white-space: nowrap;
+  float: left;
+}
+.card-head-model-one .card-head-notice-cont > span:last-child {
+  margin-left: 20px;
+  white-space: normal;
+}
+.card-head-model-one .card-head-dynamic {
+  padding: 6px 8px;
+  border: 1px solid #000;
+  border-top: none;
+}
+.card-head-model-one .card-head-dynamic p {
+  display: inline-block;
+  vertical-align: middle;
+  line-height: 18px;
+  word-wrap: normal;
+}
+.card-head-model-one .card-head-dynamic p:first-child {
+  margin-right: 100px;
+}
+.card-head-model-one .card-head-dynamic p > span,
+.card-head-model-one .card-head-dynamic p > i {
+  display: inline-block;
+  vertical-align: middle;
+  -webkit-box-sizing: border-box;
+  box-sizing: border-box;
+}
+.card-head-model-one .card-head-dynamic p:first-child i {
+  width: 28px;
+  height: 14px;
+  background-color: #000;
+}
+.card-head-model-one .card-head-dynamic p:last-child > i {
+  width: 28px;
+  height: 14px;
+  border: 1px solid #000;
+  font-size: 14px;
+  font-weight: bold;
+  margin-right: 6px;
+  line-height: 12px;
   text-align: center;
 }
-.card-head-model-two
+.card-head-model-one .card-head-dynamic p:last-child > i:last-child {
+  margin-right: 0;
+}
+.card-head-model-one
   .card-head-dynamic
-  .head-dynamic-content:not(:first-child) {
-  border-left: 1px solid #000;
+  p:last-child
+  > i:nth-of-type(3)::before {
+  content: "";
+  display: inline-block;
+  vertical-align: top;
+  margin-left: -5px;
+  height: 100%;
+  width: 5px;
+  background-color: #000;
 }
-.card-head-model-two .card-head-dynamic .head-dynamic-content > * {
-  display: table-cell;
-  vertical-align: middle;
+.card-head-model-one
+  .card-head-dynamic
+  p:last-child
+  > i:nth-of-type(4)::before {
+  content: "";
+  display: inline-block;
+  margin-top: 1px;
+  width: 10px;
+  height: 10px;
+  border-radius: 50%;
+  background-color: #000;
+}
+
+.card-head-body-auto-resize {
+  margin-left: -5px;
+  margin-right: -5px;
+  overflow: hidden;
+}
+.card-head-body-auto-resize.col-item-auto-height .card-head-body-spin {
+  height: auto;
 }
-.card-head-model-two .card-head-dynamic .dynamic-miss-title {
+.card-head-body-auto-resize .head-dynamic-2 .head-dynamic-part {
+  height: auto;
+}
+.card-head-body-auto-resize .rect-col {
+  padding: 5px;
+}
+.card-head-body-auto-resize .rect-col:first-child {
+  float: left;
   width: 50%;
 }
-.card-head-model-two .card-head-dynamic .dynamic-miss-title > h5 {
-  font-size: 16px;
-  font-weight: 600;
+.card-head-body-auto-resize .rect-col:last-child {
+  float: right;
+  width: 50%;
 }
-.card-head-model-two .card-head-dynamic .head-dynamic-rect {
-  display: inline-block;
-  vertical-align: middle;
-  width: 24px;
-  height: 12px;
+.card-head-body-auto-resize .rect-col-item {
   border: 1px solid #000;
 }
+.card-head-body-auto-resize .rect-col-item:nth-of-type(2) {
+  margin-top: 10px;
+}
+.card-head-body-auto-resize .rect-col-item-none {
+  border: none;
+  margin: 0 !important;
+}
+
 .elem-topic-head {
   text-align: center;
 }
@@ -752,6 +1102,7 @@
   white-space: nowrap;
   overflow: hidden;
 }
+
 .elem-line-horizontal {
   height: 100%;
   line-height: 30px;
@@ -762,6 +1113,7 @@
   width: 100%;
   border-bottom: 1px solid #000;
 }
+
 .elem-line-vertical {
   height: 100%;
   text-align: center;
@@ -772,10 +1124,12 @@
   height: 100%;
   border-left: 1px solid #000;
 }
+
 .elem-lines .line-item {
   display: inline-block;
   vertical-align: top;
 }
+
 .elem-rect .rect-body {
   position: absolute;
   width: 100%;
@@ -783,6 +1137,7 @@
   top: 0;
   left: 0;
 }
+
 .elem-text .text-body {
   padding: 5px;
   line-height: 1.4;
@@ -802,6 +1157,7 @@
   -webkit-transform-origin: 0 100%;
   transform-origin: 0 100%;
 }
+
 .elem-barcode {
   height: 100%;
   border-color: transparent;
@@ -818,6 +1174,7 @@
   right: 0;
   margin: auto;
 }
+
 .elem-image {
   height: 100%;
   border-color: transparent;
@@ -849,6 +1206,7 @@
   right: 0;
   margin: auto;
 }
+
 .elem-grids > table {
   table-layout: fixed;
   border-spacing: 0;
@@ -861,6 +1219,7 @@
   table-layout: auto;
   width: 100%;
 }
+
 .elem-fill-question {
   white-space: normal;
   line-height: 1;
@@ -967,6 +1326,7 @@
 .elem-fill-question-vertical .option-item:last-child {
   margin-bottom: 0 !important;
 }
+
 .elem-fill-area .option-item {
   display: inline-block;
   vertical-align: middle;
@@ -983,6 +1343,7 @@
 .elem-fill-area-vertical .option-item:last-child {
   margin-bottom: 0 !important;
 }
+
 .elem-fill-line {
   white-space: normal;
 }
@@ -1043,6 +1404,7 @@
   text-align: center;
   border: none;
 }
+
 .elem-explain .elem-title {
   padding-bottom: 0;
 }
@@ -1068,6 +1430,7 @@
 .elem-explain .elem-explain-element .explain-element-body {
   position: absolute;
 }
+
 .elem-composition .elem-title {
   padding-bottom: 0;
 }
@@ -1087,6 +1450,7 @@
   position: absolute;
   overflow: hidden;
 }
+
 .elem-fill-number {
   border: 1px solid #000;
 }
@@ -1139,6 +1503,7 @@
   transform: scale(0.67, 0.67);
   -webkit-transform: scale(0.67, 0.67);
 }
+
 .elem-fill-field {
   white-space: normal;
   overflow: hidden;
@@ -1150,6 +1515,7 @@
   -webkit-transform-origin: 0 100%;
   transform-origin: 0 100%;
 }
+
 .fill-field-item {
   display: inline-block;
   padding: 0 10px;
@@ -1187,6 +1553,7 @@
   width: 10px;
   background-color: #fff;
 }
+
 .elem-fill-pane {
   font-size: 0;
   white-space: normal;
@@ -1200,6 +1567,7 @@
 .elem-fill-pane .fill-pane-cont {
   border: 1px solid #000;
 }
+
 .elem-gutter {
   position: relative;
   width: 30px;
@@ -1226,9 +1594,11 @@
   transform: rotate(-90deg);
   -webkit-transform: rotate(-90deg);
 }
+
 .elem-pane {
   height: 100%;
 }
+
 .card-free-preview:not(.card-print) {
   padding: 10px 0;
   background-color: #f0f0f0;

+ 5 - 1
src/modules/card/elements/card-head/CardHead.vue

@@ -1,6 +1,6 @@
 <template>
   <div :class="classes">
-    <component :is="compName" :data="data"></component>
+    <component :is="compName" :data="data" preview></component>
   </div>
 </template>
 
@@ -18,6 +18,10 @@ export default {
         return {};
       },
     },
+    preview: {
+      type: Boolean,
+      default: false,
+    },
   },
   data() {
     return {};

+ 1 - 1
src/modules/card/elements/explain/model.js

@@ -18,7 +18,7 @@ const MODEL = {
   x: 0,
   y: 0,
   w: 0,
-  h: 458,
+  h: 476,
   minHeight: 60,
   sign: "subjective",
   topicName: "",

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
src/modules/card/previewTemp.js


Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels