Fixing PHP5 warnings
[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: #D2D3F0;
65 background: #68768A;
66 }
67
68 /* The row that goes on top of all other content */
69 .phead
70 {
71 color: #1C1C21;
72 font-size: 11pt;
73 font-weight: bold;
74 text-align: left;
75 border-bottom: outset 3px;
76 background: #445B78;
77 padding: 2px 25px; 2px; 25px;
78 }
79
80 /* Border area around tables and inbetween spacing */
81 .tborder
82 {
83 border: ridge 4px;
84 }
85
86 /* First row set in all tables */
87 .tcat
88 {
89 color: #97A9C4;
90 background: #38495E url({$GLOBALS['isso:null-framework']->webpath}images/tcat.gif);
91 border-bottom: outset 1px;
92 }
93
94 /* Links within the TCAT class */
95 .tcat a:link, .tcat a:visited, .tcat a:active
96 {
97 color: #97A9C4;
98 }
99
100 /* Row under the TCAT row (often used for column headers) */
101 td.thead, .thead td, .alt3
102 {
103 color: #D6E1EC;
104 font-weight: bold;
105 background: #445B78 url({$GLOBALS['isso:null-framework']->webpath}images/thead.gif);
106 border: inset 1px;
107 }
108
109 /* Links for the THEAD class */
110 .thead a:link, .thead a:visited, .thead a:active, .alt3 a:link, .alt3 a:visited, .alt3 a:active
111 {
112 color: #D6E1EC;
113 }
114
115 /* The first type of row used in the alternation cycle */
116 .alt1
117 {
118 color: #38495E;
119 background: #8994A4;
120 }
121
122 /* The second type of row used in the alternation cycle */
123 .alt2
124 {
125 color: #38495E;
126 background: #ABB2BC;
127 }
128
129 /* The third alternation, used in special cases */
130 .alt3
131 {
132 border: 0px;
133 }
134
135 /* The last row in the table (often used for the submit buttons) */
136 .tfoot
137 {
138 color: #7D7CA3;
139 background: #ECE8D8;
140 border: outset 1px;
141 }
142
143 /* ################################################################### */
144 /* Text elements */
145 /* ################################################################### */
146
147 /* Font settings for all non-styled elements */
148 body, p, td, tr, ol, ul
149 {
150 font: 12px verdana, geneva, arial, helvetica, sans-serif;
151 }
152
153 /* Small text (used in copyright) */
154 .smallfont, .copyright, dfn
155 {
156 font: 11px tahoma, verdana, geneva, arial, helvetica, sans-serif;
157 }
158
159 /* Description text */
160 dfn
161 {
162 font-style: italic;
163 }
164
165 /* Table headings */
166 .tcat, .thead, .tfoot
167 {
168 font: 12px tahoma, verdana, geneva, arial, helvetica, sans-serif;
169 }
170
171 /* Normal links */
172 a:link, a:visited, a:active
173 {
174 color: #293F5B;
175 background: none;
176 }
177
178 /* Hover links */
179 a:hover, .tcat a:hover, .thead a:hover, .tfoot a:hover
180 {
181 color: #D6E1EC;
182 background: #38495E;
183 }
184
185 .copyright a:hover, .copyright a:link, .copyright a:visited, .copyright a:active
186 {
187 text-decoration: none;
188 }
189
190 /* Mono-space */
191 .code
192 {
193 font: 9pt 'courier new', courier, monospace;
194 }
195
196 /* ################################################################### */
197 /* Form styling elements */
198 /* ################################################################### */
199
200 /* Input elements in a form */
201 input, textarea, select, option
202 {
203 font: 12px verdana, geneva, arial, helvetica, sans-serif;
204 }
205
206 /* Input formatting */
207 .input
208 {
209 font: bold 11px tahoma, verdana, geneva, arial, helvetica, sans-serif;
210 text-indent: 5px;
211 margin: 1px;
212 margin-top: 3px;
213 }
214
215 /* Button styling */
216 .button
217 {
218 color: #000000;
219 font: bold 11px tahoma, verdana, geneva, arial, helvetica, sans-serif;
220 margin: 1px;
221 margin-top: 3px;
222 }
223
224 /* ################################################################### */
225 /* Navigation panel */
226 /* ################################################################### */
227
228 /* The background colour for the navigation frame */
229 .nav_body
230 {
231 background: #38495E;
232 }
233
234 .nav_body a:link, .nav_body a:active, .nav_body a:hover, .nav_body a:visited
235 {
236 color: #FFFFFF;
237 text-decoration: none;
238 }
239
240 /* Formatting for groups of nav elements */
241 .nav_group
242 {
243 color: #D6E1EC;
244 background: #445B78;
245 border: #97A9C4 solid 2px;
246 border-width: 0px 2px 1px 2px;
247 }
248
249 /* Nav title border */
250 .nav_title
251 {
252 font: 11px tahoma, verdana, geneva, arial, helvetica, sans-serif;
253 padding: 2px;
254 border: #97A9C4 solid 2px;
255 border-width: 2px;
256 }
257
258 /* Cold nav items */
259 .nav_item
260 {
261 font: 11px tahoma, verdana, geneva, arial, helvetica, sans-serif;
262 padding: 2px 2px 1px 7px;
263 background: #5D7490;
264 border-bottom: #97A9C4 solid 1px;
265 }
266
267 /* Hot nav items */
268 .nav_item:hover
269 {
270 font: 11px tahoma, verdana, geneva, arial, helvetica, sans-serif;
271 padding: 2px 2px 1px 7px;
272 background: #4A5F78;
273 border-bottom: #97A9C4 solid 1px;
274 }
275
276 /* ################################################################### */
277 /* Template manager */
278 /* ################################################################### */
279
280 /* The body of the template manager */
281 .manager_body
282 {
283 background: #38495E;
284 color: #FFFFFF;
285 }
286
287 /* A group of templates */
288 .manager_group
289 {
290 background: #28394E;
291 color: #8994A4;
292 }
293
294 /* Items in a template group */
295 .manager_group_item
296 {
297 background: #364D6F;
298 color: #AABBD3;
299 }
300 CSS;
301
302 if (!$included)
303 {
304 echo $css;
305 }
306
307 /*=====================================================================*\
308 || ###################################################################
309 || # $HeadURL$
310 || # $Id$
311 || ###################################################################
312 \*=====================================================================*/
313 ?>