forked from samwiseduzer/angularPrint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
angularPrint.css
61 lines (61 loc) · 1.13 KB
/
angularPrint.css
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
@media screen{
.printOnly{
display:none;
}
}
@media print {
body *{
visibility:hidden;
}
body {
margin:0mm !important;
-webkit-print-color-adjust:exact;
}
.printOnly, .printOnly *{
visibility:visible;
display:initial;
}
.printOnly.printRemove{
display:none;
}
.printSection, .printSection * {
visibility:visible;
}
.printRemove, .printRemove *{
display:none;
}
.printHide, .printHide *{
visibility:hidden;
}
.printHide .printSection *{
visibility:visible;
}
.printRemove .printSection *{
visibility:visible;
}
.avoidPageBreak{
page-break-inside:avoid;
}
td div{
page-break-inside:avoid;
}
thead {
display: table-header-group;
}
.noPrintMargin{
margin:0px !important;
padding:0px !important;
}
@page { margin:0cm }
@page :first {
margin-top:0cm;
}
@page :left {
margin-left:0cm;
margin-right:0cm;
}
@page :right {
margin-left:0cm;
margin-right:0cm;
}
}