Collapse table borders
[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 /*******************************************************************/
89 /* Tables */
90 /*******************************************************************/
91
92 table
93 {
94 border-width: 1px;
95 border-style: solid;
96 border-color: rgb(123, 170, 90);
97 border-collapse: collapse;
98
99 background-color: rgb(255, 255, 255);
100
101 margin: 10px 0px 10px 0px;
102
103 width: 100%;
104 }
105
106 thead
107 {
108 background-color: rgb(123, 170, 90);
109
110 font-size: 14px;
111 font-weight: bold;
112 color: rgb(0, 0, 0);
113
114 text-align: center;
115 }
116
117 thead td
118 {
119 padding: 7px;
120 }
121
122 tr
123 {
124 border-collapse: collapse;
125 }
126
127 .headings
128 {
129 background-color: rgb(203, 234, 148);
130
131 font-size: 12px;
132 font-weight: bold;
133 color: rgb(62, 76, 49);
134 }
135
136 .headings td
137 {
138 text-align: center;
139 }
140
141 .headings td:first-child
142 {
143 text-align: left;
144 }
145
146 .headings td:last-child
147 {
148 text-align: right;
149 }
150
151 table tr td
152 {
153 padding: 4px;
154 }
155
156 table .alt1
157 {
158 background-color: rgb(255, 255, 255);
159 }
160
161 table .alt2
162 {
163 background-color: rgb(237, 245, 230);
164 }
165
166 /*******************************************************************/
167 /* Boxes */
168 /*******************************************************************/
169
170 /* Big, red box to display errors */
171 .error-box
172 {
173 border-width: 5px;
174 border-style: solid;
175 border-color: rgb(252, 11, 29);
176
177 padding: 4px;
178 margin: 10px 0px 10px 0px;
179
180 background-color: rgb(247, 170, 170);
181
182 color: rgb(252, 11, 29);
183 }
184
185 /* Naming the error box */
186 .error-box h1
187 {
188 font-size: 14px;
189 }
190
191 /* Green box to display messages */
192 .message-box
193 {
194 border-width: 5px;
195 border-style: solid;
196 border-color: rgb(109, 187, 45);
197
198 padding: 4px;
199 margin: 10px 0px 10px 0px;
200
201 background-color: rgb(209, 249, 170);
202
203 color: rgb(109, 187, 45);
204 }
205
206 /* Naming the box */
207 .message-box h1
208 {
209 font-size: 14px;
210 }