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