Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | /* CiviCRM Print Media Stylesheet */ |
2 | ||
3 | /* Hide any buttons or other form items when printing*/ | |
9383ac27 EM |
4 | #crm-container .buttons, |
5 | #crm-container .crm-submit-buttons, | |
6 | #crm-container .crm-actions-ribbon, | |
7 | #crm-container .crm-form-submit { | |
8 | display: none; | |
6a488035 TO |
9 | } |
10 | ||
9383ac27 EM |
11 | table.form-layout td, |
12 | table.form-layout th { | |
6a488035 TO |
13 | border: 1px solid grey; |
14 | padding: 4px; | |
15 | margin: 0px; | |
16 | } | |
17 | ||
9383ac27 EM |
18 | .form-item .element-right { |
19 | display: none; | |
20 | } | |
03e04002 | 21 | #crm-container { |
9383ac27 EM |
22 | overflow: visible !important; |
23 | font-family: DejaVu Sans, serif; | |
24 | margin: 0px 10px 0px 10px; | |
6a488035 TO |
25 | } |
26 | ||
27 | /* CSS for Print and PDF of Reports */ | |
28 | #crm-container .report-layout { | |
9383ac27 EM |
29 | border: 1px groove #dddddd; |
30 | width: 100%; | |
31 | border-collapse: collapse; | |
6a488035 TO |
32 | } |
33 | ||
34 | #crm-container .bold { | |
9383ac27 EM |
35 | font-weight: bold; |
36 | font-size: 1.1em; | |
6a488035 TO |
37 | } |
38 | ||
39 | #crm-container .criterial-group { | |
9383ac27 | 40 | border-bottom: 2px solid #dcdcdc; |
6a488035 TO |
41 | } |
42 | ||
43 | #crm-container .reports-header-right { | |
9383ac27 | 44 | text-align: right; |
6a488035 TO |
45 | } |
46 | ||
47 | #crm-container .reports-header { | |
9383ac27 | 48 | text-align: left; |
6a488035 TO |
49 | } |
50 | ||
51 | #crm-container .report-contents { | |
9383ac27 EM |
52 | border: 1px groove #dddddd; |
53 | padding: 4px; | |
54 | width: 20%; | |
6a488035 TO |
55 | } |
56 | ||
57 | #crm-container .report-contents-right { | |
9383ac27 EM |
58 | border: 1px groove #dddddd; |
59 | padding: 4px; | |
60 | text-align: right; | |
6a488035 TO |
61 | } |
62 | ||
63 | #crm-container table.report-layout td { | |
9383ac27 EM |
64 | border: 1px groove #dddddd; |
65 | padding: 4px; | |
6a488035 TO |
66 | } |
67 | ||
68 | #crm-container table.report-layout tr { | |
9383ac27 | 69 | font-size: 0.9em; |
6a488035 TO |
70 | } |
71 | ||
72 | #crm-container table.report-layout tr.group-row { | |
9383ac27 | 73 | font-size: 1em; |
6a488035 TO |
74 | } |
75 | ||
76 | #crm-container table.report-layout tr.total-row { | |
9383ac27 EM |
77 | font-size: 1em; |
78 | border-top: 2px groove #dcdcdc; | |
6a488035 TO |
79 | } |
80 | ||
0f173a07 | 81 | #crm-container div.page-break { |
b5801e1d | 82 | page-break-before: always; |
0f173a07 | 83 | height: 0; |
b5801e1d AH |
84 | } |
85 | ||
6a488035 | 86 | #crm-container .report-label { |
9383ac27 EM |
87 | text-align: right; |
88 | font-weight: bold; | |
6a488035 TO |
89 | } |
90 | ||
91 | #crm-container table.report-layout th { | |
9383ac27 EM |
92 | padding: 4px; |
93 | background-color: #dcdcdc; | |
94 | /*text-align : left;*/ | |
95 | vertical-align: top; | |
6a488035 TO |
96 | } |
97 | ||
98 | #crm-container table.report-layout th.report-contents { | |
9383ac27 | 99 | background-color: #f5f5f5; |
6a488035 TO |
100 | } |
101 | ||
102 | #crm-container table.report-layout th.statistics { | |
9383ac27 EM |
103 | width: 5%; |
104 | white-space: nowrap; | |
105 | text-align: left; | |
6a488035 TO |
106 | } |
107 | ||
9383ac27 EM |
108 | #crm-container table.report-layout th.statistics, |
109 | #crm-container table.report-layout th.label { | |
110 | width: 20%; | |
111 | text-align: left; | |
6a488035 TO |
112 | } |
113 | ||
114 | #crm-container h1 { | |
9383ac27 EM |
115 | text-align: center; |
116 | font-size: 1.5em; | |
117 | font-style: italic; | |
118 | margin: 0; | |
6a488035 TO |
119 | } |
120 | ||
121 | #crm-container h2 { | |
9383ac27 EM |
122 | text-align: left; |
123 | font-size: 1.2em; | |
6a488035 TO |
124 | } |
125 | ||
126 | ||
127 | #crm-container div#report-date { | |
9383ac27 EM |
128 | font-size: .8em; |
129 | font-style: italic; | |
130 | float: right; | |
6a488035 | 131 | } |
d26ef68b JV |
132 | |
133 | /* Fix for CRM-19869 */ | |
134 | tr { | |
9383ac27 | 135 | page-break-inside: avoid; |
d26ef68b | 136 | } |