source: trunk/css/admin2.inc.css @ 297

Last change on this file since 297 was 297, checked in by quinn, 16 years ago
File size: 6.5 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    background: #fff;
11    margin: 0;
12    padding: 0;
13    font-family: verdana,geneva,arial,sans-serif;
14    color: #000;
15}
16
17a:link,
18a:visited { color: #336; text-decoration: underline; }
19a:hover   { color: #C30; text-decoration: none; }
20a:active  { color: #336; }
21
22/*_____________________ MISC ____________________*/
23
24/* 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? */
25
26/* Why does having a form change the presentation of the page? Don't do that. */
27/* form { margin: 0; }
28
29form label {
30    font-size: 70%;
31    max-width: 25em;
32    font-weight: bold;
33}
34 */
35.help,
36.sc-help,
37.commandtext,
38.commanditem { font-size: 70%; }
39
40/* For fv err applied to tds. */
41td.sc-msg-warning,
42td.sc-msg-error,
43td.sc-msg-success,
44td.sc-msg-notice {
45    background: #fff;
46    color: #f00;
47    border: none;
48}
49
50img {
51    border: 0;
52    vertical-align: middle;
53}
54
55/*_____________________ HEADER ____________________*/
56#userinfo {
57    width: 98%;
58    margin: 4px auto 2px;
59    background-color: #fff;
60    color: #333;
61    text-align: right;
62}
63
64#userinfo p {
65    margin: 0;
66    padding: 0;
67}
68
69#container {
70    width: 98%;
71    margin: 0 auto 10px;
72    background-color: #EEE;
73    border: 1px solid gray;
74}
75
76#top {
77    border-bottom: 1px solid gray;
78    background-color: #CCC;
79    padding: .5em;
80}
81
82#top h1 {
83    margin: 0;
84    padding: 0;
85    font-size: 150%;
86    color: #000;
87}
88
89/*_____________________ NAVIGATION ____________________*/
90#leftnav {
91    float: left;
92    width: 9em;
93    margin: 0 0 10px 0;
94/*     border-right: 1px solid gray; */
95    padding: 0;
96    background-color: #EEE;
97}
98
99#leftnav ul {
100    padding: 0;
101    margin: 0;
102    width: 9em;
103}
104
105#leftnav #navlist li {
106    list-style: none;
107    margin: 0;
108    border-bottom: 1px solid #ccc;
109    margin-left: 0em;
110    padding: 1px 0 2px 6px;
111    font-size: 70%;
112    font-weight: bold;
113}
114
115#leftnav #navlist li a {
116    text-decoration: none;
117    padding: 1px;
118}
119
120#leftnav #navlist li.label {
121    color: #999;
122    padding-top: 15px;
123    font-size: 90%;
124    font-weight: bold;
125}
126
127#leftnav a.addlink {
128    margin-left: 0.5em;
129    font-weight: normal;
130}
131
132#leftnav #navlist li a:link, #navlist li a:visited {
133    color: #336;
134}
135
136#leftnav #navlist li a:hover, #navlist li a:active {
137    color: #C00;
138}
139
140/*_____________________ CONTENT ____________________*/
141#content {
142    width: 100%;
143/*     margin-left: 1em; */
144    border-left: 1px solid gray;
145    padding: 0.75em 0.5em 15px 0.75em;
146    background-color: #FFF;
147}
148
149#content h1, #content h2, #content h3, #content h4, #content h5 {
150    margin: 0 0 .5em 0;
151}
152#content h1 { font-size: 130%; }
153#content h2 { font-size: 110%; }
154#content h3 { font-size: 90%; }
155#content h4 { font-size: 75%; }
156
157#content p {
158    margin: 0 0 .5em 0;
159    font-size: 70%;
160    line-height: 130%;
161}
162
163#content li {
164    margin: 0 0 0 0;
165    font-size: 70%;
166    line-height: 100%;
167}
168
169/*_____________________ TABLES ____________________*/
170/* BEAU: I copied this from NEXT. Please help! */
171table {
172    border-size: 1px;
173    border-collapse: collapse;
174    border-spacing: 0;
175}
176
177th {
178    padding: 2px;
179    text-align: left;
180    vertical-align: middle;
181    white-space: nowrap;
182}
183
184td {
185    vertical-align: top;
186    padding: 8px 6px 0 0;
187}
188
189table.list {
190    border-size: 1px;
191    width: 100%;
192    margin: 4px 0;
193}
194
195table.list th {
196    padding: 0 6px 1px 2px;
197    font-size: 70%;
198    border-top: 2px solid #eee;
199    border-bottom: 2px solid #eee;
200    background-color: #ddd;
201/*  border-bottom: 1px solid #000; */
202}
203
204table.list td, #commandbox table td {
205    font-size: 70%;
206    padding: 2px 6px 2px 2px;
207    border-bottom: 1px dotted #ccc;
208    vertical-align: top;
209}
210
211table.list tr:hover, #commandbox table tr:hover {
212    background: #FAF8C7;
213}
214
215/*_____________________ COMMANDS ____________________*/
216
217/* Should this be an ID??? */
218#commandbox
219{
220    padding: 3px 5px 5px 5px;
221    margin: 0 0 10px 0;
222    border: 2px solid #eee;
223    background-color: #ddd;
224    color: inherit;
225}
226
227.commanditem
228{
229    padding: 0 10px 5px 0;
230    white-space: nowrap;
231}
232
233#commandbox form {
234    margin: 8px 0 0 0;
235}
236
237/* I replaced all instances of commandtext with commanditem on the SC admin, but leave it here for sites I didn't. */
238.commandtext
239{
240    padding-right: 1em;
241}
242
243.command_left
244{
245    float: left;
246    white-space: nowrap;
247}
248
249.command_right
250{
251    position: relative;
252    visibility: visible;
253    white-space: nowrap;
254    float: right;
255}
256
257
258/*_____________________ FOOTER ____________________*/
259#footer {
260    clear: both;
261    margin: 0;
262    padding: 6px;
263    color: #333;
264    background-color: #DDD;
265    border-top: 1px solid gray;
266    font-size: 70%;
267    line-height: 100%;
268}
269
270#footer a:link, 
271#footer a:visited {
272    color: #333;
273    text-decoration: none;
274}
275
276#footer a:active, 
277#footer a:hover {
278    color: #333;
279    text-decoration: underline;
280}
281
282/* Form Defaults ---------------------------------------------------- */
283
284.sc-form {
285    width: 100%;
286    margin: 1em 0;
287}
288
289.sc-form-row {
290    margin: .35em 0;
291}
292.sc-form-row:after { content: " "; display: block; visibility: hidden; clear: both; height: 0.1px; font-size: 0.1em; line-height: 0; } /* clear floats - Ydnar Hack */
293
294fieldset {
295    margin: 1em 0 0 0;
296    padding: 0;
297    border: 0; 
298}
299
300legend {
301    font-size: 90%;
302    font-weight: bold; 
303    padding: 0;
304    margin: 0;
305}
306
307.sc-form textarea,
308.sc-tiny,
309.sc-small,
310.sc-medium,
311.sc-large, 
312.sc-full,
313#sc-captcha-input,
314input[type="text"],
315input[type="password"],
316textarea,
317select {
318    border: 1px solid #ccc;
319    padding: 2px;
320}
321label.sc-full {
322    border: none;
323}
324
325textarea {
326    padding: 0 2px;
327}
328
329.sc-form-row label {
330    font-size: 70%;
331    padding-top: 0.5em;
332}
333
334.sc-form-row>label:first-child {
335    display: block;
336    width: 120px;
337    float: left;
338    text-align: right;
339    padding-right: 10px;
340    font-style: italic;
341}
342
343.sc-form label span {
344    visibility: hidden;
345}
346
347.sc-form input {
348    padding: 2px;
349}
350
351input[type="submit"],
352input[type="button"] {
353    margin-right: 5px;
354    border: 1px solid #ccc;
355}
356
357.sc-submit-buttons {
358    margin-top: 20px;
359}
360.sc-form-row .sc-help {
361    margin-left: 130px;
362}
363
364input.sc-medium,
365textarea.sc-medium,
366select.sc-medium,
367label.sc-medium {
368    width: 21.25em;
369}
370
371label.sc-radio-label {
372    width: auto;
373/*     padding-right: 0;
374    padding-top: 0;
375    font-style: normal;
376 */}
Note: See TracBrowser for help on using the repository browser.