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

Last change on this file since 362 was 362, checked in by quinn, 15 years ago

Added a GPL license info header to all source files. Updated license to GPL v3.

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