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
50 /* Because in some cases there is a <p> in nested lists */
53 /* Hide the elements we put in just to get around NS4 bugs. */
54 div.br { display: none; }
56 /* This breaks NS4, but is necessary for IE4. */
57 div.wikitext { width: auto; }
59 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;
92 * The div inside the wikiadmin upload form does not
93 * have a class yet, so it must be referenced indirectly
95 /* div.wikiaction, div.wikiadmin { */
96 div.wikiaction, form.wikiadmin div {
97 border-bottom: 1px solid #d8d8e7;
98 border-right: 1px solid #d8d8e7;
99 border-top: 1px solid #96a2ae;
100 border-left: 1px solid #96a2ae;
103 margin-bottom: 0.5ex;
104 padding: 0.5ex 0.5em;
105 /* Emulate the display behaviour of a table, to shrink it's width. */
109 /* Add space between the input field and following buttons, but not after the last button. */
110 div.wikiaction input[type=text], div.wikiadmin input[type=text], form.wikiadmin input[type=file] { margin-right: 0.5em; }
112 div#actionbuttons { line-height: 3.0ex; }
115 .wikiunknown a, .named-wikiunknown a {
116 border-top: 1px solid #c6d2de;
117 border-left: 1px solid #c6d2de;
118 border-bottom: 1px solid #a2a2a2;
119 border-right: 1px solid #a2a2a2;
127 img.linkicon { vertical-align: middle; }
129 img.inlineimage { vertical-align: middle; }
136 font-family: monospace;
139 border-style: dashed;
146 /* Main wiki text box */
149 margin-bottom: 0.5ex;
154 /* Mozilla RecentChanges Sidebar */
158 body.sidebar div.wikitext {
161 body.sidebar div.wikitext ul { padding-left: 1em; }
162 body.sidebar h2 { margin-top: 0; }
168 /* text-decoration: none; */
173 a.wikiaction, a.wiki-rc-action, a.wikiunsafe,
174 input.wikiaction, input.button, input.wikiadmin {
175 text-decoration: none;
176 /* don't wrap text buttons */
180 input.wikiaction, input.button, input.wikiadmin {
185 .wikiunsafe { background-color: #fcc; }
188 .wikiunknown, .named-wikiunknown {
192 /* QuestionMark #600 */
193 .wikiunknown a, .named-wikiunknown a {
195 background-color: #eee;
196 text-decoration: none;
203 text-decoration: underline;
205 h1 .backlinks { text-decoration: none; color: inherit; }
207 /* Interwiki links */
208 .wikipage { font-weight: normal; }
209 .interwiki, i.interwiki .wikipage, em .interwiki .wikipage { font-style: oblique; }
210 .interwiki .wikipage, i .interwiki, em .interwiki { font-style: normal; }
212 /* CreateToc plugin =================================================== */
215 border: 1px solid #aaaaaa;
216 background-color: #f9f9f9;
220 div.toc ul { list-style: none }
222 div.toc p.toctitle { font-weight: bold; font-size: 1.6em; margin-bottom: 1ex; }
223 div.toc p { margin: 0; }
225 .toclist a { text-decoration: none; }
230 div.toc p.toctitle, h2, h3, h4, h5, h6 {
231 font-family: Verdana, Arial, Helvetica, sans-serif;
233 padding-bottom: .17em;
234 border-bottom: 1px solid #aaaaaa;
237 h1, h1 .backlinks, h2, .wikitext h2 a, h3, .wikitext h3 a, h4, .wikitext h4 a, h5, h6 {
238 text-decoration: none;
246 text-decoration: none;
249 .pagelist thead td u { text-decoration: none; }
250 .pagelist tr { vertical-align: top; }
251 .pagelist tr.evenrow { background: #eee; }
252 .pagelist tr.oddrow { background: white; }
254 background-color: #d8d8d8;
260 padding: 5px 0px 5px 0px;
265 input.gridbutton, a.gridbutton, a:hover.gridbutton, a:visited.gridbutton {
266 text-decoration: none;
273 .toolbar, input.button {
274 font-family: Verdana, Arial, Helvetica, sans-serif;
282 margin-left: -20px; /* Because there is no list symbol */
283 list-style-type: none;
287 text-decoration: none;
294 .edit-toolbar img, .edit-toolbar input {
295 background-color: #fff;
296 border: 1px solid ButtonFace;
307 #actionbuttons .named-wiki,
308 #actionbuttons .wikiaction,
309 #actionbuttons .wikiadmin {
311 color: #565c5e; /* Alcatel-Lucent grey */
314 #actionbuttons .named-wiki:hover,
315 #actionbuttons .wikiaction:hover,
316 #actionbuttons .wikiadmin:hover {
317 text-decoration: underline;
321 border: 1px solid #aaaaaa;
323 border-collapse: collapse;
328 #actionbuttons td.spacer {
335 #actionbuttons td.bold a {
340 font-family: Verdana, Arial, Helvetica, sans-serif;
344 border-top: 1px #aaaaaa solid;
349 /* "paper" borders */
350 border-top: 1px #e8e6df solid;
351 border-left: 1px #e8e6df solid;
352 border-bottom: 1px #d2d2d2 solid;
353 border-right: 1px #b2b2b2 solid;
357 * Edit Page & View Source
360 /* Make the textarea the full page width */
363 margin-bottom: 0.5ex;
378 #toolbar { padding:0px; }
383 .search-context { background: white; }
393 background-color: white;
394 border: 1px solid #d0d0d0;
399 background-color: #f08000;
402 background-color: #f0f0f0;
410 background-color: white;
421 list-style-image: none;
424 /* PageTrail plugin =================================================== */
427 background-color: #FFFF99;
431 /* IncludePage plugin ================================================= */
433 .transclusion-title {
437 text-decoration: underline;
438 margin-bottom: 0.25ex;
439 margin-right: 0.25em;
441 .transclusion, .wiki-edithelp {
445 border: 1px solid gray;
447 padding-right: 0.8em;
451 margin-right: 0.25em;
452 margin-bottom: 0.1ex;
456 border: medium solid #fff8dc; /* darker ivory */
458 padding-right: 0.5em;
460 padding-bottom: 0.75ex;
467 font-family: Verdana, Arial, Helvetica, sans-serif;
469 padding-right: 0.5em;
471 padding-bottom: 0.5ex;
475 /* Calendar plugin ==================================================== */
478 border: 1px outset gray;
492 /* Month-name header */
493 table.cal-header { font-size: larger; }
494 table.cal-header tr, table.cal-header td { text-align: center; }
497 text-decoration: none;
500 /* Day-names header */
501 table.cal tbody tr .cal-dayname { }
505 text-decoration: underline;
508 /* Individual days */
509 a.cal-hide { text-decoration: none; }
513 table.cal td.cal-today {
515 border: 1px solid gray;
518 table.cal td.cal-today a.cal-hide { }
520 /* Diff plugin ======================================================== */
526 /* deleted & added words */
527 .diff del, .diff ins {
535 margin-bottom: 0.5ex;
538 border-top: 1px solid #494f5d;
539 border-left: 1px solid #494f5d;
540 border-bottom: 1px solid #c6d2de;
541 border-right: 1px solid #c6d2de;
544 padding-left: .125em;
545 padding-right: .125em;
554 /* individual blocks */
560 /* entire difftextblock */
565 border-top: 1px #e8e6df solid;
566 border-left: 1px #e8e6df solid;
567 border-bottom: 1px #d2d2d2 solid;
568 border-right: 1px #b2b2b2 solid;
575 /* + - line prefix */
578 font-family: monospace;
584 .diff del, .diff ins {
586 text-decoration: none;
589 /* blocks containing deleted or added words */
590 .diff .original, .diff .deleted,
591 .diff .final, .diff .added {
594 /* blocks containing deleted words */
595 .diff .original, .diff .deleted {
599 /* blocks containing added words */
600 .diff .final, .diff .added {
606 .diff del { background: #f99; }
608 .diff ins { background: #9f9; }
610 /* PageInfo plugin ==================================================== */
612 td.pageinfo { font-weight: bold; }
613 .pageinfo-minoredit, .pageinfo-authorid {
618 /* Banners ============================================================ */
626 background-color: #ffc0cb; /* pink */
630 -moz-border-radius: 1em;
631 -webkit-border-radius: 1em;
640 background-color: #ffd297; /* orange */
641 border-color: #FFA500; /* orange */
644 -moz-border-radius: 1em;
645 -webkit-border-radius: 1em;
652 font-family: monospace;
655 padding: 0.5ex 0.5em;
656 border: medium solid #fff8dc; /* darker ivory */
666 background-color: #eeeeee;
670 -moz-border-radius: 1em;
671 -webkit-border-radius: 1em;
674 span.warning, span.errors, span.hint {
678 /* Disabled Plugins */
685 .disabled-plugin .title {
687 background-color: inherit;
692 .disabled-plugin pre {
696 padding: 0.3ex 0.5em;
699 /* RedirectTo plugin ================================================== */
701 /* "(Redirected from ...)" message. */
713 border-collapse: collapse;
714 border: 2px #444 solid;
717 border-top: 2px #444 solid;
718 border-bottom: 2px #444 solid;
724 padding: 0.25em 0.5em;
729 border-right: 1px #444 solid;
739 * "E-mail" style blockquote
741 blockquote.mail-style-quote {
744 border: 1px solid #284;
747 .mail-style-quote blockquote.mail-style-quote {
750 background: transparent;
752 border-left: medium solid #284;
760 .floatleft { float: left; }
761 .floatright { float: right; }
769 padding: 0.5ex 0.5em;
771 div.wikiblog-header {
772 /* background-color: #ccf; */
774 div.wikiblog > div.wikiblog-footer {
775 /* background-color: #eee; */
776 padding: 0.2ex 0.5em;
778 h3.wikiblog-summary {
784 table.wikiblog-form {
786 border-collapse: collapse;
789 .wikiblog-form caption {
793 padding: 0.5ex 0.5em;
798 padding: 0 0 0.3em 0.5em;
801 padding: 0.25em 0.5em;
803 .wikiblog-form td.submit-button {
806 .wikiblog-form input[type=text],
807 .wikiblog-form textarea {
811 div.wikicomment div.wikicomment-footer {
812 padding: 0.2ex 0.5em;
814 div.wikicomment div.wikicomment-footer named-wiki {
817 table.interwiki-map {
821 text-decoration: underline;
825 .interwiki-map td.interwiki-url {
828 .interwiki-map th.interwiki-url {
833 background-color: #cdf;
835 margin: 2em auto 2em auto;
836 border: thin black solid;
839 .dialog h1, .dialog p, .dialog div {
844 margin: 0.5em 0 1em 0;
846 .dialog div.message {
847 background-color: white;
851 padding: 0.5em 0.5em;
854 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 ===================================================== */
910 vertical-align: middle;
913 /* PhotoAlbum plugin ================================================== */
922 padding: 1em 1em 1.5em 1em;
923 border: 1px solid #aaaaaa;
929 /* the left column width is specified in class .portlet */
933 vertical-align: bottom;
938 * table class="boxed"
939 * will put a border around the table (but not around the cells)
941 * table class="bordered"
942 * will put a border around the table and the cells
944 * In both cases, the caption will be bold and centered under the table
946 * In both cases, the headers (th) will have a "#d8d8d8" background
949 table.boxed, table.bordered, table.bordered th, table.bordered td {
952 border-collapse: collapse;
956 table.boxed td, table.bordered td,
957 table.boxed th, table.bordered th {
964 table.boxed caption, table.bordered caption {
967 caption-side: bottom;
971 table.boxed th, table.bordered th {
973 background-color: #d8d8d8;
976 /* BoxRight plugin ==================================================== */
979 background-color: #e9fbff;
988 td.tdselected, td.tdunselected {
997 background-color: #554295;
1002 background-color: #e9e8de;
1005 /* Main wiki browse banner */
1006 .browsebanner table {
1008 background-color: #e9fbff;
1009 border-style: solid;
1014 .browsebanner table td {
1017 font-style: oblique;
1020 /* RateIt plugin ====================================================== */
1025 vertical-align: middle;
1032 * c-file-style: cc-mode