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