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