Actually, I lied... now we will move on
[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:null-framework']))
27 {
28 if (!method_exists($GLOBALS['isso:null-framework'], 'load'))
29 {
30 $included = false;
31 $path = (isset($_SERVER['SCRIPT_URL']) ? $_SERVER['SCRIPT_URL'] : $_SERVER['REQUEST_URI']);
32 $GLOBALS['isso:null-framework']->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:null-framework']->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:null-framework']->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:null-framework']->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: 12px verdana, geneva, arial, helvetica, sans-serif;
160 }
161
162 /* Small text (used in copyright) */
163 .smallfont, .copyright, dfn
164 {
165 font: 11px tahoma, verdana, geneva, arial, helvetica, sans-serif;
166 }
167
168 /* Description text */
169 dfn
170 {
171 font-style: italic;
172 }
173
174 /* Table headings */
175 .tcat, .thead, .tfoot
176 {
177 font: 12px tahoma, verdana, geneva, arial, helvetica, sans-serif;
178 }
179
180 /* Normal links */
181 a:link, a:visited, a:active
182 {
183 color: rgb(41, 63, 91);
184 background: none;
185 }
186
187 /* Hover links */
188 a:hover, .tcat a:hover, .thead a:hover, .tfoot a:hover
189 {
190 color: #D6E1EC;
191 background: rgb(0, 0, 0);
192 }
193
194 .copyright a:hover, .copyright a:link, .copyright a:visited, .copyright a:active
195 {
196 text-decoration: none;
197 }
198
199 /* Mono-space */
200 .code
201 {
202 font: 9pt 'courier new', courier, monospace;
203 }
204
205 /* ################################################################### */
206 /* Form styling elements */
207 /* ################################################################### */
208
209 /* Input elements in a form */
210 input, textarea, select, option
211 {
212 font: 12px verdana, geneva, arial, helvetica, sans-serif;
213 }
214
215 /* Input formatting */
216 .input
217 {
218 font: bold 11px tahoma, verdana, geneva, arial, helvetica, sans-serif;
219 text-indent: 5px;
220 margin: 1px;
221 margin-top: 3px;
222 }
223
224 /* Button styling */
225 .button
226 {
227 color: rgb(0, 0, 0);
228 font: bold 11px tahoma, verdana, geneva, arial, helvetica, sans-serif;
229 margin: 1px;
230 margin-top: 3px;
231 }
232
233 /* ################################################################### */
234 /* Navigation panel */
235 /* ################################################################### */
236
237 /* The background colour for the navigation frame */
238 .nav_body
239 {
240 background: rgb(0, 0, 0);
241 }
242
243 .nav_body a:link, .nav_body a:active, .nav_body a:hover, .nav_body a:visited
244 {
245 color: rgb(255, 255, 255);
246 text-decoration: none;
247 }
248
249 /* Formatting for groups of nav elements */
250 .nav_group
251 {
252 color: #D6E1EC;
253 background: #445B78;
254 border: #97A9C4 solid 2px;
255 border-width: 0px 2px 1px 2px;
256 }
257
258 /* Nav title border */
259 .nav_title
260 {
261 font: 11px tahoma, verdana, geneva, arial, helvetica, sans-serif;
262 padding: 2px;
263 border: #97A9C4 solid 2px;
264 border-width: 2px;
265 }
266
267 /* Cold nav items */
268 .nav_item
269 {
270 font: 11px tahoma, verdana, geneva, arial, helvetica, sans-serif;
271 padding: 2px 2px 1px 7px;
272 background: #5D7490;
273 border-bottom: #97A9C4 solid 1px;
274 }
275
276 /* Hot nav items */
277 .nav_item:hover
278 {
279 font: 11px tahoma, verdana, geneva, arial, helvetica, sans-serif;
280 padding: 2px 2px 1px 7px;
281 background: #4A5F78;
282 border-bottom: #97A9C4 solid 1px;
283 }
284
285 /* ################################################################### */
286 /* Template manager */
287 /* ################################################################### */
288
289 /* The body of the template manager */
290 .manager_body
291 {
292 background: rgb(0, 0, 0);
293 color: rgb(255, 255, 255);
294 }
295
296 /* A group of templates */
297 .manager_group
298 {
299 background: #28394E;
300 color: #8994A4;
301 }
302
303 /* Items in a template group */
304 .manager_group_item
305 {
306 background: #364D6F;
307 color: #AABBD3;
308 }
309 CSS;
310
311 if (!$included)
312 {
313 echo $css;
314 }
315
316 /*=====================================================================*\
317 || ###################################################################
318 || # $HeadURL$
319 || # $Id$
320 || ###################################################################
321 \*=====================================================================*/
322 ?>