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

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