]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/MacOSX/MacOSX.css
minor fix: missing border on "Update Preferences" button
[SourceForge/phpwiki.git] / themes / MacOSX / MacOSX.css
1 /*
2  $Id: MacOSX.css,v 1.30 2002-03-29 04:43:02 carstenklapp Exp $
3
4  Classes:
5
6  div.wikitext - the transformed wiki page text.
7
8  a.wiki             - link to page in wiki.
9  a.named-wiki       - a named link to page in wiki (from e.g. [name|WikiPage]).
10  a.interwiki        - link to page in another wiki
11  span.wikipage    - page name within interwiki link.
12  a.named-interwiki  - link to page in another wiki
13  a.url              - link to external URL from wiki page.
14  a.named-url        - link to external URL from wiki page.
15
16  .wikiunknown a, .wikiunknown u
17  .named-wikiunknown a, .named-wikiunknown u
18
19  a.wikiaction
20  a.wikiadmin
21  .wikiunsafe
22
23  a.backlinks
24
25  TODO: Get rid of tables in wikiaction forms.
26  */
27
28 /* NS4 doesn't grok @import.  This allows us to put things which
29  * break NS4 in another file. */
30 @import url(MacOSX-heavy.css);
31
32 body { background: #fafafa url("images/bgpaper8.png"); }
33 body.edit { background: #fafafa url("images/bggranular.png"); }
34
35 body { }
36
37 /*
38  * NS4, defaults from body don't always propagate correctly.
39  * So we need this:
40  */
41 h1, h2, h3, .toolbar, td { font-family: "Lucida Grande", Helvetica, Arial, sans-serif; }
42
43 input.button { font-family: "Lucida Grande", Helvetica, Arial, sans-serif; }
44
45 input.numeric {
46   text-align: right;
47 }
48 .wikitext pre { font-family: Monaco, monospace; }
49
50
51
52
53 input[type=text] {
54   border-top:    1px solid #7c7c7c;
55   border-left:   1px solid #c3c3c3;
56   border-bottom: 1px solid #dddddd;
57   border-right:  1px solid #c3c3c3;
58 }
59 /* Add space between the input field and following buttons, but not after the last button. */
60 div.wikiaction input[type=text],
61 div.wikiadmin input[type=text],
62 form.wikiadmin input[type=file] {
63   margin-right: 0.5em;
64 }
65
66
67
68 /**
69  * Wiki
70  */
71 div.wikitext {
72   background: white;
73   /* for NS4 */
74   border: 1px solid black;
75
76   border-top:    1px solid #7c7c7c;
77   border-left:   1px solid #c3c3c3;
78   border-bottom: 1px solid #dddddd;
79   border-right:  1px solid #c3c3c3;
80   padding-left: 0.8em;
81   padding-right: 0.8em;
82   padding-top: 0.5em;
83   padding-bottom: 0.5em;
84   margin: 0.5ex 0px;
85   /* This breaks Netscape 4: (display does not go full width).
86   width: auto;
87   */
88 clear: both;
89 }
90
91 input.wikitext { margin:0px; }
92 input[type=text] {
93   height: 2.7ex;
94   padding: 0.4ex 0.3ex;
95 }
96
97 div.toolbar { margin: 1ex 0ex; }
98
99
100 /**
101  * PageTypes
102  */
103 .interwiki-map thead td {
104   background: #e8e8e8;
105   font-weight: bold;
106   font-size: smaller;
107 }
108 .interwiki-map thead td:first-child { text-decoration: underline; }
109 .interwiki-moniker { background: #eee; }
110 .interwiki-url { background: #f8f8f8; }
111
112
113 /* Mozilla RecentChanges Sidebar */
114 body.sidebar {
115   font-size: smaller;
116   margin: 0.5em;
117 }
118 body.sidebar div.wikitext {
119   padding: 0.5em;
120 }
121 body.sidebar div.wikitext ul { padding-left: 1em; }
122 body.sidebar h2 { margin-top: 0; }
123
124
125 div.errors {
126   background: #eee;
127   border: 1px solid gray;
128   padding-left: 0.8em;
129   padding-right: 0.8em;
130   padding-top: 0.8ex;
131   padding-bottom: 0;
132   margin-top: 1em;
133   clear: both;
134   font-size: smaller;
135 }
136
137 .errors h4 {
138   color: black;
139   text-decoration: underline;
140   font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
141   margin-top: 0;
142   margin-bottom: 0.5ex;
143 }
144
145 .error {
146   font-family: Monaco, monospace;
147   margin: 0;
148   font-size: smaller;
149 }
150 .error ul {
151   font-size: smaller;
152   font-family: Monaco, monospace;
153 }
154 /* Debug */
155 .debug {
156   color: black;
157   background: white;
158   font-family: monospace;
159   font-size: smaller;
160   margin: 1ex 0;
161   padding: 0.5ex 0.5em;
162   border: 1px solid #eee;
163 }
164
165
166 /*
167  * Style for <hr>s in wiki markup.
168  */
169 .wikitext hr {}
170
171
172 /*
173  * Link styles
174  */
175 /* Wiki Links */
176 a.wiki { text-decoration: none; }
177 .wiki, .named-wiki { font-weight: bold; color:#1d42be; } /*blue*/
178 /* This is obscene in NS4
179   b .wiki, STRONG .wiki { font-size: larger; }
180  */
181
182 /* Unknown links */
183 .wikiunknown a, .named-wikiunknown a, .wikiunknown U { text-decoration: none; }
184
185 .wikiunknown, .named-wikiunknown {color: #555; }
186
187 /* Interwiki links */
188 a.interwiki { text-decoration: none; }
189 .wikipage   { font-weight: bold; }
190
191 .interwiki,
192 i .interwiki .wikipage, em .interwiki .wikipage { font-style: oblique; }
193
194 .interwiki .wikipage,
195 i .interwiki, em .interwiki { font-style: normal; }
196
197 /*
198  * wikiaction, wikiadmin, wikiunsafe:
199  */
200 a.wikiaction, a.wikiadmin { text-decoration: none; }
201
202 /*
203  * No border on external link icons.
204  */
205 img.linkicon, img.rssicon { border: 0px; }
206 img.rssicon { vertical-align: middle; }
207 /* This screws up NS4, moved to phpwiki-heavy.css
208 img.linkicon { vertical-align: middle; }
209 */
210 img.wiki-button { vertical-align: middle; }
211
212 a.wikiaction { border: 0; }
213
214 /* backlinks */
215 a.backlinks { color: #006; }
216
217 /* Make the textarea on the edit page full width */
218 textarea.wikiedit { width: 100%; margin-top: 1ex; }
219
220 p.editdate { font-size: smaller; margin-bottom: 0; font-family: "Lucida Grande", Helvetica, Arial, sans-serif; }
221
222 /* Calendar plugin */
223 a.cal-hide,
224 a.cal-arrow { text-decoration: none; }
225 .cal-arrow { font-weight: bold; }
226 .cal-dayname {
227   font-size: smaller;
228   text-decoration: none;
229 }
230 table.cal {
231   /* for NS4 */
232   /*border: 1px solid black;
233
234   border-top:    1px solid #7c7c7c;
235   border-left:   1px solid #c3c3c3;
236   border-bottom: 1px solid #dddddd;
237   border-right:  1px solid #c3c3c3;
238   background: #bebebe;*/
239 }
240 table.cal td {
241   background: white;
242   /* for NS4 */
243   border: 1px solid black;
244
245   border-top:    1px solid #7c7c7c;
246   border-left:   1px solid #c3c3c3;
247   border-bottom: 1px solid #dddddd;
248   border-right:  1px solid #c3c3c3;
249 }
250 table.cal-header td {
251   font-size:  larger;
252   background: white;
253   border: 0px;
254 }
255 table.cal td.cal-dayname { background: #e8e8e8; }
256 table.cal td.cal-today {
257   background:    #f4f4f4;
258   /* for NS4 */
259   border: 1px solid black;
260
261   border-top:    1px solid #7c7c7c;
262   border-left:   1px solid #c3c3c3;
263   border-bottom: 1px solid #dddddd;
264   border-right:  1px solid #c3c3c3;
265 }
266
267 /* IncludePage plugin */
268 .transclusion-title {
269   font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
270   /* font-style: oblique; */
271   font-size: smaller; /* 0.75em; */
272   text-decoration: underline;
273   text-align: right;
274 }
275
276 div.transclusion {
277   /* background: #fff url("images/bgpaper8.png"); */
278   /* background: white; */
279   background: #fdfdfd;
280   /* for NS4 */
281   border: 1px solid black;
282
283   border-top:    1px solid #7c7c7c;
284   border-left:   1px solid #c3c3c3;
285   border-bottom: 1px solid #dddddd;
286   border-right:  1px solid #c3c3c3;
287
288   padding-left:  0.8em;
289   padding-right: 0.8em;
290   padding-top:    0px;
291   padding-bottom: 0px;
292   margin: 0.5ex ;
293 }
294
295 /* The transclusion of the TextEditingRules Synopsis on templates/editpage.html */
296 div.wiki-edithelp .transclusion {
297   font-size: smaller;
298   background: inherit;
299   padding: 0.5ex 0.5em;
300   margin: 0.2ex 5%;
301 }
302 div.wiki-edithelp .transclusion p { margin: 0; }
303 div.wiki-edithelp {
304   /* background: #fff url("images/bgpaper8.png"); */
305   background: white;
306   /* for NS4 */
307   border: 1px solid black;
308
309   border-top:    1px solid #7c7c7c;
310   border-left:   1px solid #c3c3c3;
311   border-bottom: 1px solid #dddddd;
312   border-right:  1px solid #c3c3c3;
313
314   font-size: smaller;
315   padding: 6pt;
316 }
317 div.wiki-message {
318   background: #fff url("images/bggranular.png");
319   border: solid 1px #d8d8d8;
320   padding: 6pt;
321 }
322 .printer { display: none; }
323
324
325 /**
326  * Diff Output
327  */
328 /* main box */
329 .diff {
330   background: white;
331   /* for NS4 */
332   border: 1px solid black;
333
334   border-top:    1px solid #7c7c7c;
335   border-left:   1px solid #c3c3c3;
336   border-bottom: 1px solid #dddddd;
337   border-right:  1px solid #c3c3c3;
338 }
339 .diff .block {
340   background: #ccc;
341   /* for NS4 */
342   /*  border: none;*/
343 }
344
345 /* individual blocks */
346 .diff .context {
347   background: white;
348   /* for NS4 */
349   border: none;
350 }
351 /* + - line prefix */
352 .diff .block tt {
353   font-weight: normal;
354   font-family: monospace;
355   margin-left: -0.6em;
356   color: black;
357   /* for NS4 */
358   border: none;
359 }
360 /* changed words */
361 .diff del, .diff ins {
362   font-weight: bold;
363   text-decoration: none;
364 }
365
366 /* blocks containing deleted or added words */
367 .diff .original, .diff .deleted,
368 .diff .final, .diff .added {
369   background: white;
370 }
371 /* blocks containing deleted words */
372 .diff .original, .diff .deleted {
373   background: white;
374   border: 2px solid #f99; /* fcc */
375 }
376 /* blocks containing added words */
377 .diff .final, .diff .added {
378   background: white;
379   border: 2px solid #9f9; /* cfc */
380 }
381
382 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
383 /* deleted words */
384 .diff del { background: #fcc; } /* f99 */
385 /* added words */
386 .diff ins { background: #cfc; } /* 9f9 */
387
388
389 /**
390  * PageList output
391  */
392 .pagelist tr.evenrow { background: #f8f8f8; }
393 .pagelist tr.oddrow  { background: #eee; }
394 .pagelist thead td {
395   background: #e8e8e8;
396   text-decoration: none;
397   font-weight: bold;
398   font-size: smaller;
399 }
400 .pagelist thead td u { text-decoration: none; }
401
402
403 /**
404  * Search Results
405  */
406 .search-context { background: white; }
407 .search-term {
408   background: #9bdaff;
409   font-weight: normal;
410 }
411
412
413 /* For emacs users
414  *
415  * Local Variables:
416  * mode: c
417  * c-file-style: cc-mode
418  * End:
419  */