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

Last change on this file since 362 was 362, checked in by quinn, 15 years ago

Added a GPL license info header to all source files. Updated license to GPL v3.

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