Merge branch 'master' of https://github.com/jgoodman/Freeside
[freeside.git] / rt / share / html / NoAuth / css / print.css
1 %# BEGIN BPS TAGGED BLOCK {{{
2 %#
3 %# COPYRIGHT:
4 %#
5 %# This software is Copyright (c) 1996-2014 Best Practical Solutions, LLC
6 %#                                          <sales@bestpractical.com>
7 %#
8 %# (Except where explicitly superseded by other copyright notices)
9 %#
10 %#
11 %# LICENSE:
12 %#
13 %# This work is made available to you under the terms of Version 2 of
14 %# the GNU General Public License. A copy of that license should have
15 %# been provided with this software, but in any event can be snarfed
16 %# from www.gnu.org.
17 %#
18 %# This work is distributed in the hope that it will be useful, but
19 %# WITHOUT ANY WARRANTY; without even the implied warranty of
20 %# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
21 %# General Public License for more details.
22 %#
23 %# You should have received a copy of the GNU General Public License
24 %# along with this program; if not, write to the Free Software
25 %# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
26 %# 02110-1301 or visit their web page on the internet at
27 %# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html.
28 %#
29 %#
30 %# CONTRIBUTION SUBMISSION POLICY:
31 %#
32 %# (The following paragraph is not intended to limit the rights granted
33 %# to you to modify and distribute this software under the terms of
34 %# the GNU General Public License and is only of importance to you if
35 %# you choose to contribute your changes and enhancements to the
36 %# community by submitting them to Best Practical Solutions, LLC.)
37 %#
38 %# By intentionally submitting any modifications, corrections or
39 %# derivatives to this work, or any other work intended for use with
40 %# Request Tracker, to Best Practical Solutions, LLC, you confirm that
41 %# you are the copyright holder for those contributions and you grant
42 %# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
43 %# royalty-free, perpetual, license to use, copy, create derivative
44 %# works based on those contributions, and sublicense and distribute
45 %# those contributions and any derivatives thereof.
46 %#
47 %# END BPS TAGGED BLOCK }}}
48 * {
49     float: none;
50     position: static;
51     background: transparent !important;
52     overflow: visible !important;
53 }
54
55 body {
56     margin: 0;
57     padding: 0;
58     font-size: 10pt;
59     background: white !important;
60 }
61
62 div#body {
63     margin: 0;
64     margin-top: 0;
65     padding: 0;
66     border-style: none;
67 }
68
69 div#header h1 {
70     margin-bottom: 1em;
71     position: static;
72     height: auto;
73     width: auto;
74     overflow: visible;
75     color: black !important;
76     padding: 0 !important;
77 }
78
79 #header {
80     padding: 0 !important;
81 }
82
83 #quickbar,
84 #app-nav,
85 #page-menu,
86 #main-navigation,
87 #page-navigation,
88 .titlebox-title .widget,
89 .titlebox-title .right,
90 .ticket-info-links .titlebox-content .create,
91 .ticket-transaction .metadata .actions,
92 .ticket-transaction .content .downloadattachment,
93 #comp-Search-Results #body .refresh,
94 .search-result-actions,
95 #comp-Search-Chart .chart-meta,
96 #footer,
97 #topactions,
98 #logo,
99 form,
100 div.summary + br
101 {
102     display: none;
103 }
104
105 /* Hide "Click to load" and "Loading" message. Loaded history is #id > .history */
106 #deferred_ticket_history > .titlebox, #delayed_ticket_history > .titlebox {
107     display: none;
108 }
109
110 a:link, a:visited {
111     font-weight: bold !important;
112 }
113
114 div.ticket-transaction .metadata .type {
115     display: none;
116 }
117
118 div.titlebox-title .left {
119     border: 0 !important;
120     color: black !important;
121     margin: 0 !important;
122     padding-left: 0 !important;
123 }
124
125 .titlebox.rolled-up .titlebox-title .left:after {
126     content: " (<&|/l&>collapsed</&>)";
127     font-weight: normal;
128 }
129
130 div.titlebox-content {
131     border: 0 !important;
132     padding-top: 0.5em !important;
133 }
134
135 /* outer Ticket Metadata titlebox gets no padding, but inside ones do below */
136 .summary .titlebox-content {
137     padding: 0 !important;
138 }
139
140 div.summary .ticket-summary div.titlebox-content {
141     padding: 0.5em 1em 1em 1em !important;
142 }
143
144 div.titlebox-title .left * {
145     color: black !important;
146 }
147
148 div.messagebody a[href]:after {
149     text-decoration: underline !important;
150     content: " (" attr(href) ") ";
151 }
152
153 .messagebody {
154     orphans: 2;
155     widows: 2;
156 }
157
158 div.titlebox-title {
159     page-break-after: avoid;
160     border: 0 !important;
161 }
162
163 #ticket-history, div.ticket-transaction {
164     border: 0 !important;
165 }
166
167 div.ticket-transaction {
168     page-break-inside: avoid;
169 }
170
171 /* hide "Ticket metadata" */
172 div.summary > div > div.titlebox > div.titlebox-title {
173     display: none !important;
174 }
175
176 .value {
177     font-weight: bold !important;
178 }
179
180 .label, .label a, .labeltop, .labeltop a {
181     font-weight: normal !important;
182 }
183
184 div.titlebox {
185     margin-bottom: 0;
186 }
187
188 /* for web2 and ballard*/
189
190 div.titlebox {
191     border: 0 !important;
192 }
193
194 div.history .titlebox-title {
195     padding: 0 !important;
196     margin: 0 !important;
197 }
198
199 /* for web2 */
200
201 #page-action-menu {
202     display: none;
203 }
204
205 /* form elements */
206 input, select, option {
207     background: white !important;
208     border: 1px solid #666 !important;
209 }
210
211 option {
212     border: none !important;
213 }
214
215 option[selected] {
216     font-weight: bold !important;
217 }
218