]> git.uio.no Git - usit-rt.git/blame - share/static/css/base/print.css
Putting 4.2.0 on top of 4.0.17
[usit-rt.git] / share / static / css / base / print.css
CommitLineData
af59614d
MKG
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 }
41
42 #quickbar,
43 #app-nav,
44 #page-menu,
45 #main-navigation,
46 #page-navigation,
47 .titlebox-title .widget,
48 .titlebox-title .right,
49 .ticket-info-links .titlebox-content .create,
50 div.transaction div.metadata span.actions,
51 div.transaction div.content div.downloadattachment,
52 #comp-Search-Results #body .refresh,
53 .search-result-actions,
54 #comp-Search-Chart .chart-meta,
55 #footer,
56 #topactions,
57 #logo,
58 div.summary + br {
59 display: none
60 }
61
62 /* Hide "Click to load" and "Loading" message. Loaded history is #id > .history */
63
64 #deferred_ticket_history > .titlebox,
65 #delayed_ticket_history > .titlebox {
66 display: none
67 }
68
69 a:link,
70 a:visited {
71 font-weight: bold !important
72 }
73
74 div.transaction .metadata .type {
75 display: none
76 }
77
78 div.titlebox-title .left {
79 border: 0 !important;
80 color: black !important;
81 margin: 0 !important;
82 padding-left: 0 !important;
83 background-color: transparent !important;
84 }
85
86 .titlebox.rolled-up .titlebox-title .left:after {
87 content: " [-]";
88 font-weight: normal;
89 }
90
91 /* outer Ticket Metadata titlebox gets no padding, but inside ones do below */
92
93 .summary .titlebox-content {
94 background: transparent !important
95 }
96
97 div.summary .ticket-summary div.titlebox-content {
98 padding: 0.5em 1em 1em 1em !important
99 }
100
101 div.titlebox-title .left * {
102 color: black !important;
103 background: transparent !important;
104 }
105
106 div.messagebody a[href]:after {
107 text-decoration: underline !important;
108 content: " (" attr(href) ") ";
109 }
110
111 div.results {
112 background: #ccc
113 }
114
115 .messagebody {
116 orphans: 2;
117 widows: 2;
118 }
119
120 div.titlebox-title {
121 page-break-after: avoid;
122 border: 0 !important;
123 }
124
125 .history-container,
126 div.transaction {
127 border: 0 !important
128 }
129
130 div.transaction {
131 page-break-inside: avoid
132 }
133
134 /* hide "Ticket metadata" */
135
136 div.summary > div > div.titlebox > div.titlebox-title {
137 display: none !important
138 }
139
140 .value {
141 font-weight: bold !important
142 }
143
144 .label,
145 .label a,
146 .labeltop,
147 .labeltop a {
148 font-weight: normal !important
149 }
150
151 div.titlebox {
152 margin-bottom: 0
153 }
154
155 /* for web2 and ballard*/
156
157 div.titlebox {
158 border: 0 !important
159 }
160
161 div.history .titlebox-title {
162 padding: 0 !important;
163 margin: 0 !important;
164 }
165
166 /* for web2 */
167
168 #page-action-menu {
169 display: none
170 }
171
172 /* form elements */
173
174 input,
175 select,
176 option {
177 background: white !important;
178 color: black !important;
179 border: 1px solid #666 !important;
180 }
181
182 option {
183 border: none !important
184 }
185
186 option[selected] {
187 font-weight: bold !important
188 }
189}