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