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