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: 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(70, 70, 70);
82 background: rgb(0, 0, 0) url({$GLOBALS['isso:null-framework']->webpath}images/tcat.gif);
83 background-color: rgb(227, 233, 245);
84 border-bottom: outset 1px;
85 }
86
87 /* Links within the TCAT class */
88 .tcat a:link, .tcat a:visited, .tcat a:active
89 {
90 color: #97A9C4;
91 }
92
93 /* Row under the TCAT row (often used for column headers) */
94 td.thead, .thead td, .alt3
95 {
96 color: #D6E1EC;
97 font-weight: bold;
98 background: #445B78 url({$GLOBALS['isso:null-framework']->webpath}images/thead.gif);
99 background-color: rgb(56, 117, 215);
100 border: outset 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: rgb(0, 0, 0);
113 background: rgb(205, 220, 243);
114 }
115
116 /* The second type of row used in the alternation cycle */
117 .alt2
118 {
119 color: rgb(0, 0, 0);
120 background: rgb(232, 239, 250);
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: rgb(222, 222, 222);
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: rgb(0, 0, 0);
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: rgb(0, 0, 0);
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: rgb(0, 0, 0);
226 }
227
228 .nav_body a:link, .nav_body a:active, .nav_body a:hover, .nav_body a:visited
229 {
230 color: rgb(255, 255, 255);
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: 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:hover
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: rgb(0, 0, 0);
278 color: rgb(255, 255, 255);
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 ?>