source: tags/1.0.0/css/admin.inc.css @ 1

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

Initial import.

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