In mail.php, we don't want to double encode fields so in send() create local variable...
[isso.git] / printer.css.php
1 <?php
2 /*=====================================================================*\
3 || ###################################################################
4 || # Blue Static ISSO Framework
5 || # Copyright ©2002-[#]year[#] Blue Static
6 || #
7 || # This program is free software; you can redistribute it and/or modify
8 || # it under the terms of the GNU General Public License as published by
9 || # the Free Software Foundation; version [#]gpl[#] of the License.
10 || #
11 || # This program is distributed in the hope that it will be useful, but
12 || # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 || # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 || # more details.
15 || #
16 || # You should have received a copy of the GNU General Public License along
17 || # with this program; if not, write to the Free Software Foundation, Inc.,
18 || # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
19 || ###################################################################
20 \*=====================================================================*/
21
22 error_reporting(E_ALL & ~E_NOTICE);
23
24 $included = true;
25
26 if (!isset($GLOBALS['isso:callback']))
27 {
28 if (!method_exists($GLOBALS['isso:callback'], 'load'))
29 {
30 $included = false;
31 $path = (isset($_SERVER['SCRIPT_URL']) ? $_SERVER['SCRIPT_URL'] : $_SERVER['REQUEST_URI']);
32 $GLOBALS['isso:callback']->webpath = dirname($path) . '/';
33
34 // Gecko browsers need this to display right
35 header("Content-Type: text/css");
36 }
37 }
38
39 $css = <<<CSS
40 /*=====================================================================*\
41 || ###################################################################
42 || # Blue Static ISSO Framework
43 || # Copyright ©2002-[#]year[#] Blue Static
44 || #
45 || # This program is free software; you can redistribute it and/or modify
46 || # it under the terms of the GNU General Public License as published by
47 || # the Free Software Foundation; version [#]gpl[#] of the License.
48 || #
49 || # This program is distributed in the hope that it will be useful, but
50 || # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
51 || # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
52 || # more details.
53 || #
54 || # You should have received a copy of the GNU General Public License along
55 || # with this program; if not, write to the Free Software Foundation, Inc.,
56 || # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
57 || ###################################################################
58 \*=====================================================================*/
59
60 /* ################################################################### */
61 /* Body and table elements */
62 /* ################################################################### */
63
64 /* Work-around for Mozilla (bug #243751) and Opera (bug #???) bugs in viewpoint rendering */
65 html
66 {
67 height: 100%;
68 }
69
70 /* Main window background colour and font colour */
71 body
72 {
73 color: rgb(96, 106, 90);
74
75 background-color: rgb(232, 255, 198);
76
77 padding: 15px;
78 }
79
80 /* Border area around tables and inbetween spacing */
81 .tborder
82 {
83 border: none;
84 }
85
86 /* First row set in all tables */
87 .tcat
88 {
89 color: rgb(30, 35, 46);
90
91 background-color: rgb(109, 187, 45);
92 }
93
94 /* Links within the TCAT class */
95 .tcat a:link, .tcat a:visited, .tcat a:active
96 {
97 color: rgb(55, 55, 55);
98 }
99
100 /* Row under the TCAT row (often used for column headers) */
101 td.thead, .thead td, .alt3
102 {
103 color: rgb(45, 45, 45);
104
105 font-weight: bold;
106 font-size: 11px;
107
108 background-color: rgb(165, 165, 165);
109 }
110
111 /* Links for the THEAD class */
112 .thead a:link, .thead a:visited, .thead a:active, .alt3 a:link, .alt3 a:visited, .alt3 a:active
113 {
114 color: rgb(45, 45, 45);
115 }
116
117 /* The first type of row used in the alternation cycle */
118 .alt1
119 {
120 color: rgb(41, 63, 91);
121
122 background-color: rgb(237, 245, 230);
123 }
124
125 /* The second type of row used in the alternation cycle */
126 .alt2
127 {
128 color: rgb(41, 63, 91);
129
130 background-color: rgb(255, 255, 255);
131 }
132
133 /* The third alternation, used in special cases */
134 .alt3
135 {
136 border-width: 0px;
137 }
138
139 /* The last row in the table (often used for the submit buttons) */
140 .tfoot
141 {
142 color: rgb(55, 55, 55);
143
144 background-color: rgb(64, 64, 64);
145 }
146
147 /* ################################################################### */
148 /* Text elements */
149 /* ################################################################### */
150
151 /* Font settings for all non-styled elements */
152 body, p, td, tr, ol, ul
153 {
154 font-family: verdana, geneva, arial, helvetica, sans-serif;
155 font-size: 11px;
156 }
157
158 /* Small text (used in copyright) */
159 .smallfont, .copyright, dfn
160 {
161 font-family: tahoma, verdana, geneva, arial, helvetica, sans-serif;
162 font-size: 9px;
163 }
164
165 /* Description text */
166 dfn
167 {
168 font-style: italic;
169 }
170
171 /* Table headings */
172 .tcat, .thead, .tfoot
173 {
174 font-family: tahoma, verdana, geneva, arial, helvetica, sans-serif;
175 font-size: 12px;
176 }
177
178 /* Normal links */
179 a:link, a:visited, a:active
180 {
181 color: rgb(109, 187, 45);
182 }
183
184 /* Hover links */
185 a:hover, .tcat a:hover, .thead a:hover, .tfoot a:hover, .alt3 a:hover
186 {
187 color: rgb(143, 236, 9);
188 }
189
190 .copyright a:hover, .copyright a:link, .copyright a:visited, .copyright a:active
191 {
192 text-decoration: none;
193 }
194
195 /* Mono-space */
196 .code
197 {
198 font-family: 'courier new', courier, monospace;
199 font-size: 9pt;
200 }
201
202 /* ################################################################### */
203 /* Form styling elements */
204 /* ################################################################### */
205
206 /* Input elements in a form */
207 input, textarea, select, option
208 {
209 font-family: verdana, geneva, arial, helvetica, sans-serif;
210 font-size: 11px;
211 }
212
213 /* Input formatting */
214 .input
215 {
216 font-family: tahoma, verdana, geneva, arial, helvetica, sans-serif;
217 font-size: 11px;
218
219 text-indent: 5px;
220
221 margin: 3px 1px 1px 1px;
222 }
223
224 /* Button styling */
225 .button
226 {
227 color: rgb(0, 0, 0);
228
229 font-family: tahoma, verdana, geneva, arial, helvetica, sans-serif;
230 font-size: 11px;
231 font-weight: bold;
232
233 margin: 3px 1px 1px 1px;
234 }
235
236 /* ################################################################### */
237 /* Navigation panel */
238 /* ################################################################### */
239
240 /* The links that appear in the upper-right corner */
241 #toplinks
242 {
243 float: right;
244
245 font-size: 14px;
246 }
247
248 #toplinks #toplinks-links
249 {
250 font-size: 10px;
251 }
252
253 /* Wrapper for the entire navigation system; including tabs */
254 #wrapper
255 {
256 padding-top: 12px;
257 }
258
259 /* The content panel that draws the background color for the panel */
260 #contentbody
261 {
262 padding: 5px;
263
264 background-color: rgb(255, 255, 255);
265
266 border-color: rgb(124, 128, 135);
267 border-width: 1px;
268 border-style: solid;
269
270 color: rgb(55, 55, 55);
271
272 width: 100%;
273 }
274
275 /* The actual tabbar */
276 #tabbar
277 {
278 height: 35px;
279
280 padding-left: 10px;
281
282 margin-top: 10px;
283 margin-bottom: -14px;
284 }
285
286 /* Links in the tabbar */
287 #tabbar a
288 {
289 font-weight: bold;
290 color: rgb(122, 151, 101);
291
292 text-transform: uppercase;
293 text-decoration: none;
294
295 padding: 8px 0px 8px 0px;
296 margin: 0px;
297
298 background-image: url({$GLOBALS['isso:callback']->webpath}images/tabs.gif);
299 background-repeat: no-repeat;
300 background-position: 0% -35px;
301 }
302
303 /* Blocks of the tab link */
304 #tabbar a span
305 {
306 height: 33px;
307 width: 100%;
308
309 padding: 8px 15px 8px 15px;
310
311 background-image: url({$GLOBALS['isso:callback']->webpath}images/tabs-ends.gif);
312 background-repeat: no-repeat;
313 background-position: 100% -35px;
314 }
315
316 /* The current, active tab */
317 #tabbar #focustab, #tabbar #focustab a:hover
318 {
319 color: rgb(64, 64, 64);
320
321 background-position: 0% 0px;
322
323 padding: 8px 0px 9px 0px;
324 }
325
326 /* Blocks of a focused tab link */
327 #tabbar #focustab span
328 {
329 background-position: 100% 0px;
330
331 padding-bottom: 9px;
332 }
333
334 /* Hovered tabs */
335 #tabbar a:hover
336 {
337 background-position: 0% -70px;
338
339 color: rgb(143, 236, 9);
340 }
341
342 /* Blocks of a hovered tab link */
343 #tabbar a:hover span
344 {
345 background-position: 100% -70px;
346 }
347
348 /* Main content frame <td> */
349 #mainbody
350 {
351 width: 80%;
352
353 vertical-align: top;
354
355 padding: 5px 5px 5px 0px;
356 }
357
358 #wrapper #contentbody #mainbody table
359 {
360 width: 100%;
361 }
362
363 /* Menu frame <td> */
364 #menu
365 {
366 width: 20%;
367
368 padding: 15px;
369
370 vertical-align: top;
371 }
372
373 /* A menu list of items */
374 #menu ul
375 {
376 list-style: none;
377
378 padding: 0px;
379 margin: 0px;
380 }
381
382 /* An individual item in the menu list */
383 #menu li span
384 {
385 display: block;
386
387 padding: 2px 2px 2px 7px;
388 margin-top: 1px;
389
390 background-color: rgb(208, 208, 208);
391 }
392
393 /* Links in the menu list */
394 #menu li a
395 {
396 color: rgb(64, 64, 64);
397 text-decoration: none;
398 font-size: 10px;
399 font-weight: bold;
400 }
401
402 /* A :hover for the row of a menu item */
403 #menu li a:hover span
404 {
405 background-color: rgb(158, 236, 95);
406 }
407
408 /* A header item row */
409 #menu li.header span
410 {
411 font-weight: bold;
412 text-transform: uppercase;
413 color: rgb(255, 255, 255);
414
415 padding: 3px;
416
417 background-color: rgb(96, 106, 90);
418 }
419
420 /* A focused item row */
421 #menu li.focus span
422 {
423 background-color: rgb(182, 216, 154);
424
425 text-decoration: underline;
426 }
427
428 CSS;
429
430 if (!$included)
431 {
432 echo $css;
433 }
434
435 /*=====================================================================*\
436 || ###################################################################
437 || # $HeadURL$
438 || # $Id$
439 || ###################################################################
440 \*=====================================================================*/
441 ?>