blob: 2c68d371b40bbf8fcfdc73b6435dcf777fcf7668 (
plain)
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
|
/*! Icinga Web 2 | (c) 2014 Icinga GmbH | GPLv2+ */
// Ensure styling is light, exports use a white background
@gray: #7F7F7F;
@gray-semilight: #A9A9A9;
@gray-light: #C9C9C9;
@gray-lighter: #EEEEEE;
@gray-lightest: #F7F7F7;
@icinga-blue: #0095BF;
@low-sat-blue: #dae3e6;
@low-sat-blue-dark: #becbcf;
@body-bg-color: #fff;
@text-color: @black;
@text-color-light: @gray;
@tr-active-color: @body-bg-color;
@tr-hover-color: @body-bg-color;
// Page layout
@page {
margin: 1cm;
}
body {
font-family: sans-serif;
margin: 0;
padding-top: 37px; // ~ logo height in the header
}
.content {
font-size: 9pt;
}
#header,
#footer {
position: fixed;
left: 0;
right: 0;
color: #aaa;
font-size: 0.9em;
}
#header {
top: 0;
border-bottom: 0.1pt solid #aaa;
.title {
text-align: left;
}
img {
margin-bottom: 3px;
}
}
#footer {
bottom: 0;
padding-top: 2em;
}
.content table {
margin-bottom: 3em;
}
#header table,
#footer table {
width: 100%;
border-collapse: collapse;
border: none;
}
#header td,
#header th,
#footer td,
#footer th {
padding: 0;
width: 50%;
}
.page-number {
padding-top: 0.5em;
border-top: 0.1pt solid #aaa;
text-align: center;
}
.page-number:before {
content: "Page " counter(page);
}
hr {
page-break-after: always;
border: 0;
}
// General style
.state-icons,
.overview-performance-data,
.controls,
.dontprint, // Compat only, use dont-print instead
.dont-print {
display: none !important;
}
|