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

Last change on this file since 26 was 22, checked in by scdev, 19 years ago

More bugs and shifting things about.

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    /* BEAU: I added class="right" to the <TD> to make them align right as they were before. Do you know a better way? */
57    /*float: right;*/
58}
59
60.help
61{
62    font-size: 70%;
63}
64
65.commandtext
66{
67    font-size: 70%;
68}
69
70
71
72/*_____________________ HEADER ____________________*/
73#userinfo
74{
75    width: 98%;
76    margin: 10px auto 2px;
77    background-color: #fff;
78    color: #333;
79    text-align: right;
80}
81
82#userinfo p
83{
84    margin: 0;
85    padding: 0;
86    font-size: 60%;
87}
88
89#container
90{
91    width: 98%;
92    margin: 0 auto 10px;
93    background-color: #EEE;
94    border: 1px solid gray;
95}
96
97#top
98{
99    border-bottom: 1px solid gray;
100    background-color: #CCC;
101    padding: .5em;
102}
103
104#top h1
105{
106    margin: 0;
107    padding: 0;
108    font-size: 120%;
109    color: #000;
110}
111
112/*_____________________ NAVIGATION ____________________*/
113#leftnav
114{
115    float: left;
116    width: 9em;
117    margin: 0 0 10px 0;
118    border-right: 1px solid gray;
119    padding: 0;
120    background-color: #EEE;
121}
122
123#leftnav ul
124{
125    padding: 0;
126    margin: 0;
127    width: 9em;
128}
129
130#leftnav #navlist li
131{
132    list-style: none;
133    margin: 0;
134    border-bottom: 1px solid gray;
135    margin-left: 0em;
136    padding: 1px 0 2px 6px;
137    font: bold 60% Verdana, sans-serif;
138}
139
140#leftnav #navlist li a
141{
142    text-decoration: none;
143    padding: 1px;
144}
145
146#leftnav #navlist li.label
147{
148    color: #999;
149    padding-top: 10px;
150    font-size: 75%;
151    font-weight: bold;
152}
153
154#leftnav #navlist li a:link, #navlist li a:visited
155{
156    color: #336;
157}
158
159#leftnav #navlist li a:hover, #navlist li a:active
160{
161    color: #C00;
162}
163
164#leftnav a.addlink
165{
166    margin-left: 0.5em;
167}
168
169/*_____________________ CONTENT ____________________*/
170#content
171{
172    margin-left: 9em;
173    border-left: 1px solid gray;
174    padding: 0.75em 0.5em;
175    background-color: #FFF;
176}
177
178#content h2
179{
180    font-size: 100%;
181    margin: 0 0 .5em 0;
182}
183
184#content h3
185{
186    font-size: 85%;
187    margin: 0 0 .5em 0;
188}
189
190#content h4
191{
192    font-size: 70%;
193    margin: 0 0 .5em 0;
194}
195
196#content p
197{
198    margin: 0 0 .5em 0;
199    font-size: 70%;
200    /*     max-width: 36em; */
201    line-height: 130%;
202}
203
204#content li
205{
206    margin: 0 0 0 0;
207    font-size: 70%;
208    /*     max-width: 36em; */
209    line-height: 100%;
210}
211
212/*_____________________ TABLES ____________________*/
213/* BEAU: I copied this from NEXT. Please help! */
214table
215{
216    border: 1;
217    border-collapse: collapse;
218    border-spacing: 0;
219}
220
221th
222{
223    padding: 2px;
224    text-align: left;
225    vertical-align: middle;
226    white-space: nowrap;
227}
228
229td
230{
231    vertical-align: top;
232    padding: 8px 6px 0 0;
233}
234
235table.list
236{
237    border: 1;
238    width: 100%;
239    margin: 4px 0;
240}
241
242table.list th
243{
244    padding-right: 6px;
245    font-size: 70%;
246    background-color: #CCC;
247    border-bottom: 1px solid #000;
248}
249
250table.list td
251{
252    font-size: 70%;
253    padding: 2px;
254    border-bottom: 1px dotted #000;
255}
256
257/* BEAU: The old stuff that was here...
258#content table
259{
260         background-color: #FFF;
261}
262
263#content th
264{
265    padding: 2px;
266    text-align: left;
267    vertical-align: middle;
268    white-space: nowrap;
269}
270
271#content td
272{
273    vertical-align: top;
274}
275
276#content table.list
277{
278    width: 99%;
279    margin: 4px 0;
280    background-color: #FFF;
281}
282
283#content table.list th
284{
285    padding-right: 6px;
286    font-size: 70%;
287    background-color: #CCC;
288    border-bottom: 1px solid #000;
289}
290
291#content table.list td
292{
293    font-size: 70%;
294    padding: 2px;
295    border-bottom: 1px dotted #000;
296}
297*/
298/*_____________________ FOOTER ____________________*/
299#footer
300{
301    clear: both;
302    margin: 0;
303    padding: 6px;
304    color: #333;
305    background-color: #DDD;
306    border-top: 1px solid gray;
307    font-size: 60%;
308    line-height: 100%;
309}
310
311#footer a:link, 
312#footer a:visited
313{
314    color: #333;
315    text-decoration: none;
316}
317
318#footer a:active, 
319#footer a:hover
320{
321    color: #333;
322    text-decoration: underline;
323}
Note: See TracBrowser for help on using the repository browser.