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