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