1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
| .mk-voucher-print-wrap {
| position: absolute;
| width: 0;
| height: 0;
| overflow: hidden;
| }
|
| .mk-voucher-print-pdf-wrap {
| width: 1200px;
| padding: 80px;
| color: #000000;
| background: #ffffff;
| .print-header {
| .line {
| display: flex;
| margin-bottom: 10px;
|
| div {
| flex: 1;
| width: 33.33%;
| min-height: 5px;
| }
| .center {
| text-align: center;
| }
| .right {
| text-align: right;
| }
| }
| .line:first-child {
| .center {
| font-size: 24px;
| }
| .right {
| padding-top: 15px;
| }
| }
| }
| .print-footer {
| display: flex;
|
| div {
| flex: 1;
| width: 20%;
| }
| }
| .print-body {
| position: relative;
| border: 1px solid #000000;
| margin: 20px 0px;
|
| .print-line {
| position: relative;
| height: 60px;
| .remark {
| display: inline-block;
| width: 25%;
| padding: 0 3px;
| }
| .subject {
| display: inline-block;
| width: 35%;
| padding: 0 3px;
| }
| .credit {
| display: inline-block;
| width: 20%;
| line-height: 60px;
| text-align: right;
| padding: 0 3px;
| }
|
| .remark::after {
| content: '';
| position: absolute;
| width: 0px;
| height: 60px;
| left: 25%;
| top: 0;
| border-right: 1px solid #000000;
| }
| }
| .print-line:first-child {
| > div {
| text-align: center;
| }
| }
| .print-line:last-child {
| .remark {
| width: 60%;
| }
| .remark::after {
| display: none;
| }
| }
| .print-line:not(:last-child)::after {
| // border: 1px solid #000000;
| content: '';
| position: absolute;
| width: 100%;
| height: 0px;
| left: 0;
| bottom: 0;
| border-bottom: 1px solid #000000;
| }
| }
|
| .print-body::before {
| content: '';
| position: absolute;
| width: 0px;
| height: 100%;
| left: 60%;
| top: 0;
| border-right: 1px solid #000000;
| }
| .print-body:after {
| content: '';
| position: absolute;
| width: 0px;
| height: 100%;
| left: 80%;
| top: 0;
| border-right: 1px solid #000000;
| }
| }
|
|