Work on form element lists
[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 height: 50px;
42 width: 100%;
43
44 font-size: 24px;
45 font-weight: bold;
46 color: rgb(255, 255, 255);
47 }
48
49 /* Body container that puts some padding on elements */
50 #body
51 {
52 padding: 20px;
53 }
54
55 /*******************************************************************/
56 /* Form Elements */
57 /*******************************************************************/
58
59 /* Main form wrapper */
60 fieldset
61 {
62 border-width: 1px;
63 border-style: solid;
64 border-color: rgb(123, 170, 90);
65
66 background-color: rgb(255, 255, 255);
67
68 padding: 5px 9px 5px 9px;
69 margin: 10px 0px 10px 0px;
70 }
71
72 /* Form title */
73 legend
74 {
75 border-width: 1px;
76 border-style: solid;
77 border-color: rgb(123, 170, 90);
78
79 background-color: rgb(203, 234, 148);
80
81 padding: 3px;
82
83 font-size: 14px;
84 font-weight: bold;
85 color: rgb(62, 76, 49);
86 }
87
88 /* Naming form elements */
89 fieldset dt label
90 {
91 font-weight: bold;
92 font-size: 12px;
93 }
94
95 /* Description for form elements/names */
96 fieldset label dfn
97 {
98 font-weight: normal;
99 font-style: italic;
100 font-size: 10px;
101 color: rgb(100, 100, 100);
102
103 display: block;
104 }
105
106 /* A field name */
107 fieldset dl dt
108 {
109 border-width: 0px 1px 0px 0px;
110 border-color: #7BAA5A;
111 border-style: solid;
112
113 padding: 0px 4px 0px 2px;
114 margin: 5px 0px 5px 0px;
115
116 width: 50%;
117 float: left;
118 }
119
120 /* Field value editor */
121 fieldset dl dd
122 {
123 padding: 4px 0px 2px 4px;
124 margin: 5px 0px 5px 0px;
125
126 width: 49%;
127 float: right;
128 }
129
130 /*******************************************************************/
131 /* Tables */
132 /*******************************************************************/
133
134 table
135 {
136 border-width: 1px;
137 border-style: solid;
138 border-color: rgb(123, 170, 90);
139 border-collapse: collapse;
140
141 background-color: rgb(255, 255, 255);
142
143 margin: 10px 0px 10px 0px;
144
145 width: 100%;
146 }
147
148 thead
149 {
150 background-color: rgb(123, 170, 90);
151
152 font-size: 14px;
153 font-weight: bold;
154 color: rgb(0, 0, 0);
155
156 text-align: center;
157 }
158
159 thead td
160 {
161 padding: 7px;
162 }
163
164 tr
165 {
166 border-collapse: collapse;
167 }
168
169 .headings
170 {
171 background-color: rgb(203, 234, 148);
172
173 font-size: 12px;
174 font-weight: bold;
175 color: rgb(62, 76, 49);
176 }
177
178 .headings td
179 {
180 text-align: center;
181 }
182
183 .headings td:first-child
184 {
185 text-align: left;
186 }
187
188 .headings td:last-child
189 {
190 text-align: right;
191 }
192
193 table tr td
194 {
195 padding: 4px;
196 }
197
198 table .alt1
199 {
200 background-color: rgb(255, 255, 255);
201 }
202
203 table .alt2
204 {
205 background-color: rgb(237, 245, 230);
206 }
207
208 /*******************************************************************/
209 /* Boxes */
210 /*******************************************************************/
211
212 /* Big, red box to display errors */
213 .error-box
214 {
215 border-width: 5px;
216 border-style: solid;
217 border-color: rgb(252, 11, 29);
218
219 padding: 4px;
220 margin: 10px 0px 10px 0px;
221
222 background-color: rgb(247, 170, 170);
223
224 color: rgb(252, 11, 29);
225 }
226
227 /* Naming the error box */
228 .error-box h1
229 {
230 font-size: 14px;
231 }
232
233 /* Green box to display messages */
234 .message-box
235 {
236 border-width: 5px;
237 border-style: solid;
238 border-color: rgb(109, 187, 45);
239
240 padding: 4px;
241 margin: 10px 0px 10px 0px;
242
243 background-color: rgb(209, 249, 170);
244
245 color: rgb(109, 187, 45);
246 }
247
248 /* Naming the box */
249 .message-box h1
250 {
251 font-size: 14px;
252 }