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