Text is now done
[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-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: 12px verdana, geneva, arial, helvetica, sans-serif;
215 }
216
217 /* Input formatting */
218 .input
219 {
220 font: bold 11px tahoma, verdana, geneva, arial, helvetica, sans-serif;
221 text-indent: 5px;
222 margin: 1px;
223 margin-top: 3px;
224 }
225
226 /* Button styling */
227 .button
228 {
229 color: rgb(0, 0, 0);
230 font: bold 11px tahoma, verdana, geneva, arial, helvetica, sans-serif;
231 margin: 1px;
232 margin-top: 3px;
233 }
234
235 /* ################################################################### */
236 /* Navigation panel */
237 /* ################################################################### */
238
239 /* The background colour for the navigation frame */
240 .nav_body
241 {
242 background: rgb(0, 0, 0);
243 }
244
245 .nav_body a:link, .nav_body a:active, .nav_body a:hover, .nav_body a:visited
246 {
247 color: rgb(255, 255, 255);
248 text-decoration: none;
249 }
250
251 /* Formatting for groups of nav elements */
252 .nav_group
253 {
254 color: #D6E1EC;
255 background: #445B78;
256 border: #97A9C4 solid 2px;
257 border-width: 0px 2px 1px 2px;
258 }
259
260 /* Nav title border */
261 .nav_title
262 {
263 font: 11px tahoma, verdana, geneva, arial, helvetica, sans-serif;
264 padding: 2px;
265 border: #97A9C4 solid 2px;
266 border-width: 2px;
267 }
268
269 /* Cold nav items */
270 .nav_item
271 {
272 font: 11px tahoma, verdana, geneva, arial, helvetica, sans-serif;
273 padding: 2px 2px 1px 7px;
274 background: #5D7490;
275 border-bottom: #97A9C4 solid 1px;
276 }
277
278 /* Hot nav items */
279 .nav_item:hover
280 {
281 font: 11px tahoma, verdana, geneva, arial, helvetica, sans-serif;
282 padding: 2px 2px 1px 7px;
283 background: #4A5F78;
284 border-bottom: #97A9C4 solid 1px;
285 }
286
287 /* ################################################################### */
288 /* Template manager */
289 /* ################################################################### */
290
291 /* The body of the template manager */
292 .manager_body
293 {
294 background: rgb(0, 0, 0);
295 color: rgb(255, 255, 255);
296 }
297
298 /* A group of templates */
299 .manager_group
300 {
301 background: #28394E;
302 color: #8994A4;
303 }
304
305 /* Items in a template group */
306 .manager_group_item
307 {
308 background: #364D6F;
309 color: #AABBD3;
310 }
311 CSS;
312
313 if (!$included)
314 {
315 echo $css;
316 }
317
318 /*=====================================================================*\
319 || ###################################################################
320 || # $HeadURL$
321 || # $Id$
322 || ###################################################################
323 \*=====================================================================*/
324 ?>