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