source: trunk/css/admin.inc.css @ 28

Last change on this file since 28 was 28, checked in by scdev, 19 years ago
File size: 4.8 KB
Line 
1/**
2 * admin.css
3 * code by strangecode :: www.strangecode.com :: this document contains copyrighted information
4 *
5 * CSS for the Strangecode administration sites.
6 */
7
8/*_____________________ GLOBAL ____________________*/
9body
10{
11    background: #fff;
12    margin: 0;
13    padding: 0;
14    font-family: verdana,geneva,arial,sans-serif;
15    color: #000;
16}
17
18a:link
19{
20    color: #336;
21    text-decoration: underline;
22}
23
24a:visited
25{
26    color: #336;
27    text-decoration: underline;
28}
29
30a:hover
31{
32    color: #C30;
33    text-decoration: none;
34}
35
36a:active
37{
38    color: #336;
39    text-decoration: none;
40}
41
42/*_____________________ MISC ____________________*/
43
44/* The following are here in addition to in utilities.inc.css only because I want the font size 70%. Is there a more general way to do this? There currently are NO font-size specifications in utilities.inc.css or codebase.inc.css. That seems safest, but requires that they are redefined anyways (like here for eg). Have you figured out how to do font sizes correctly? */
45
46/* Why does having a form change the presentation of the page? Don't do that. */
47form
48{
49    margin: 0;
50}
51
52form label
53{
54    font-size: 70%;
55    max-width: 25em;
56    font-weight: bold;
57    /* BEAU: I added class="right" to the <TD> to make them align right as they were before. Do you know a better way? */
58    /*float: right;*/
59}
60
61.help
62{
63    font-size: 70%;
64}
65
66.commandtext
67{
68    font-size: 70%;
69}
70
71
72
73/*_____________________ HEADER ____________________*/
74#userinfo
75{
76    width: 98%;
77    margin: 10px auto 2px;
78    background-color: #fff;
79    color: #333;
80    text-align: right;
81}
82
83#userinfo p
84{
85    margin: 0;
86    padding: 0;
87    font-size: 60%;
88}
89
90#container
91{
92    width: 98%;
93    margin: 0 auto 10px;
94    background-color: #EEE;
95    border: 1px solid gray;
96}
97
98#top
99{
100    border-bottom: 1px solid gray;
101    background-color: #CCC;
102    padding: .5em;
103}
104
105#top h1
106{
107    margin: 0;
108    padding: 0;
109    font-size: 120%;
110    color: #000;
111}
112
113/*_____________________ NAVIGATION ____________________*/
114#leftnav
115{
116    float: left;
117    width: 9em;
118    margin: 0 0 10px 0;
119    border-right: 1px solid gray;
120    padding: 0;
121    background-color: #EEE;
122}
123
124#leftnav ul
125{
126    padding: 0;
127    margin: 0;
128    width: 9em;
129}
130
131#leftnav #navlist li
132{
133    list-style: none;
134    margin: 0;
135    border-bottom: 1px solid gray;
136    margin-left: 0em;
137    padding: 1px 0 2px 6px;
138    font: bold 60% Verdana, sans-serif;
139}
140
141#leftnav #navlist li a
142{
143    text-decoration: none;
144    padding: 1px;
145}
146
147#leftnav #navlist li.label
148{
149    color: #999;
150    padding-top: 10px;
151    font-size: 75%;
152    font-weight: bold;
153}
154
155#leftnav #navlist li a:link, #navlist li a:visited
156{
157    color: #336;
158}
159
160#leftnav #navlist li a:hover, #navlist li a:active
161{
162    color: #C00;
163}
164
165#leftnav a.addlink
166{
167    margin-left: 0.5em;
168}
169
170/*_____________________ CONTENT ____________________*/
171#content
172{
173    margin-left: 9em;
174    border-left: 1px solid gray;
175    padding: 0.75em 0.5em;
176    background-color: #FFF;
177}
178
179#content h2
180{
181    font-size: 100%;
182    margin: 0 0 .5em 0;
183}
184
185#content h3
186{
187    font-size: 85%;
188    margin: 0 0 .5em 0;
189}
190
191#content h4
192{
193    font-size: 70%;
194    margin: 0 0 .5em 0;
195}
196
197#content p
198{
199    margin: 0 0 .5em 0;
200    font-size: 70%;
201    /*     max-width: 36em; */
202    line-height: 130%;
203}
204
205#content li
206{
207    margin: 0 0 0 0;
208    font-size: 70%;
209    /*     max-width: 36em; */
210    line-height: 100%;
211}
212
213/*_____________________ TABLES ____________________*/
214/* BEAU: I copied this from NEXT. Please help! */
215table
216{
217    border: 1;
218    border-collapse: collapse;
219    border-spacing: 0;
220}
221
222th
223{
224    padding: 2px;
225    text-align: left;
226    vertical-align: middle;
227    white-space: nowrap;
228}
229
230td
231{
232    vertical-align: top;
233    padding: 8px 6px 0 0;
234}
235
236table.list
237{
238    border: 1;
239    width: 100%;
240    margin: 4px 0;
241}
242
243table.list th
244{
245    padding-right: 6px;
246    font-size: 70%;
247    background-color: #CCC;
248    border-bottom: 1px solid #000;
249}
250
251table.list td
252{
253    font-size: 70%;
254    padding: 2px;
255    border-bottom: 1px dotted #000;
256}
257
258/* BEAU: The old stuff that was here...
259#content table
260{
261         background-color: #FFF;
262}
263
264#content th
265{
266    padding: 2px;
267    text-align: left;
268    vertical-align: middle;
269    white-space: nowrap;
270}
271
272#content td
273{
274    vertical-align: top;
275}
276
277#content table.list
278{
279    width: 99%;
280    margin: 4px 0;
281    background-color: #FFF;
282}
283
284#content table.list th
285{
286    padding-right: 6px;
287    font-size: 70%;
288    background-color: #CCC;
289    border-bottom: 1px solid #000;
290}
291
292#content table.list td
293{
294    font-size: 70%;
295    padding: 2px;
296    border-bottom: 1px dotted #000;
297}
298*/
299/*_____________________ FOOTER ____________________*/
300#footer
301{
302    clear: both;
303    margin: 0;
304    padding: 6px;
305    color: #333;
306    background-color: #DDD;
307    border-top: 1px solid gray;
308    font-size: 60%;
309    line-height: 100%;
310}
311
312#footer a:link, 
313#footer a:visited
314{
315    color: #333;
316    text-decoration: none;
317}
318
319#footer a:active, 
320#footer a:hover
321{
322    color: #333;
323    text-decoration: underline;
324}
Note: See TracBrowser for help on using the repository browser.