4 * Copyright (C) 2002-2007 $ThePhpWikiProgrammingTeam
5 * Copyright (C) 2008-2009 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 makes spacings in NS4 too big. */
53 .toolbar, div.toolbar { margin: 0.5ex 0ex; }
55 /* This breaks NS4, but is necessary for IE4. */
56 div.wikitext { width: auto; }
62 img { vertical-align: baseline; }
63 input { margin: 0.1em; }
64 input.numeric { text-align: right; }
67 background-color: #e0f3f7;
73 * The div inside the wikiadmin upload form does not
74 * have a class yet, so it must be referenced indirectly
76 /* div.wikiaction, div.wikiadmin { */
77 div.wikiaction, form.wikiadmin div {
78 border-bottom: 1px solid #d8d8e7;
79 border-right: 1px solid #d8d8e7;
80 border-top: 1px solid #96a2ae;
81 border-left: 1px solid #96a2ae;
86 /* Emulate the display behaviour of a table, to shrink it's width.
87 * ie5.1Mac ignores this */
91 /* Add space between the input field and following buttons, but not after the last button. */
92 div.wikiaction input[type=text], div.wikiadmin input[type=text], form.wikiadmin input[type=file] { margin-right: 0.5em; }
94 div#navbuttons, div#signin, div#actionbuttons { line-height: 3.0ex; }
97 .wikiunknown a, .named-wikiunknown a {
98 border-top: 1px solid #c6d2de;
99 border-left: 1px solid #c6d2de;
100 border-bottom: 1px solid #a2a2a2;
101 border-right: 1px solid #a2a2a2;
109 img.linkicon { vertical-align: middle; }
112 * Edit Page & View Source
114 /* color: inherit; and background: inherit; display as lime in NS4 */
123 /* deleted & added words */
124 .diff del, .diff ins {
133 div.errors { font-size: smaller }
140 form { margin: 0ex; }
158 div.wikitext hr { height: 1px; }
161 font-family: monospace;
164 border-style: dashed;
171 /* Main wiki text box */
174 margin-bottom: 0.5ex;
176 border-bottom: 1px #aaaaaa solid;
181 /* Mozilla RecentChanges Sidebar */
185 body.sidebar div.wikitext {
188 body.sidebar div.wikitext ul { padding-left: 1em; }
189 body.sidebar h2 { margin-top: 0; }
195 /* text-decoration: none; */
200 a.wikiaction, a.wiki-rc-action, a.wikiunsafe,
201 input.wikiaction, input.button, input.wikiadmin {
202 text-decoration: none;
203 /* don't wrap text buttons */
207 input.wikiaction, input.button, input.wikiadmin {
212 .wikiunsafe { background-color: #fcc; }
215 .wikiunknown, .named-wikiunknown {
219 /* QuestionMark #600 */
220 .wikiunknown a, .named-wikiunknown a {
222 background-color: #eee;
223 text-decoration: none;
230 text-decoration: underline;
232 h1 .backlinks { text-decoration: none; }
234 /* Interwiki links */
235 .wikipage { font-weight: normal; }
236 .interwiki, i.interwiki .wikipage, em .interwiki .wikipage { font-style: oblique; }
237 .interwiki .wikipage, i .interwiki, em .interwiki { font-style: normal; }
243 border: 1px solid #aaaaaa;
244 background-color: #f9f9f9;
248 div.toc ul { list-style: none }
250 div.toc p.toctitle { font-weight: bold; font-size: 1.6em; margin-bottom: 1ex; }
251 div.toc p { margin: 0; }
253 .toclist a { text-decoration: none; }
258 div.toc p.toctitle, h1, h2, h3, h4, h5, h6 {
259 font-family: Verdana, Arial, Helvetica, sans-serif;
261 padding-bottom: .17em;
262 border-bottom: 1px solid #aaaaaa;
267 h1, h1 .backlinks, h2, h3, h4, h5, h6 {
268 color: #565c5e; /* Alcatel-Lucent grey */
271 h1, h1 .backlinks, h2, .wikitext h2 a, h3, .wikitext h3 a, h4, .wikitext h4 a, h5, h6 {
272 text-decoration: none;
280 text-decoration: none;
283 .pagelist thead td u { text-decoration: none; }
284 .pagelist tr { vertical-align: top; }
285 .pagelist tr.evenrow { background: #eee; }
286 .pagelist tr.oddrow { background: white; }
288 background-color: #d8d8d8;
294 padding: 5px 0px 5px 0px;
299 input.gridbutton, a.gridbutton, a:hover.gridbutton, a:visited.gridbutton {
300 text-decoration: none;
307 .toolbar, input.button, #signin {
308 font-family: Verdana, Arial, Helvetica, sans-serif;
316 margin-left: -20px; /* Because there is no list symbol */
317 list-style-type: none;
321 text-decoration: none;
328 .edit-toolbar img, .edit-toolbar input {
329 background-color: #fff;
330 border: 1px solid ButtonFace;
337 #navbuttons, #actionbuttons {
341 #navbuttons .named-wiki,
342 #actionbuttons .named-wiki,
343 #navbuttons .wikiaction,
344 #actionbuttons .wikiaction,
345 #navbuttons .wikiadmin,
346 #actionbuttons .wikiadmin {
348 color: #565c5e; /* Alcatel-Lucent grey */
351 #navbuttons .named-wiki:hover,
352 #actionbuttons .named-wiki:hover,
353 #navbuttons .wikiaction:hover,
354 #actionbuttons .wikiaction:hover,
355 #navbuttons .wikiadmin:hover,
356 #actionbuttons .wikiadmin:hover {
357 text-decoration: underline;
361 border: 1px solid #aaaaaa;
363 border-collapse: collapse;
368 #actionbuttons td.spacer {
375 #actionbuttons td.bold a {
380 font-family: Verdana, Arial, Helvetica, sans-serif;
388 border: 1px black solid;
389 /* "paper" borders */
390 border-top: 1px #e8e6df solid;
391 border-left: 1px #e8e6df solid;
392 border-bottom: 1px #d2d2d2 solid;
393 border-right: 1px #b2b2b2 solid;
397 * Edit Page & View Source
400 /* Make the textarea the full page width */
403 margin-bottom: 0.5ex;
418 #toolbar { padding:0px; }
423 .search-context { background: white; }
433 background-color: white;
434 border: 1px solid #d0d0d0;
439 background-color: #f08000;
442 background-color: #f0f0f0;
450 background-color: white;
461 list-style-image: none;
464 /* PageTrail plugin */
466 background-color: #FFFF99;
470 /* IncludePage plugin */
471 .transclusion-title {
475 text-decoration: underline;
476 margin-bottom: 0.25ex;
477 margin-right: 0.25em;
479 .transclusion, .wiki-edithelp {
483 border: 1px solid gray;
485 padding-right: 0.8em;
489 margin-right: 0.25em;
490 margin-bottom: 0.1ex;
494 border: medium solid #fff8dc; /* darker ivory */
496 padding-right: 0.5em;
498 padding-bottom: 0.75ex;
505 font-family: Verdana, Arial, Helvetica, sans-serif;
507 padding-right: 0.5em;
509 padding-bottom: 0.5ex;
517 border: 1px outset gray;
531 /* Month-name header */
532 table.cal-header { font-size: larger; }
533 table.cal-header tr, table.cal-header td { text-align: center; }
536 text-decoration: none;
539 /* Day-names header */
540 table.cal tbody tr .cal-dayname { }
544 text-decoration: underline;
547 /* Individual days */
548 a.cal-hide { text-decoration: none; }
552 table.cal td.cal-today {
554 border: 1px solid gray;
557 table.cal td.cal-today a.cal-hide { }
565 margin-bottom: 0.5ex;
567 border: 1px #ccc solid;
569 border-top: 1px solid #494f5d;
570 border-left: 1px solid #494f5d;
571 border-bottom: 1px solid #c6d2de;
572 border-right: 1px solid #c6d2de;
575 padding-left: .125em;
576 padding-right: .125em;
585 /* individual blocks */
591 /* entire difftextblock */
596 border: 1px black solid;
597 border-top: 1px #e8e6df solid;
598 border-left: 1px #e8e6df solid;
599 border-bottom: 1px #d2d2d2 solid;
600 border-right: 1px #b2b2b2 solid;
607 /* + - line prefix */
610 font-family: monospace;
616 .diff del, .diff ins {
618 text-decoration: none;
621 /* blocks containing deleted or added words */
622 .diff .original, .diff .deleted,
623 .diff .final, .diff .added {
626 /* blocks containing deleted words */
627 .diff .original, .diff .deleted {
631 /* blocks containing added words */
632 .diff .final, .diff .added {
638 .diff del { background: #f99; }
640 .diff ins { background: #9f9; }
645 td.pageinfo { font-weight: bold; }
646 .pageinfo-minoredit, .pageinfo-authorid {
654 .printer, .no-css { display: none; }
663 padding-right: 0.8em;
666 border: medium solid red;
673 text-decoration: underline;
681 padding-right: 0.8em;
684 border: thin solid blue;
692 font-family: monospace;
695 padding: 0.5ex 0.5em;
696 border: medium solid #fff8dc; /* darker ivory */
705 padding: 0.5ex 0.5em;
706 border: thin solid #aaaaaa;
712 /* Disabled Plugins */
719 .disabled-plugin .title {
721 background-color: inherit;
726 .disabled-plugin pre {
730 padding: 0.3ex 0.5em;
733 /* "(Redirected from ...)" message. */
745 border-collapse: collapse;
746 border: 2px #444 solid;
749 border-top: 2px #444 solid;
750 border-bottom: 2px #444 solid;
756 padding: 0.25em 0.5em;
761 border-right: 1px #444 solid;
771 * "E-mail" style blockquote
773 blockquote.mail-style-quote {
776 border: 1px solid #284;
779 .mail-style-quote blockquote.mail-style-quote {
782 background: transparent;
784 border-left: medium solid #284;
792 .floatleft { float: left; }
793 .floatright { float: right; }
796 /* border: thin black solid; */
802 padding: 0.5ex 0.5em;
804 div.wikiblog-header {
805 /* background-color: #ccf; */
807 div.wikiblog > div.wikiblog-footer {
808 /* background-color: #eee; */
809 padding: 0.2ex 0.5em;
811 h3.wikiblog-summary {
817 table.wikiblog-form {
819 border-collapse: collapse;
822 .wikiblog-form caption {
826 padding: 0.5ex 0.5em;
831 padding: 0 0 0.3em 0.5em;
834 padding: 0.25em 0.5em;
836 .wikiblog-form td.submit-button {
839 .wikiblog-form input[type=text],
840 .wikiblog-form textarea {
844 div.wikicomment div.wikicomment-footer {
845 padding: 0.2ex 0.5em;
847 div.wikicomment div.wikicomment-footer named-wiki {
850 table.interwiki-map {
854 text-decoration: underline;
858 .interwiki-map td.interwiki-url {
861 .interwiki-map th.interwiki-url {
866 background-color: #cdf;
868 margin: 2em auto 2em auto;
869 border: thin black solid;
872 .dialog h1, .dialog p, .dialog div {
877 margin: 0.5em 0 1em 0;
879 .dialog div.message {
880 background-color: white;
884 padding: 0.5em 0.5em;
887 margin: 1em 0 0.5em 0;
896 .gensmall{font-size:10px}
897 .genmed{font-size:11px}
898 td.cat{font-weight:bold;letter-spacing:1px;color:#000000;background: url(./images/cellpic1.png);height:27px}
899 /* Main table cell colours and backgrounds */
900 td.row1{background:#eaedf4;color:#000000}
901 td.row2{background:#d9e2ec;color:#000000}
902 td.row3{background:#cad9ea;color:#000000}
903 td.spacerow{background:#cad9ea;color:#000000}
905 /* This is the outline round the main forum tables */
906 .forumline{background:#ffffff;color:#000000;border:1px solid #006699}
909 .box { background:#ffffff; border: 1px solid #888888 }
910 .box-title { font-weight: normal; background-color: #ccc; color: black; text-align: center; }
911 .box-data { width: 160px; font-size: 9pt; font-weight: normal; }
912 .box-data .wiki { font-weight: normal; }
913 td.sidebar { border-spacing: 0px; margin: 0ex;}
916 div.rss { margin: 1em; padding: 1em; font-size: 0.9em; background-color: #eeeeee; border: thin dashed #aaaaaa; }
917 div.feed { color: #333; margin: -0.5em; margin-bottom: 0em; padding: 0.3em; font-weight: bold; background-color: #f2f2f2; font-size: 1.2em; }
918 div.itemdesc { padding-left: 1em; }
919 div.rssitem { border-top: thin dashed #aaaaaa; }
920 a.rssicon { font-weight:normal; font-size:small; vertical-align:middle; }
924 border: 1px outset gray;
929 .sqlresult tr.evenrow { background: #eee; }
930 .sqlresult tr.oddrow { background: white; }
933 border: 1px solid gray;
941 vertical-align: middle;
954 padding: 1em 1em 1.5em 1em;
956 border: 1px solid #aaaaaa;
962 /* the left column width is specified in class .portlet */
966 vertical-align: bottom;
971 * table class="boxed"
972 * will put a border around the table (but not around the cells)
974 * table class="bordered"
975 * will put a border around the table and the cells
977 * In both cases, the caption will be bold and centered under the table
979 * In both cases, the headers (th) will have a "#d8d8d8" background
982 table.boxed, table.bordered, table.bordered th, table.bordered td {
985 border-collapse: collapse;
989 table.boxed td, table.bordered td,
990 table.boxed th, table.bordered th {
997 table.boxed caption, table.bordered caption {
1000 caption-side: bottom;
1004 table.boxed th, table.bordered th {
1006 background-color: #d8d8d8;
1009 /* plugin BoxRight */
1011 background-color: #e9fbff;
1020 td.tdselected, td.tdunselected {
1029 background-color: #554295;
1034 background-color: #e9e8de;
1037 /* Main wiki browse banner */
1038 .browsebanner table {
1040 background-color: #e9fbff;
1041 border-style: solid;
1046 .browsebanner table td {
1049 font-style: oblique;
1056 * c-file-style: cc-mode