printpdf.less
1.94 KB
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
.view {
position: fixed;
padding: 0;
display: flex;
justify-content: center;
//height: 100vh;
width:calc(100vw - 0px);
//overflow: auto;
z-index: 190;
background-color: #515558;
}
.pageContainer {
box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 0px 0px;
width:max-content;
max-width:100%;
height: calc(100vh - 11px);
overflow-y: auto;
overflow-x: hidden;
}
.pageTool{
width: 100%;
position: absolute;
top: -30px;
background: rgb(67, 67, 67);
color: white;
padding: 0px;
border-radius: 0px;
display: flex;
align-items: center;
i{
padding: 5px;
margin:0 5px;
&:hover{
background: #333;
}
}
input{
display: inline-block;
width: 25px;
text-align: center;
margin-right: 0px;
height: 12px;
font-size: 1rem!important;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
}
input[type="number"]{
-moz-appearance: textfield;
}
.numPages{
text-align: center;
height: 100%;
align-items: center;
justify-content: center;
width: 4%;
font-size: 1rem;
}
.left{
display: flex;
text-align: center;
height: 100%;
align-items: center;
justify-content: center;
width: 25%;
}
.right{
display: flex;
text-align: center;
height: 100%;
align-items: center;
justify-content: center;
width: 25%;
}
}
:global{
.pdfClose{
position: absolute;
right: 2%;
top:3%;
z-index: 3001;
}
.demo-preview-item{
.am-list-item.am-input-item{
height: 36px!important;
min-height: 36px!important;
padding-left: 5px;
}
.am-list-item .am-list-line{
padding-right: 2px;
}
}
/* 前端控制打印预览inputItem */
.printStyle{
.am-list-item.am-input-item{
height: 30px!important;
min-height: 30px!important;
padding-left: 5px;
}
.am-list-item .am-list-line{
padding-right: 2px;
}
}
}