source: trunk/css/admin.inc.css @ 272

Last change on this file since 272 was 272, checked in by quinn, 17 years ago

Misc.

File size: 5.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. */
27form { 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
50
51/*_____________________ HEADER ____________________*/
52#userinfo {
53    width: 98%;
54    margin: 4px auto 2px;
55    background-color: #fff;
56    color: #333;
57    text-align: right;
58}
59
60#userinfo p {
61    margin: 0;
62    padding: 0;
63}
64
65#container {
66    width: 98%;
67    margin: 0 auto 10px;
68    background-color: #EEE;
69    border: 1px solid gray;
70}
71
72#top {
73    border-bottom: 1px solid gray;
74    background-color: #CCC;
75    padding: .5em;
76}
77
78#top h1 {
79    margin: 0;
80    padding: 0;
81    font-size: 150%;
82    color: #000;
83}
84
85/*_____________________ NAVIGATION ____________________*/
86#leftnav {
87    float: left;
88    width: 9em;
89    margin: 0 0 10px 0;
90    border-right: 1px solid gray;
91    padding: 0;
92    background-color: #EEE;
93}
94
95#leftnav ul {
96    padding: 0;
97    margin: 0;
98    width: 9em;
99}
100
101#leftnav #navlist li {
102    list-style: none;
103    margin: 0;
104    border-bottom: 1px solid #ccc;
105    margin-left: 0em;
106    padding: 1px 0 2px 6px;
107    font-size: 70%;
108    font-weight: bold;
109}
110
111#leftnav #navlist li a {
112    text-decoration: none;
113    padding: 1px;
114}
115
116#leftnav #navlist li.label {
117    color: #999;
118    padding-top: 15px;
119    font-size: 90%;
120    font-weight: bold;
121}
122
123#leftnav a.addlink {
124    margin-left: 0.5em;
125    font-weight: normal;
126}
127
128#leftnav #navlist li a:link, #navlist li a:visited {
129    color: #336;
130}
131
132#leftnav #navlist li a:hover, #navlist li a:active {
133    color: #C00;
134}
135
136/*_____________________ CONTENT ____________________*/
137#content {
138    margin-left: 9em;
139    border-left: 1px solid gray;
140    padding: 0.75em 0.5em 2em 0.5em;
141    background-color: #FFF;
142}
143
144#content h1, #content h2, #content h3, #content h4, #content h5 {
145    margin: 0 0 .5em 0;
146}
147#content h1 { font-size: 130%; }
148#content h2 { font-size: 110%; }
149#content h3 { font-size: 90%; }
150#content h4 { font-size: 75%; }
151
152#content p {
153    margin: 0 0 .5em 0;
154    font-size: 70%;
155    line-height: 130%;
156}
157
158#content li {
159    margin: 0 0 0 0;
160    font-size: 70%;
161    line-height: 100%;
162}
163
164/*_____________________ TABLES ____________________*/
165/* BEAU: I copied this from NEXT. Please help! */
166table {
167    border-size: 1px;
168    border-collapse: collapse;
169    border-spacing: 0;
170}
171
172th {
173    padding: 2px;
174    text-align: left;
175    vertical-align: middle;
176    white-space: nowrap;
177}
178
179td {
180    vertical-align: top;
181    padding: 8px 6px 0 0;
182}
183
184table.list {
185    border-size: 1px;
186    width: 100%;
187    margin: 4px 0;
188}
189
190table.list th {
191    padding: 0 6px 1px 2px;
192    font-size: 70%;
193    border-top: 2px solid #eee;
194    border-bottom: 2px solid #eee;
195    background-color: #ddd;
196/*  border-bottom: 1px solid #000; */
197}
198
199table.list td, #commandbox table td {
200    font-size: 70%;
201    padding: 2px 6px 2px 2px;
202    border-bottom: 1px dotted #ccc;
203    vertical-align: top;
204}
205
206table.list tr:hover, #commandbox table tr:hover {
207    background: #FAF8C7;
208}
209
210
211/* BEAU: The old stuff that was here...
212#content table {
213         background-color: #FFF;
214}
215
216#content th {
217    padding: 2px;
218    text-align: left;
219    vertical-align: middle;
220    white-space: nowrap;
221}
222
223#content td {
224    vertical-align: top;
225}
226
227#content table.list {
228    width: 99%;
229    margin: 4px 0;
230    background-color: #FFF;
231}
232
233#content table.list th {
234    padding-right: 6px;
235    font-size: 70%;
236    background-color: #CCC;
237    border-bottom: 1px solid #000;
238}
239
240#content table.list td {
241    font-size: 70%;
242    padding: 2px;
243    border-bottom: 1px dotted #000;
244}
245*/
246
247/*_____________________ COMMANDS ____________________*/
248
249/* Should this be an ID??? */
250#commandbox
251{
252    padding: 3px 5px 5px 5px;
253    margin: 0 0 10px 0;
254    border: 2px solid #eee;
255    background-color: #ddd;
256    color: inherit;
257}
258
259.commanditem
260{
261    padding: 0 10px 5px 0;
262    white-space: nowrap;
263}
264
265#commandbox .form {
266    margin-top: 8px;
267}
268
269/* I replaced all instances of commandtext with commanditem on the SC admin, but leave it here for sites I didn't. */
270.commandtext
271{
272    padding-right: 1em;
273}
274
275.command_left
276{
277    float: left;
278    white-space: nowrap;
279}
280
281.command_right
282{
283    position: relative;
284    visibility: visible;
285    white-space: nowrap;
286    float: right;
287}
288
289
290/*_____________________ FOOTER ____________________*/
291#footer {
292    clear: both;
293    margin: 0;
294    padding: 6px;
295    color: #333;
296    background-color: #DDD;
297    border-top: 1px solid gray;
298    font-size: 70%;
299    line-height: 100%;
300}
301
302#footer a:link, 
303#footer a:visited {
304    color: #333;
305    text-decoration: none;
306}
307
308#footer a:active, 
309#footer a:hover {
310    color: #333;
311    text-decoration: underline;
312}
Note: See TracBrowser for help on using the repository browser.