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

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

Minor bugfixing. Added some admin css tweaks to 1.1dev.

File size: 4.4 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    float: left;
126    width: 9em;
127    margin: 0 0 10px 0;
128/*     border-right: 1px solid gray; */
129    padding: 0;
130    background-color: #EEE;
131}
132
133#leftnav ul {
134    padding: 0;
135    margin: 0;
136    width: 9em;
137}
138
139#leftnav #navlist li {
140    list-style: none;
141    margin: 0;
142    border-bottom: 1px solid #ccc;
143    margin-left: 0em;
144    padding: 1px 0 2px 6px;
145    font-size: 70%;
146    font-weight: bold;
147}
148
149#leftnav #navlist li a {
150    text-decoration: none;
151    padding: 1px;
152}
153
154#leftnav #navlist li.label {
155    color: #999;
156    padding-top: 15px;
157    font-size: 90%;
158    font-weight: bold;
159}
160
161#leftnav a.addlink {
162    margin-left: 0.5em;
163    font-weight: normal;
164}
165
166#leftnav #navlist li a:link, #navlist li a:visited {
167    color: #336;
168}
169
170#leftnav #navlist li a:hover, #navlist li a:active {
171    color: #C00;
172}
173
174/*_____________________ CONTENT ____________________*/
175#content
176{
177    margin-left: 9em;
178    border-left: 1px solid gray;
179    padding: 1px 10px 20px 10px;
180    background-color: #FFF;
181}
182
183#content h2
184{
185    font-size: 100%;
186    margin: 1.5em 0 .5em 0;
187}
188
189#content h3
190{
191    font-size: 85%;
192    margin: 1em 0 .5em 0;
193}
194
195#content h4
196{
197    font-size: 70%;
198    margin: .5em 0 .5em 0;
199}
200
201#content p
202{
203    margin: 0 0 .5em 0;
204    font-size: 70%;
205    /*     max-width: 36em; */
206    line-height: 130%;
207}
208
209#content li
210{
211    margin: 0 0 0 0;
212    font-size: 70%;
213    /*     max-width: 36em; */
214    line-height: 100%;
215}
216
217/*_____________________ TABLES ____________________*/
218/* BEAU: I copied this from NEXT. Please help! */
219table
220{
221    border: 1;
222    border-collapse: collapse;
223    border-spacing: 0;
224}
225
226th
227{
228    padding: 2px;
229    text-align: left;
230    vertical-align: middle;
231    white-space: nowrap;
232}
233
234td
235{
236    vertical-align: top;
237    padding-right: 6px;
238}
239
240table.list
241{
242    border: 1;
243    width: 100%;
244    margin: 4px 0;
245}
246
247table.list th
248{
249    padding-right: 6px;
250    font-size: 70%;
251    background-color: #CCC;
252    border-bottom: 1px solid #000;
253}
254
255table.list td
256{
257    font-size: 70%;
258    padding: 2px 6px 2px 2px;
259    border-bottom: 1px dotted #000;
260}
261
262/*_____________________ FOOTER ____________________*/
263#footer
264{
265    clear: both;
266    margin: 0;
267    padding: 6px;
268    color: #333;
269    background-color: #DDD;
270    border-top: 1px solid gray;
271    font-size: 60%;
272    line-height: 100%;
273}
274
275#footer a:link, 
276#footer a:visited
277{
278    color: #333;
279    text-decoration: none;
280}
281
282#footer a:active, 
283#footer a:hover
284{
285    color: #333;
286    text-decoration: underline;
287}
Note: See TracBrowser for help on using the repository browser.