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

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

Finished initial version of Cart.inc.php. Minor css changes.

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