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

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

Minor CSS adjustment

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