1870 |
20 Feb 13 |
nicklas |
1 |
@charset "UTF-8"; |
1870 |
20 Feb 13 |
nicklas |
2 |
|
1870 |
20 Feb 13 |
nicklas |
3 |
@media print |
1870 |
20 Feb 13 |
nicklas |
4 |
{ |
1870 |
20 Feb 13 |
nicklas |
5 |
body |
1870 |
20 Feb 13 |
nicklas |
6 |
{ |
1870 |
20 Feb 13 |
nicklas |
7 |
width: 100%; |
1870 |
20 Feb 13 |
nicklas |
8 |
margin: 0; |
1870 |
20 Feb 13 |
nicklas |
9 |
padding: 0; |
1870 |
20 Feb 13 |
nicklas |
10 |
} |
1870 |
20 Feb 13 |
nicklas |
11 |
|
1870 |
20 Feb 13 |
nicklas |
12 |
/* Start a new page on all elements with 'pagebreak' class */ |
1870 |
20 Feb 13 |
nicklas |
13 |
.pagebreak |
1870 |
20 Feb 13 |
nicklas |
14 |
{ |
1870 |
20 Feb 13 |
nicklas |
15 |
page-break-before: always; |
1870 |
20 Feb 13 |
nicklas |
16 |
} |
1870 |
20 Feb 13 |
nicklas |
17 |
|
1870 |
20 Feb 13 |
nicklas |
18 |
/* Hide when printing */ |
1870 |
20 Feb 13 |
nicklas |
19 |
.noprint, .debug |
1870 |
20 Feb 13 |
nicklas |
20 |
{ |
1870 |
20 Feb 13 |
nicklas |
21 |
display: none; |
1870 |
20 Feb 13 |
nicklas |
22 |
} |
1870 |
20 Feb 13 |
nicklas |
23 |
} |
1870 |
20 Feb 13 |
nicklas |
24 |
|
1870 |
20 Feb 13 |
nicklas |
25 |
@media screen |
1870 |
20 Feb 13 |
nicklas |
26 |
{ |
1870 |
20 Feb 13 |
nicklas |
27 |
body |
1870 |
20 Feb 13 |
nicklas |
28 |
{ |
1870 |
20 Feb 13 |
nicklas |
29 |
background-color: #E8E8E8; |
1870 |
20 Feb 13 |
nicklas |
30 |
} |
1870 |
20 Feb 13 |
nicklas |
31 |
|
1870 |
20 Feb 13 |
nicklas |
32 |
#print-control |
1870 |
20 Feb 13 |
nicklas |
33 |
{ |
1870 |
20 Feb 13 |
nicklas |
34 |
position: fixed; |
1870 |
20 Feb 13 |
nicklas |
35 |
top: 1em; |
1870 |
20 Feb 13 |
nicklas |
36 |
left: 1em; |
1870 |
20 Feb 13 |
nicklas |
37 |
right: 1em; |
2974 |
25 Nov 14 |
nicklas |
38 |
border-width: 1px; |
6229 |
05 May 21 |
nicklas |
39 |
z-index: 9999; |
1870 |
20 Feb 13 |
nicklas |
40 |
} |
1870 |
20 Feb 13 |
nicklas |
41 |
|
1870 |
20 Feb 13 |
nicklas |
42 |
#print-note |
1870 |
20 Feb 13 |
nicklas |
43 |
{ |
2974 |
25 Nov 14 |
nicklas |
44 |
font-style: italic; |
1870 |
20 Feb 13 |
nicklas |
45 |
padding: 0.25em; |
2974 |
25 Nov 14 |
nicklas |
46 |
border-right-width: 0; |
1870 |
20 Feb 13 |
nicklas |
47 |
} |
1870 |
20 Feb 13 |
nicklas |
48 |
|
1870 |
20 Feb 13 |
nicklas |
49 |
/* Default is portrait */ |
1870 |
20 Feb 13 |
nicklas |
50 |
.paper |
1870 |
20 Feb 13 |
nicklas |
51 |
{ |
1870 |
20 Feb 13 |
nicklas |
52 |
width: 210mm; |
1870 |
20 Feb 13 |
nicklas |
53 |
padding: 1em; |
1870 |
20 Feb 13 |
nicklas |
54 |
margin: 1em; |
1870 |
20 Feb 13 |
nicklas |
55 |
margin-top: 4em; |
1870 |
20 Feb 13 |
nicklas |
56 |
overflow: auto; |
1870 |
20 Feb 13 |
nicklas |
57 |
} |
1870 |
20 Feb 13 |
nicklas |
58 |
|
1870 |
20 Feb 13 |
nicklas |
59 |
/* Landscape is wider */ |
1870 |
20 Feb 13 |
nicklas |
60 |
.paper.landscape |
1870 |
20 Feb 13 |
nicklas |
61 |
{ |
1870 |
20 Feb 13 |
nicklas |
62 |
width: 300mm; |
1870 |
20 Feb 13 |
nicklas |
63 |
} |
1870 |
20 Feb 13 |
nicklas |
64 |
|
1870 |
20 Feb 13 |
nicklas |
65 |
/* Disable all mouse events in the print preview */ |
1870 |
20 Feb 13 |
nicklas |
66 |
#print-area |
1870 |
20 Feb 13 |
nicklas |
67 |
{ |
1870 |
20 Feb 13 |
nicklas |
68 |
pointer-events: none; |
1870 |
20 Feb 13 |
nicklas |
69 |
} |
1870 |
20 Feb 13 |
nicklas |
70 |
|
1870 |
20 Feb 13 |
nicklas |
71 |
/* Make page-break visible in the preview */ |
1870 |
20 Feb 13 |
nicklas |
72 |
.pagebreak |
1870 |
20 Feb 13 |
nicklas |
73 |
{ |
2974 |
25 Nov 14 |
nicklas |
74 |
border-top-width: 1px; |
2974 |
25 Nov 14 |
nicklas |
75 |
border-top-style: dashed; |
1870 |
20 Feb 13 |
nicklas |
76 |
margin-left: -1em; |
1870 |
20 Feb 13 |
nicklas |
77 |
margin-right: -1em; |
1870 |
20 Feb 13 |
nicklas |
78 |
} |
1870 |
20 Feb 13 |
nicklas |
79 |
} |
1870 |
20 Feb 13 |
nicklas |
80 |
|
1870 |
20 Feb 13 |
nicklas |
81 |
@media all |
1870 |
20 Feb 13 |
nicklas |
82 |
{ |
1870 |
20 Feb 13 |
nicklas |
83 |
#print-title |
1870 |
20 Feb 13 |
nicklas |
84 |
{ |
1870 |
20 Feb 13 |
nicklas |
85 |
text-align: center; |
1870 |
20 Feb 13 |
nicklas |
86 |
font-weight: bold; |
1870 |
20 Feb 13 |
nicklas |
87 |
font-size: 120%; |
2208 |
31 Jan 14 |
nicklas |
88 |
} |
2208 |
31 Jan 14 |
nicklas |
89 |
|
2974 |
25 Nov 14 |
nicklas |
90 |
/* Change background color to white and text+border to black */ |
2974 |
25 Nov 14 |
nicklas |
91 |
.paper |
2974 |
25 Nov 14 |
nicklas |
92 |
{ |
2974 |
25 Nov 14 |
nicklas |
93 |
background-color: #FFFFFF !important; |
2974 |
25 Nov 14 |
nicklas |
94 |
border-width: 1px; |
2974 |
25 Nov 14 |
nicklas |
95 |
border-style: dashed; |
2974 |
25 Nov 14 |
nicklas |
96 |
} |
2974 |
25 Nov 14 |
nicklas |
97 |
.paper * |
2974 |
25 Nov 14 |
nicklas |
98 |
{ |
2974 |
25 Nov 14 |
nicklas |
99 |
color: #000000 !important; |
2974 |
25 Nov 14 |
nicklas |
100 |
background-color: #FFFFFF !important; |
6229 |
05 May 21 |
nicklas |
101 |
border-color: #000000; |
2974 |
25 Nov 14 |
nicklas |
102 |
} |
2974 |
25 Nov 14 |
nicklas |
103 |
|
2208 |
31 Jan 14 |
nicklas |
104 |
/* |
2208 |
31 Jan 14 |
nicklas |
105 |
Things that should be hidden in the print version |
2208 |
31 Jan 14 |
nicklas |
106 |
* 'panelgroup' include the button and navigation toolbars |
2208 |
31 Jan 14 |
nicklas |
107 |
* icons inside table cells are usually 'add-new-item' links |
2208 |
31 Jan 14 |
nicklas |
108 |
* The 'dropdown' is eye-candy for the enumerated filter options |
2208 |
31 Jan 14 |
nicklas |
109 |
*/ |
2208 |
31 Jan 14 |
nicklas |
110 |
.panelgroup, td.cell .icon.link, .dropdown |
2208 |
31 Jan 14 |
nicklas |
111 |
{ |
2208 |
31 Jan 14 |
nicklas |
112 |
display: none; |
2208 |
31 Jan 14 |
nicklas |
113 |
} |
2208 |
31 Jan 14 |
nicklas |
114 |
|
2208 |
31 Jan 14 |
nicklas |
115 |
/* Add some top padding to the first table header row */ |
2208 |
31 Jan 14 |
nicklas |
116 |
thead tr:first-child th |
2208 |
31 Jan 14 |
nicklas |
117 |
{ |
2974 |
25 Nov 14 |
nicklas |
118 |
padding-top: 0.25em !important; |
2208 |
31 Jan 14 |
nicklas |
119 |
} |
2208 |
31 Jan 14 |
nicklas |
120 |
|
2208 |
31 Jan 14 |
nicklas |
121 |
/* Add bottom padding to the last table header row */ |
2208 |
31 Jan 14 |
nicklas |
122 |
thead tr:last-child th |
2208 |
31 Jan 14 |
nicklas |
123 |
{ |
2974 |
25 Nov 14 |
nicklas |
124 |
border-bottom-width: 2px; |
2974 |
25 Nov 14 |
nicklas |
125 |
padding-bottom: 0.25em !important; |
2208 |
31 Jan 14 |
nicklas |
126 |
} |
2208 |
31 Jan 14 |
nicklas |
127 |
|
3211 |
26 Mar 15 |
nicklas |
128 |
/* Add an icon to the first filter row */ |
6229 |
05 May 21 |
nicklas |
129 |
thead tr.filterrow:not(.secondary) th:first-child div.icons::after |
2208 |
31 Jan 14 |
nicklas |
130 |
{ |
2208 |
31 Jan 14 |
nicklas |
131 |
content: url('../images/filter.png'); |
2208 |
31 Jan 14 |
nicklas |
132 |
} |
3211 |
26 Mar 15 |
nicklas |
133 |
|
3211 |
26 Mar 15 |
nicklas |
134 |
/* Add 'OR' to all extra filter rows */ |
6229 |
05 May 21 |
nicklas |
135 |
thead tr.filterrow.secondary th:first-child div.icons::after |
3211 |
26 Mar 15 |
nicklas |
136 |
{ |
3211 |
26 Mar 15 |
nicklas |
137 |
content: "OR"; |
3211 |
26 Mar 15 |
nicklas |
138 |
font-weight: normal; |
3211 |
26 Mar 15 |
nicklas |
139 |
font-style: italic; |
3211 |
26 Mar 15 |
nicklas |
140 |
} |
2208 |
31 Jan 14 |
nicklas |
141 |
|
3211 |
26 Mar 15 |
nicklas |
142 |
/* Hide +/- icons for adding/removing filter rows */ |
6229 |
05 May 21 |
nicklas |
143 |
thead tr.filterrow div.icons > * |
3211 |
26 Mar 15 |
nicklas |
144 |
{ |
3211 |
26 Mar 15 |
nicklas |
145 |
display: none; |
3211 |
26 Mar 15 |
nicklas |
146 |
} |
3211 |
26 Mar 15 |
nicklas |
147 |
|
2208 |
31 Jan 14 |
nicklas |
148 |
/* Hide the filter row if there is no filter */ |
3211 |
26 Mar 15 |
nicklas |
149 |
.nofilterrow thead tr.filterrow |
2208 |
31 Jan 14 |
nicklas |
150 |
{ |
2208 |
31 Jan 14 |
nicklas |
151 |
display: none; |
2208 |
31 Jan 14 |
nicklas |
152 |
} |
2208 |
31 Jan 14 |
nicklas |
153 |
|
2208 |
31 Jan 14 |
nicklas |
154 |
/* Remove borders around filter input fields */ |
2974 |
25 Nov 14 |
nicklas |
155 |
th.propertyfilter input, select, .multiselect, .smartinput |
2208 |
31 Jan 14 |
nicklas |
156 |
{ |
2208 |
31 Jan 14 |
nicklas |
157 |
border: 0 !important; |
2208 |
31 Jan 14 |
nicklas |
158 |
} |
2208 |
31 Jan 14 |
nicklas |
159 |
|
6229 |
05 May 21 |
nicklas |
160 |
th.row-index |
6229 |
05 May 21 |
nicklas |
161 |
{ |
6229 |
05 May 21 |
nicklas |
162 |
border-right-width: 1px; |
6229 |
05 May 21 |
nicklas |
163 |
border-right-style: dotted; |
6229 |
05 May 21 |
nicklas |
164 |
} |
6229 |
05 May 21 |
nicklas |
165 |
|
2208 |
31 Jan 14 |
nicklas |
166 |
/* Hide the column with checkboxes first in each row |
2208 |
31 Jan 14 |
nicklas |
167 |
*/ |
6229 |
05 May 21 |
nicklas |
168 |
th.row-index > div |
2208 |
31 Jan 14 |
nicklas |
169 |
{ |
6229 |
05 May 21 |
nicklas |
170 |
grid-template-columns: 1fr 0 36px !important; |
2208 |
31 Jan 14 |
nicklas |
171 |
} |
2208 |
31 Jan 14 |
nicklas |
172 |
|
6247 |
24 May 21 |
nicklas |
173 |
/* Tagging class to hide elements when printing */ |
6247 |
24 May 21 |
nicklas |
174 |
.no-print |
6247 |
24 May 21 |
nicklas |
175 |
{ |
6247 |
24 May 21 |
nicklas |
176 |
display: none; |
6247 |
24 May 21 |
nicklas |
177 |
} |
6229 |
05 May 21 |
nicklas |
178 |
|
1870 |
20 Feb 13 |
nicklas |
179 |
} |
1870 |
20 Feb 13 |
nicklas |
180 |
|