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

Last change on this file since 308 was 308, checked in by quinn, 16 years ago

General bug fixes. Backported email checking regex from codebase 2.1.2. Some css mods.

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