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