source: tags/2.1.1/css/admin.inc.css

Last change on this file was 106, checked in by scdev, 18 years ago

Q - Updated codebase css

File size: 5.0 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
232/*_____________________ COMMANDS ____________________*/
233
234/* Should this be an ID??? */
235#commandbox
236{
237    padding: 5px;
238    margin: 0 0 .5em 0;
239    border: black 1px dotted;
240    background-color: #DDD;
241    color: inherit;
242}
243
244.commanditem
245{
246    margin: 0 10px 0 0;
247    white-space: nowrap;
248}
249
250.commandtext
251{
252    padding-right: 1em;
253}
254
255.command_left
256{
257    float: left;
258    white-space: nowrap;
259}
260
261.command_right
262{
263    position: relative;
264    visibility: visible;
265    white-space: nowrap;
266    float: right;
267}
268
269
270/*_____________________ FOOTER ____________________*/
271#footer {
272    clear: both;
273    margin: 0;
274    padding: 6px;
275    color: #333;
276    background-color: #DDD;
277    border-top: 1px solid gray;
278    font-size: 60%;
279    line-height: 100%;
280}
281
282#footer a:link, 
283#footer a:visited {
284    color: #333;
285    text-decoration: none;
286}
287
288#footer a:active, 
289#footer a:hover {
290    color: #333;
291    text-decoration: underline;
292}
Note: See TracBrowser for help on using the repository browser.