rt 4.2.13 ticket#13852
[freeside.git] / rt / share / static / css / base / print.css
1 @media print { 
2     * {
3         position: static;
4         overflow: visible !important;
5     }
6
7     body {
8         margin: 0;
9         padding: 0;
10         font-size: 10pt;
11         background: white !important;
12     }
13
14     div#body {
15         background: transparent;
16         margin-top: 3em !important;
17         margin: 0 !important;
18         padding: 0 !important;
19         border-style: none !important;
20         border: none !important;
21         -webkit-border-radius: none !important;
22         -moz-border-radius: none !important;
23         border-radius: none !important;
24     }
25
26     div#header h1 {
27         margin-bottom: 1em !important;
28         padding-left: 1em !important;
29         position: static !important;
30         height: auto;
31         width: auto;
32         overflow: visible;
33         color: black !important;
34         padding: 0 !important;
35     }
36
37     #header {
38         padding: 0 !important;
39         background: transparent !important;
40         position: inherit !important;
41     }
42
43     #quickbar,
44     #app-nav,
45     #page-menu,
46     #main-navigation,
47     #page-navigation,
48     .titlebox-title .widget,
49     .titlebox-title .right,
50     .ticket-info-links .titlebox-content .create,
51     div.transaction div.metadata span.actions,
52     div.transaction div.content div.downloadattachment,
53     #comp-Search-Results #body .refresh,
54     .search-result-actions,
55     #comp-Search-Chart .chart-meta,
56     #footer,
57     #topactions,
58     #logo,
59     div.summary + br {
60         display: none
61     }
62
63     /* Hide "Click to load" and "Loading" message. Loaded history is #id > .history */
64
65     #deferred_ticket_history > .titlebox,
66     #delayed_ticket_history > .titlebox {
67         display: none
68     }
69
70     a:link,
71     a:visited {
72         font-weight: bold !important
73     }
74
75     div.transaction .metadata .type {
76         display: none
77     }
78
79     div.titlebox-title .left {
80         border: 0 !important;
81         color: black !important;
82         margin: 0 !important;
83         padding-left: 0 !important;
84         background-color: transparent !important;
85     }
86
87     .titlebox.rolled-up .titlebox-title .left:after {
88         content: " [-]";
89         font-weight: normal;
90     }
91
92     /* outer Ticket Metadata titlebox gets no padding, but inside ones do below */
93
94     .summary .titlebox-content {
95         background: transparent !important
96     }
97
98     div.summary .ticket-summary div.titlebox-content {
99         padding: 0.5em 1em 1em 1em !important
100     }
101
102     div.titlebox-title .left * {
103         color: black !important;
104         background: transparent !important;
105     }
106
107     div.messagebody a[href]:after {
108         text-decoration: underline !important;
109         content: " (" attr(href) ") ";
110     }
111
112     div.results {
113         background: #ccc
114     }
115
116     .messagebody {
117         orphans: 2;
118         widows: 2;
119     }
120
121     div.titlebox-title {
122         page-break-after: avoid;
123         border: 0 !important;
124     }
125
126     .history-container,
127     div.transaction {
128         border: 0 !important
129     }
130
131     div.transaction {
132         page-break-inside: avoid
133     }
134
135     /* hide "Ticket metadata" */
136
137     div.summary > div > div.titlebox > div.titlebox-title {
138         display: none !important
139     }
140
141     .value {
142         font-weight: bold !important
143     }
144
145     .label,
146     .label a,
147     .labeltop,
148     .labeltop a {
149         font-weight: normal !important
150     }
151
152     div.titlebox {
153         margin-bottom: 0
154     }
155
156     /* for web2 and ballard*/
157
158     div.titlebox {
159         border: 0 !important
160     }
161
162     div.history .titlebox-title {
163         padding: 0 !important;
164         margin: 0 !important;
165     }
166
167     /* for web2 */
168
169     #page-action-menu {
170         display: none
171     }
172
173     /* form elements */
174
175     input,
176     select,
177     option,
178     button,
179     .button {
180         background: white !important;
181         color: black !important;
182         border: 1px solid #666 !important;
183     }
184
185     option {
186         border: none !important
187     }
188
189     option[selected] {
190         font-weight: bold !important
191     }
192 }