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

Last change on this file since 387 was 387, checked in by anonymous, 13 years ago

Minor CSS adjustment

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