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; }
124 /* deleted & added words */
125 .diff del, .diff ins {
135 form { margin: 0ex; }
153 font-family: monospace;
156 border-style: dashed;
163 /* Main wiki text box */
166 margin-bottom: 0.5ex;
171 /* Mozilla RecentChanges Sidebar */
175 body.sidebar div.wikitext {
178 body.sidebar div.wikitext ul { padding-left: 1em; }
179 body.sidebar h2 { margin-top: 0; }
185 /* text-decoration: none; */
190 a.wikiaction, a.wiki-rc-action, a.wikiunsafe,
191 input.wikiaction, input.button, input.wikiadmin {
192 text-decoration: none;
193 /* don't wrap text buttons */
197 input.wikiaction, input.button, input.wikiadmin {
202 .wikiunsafe { background-color: #fcc; }
205 .wikiunknown, .named-wikiunknown {
209 /* QuestionMark #600 */
210 .wikiunknown a, .named-wikiunknown a {
212 background-color: #eee;
213 text-decoration: none;
220 text-decoration: underline;
222 h1 .backlinks { text-decoration: none; color: inherit; }
224 h1 { font-weight: bold; }
226 /* Interwiki links */
227 .wikipage { font-weight: normal; }
228 .interwiki, i.interwiki .wikipage, em .interwiki .wikipage { font-style: oblique; }
229 .interwiki .wikipage, i .interwiki, em .interwiki { font-style: normal; }
235 border: 1px solid #aaaaaa;
236 background-color: #f9f9f9;
240 div.toc ul { list-style: none }
242 div.toc p.toctitle { font-weight: bold; font-size: 1.6em; margin-bottom: 1ex; }
243 div.toc p { margin: 0; }
245 .toclist a { text-decoration: none; }
250 div.toc p.toctitle, h2, h3, h4, h5, h6 {
251 font-family: Verdana, Arial, Helvetica, sans-serif;
253 padding-bottom: .17em;
254 border-bottom: 1px solid #aaaaaa;
257 h1, h1 .backlinks, h2, .wikitext h2 a, h3, .wikitext h3 a, h4, .wikitext h4 a, h5, h6 {
258 text-decoration: none;
266 text-decoration: none;
269 .pagelist thead td u { text-decoration: none; }
270 .pagelist tr { vertical-align: top; }
271 .pagelist tr.evenrow { background: #eee; }
272 .pagelist tr.oddrow { background: white; }
274 background-color: #d8d8d8;
280 padding: 5px 0px 5px 0px;
285 input.gridbutton, a.gridbutton, a:hover.gridbutton, a:visited.gridbutton {
286 text-decoration: none;
293 .toolbar, input.button {
294 font-family: Verdana, Arial, Helvetica, sans-serif;
302 margin-left: -20px; /* Because there is no list symbol */
303 list-style-type: none;
307 text-decoration: none;
314 .edit-toolbar img, .edit-toolbar input {
315 background-color: #fff;
316 border: 1px solid ButtonFace;
327 #actionbuttons .named-wiki,
328 #actionbuttons .wikiaction,
329 #actionbuttons .wikiadmin {
331 color: #565c5e; /* Alcatel-Lucent grey */
334 #actionbuttons .named-wiki:hover,
335 #actionbuttons .wikiaction:hover,
336 #actionbuttons .wikiadmin:hover {
337 text-decoration: underline;
341 border: 1px solid #aaaaaa;
343 border-collapse: collapse;
348 #actionbuttons td.spacer {
355 #actionbuttons td.bold a {
360 font-family: Verdana, Arial, Helvetica, sans-serif;
364 border-top: 1px #aaaaaa solid;
369 border: 1px black solid;
370 /* "paper" borders */
371 border-top: 1px #e8e6df solid;
372 border-left: 1px #e8e6df solid;
373 border-bottom: 1px #d2d2d2 solid;
374 border-right: 1px #b2b2b2 solid;
378 * Edit Page & View Source
381 /* Make the textarea the full page width */
384 margin-bottom: 0.5ex;
399 #toolbar { padding:0px; }
404 .search-context { background: white; }
414 background-color: white;
415 border: 1px solid #d0d0d0;
420 background-color: #f08000;
423 background-color: #f0f0f0;
431 background-color: white;
442 list-style-image: none;
445 /* PageTrail plugin */
447 background-color: #FFFF99;
451 /* 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;
498 border: 1px outset gray;
512 /* Month-name header */
513 table.cal-header { font-size: larger; }
514 table.cal-header tr, table.cal-header td { text-align: center; }
517 text-decoration: none;
520 /* Day-names header */
521 table.cal tbody tr .cal-dayname { }
525 text-decoration: underline;
528 /* Individual days */
529 a.cal-hide { text-decoration: none; }
533 table.cal td.cal-today {
535 border: 1px solid gray;
538 table.cal td.cal-today a.cal-hide { }
546 margin-bottom: 0.5ex;
548 border: 1px #ccc solid;
550 border-top: 1px solid #494f5d;
551 border-left: 1px solid #494f5d;
552 border-bottom: 1px solid #c6d2de;
553 border-right: 1px solid #c6d2de;
556 padding-left: .125em;
557 padding-right: .125em;
566 /* individual blocks */
572 /* entire difftextblock */
577 border: 1px black solid;
578 border-top: 1px #e8e6df solid;
579 border-left: 1px #e8e6df solid;
580 border-bottom: 1px #d2d2d2 solid;
581 border-right: 1px #b2b2b2 solid;
588 /* + - line prefix */
591 font-family: monospace;
597 .diff del, .diff ins {
599 text-decoration: none;
602 /* blocks containing deleted or added words */
603 .diff .original, .diff .deleted,
604 .diff .final, .diff .added {
607 /* blocks containing deleted words */
608 .diff .original, .diff .deleted {
612 /* blocks containing added words */
613 .diff .final, .diff .added {
619 .diff del { background: #f99; }
621 .diff ins { background: #9f9; }
626 td.pageinfo { font-weight: bold; }
627 .pageinfo-minoredit, .pageinfo-authorid {
636 background-color: #ffc0cb; /* pink */
647 padding-right: 0.8em;
650 border: thin solid blue;
658 font-family: monospace;
661 padding: 0.5ex 0.5em;
662 border: medium solid #fff8dc; /* darker ivory */
671 padding: 0.5ex 0.5em;
672 border: thin solid #aaaaaa;
678 /* Disabled Plugins */
685 .disabled-plugin .title {
687 background-color: inherit;
692 .disabled-plugin pre {
696 padding: 0.3ex 0.5em;
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;
912 vertical-align: middle;
925 padding: 1em 1em 1.5em 1em;
926 border: 1px solid #aaaaaa;
932 /* the left column width is specified in class .portlet */
936 vertical-align: bottom;
941 * table class="boxed"
942 * will put a border around the table (but not around the cells)
944 * table class="bordered"
945 * will put a border around the table and the cells
947 * In both cases, the caption will be bold and centered under the table
949 * In both cases, the headers (th) will have a "#d8d8d8" background
952 table.boxed, table.bordered, table.bordered th, table.bordered td {
955 border-collapse: collapse;
959 table.boxed td, table.bordered td,
960 table.boxed th, table.bordered th {
967 table.boxed caption, table.bordered caption {
970 caption-side: bottom;
974 table.boxed th, table.bordered th {
976 background-color: #d8d8d8;
979 /* plugin BoxRight */
981 background-color: #e9fbff;
990 td.tdselected, td.tdunselected {
999 background-color: #554295;
1004 background-color: #e9e8de;
1007 /* Main wiki browse banner */
1008 .browsebanner table {
1010 background-color: #e9fbff;
1011 border-style: solid;
1016 .browsebanner table td {
1019 font-style: oblique;
1025 vertical-align: middle;
1032 * c-file-style: cc-mode