source: branches/1.1dev/css/admin.inc.css @ 77

Last change on this file since 77 was 77, checked in by scdev, 18 years ago

Q: added truncate() function. added padding-top to forms in the admin

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