4 * Copyright (C) 2002-2007 $ThePhpWikiProgrammingTeam
5 * Copyright (C) 2008-2010 Alcatel-Lucent
7 * This file is part of PhpWiki.
9 * PhpWiki is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * PhpWiki is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with PhpWiki; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
25 * Standard Alcatel-Lucent disclaimer for contributing to open source
27 * "The Style Sheet ("Contribution") has not been tested and/or
28 * validated for release as or in products, combinations with products or
29 * other commercial use. Any use of the Contribution is entirely made at
30 * the user's own responsibility and the user can not rely on any features,
31 * functionalities or performances Alcatel-Lucent has attributed to the
34 * THE CONTRIBUTION BY ALCATEL-LUCENT IS PROVIDED AS IS, WITHOUT WARRANTY
35 * OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
36 * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, COMPLIANCE,
37 * NON-INTERFERENCE AND/OR INTERWORKING WITH THE SOFTWARE TO WHICH THE
38 * CONTRIBUTION HAS BEEN MADE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL
39 * ALCATEL-LUCENT BE LIABLE FOR ANY DAMAGES OR OTHER LIABLITY, WHETHER IN
40 * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
41 * CONTRIBUTION OR THE USE OR OTHER DEALINGS IN THE CONTRIBUTION, WHETHER
42 * TOGETHER WITH THE SOFTWARE TO WHICH THE CONTRIBUTION RELATES OR ON A STAND
46 /* Because in some cases there is a <p> in nested lists */
49 /* Hide the elements we put in just to get around NS4 bugs. */
50 div.br { display: none; }
52 /* This breaks NS4, but is necessary for IE4. */
53 div.wikitext { width: auto; }
55 div.wikitext table p { margin-top: 0.3em; margin-bottom: 0.3em;}
61 img { vertical-align: baseline; }
62 input { margin: 0.1em; }
63 input.numeric { text-align: right; }
66 background-color: #e0f3f7;
70 border: 1px solid #d8d8e7;
71 background-color: white;
77 * The div inside the wikiadmin upload form does not
78 * have a class yet, so it must be referenced indirectly
80 /* div.wikiaction, div.wikiadmin { */
81 div.wikiaction, form.wikiadmin div {
82 border-bottom: 1px solid #d8d8e7;
83 border-right: 1px solid #d8d8e7;
84 border-top: 1px solid #96a2ae;
85 border-left: 1px solid #96a2ae;
90 /* Emulate the display behaviour of a table, to shrink it's width.
91 * ie5.1Mac ignores this */
95 /* Add space between the input field and following buttons, but not after the last button. */
96 div.wikiaction input[type=text], div.wikiadmin input[type=text], form.wikiadmin input[type=file] { margin-right: 0.5em; }
98 div#actionbuttons { line-height: 3.0ex; }
101 .wikiunknown a, .named-wikiunknown a {
102 border-top: 1px solid #c6d2de;
103 border-left: 1px solid #c6d2de;
104 border-bottom: 1px solid #a2a2a2;
105 border-right: 1px solid #a2a2a2;
113 img.linkicon { vertical-align: middle; }
115 img.inlineimage { vertical-align: middle; }
117 /* Diff plugin ======================================================== */
123 /* deleted & added words */
124 .diff del, .diff ins {
134 form { margin: 0ex; }
152 font-family: monospace;
155 border-style: dashed;
162 /* Main wiki text box */
165 margin-bottom: 0.5ex;
170 /* Mozilla RecentChanges Sidebar */
174 body.sidebar div.wikitext {
177 body.sidebar div.wikitext ul { padding-left: 1em; }
178 body.sidebar h2 { margin-top: 0; }
184 /* text-decoration: none; */
189 a.wikiaction, a.wiki-rc-action, a.wikiunsafe,
190 input.wikiaction, input.button, input.wikiadmin {
191 text-decoration: none;
192 /* don't wrap text buttons */
196 input.wikiaction, input.button, input.wikiadmin {
201 .wikiunsafe { background-color: #fcc; }
204 .wikiunknown, .named-wikiunknown {
208 /* QuestionMark #600 */
209 .wikiunknown a, .named-wikiunknown a {
211 background-color: #eee;
212 text-decoration: none;
219 text-decoration: underline;
221 h1 .backlinks { text-decoration: none; color: inherit; }
223 h1 { font-weight: bold; }
225 /* Interwiki links */
226 .wikipage { font-weight: normal; }
227 .interwiki, i.interwiki .wikipage, em .interwiki .wikipage { font-style: oblique; }
228 .interwiki .wikipage, i .interwiki, em .interwiki { font-style: normal; }
230 /* CreateToc plugin =================================================== */
233 border: 1px solid #aaaaaa;
234 background-color: #f9f9f9;
238 div.toc ul { list-style: none }
240 div.toc p.toctitle { font-weight: bold; font-size: 1.6em; margin-bottom: 1ex; }
241 div.toc p { margin: 0; }
243 .toclist a { text-decoration: none; }
248 div.toc p.toctitle, h2, h3, h4, h5, h6 {
249 font-family: Verdana, Arial, Helvetica, sans-serif;
251 padding-bottom: .17em;
252 border-bottom: 1px solid #aaaaaa;
255 h1, h1 .backlinks, h2, .wikitext h2 a, h3, .wikitext h3 a, h4, .wikitext h4 a, h5, h6 {
256 text-decoration: none;
264 text-decoration: none;
267 .pagelist thead td u { text-decoration: none; }
268 .pagelist tr { vertical-align: top; }
269 .pagelist tr.evenrow { background: #eee; }
270 .pagelist tr.oddrow { background: white; }
272 background-color: #d8d8d8;
278 padding: 5px 0px 5px 0px;
283 input.gridbutton, a.gridbutton, a:hover.gridbutton, a:visited.gridbutton {
284 text-decoration: none;
291 .toolbar, input.button {
292 font-family: Verdana, Arial, Helvetica, sans-serif;
300 margin-left: -20px; /* Because there is no list symbol */
301 list-style-type: none;
305 text-decoration: none;
312 .edit-toolbar img, .edit-toolbar input {
313 background-color: #fff;
314 border: 1px solid ButtonFace;
325 #actionbuttons .named-wiki,
326 #actionbuttons .wikiaction,
327 #actionbuttons .wikiadmin {
329 color: #565c5e; /* Alcatel-Lucent grey */
332 #actionbuttons .named-wiki:hover,
333 #actionbuttons .wikiaction:hover,
334 #actionbuttons .wikiadmin:hover {
335 text-decoration: underline;
339 border: 1px solid #aaaaaa;
341 border-collapse: collapse;
346 #actionbuttons td.spacer {
353 #actionbuttons td.bold a {
358 font-family: Verdana, Arial, Helvetica, sans-serif;
362 border-top: 1px #aaaaaa solid;
367 border: 1px black solid;
368 /* "paper" borders */
369 border-top: 1px #e8e6df solid;
370 border-left: 1px #e8e6df solid;
371 border-bottom: 1px #d2d2d2 solid;
372 border-right: 1px #b2b2b2 solid;
376 * Edit Page & View Source
379 /* Make the textarea the full page width */
382 margin-bottom: 0.5ex;
397 #toolbar { padding:0px; }
402 .search-context { background: white; }
412 background-color: white;
413 border: 1px solid #d0d0d0;
418 background-color: #f08000;
421 background-color: #f0f0f0;
429 background-color: white;
440 list-style-image: none;
443 /* PageTrail plugin =================================================== */
446 background-color: #FFFF99;
450 /* IncludePage plugin ================================================= */
452 .transclusion-title {
456 text-decoration: underline;
457 margin-bottom: 0.25ex;
458 margin-right: 0.25em;
460 .transclusion, .wiki-edithelp {
464 border: 1px solid gray;
466 padding-right: 0.8em;
470 margin-right: 0.25em;
471 margin-bottom: 0.1ex;
475 border: medium solid #fff8dc; /* darker ivory */
477 padding-right: 0.5em;
479 padding-bottom: 0.75ex;
486 font-family: Verdana, Arial, Helvetica, sans-serif;
488 padding-right: 0.5em;
490 padding-bottom: 0.5ex;
494 /* Calendar plugin ==================================================== */
497 border: 1px outset gray;
511 /* Month-name header */
512 table.cal-header { font-size: larger; }
513 table.cal-header tr, table.cal-header td { text-align: center; }
516 text-decoration: none;
519 /* Day-names header */
520 table.cal tbody tr .cal-dayname { }
524 text-decoration: underline;
527 /* Individual days */
528 a.cal-hide { text-decoration: none; }
532 table.cal td.cal-today {
534 border: 1px solid gray;
537 table.cal td.cal-today a.cal-hide { }
545 margin-bottom: 0.5ex;
547 border: 1px #ccc solid;
549 border-top: 1px solid #494f5d;
550 border-left: 1px solid #494f5d;
551 border-bottom: 1px solid #c6d2de;
552 border-right: 1px solid #c6d2de;
555 padding-left: .125em;
556 padding-right: .125em;
565 /* individual blocks */
571 /* entire difftextblock */
576 border: 1px black solid;
577 border-top: 1px #e8e6df solid;
578 border-left: 1px #e8e6df solid;
579 border-bottom: 1px #d2d2d2 solid;
580 border-right: 1px #b2b2b2 solid;
587 /* + - line prefix */
590 font-family: monospace;
596 .diff del, .diff ins {
598 text-decoration: none;
601 /* blocks containing deleted or added words */
602 .diff .original, .diff .deleted,
603 .diff .final, .diff .added {
606 /* blocks containing deleted words */
607 .diff .original, .diff .deleted {
611 /* blocks containing added words */
612 .diff .final, .diff .added {
618 .diff del { background: #f99; }
620 .diff ins { background: #9f9; }
622 /* PageInfo plugin ==================================================== */
624 td.pageinfo { font-weight: bold; }
625 .pageinfo-minoredit, .pageinfo-authorid {
634 background-color: #ffc0cb; /* pink */
645 padding-right: 0.8em;
648 border: thin solid blue;
656 font-family: monospace;
659 padding: 0.5ex 0.5em;
660 border: medium solid #fff8dc; /* darker ivory */
669 padding: 0.5ex 0.5em;
670 border: thin solid #aaaaaa;
676 /* Disabled Plugins */
683 .disabled-plugin .title {
685 background-color: inherit;
690 .disabled-plugin pre {
694 padding: 0.3ex 0.5em;
697 /* RedirectTo plugin ================================================== */
699 /* "(Redirected from ...)" message. */
711 border-collapse: collapse;
712 border: 2px #444 solid;
715 border-top: 2px #444 solid;
716 border-bottom: 2px #444 solid;
722 padding: 0.25em 0.5em;
727 border-right: 1px #444 solid;
737 * "E-mail" style blockquote
739 blockquote.mail-style-quote {
742 border: 1px solid #284;
745 .mail-style-quote blockquote.mail-style-quote {
748 background: transparent;
750 border-left: medium solid #284;
758 .floatleft { float: left; }
759 .floatright { float: right; }
762 /* border: thin black solid; */
768 padding: 0.5ex 0.5em;
770 div.wikiblog-header {
771 /* background-color: #ccf; */
773 div.wikiblog > div.wikiblog-footer {
774 /* background-color: #eee; */
775 padding: 0.2ex 0.5em;
777 h3.wikiblog-summary {
783 table.wikiblog-form {
785 border-collapse: collapse;
788 .wikiblog-form caption {
792 padding: 0.5ex 0.5em;
797 padding: 0 0 0.3em 0.5em;
800 padding: 0.25em 0.5em;
802 .wikiblog-form td.submit-button {
805 .wikiblog-form input[type=text],
806 .wikiblog-form textarea {
810 div.wikicomment div.wikicomment-footer {
811 padding: 0.2ex 0.5em;
813 div.wikicomment div.wikicomment-footer named-wiki {
816 table.interwiki-map {
820 text-decoration: underline;
824 .interwiki-map td.interwiki-url {
827 .interwiki-map th.interwiki-url {
832 background-color: #cdf;
834 margin: 2em auto 2em auto;
835 border: thin black solid;
838 .dialog h1, .dialog p, .dialog div {
843 margin: 0.5em 0 1em 0;
845 .dialog div.message {
846 background-color: white;
850 padding: 0.5em 0.5em;
853 margin: 1em 0 0.5em 0;
862 .gensmall{font-size:10px}
863 .genmed{font-size:11px}
864 td.cat{font-weight:bold;letter-spacing:1px;color:#000000;background: url(./images/cellpic1.png);height:27px}
865 /* Main table cell colours and backgrounds */
866 td.row1{background:#eaedf4;color:#000000}
867 td.row2{background:#d9e2ec;color:#000000}
868 td.row3{background:#cad9ea;color:#000000}
869 td.spacerow{background:#cad9ea;color:#000000}
871 /* This is the outline round the main forum tables */
872 .forumline{background:#ffffff;color:#000000;border:1px solid #006699}
875 .box { background:#ffffff; border: 1px solid #888888 }
876 .box-title { font-weight: normal; background-color: #ccc; color: black; text-align: center; }
877 .box-data { width: 160px; font-size: 9pt; font-weight: normal; }
878 .box-data .wiki { font-weight: normal; }
879 td.sidebar { border-spacing: 0px; margin: 0ex;}
882 div.rss { margin: 1em; padding: 1em; }
883 div.feed { margin: -0.5em; margin-bottom: 0em; padding: 0.3em;
884 font-weight: bold; font-size: 1.2em; }
885 .chandesc { font-weight: bold; }
886 div.rssitem { padding-top:1em; padding-bottom: 1em;
887 border-top: 2px solid #565c5e; /* Alcatel-Lucent grey */ }
888 div.itemname { padding-bottom: 1em; font-weight: bold; }
889 div.itemdesc { padding-left: 1em; }
890 div.authordate { font-style: italic; }
891 a.rssicon { font-weight:normal; font-size:small; vertical-align:middle; }
895 border: 1px outset gray;
900 .sqlresult tr.evenrow { background: #eee; }
901 .sqlresult tr.oddrow { background: white; }
904 border: 1px solid gray;
907 /* TeX2png plugin ===================================================== */
911 vertical-align: middle;
914 /* PhotoAlbum plugin ================================================== */
923 padding: 1em 1em 1.5em 1em;
924 border: 1px solid #aaaaaa;
930 /* the left column width is specified in class .portlet */
934 vertical-align: bottom;
939 * table class="boxed"
940 * will put a border around the table (but not around the cells)
942 * table class="bordered"
943 * will put a border around the table and the cells
945 * In both cases, the caption will be bold and centered under the table
947 * In both cases, the headers (th) will have a "#d8d8d8" background
950 table.boxed, table.bordered, table.bordered th, table.bordered td {
953 border-collapse: collapse;
957 table.boxed td, table.bordered td,
958 table.boxed th, table.bordered th {
965 table.boxed caption, table.bordered caption {
968 caption-side: bottom;
972 table.boxed th, table.bordered th {
974 background-color: #d8d8d8;
977 /* BoxRight plugin ==================================================== */
980 background-color: #e9fbff;
989 td.tdselected, td.tdunselected {
998 background-color: #554295;
1003 background-color: #e9e8de;
1006 /* Main wiki browse banner */
1007 .browsebanner table {
1009 background-color: #e9fbff;
1010 border-style: solid;
1015 .browsebanner table td {
1018 font-style: oblique;
1024 vertical-align: middle;
1031 * c-file-style: cc-mode