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