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