Add the background image to #title
[isso.git] / Decorator.css.php
1 <?php
2
3 $path = dirname(isset($_SERVER['SCRIPT_URL']) ? $_SERVER['SCRIPT_URL'] : $_SERVER['REQUEST_URI']);
4 header("Content-Type: text/css");
5
6 ?>
7 /*=====================================================================*
8 || ###################################################################
9 || # Blue Static ISSO Framework
10 || # Copyright (c)2005-2008 Blue Static
11 || #
12 || # This program is free software; you can redistribute it and/or modify
13 || # it under the terms of the GNU General Public License as published by
14 || # the Free Software Foundation; version 2 of the License.
15 || #
16 || # This program is distributed in the hope that it will be useful, but
17 || # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
18 || # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
19 || # more details.
20 || #
21 || # You should have received a copy of the GNU General Public License along
22 || # with this program; if not, write to the Free Software Foundation, Inc.,
23 || # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
24 || ###################################################################
25 \*=====================================================================*/
26
27 /* Reset all the annoying browser defaults */
28 * { margin: 0px; padding: 0px; }
29
30 /* Main body tag */
31 body
32 {
33 background-color: rgb(232, 255, 198);
34 font-family: Verdana, Helvetica, Arial, sans-serif;
35 font-size: 12px;
36 }
37
38 /* Title section that appears at the top of pages */
39 #title
40 {
41 border-width: 0px 0px 1px 0px;
42 border-color: rgb(0, 0, 0);
43 border-style: solid;
44
45 height: 50px;
46 line-height: 50px;
47 width: 100%;
48
49 text-indent: 10px;
50 margin-bottom: -15px;
51
52 background-image: url(<?php echo $path ?>/DecoratorResources/title.jpg);
53 background-repeat: repeat-x;
54
55 font-size: 24px;
56 font-weight: bold;
57 color: rgb(255, 255, 255);
58 }
59
60 /* Body container that puts some padding on elements */
61 #body
62 {
63 padding: 20px;
64 }
65
66 /*******************************************************************/
67 /* Form Elements */
68 /*******************************************************************/
69
70 /* Main form wrapper */
71 fieldset
72 {
73 border-width: 1px;
74 border-style: solid;
75 border-color: rgb(123, 170, 90);
76
77 background-color: rgb(255, 255, 255);
78
79 padding: 5px 9px 5px 9px;
80 margin: 10px 0px 10px 0px;
81 }
82
83 /* Form title */
84 legend
85 {
86 border-width: 0px 1px 0px 1px;
87 border-style: solid;
88 border-color: rgb(123, 170, 90);
89
90 padding: 3px 7px 3px 7px;
91
92 font-size: 14px;
93 font-weight: bold;
94 color: rgb(62, 76, 49);
95 }
96
97 /* Naming form elements */
98 fieldset dt label
99 {
100 font-weight: bold;
101 font-size: 12px;
102 }
103
104 /* Description for form elements/names */
105 fieldset label dfn
106 {
107 font-weight: normal;
108 font-style: italic;
109 font-size: 10px;
110 color: rgb(100, 100, 100);
111
112 display: block;
113 }
114
115 /* A field name */
116 fieldset dl dt
117 {
118 border-width: 0px 1px 0px 0px;
119 border-color: #7BAA5A;
120 border-style: solid;
121
122 padding: 0px 4px 0px 2px;
123 margin: 5px 0px 5px 0px;
124
125 width: 50%;
126 float: left;
127 }
128
129 /* Field value editor */
130 fieldset dl dd
131 {
132 padding: 4px 0px 2px 4px;
133 margin: 5px 0px 5px 0px;
134
135 width: 49%;
136 float: right;
137 }
138
139 /*******************************************************************/
140 /* Tables */
141 /*******************************************************************/
142
143 table
144 {
145 border-width: 1px;
146 border-style: solid;
147 border-color: rgb(123, 170, 90);
148 border-collapse: collapse;
149
150 background-color: rgb(255, 255, 255);
151
152 margin: 10px 0px 10px 0px;
153
154 width: 100%;
155 }
156
157 thead
158 {
159 background-color: rgb(123, 170, 90);
160
161 font-size: 14px;
162 font-weight: bold;
163 color: rgb(0, 0, 0);
164
165 text-align: center;
166 }
167
168 thead td
169 {
170 padding: 7px;
171 }
172
173 tr
174 {
175 border-collapse: collapse;
176 }
177
178 .headings
179 {
180 background-color: rgb(203, 234, 148);
181
182 font-size: 12px;
183 font-weight: bold;
184 color: rgb(62, 76, 49);
185 }
186
187 .headings td
188 {
189 text-align: center;
190 }
191
192 .headings td:first-child
193 {
194 text-align: left;
195 }
196
197 .headings td:last-child
198 {
199 text-align: right;
200 }
201
202 table tr td
203 {
204 padding: 4px;
205 }
206
207 table .alt1
208 {
209 background-color: rgb(255, 255, 255);
210 }
211
212 table .alt2
213 {
214 background-color: rgb(237, 245, 230);
215 }
216
217 /*******************************************************************/
218 /* Boxes */
219 /*******************************************************************/
220
221 /* Big, red box to display errors */
222 .error-box
223 {
224 border-width: 5px;
225 border-style: solid;
226 border-color: rgb(252, 11, 29);
227
228 padding: 4px;
229 margin: 10px 0px 10px 0px;
230
231 background-color: rgb(247, 170, 170);
232
233 color: rgb(252, 11, 29);
234 }
235
236 /* Naming the error box */
237 .error-box h1
238 {
239 font-size: 14px;
240 }
241
242 /* Green box to display messages */
243 .message-box
244 {
245 border-width: 5px;
246 border-style: solid;
247 border-color: rgb(109, 187, 45);
248
249 padding: 4px;
250 margin: 10px 0px 10px 0px;
251
252 background-color: rgb(209, 249, 170);
253
254 color: rgb(109, 187, 45);
255 }
256
257 /* Naming the box */
258 .message-box h1
259 {
260 font-size: 14px;
261 }