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

Last change on this file since 100 was 98, checked in by scdev, 18 years ago

B - pEdit formatting ticket #1

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