s/$GLOBALS['isso:null-framework']/$GLOBALS['isso:callback']/g
[isso.git] / printer.css.php
1 <?php
2 /*=====================================================================*\
3 || ###################################################################
4 || # Iris Studios Shared Object Framework [#]version[#]
5 || # Copyright ©2002-[#]year[#] Iris Studios, Inc.
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 }
35
36 $css = <<<CSS
37 /*=====================================================================*\
38 || ###################################################################
39 || # Iris Studios Shared Object Framework [#]version[#]
40 || # Copyright ©2002-[#]year[#] Iris Studios, Inc.
41 || #
42 || # This program is free software; you can redistribute it and/or modify
43 || # it under the terms of the GNU General Public License as published by
44 || # the Free Software Foundation; version [#]gpl[#] of the License.
45 || #
46 || # This program is distributed in the hope that it will be useful, but
47 || # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
48 || # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
49 || # more details.
50 || #
51 || # You should have received a copy of the GNU General Public License along
52 || # with this program; if not, write to the Free Software Foundation, Inc.,
53 || # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
54 || ###################################################################
55 \*=====================================================================*/
56
57 /* ################################################################### */
58 /* Body and table elements */
59 /* ################################################################### */
60
61 /* Main window background colour and font colour */
62 body
63 {
64 color: rgb(0, 0, 0);
65
66 background-color: rgb(255, 255, 255);
67 background-image: url({$GLOBALS['isso:callback']->webpath}images/body.gif);
68 background-repeat: repeat-x;
69 background-position: bottom;
70 }
71
72 /* Border area around tables and inbetween spacing */
73 .tborder
74 {
75 border: ridge 4px;
76 }
77
78 /* First row set in all tables */
79 .tcat
80 {
81 color: rgb(55, 55, 55);
82
83 background-image: url({$GLOBALS['isso:callback']->webpath}images/tcat.gif);
84 background-color: rgb(91, 96, 101);
85 background-repeat: repeat-x;
86
87 border-style: outset;
88 border-width: 1px;
89 }
90
91 /* Links within the TCAT class */
92 .tcat a:link, .tcat a:visited, .tcat a:active
93 {
94 color: rgb(55, 55, 55);
95 }
96
97 /* Row under the TCAT row (often used for column headers) */
98 td.thead, .thead td, .alt3
99 {
100 color: rgb(45, 45, 45);
101
102 font-weight: bold;
103 font-size: 11px;
104
105 background-image: url({$GLOBALS['isso:callback']->webpath}images/thead.gif);
106 background-repeat: repeat-x;
107 background-color: rgb(156, 156, 156);
108
109 border-style: outset;
110 border-width: 1px;
111 }
112
113 /* Links for the THEAD class */
114 .thead a:link, .thead a:visited, .thead a:active, .alt3 a:link, .alt3 a:visited, .alt3 a:active
115 {
116 color: rgb(45, 45, 45);
117 }
118
119 /* The first type of row used in the alternation cycle */
120 .alt1
121 {
122 color: rgb(41, 63, 91);
123
124 background-color: rgb(204, 204, 204);
125 }
126
127 /* The second type of row used in the alternation cycle */
128 .alt2
129 {
130 color: rgb(41, 63, 91);
131
132 background-color: rgb(229, 229, 229);
133 }
134
135 /* The third alternation, used in special cases */
136 .alt3
137 {
138 border-width: 0px;
139 }
140
141 /* The last row in the table (often used for the submit buttons) */
142 .tfoot
143 {
144 color: rgb(55, 55, 55);
145
146 background-color: rgb(222, 222, 222);
147
148 border-style: outset;
149 border-width: 1px;
150 }
151
152 /* ################################################################### */
153 /* Text elements */
154 /* ################################################################### */
155
156 /* Font settings for all non-styled elements */
157 body, p, td, tr, ol, ul
158 {
159 font-family: verdana, geneva, arial, helvetica, sans-serif;
160 font-size: 12px;
161 }
162
163 /* Small text (used in copyright) */
164 .smallfont, .copyright, dfn
165 {
166 font-family: tahoma, verdana, geneva, arial, helvetica, sans-serif;
167 font-size: 11px;
168 }
169
170 /* Description text */
171 dfn
172 {
173 font-style: italic;
174 }
175
176 /* Table headings */
177 .tcat, .thead, .tfoot
178 {
179 font-family: tahoma, verdana, geneva, arial, helvetica, sans-serif;
180 font-size: 12px;
181 }
182
183 /* Normal links */
184 a:link, a:visited, a:active
185 {
186 color: rgb(41, 63, 91);
187 }
188
189 /* Hover links */
190 a:hover, .tcat a:hover, .thead a:hover, .tfoot a:hover, .alt3 a:hover
191 {
192 color: rgb(158, 0, 0);
193 }
194
195 .copyright a:hover, .copyright a:link, .copyright a:visited, .copyright a:active
196 {
197 text-decoration: none;
198 }
199
200 /* Mono-space */
201 .code
202 {
203 font-family: 'courier new', courier, monospace;
204 font-size: 9pt;
205 }
206
207 /* ################################################################### */
208 /* Form styling elements */
209 /* ################################################################### */
210
211 /* Input elements in a form */
212 input, textarea, select, option
213 {
214 font-family: 12px verdana, geneva, arial, helvetica, sans-serif;
215 font-size: 12px;
216 }
217
218 /* Input formatting */
219 .input
220 {
221 font-family: tahoma, verdana, geneva, arial, helvetica, sans-serif;
222 font-size: 11px;
223
224 text-indent: 5px;
225
226 margin: 3px 1px 1px 1px;
227 }
228
229 /* Button styling */
230 .button
231 {
232 color: rgb(0, 0, 0);
233
234 font-family: tahoma, verdana, geneva, arial, helvetica, sans-serif;
235 font-size: 11px;
236 font-weight: bold;
237
238 margin: 3px 1px 1px 1px;
239 }
240
241 /* ################################################################### */
242 /* Navigation panel */
243 /* ################################################################### */
244
245 /* The background colour for the navigation frame */
246 .nav_body
247 {
248 background: rgb(136, 136, 136);
249 }
250
251 .nav_body a:link, .nav_body a:active, .nav_body a:hover, .nav_body a:visited
252 {
253 color: rgb(0, 0, 0);
254 text-decoration: none;
255 }
256
257 /* Formatting for groups of nav elements */
258 .nav_group
259 {
260 border-color: rgb(98, 107, 152);
261 border-style: solid;
262 border-width: 0px 2px 1px 2px;
263 }
264
265 /* Nav title border */
266 .nav_title
267 {
268 font-size: 11px
269 font-family: tahoma, verdana, geneva, arial, helvetica, sans-serif;
270 font-weight: bold;
271
272 padding: 2px;
273
274 background-image: url({$GLOBALS['isso:callback']->webpath}images/thead.gif);
275 background-repeat: repeat-x;
276 background-color: rgb(156, 156, 156);
277
278 border-color: rgb(98, 107, 152);
279 border-style: solid;
280 border-width: 2px;
281 }
282
283 /* Cold nav items */
284 .nav_item
285 {
286 padding: 2px 2px 1px 7px;
287
288 font-size: 11px;
289 font-family: tahoma, verdana, geneva, arial, helvetica, sans-serif;
290 font-weight: normal;
291
292 color: rgb(0, 0, 0);
293
294 background-color: rgb(204, 204, 204);
295
296 border-color: rgb(98, 107, 152);
297 border-style: solid;
298 border-width: 0px 0px 1px 0px;
299 }
300
301 /* Hot nav items */
302 .nav_item:hover
303 {
304 background-color: rgb(242, 242, 242);
305 }
306
307 /* ################################################################### */
308 /* Template manager */
309 /* ################################################################### */
310
311 /* The body of the template manager */
312 .manager_body
313 {
314 background: rgb(0, 0, 0);
315 color: rgb(255, 255, 255);
316 }
317
318 /* A group of templates */
319 .manager_group
320 {
321 background: #28394E;
322 color: #8994A4;
323 }
324
325 /* Items in a template group */
326 .manager_group_item
327 {
328 background: #364D6F;
329 color: #AABBD3;
330 }
331 CSS;
332
333 if (!$included)
334 {
335 echo $css;
336 }
337
338 /*=====================================================================*\
339 || ###################################################################
340 || # $HeadURL$
341 || # $Id$
342 || ###################################################################
343 \*=====================================================================*/
344 ?>