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