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

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

Various bug fixes to make compatible with Trendease 2.0.

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