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

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

CSS fixes for admin2.inc.css, fixed preselectd but in printSelectForm.

File size: 6.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    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#container-columns {
56    width: 100%;
57}
58
59/*_____________________ HEADER ____________________*/
60#userinfo {
61    width: 98%;
62    margin: 4px auto 2px;
63    background-color: #fff;
64    color: #333;
65    text-align: right;
66}
67
68#userinfo p {
69    margin: 0;
70    padding: 0;
71}
72
73#container {
74    width: 98%;
75    margin: 0 auto 10px;
76    background-color: #EEE;
77    border: 1px solid gray;
78}
79
80#top {
81    border-bottom: 1px solid gray;
82    background-color: #CCC;
83    padding: .5em;
84}
85
86#top h1 {
87    margin: 0;
88    padding: 0;
89    font-size: 150%;
90    color: #000;
91}
92
93/*_____________________ NAVIGATION ____________________*/
94#leftnav {
95/*     float: left; */
96    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#content {
144/*     width: 100%; */
145/*     margin-left: 1em; */
146/*     border-left: 1px solid gray; */
147    padding: 0.75em 0.5em 15px 0.75em;
148    background-color: #FFF;
149}
150
151#content h1, #content h2, #content h3, #content h4, #content h5 {
152    margin: 0 0 .5em 0;
153}
154#content h1 { font-size: 130%; }
155#content h2 { font-size: 110%; }
156#content h3 { font-size: 90%; }
157#content h4 { font-size: 75%; }
158
159#content p {
160    margin: 0 0 .5em 0;
161    font-size: 70%;
162    line-height: 130%;
163}
164
165#content li {
166    margin: 0 0 0 0;
167    font-size: 70%;
168    line-height: 100%;
169}
170
171/*_____________________ TABLES ____________________*/
172/* BEAU: I copied this from NEXT. Please help! */
173table {
174    border-size: 1px;
175    border-collapse: collapse;
176    border-spacing: 0;
177}
178
179th {
180    padding: 2px;
181    text-align: left;
182    vertical-align: middle;
183    white-space: nowrap;
184}
185
186td {
187    vertical-align: top;
188    padding: 8px 6px 0 0;
189}
190
191table.list {
192    border-size: 1px;
193    width: 100%;
194    margin: 4px 0;
195}
196
197table.list th {
198    padding: 0 6px 1px 2px;
199    font-size: 70%;
200    border-top: 2px solid #eee;
201    border-bottom: 2px solid #eee;
202    background-color: #ddd;
203/*  border-bottom: 1px solid #000; */
204}
205
206table.list td, #commandbox table td {
207    font-size: 70%;
208    padding: 2px 6px 2px 2px;
209    border-bottom: 1px dotted #ccc;
210    vertical-align: top;
211}
212
213table.list tr:hover, #commandbox table tr:hover {
214    background: #FAF8C7;
215}
216
217/*_____________________ COMMANDS ____________________*/
218
219/* Should this be an ID??? */
220#commandbox
221{
222    padding: 3px 5px 5px 5px;
223    margin: 0 0 10px 0;
224    border: 2px solid #eee;
225    background-color: #ddd;
226    color: inherit;
227}
228
229.commanditem
230{
231    padding: 0 10px 5px 0;
232    white-space: nowrap;
233}
234
235#commandbox form {
236    margin: 8px 0 0 0;
237}
238
239/* I replaced all instances of commandtext with commanditem on the SC admin, but leave it here for sites I didn't. */
240.commandtext
241{
242    padding-right: 1em;
243}
244
245.command_left
246{
247    float: left;
248    white-space: nowrap;
249}
250
251.command_right
252{
253    position: relative;
254    visibility: visible;
255    white-space: nowrap;
256    float: right;
257}
258
259
260/*_____________________ FOOTER ____________________*/
261#footer {
262    clear: both;
263    margin: 0;
264    padding: 6px;
265    color: #333;
266    background-color: #DDD;
267    border-top: 1px solid gray;
268    font-size: 70%;
269    line-height: 100%;
270}
271
272#footer a:link, 
273#footer a:visited {
274    color: #333;
275    text-decoration: none;
276}
277
278#footer a:active, 
279#footer a:hover {
280    color: #333;
281    text-decoration: underline;
282}
283
284/* Form Defaults ---------------------------------------------------- */
285
286.sc-form {
287    width: 100%;
288    margin: 1em 0;
289}
290
291.sc-form-row {
292    margin: .5em 0;
293}
294.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 */
295
296fieldset {
297    margin: 1em 0 0 0;
298    padding: 0;
299    border: 0; 
300}
301
302legend {
303    font-size: 90%;
304    font-weight: bold; 
305    padding: 0;
306    margin: 0;
307}
308
309.sc-form textarea,
310.sc-tiny,
311.sc-small,
312.sc-medium,
313.sc-large, 
314.sc-full,
315#sc-captcha-input,
316input[type="text"],
317input[type="password"],
318textarea,
319select {
320    border: 1px solid #ccc;
321    padding: 2px;
322}
323label.sc-full {
324    border: none;
325}
326
327textarea {
328    padding: 0 2px;
329}
330
331.sc-form-row label {
332    font-size: 70%;
333    padding-top: 0.25em;
334}
335
336.sc-form-row>label:first-child {
337    display: block;
338    width: 120px;
339    float: left;
340    text-align: right;
341    padding-right: 10px;
342    font-style: italic;
343}
344
345.sc-form label span {
346    visibility: hidden;
347}
348
349.sc-form input {
350    padding: 2px;
351}
352
353input[type="submit"],
354input[type="button"] {
355    margin-right: 5px;
356    padding: 0.4em 0.6em;
357    border: 1px solid #ccc;
358    background-color: #eee;
359}
360
361.sc-submit-buttons {
362    margin: 20px 0 20px 130px;
363}
364.sc-form-row .sc-help {
365    margin-left: 130px;
366}
367
368input.sc-medium,
369textarea.sc-medium,
370select.sc-medium,
371label.sc-medium {
372    width: 21.25em;
373}
374
375label.sc-radio-label {
376    width: auto;
377/*     padding-right: 0;
378    padding-top: 0;
379    font-style: normal;
380 */}
Note: See TracBrowser for help on using the repository browser.