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#navbuttons, div#signin, 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, #signin {
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;
323 #navbuttons, #actionbuttons {
327 #navbuttons .named-wiki,
328 #actionbuttons .named-wiki,
329 #navbuttons .wikiaction,
330 #actionbuttons .wikiaction,
331 #navbuttons .wikiadmin,
332 #actionbuttons .wikiadmin {
334 color: #565c5e; /* Alcatel-Lucent grey */
337 #navbuttons .named-wiki:hover,
338 #actionbuttons .named-wiki:hover,
339 #navbuttons .wikiaction:hover,
340 #actionbuttons .wikiaction:hover,
341 #navbuttons .wikiadmin:hover,
342 #actionbuttons .wikiadmin:hover {
343 text-decoration: underline;
347 border: 1px solid #aaaaaa;
349 border-collapse: collapse;
354 #actionbuttons td.spacer {
361 #actionbuttons td.bold a {
366 font-family: Verdana, Arial, Helvetica, sans-serif;
370 border-top: 1px #aaaaaa solid;
375 border: 1px black solid;
376 /* "paper" borders */
377 border-top: 1px #e8e6df solid;
378 border-left: 1px #e8e6df solid;
379 border-bottom: 1px #d2d2d2 solid;
380 border-right: 1px #b2b2b2 solid;
384 * Edit Page & View Source
387 /* Make the textarea the full page width */
390 margin-bottom: 0.5ex;
405 #toolbar { padding:0px; }
410 .search-context { background: white; }
420 background-color: white;
421 border: 1px solid #d0d0d0;
426 background-color: #f08000;
429 background-color: #f0f0f0;
437 background-color: white;
448 list-style-image: none;
451 /* PageTrail plugin */
453 background-color: #FFFF99;
457 /* IncludePage plugin */
458 .transclusion-title {
462 text-decoration: underline;
463 margin-bottom: 0.25ex;
464 margin-right: 0.25em;
466 .transclusion, .wiki-edithelp {
470 border: 1px solid gray;
472 padding-right: 0.8em;
476 margin-right: 0.25em;
477 margin-bottom: 0.1ex;
481 border: medium solid #fff8dc; /* darker ivory */
483 padding-right: 0.5em;
485 padding-bottom: 0.75ex;
492 font-family: Verdana, Arial, Helvetica, sans-serif;
494 padding-right: 0.5em;
496 padding-bottom: 0.5ex;
504 border: 1px outset gray;
518 /* Month-name header */
519 table.cal-header { font-size: larger; }
520 table.cal-header tr, table.cal-header td { text-align: center; }
523 text-decoration: none;
526 /* Day-names header */
527 table.cal tbody tr .cal-dayname { }
531 text-decoration: underline;
534 /* Individual days */
535 a.cal-hide { text-decoration: none; }
539 table.cal td.cal-today {
541 border: 1px solid gray;
544 table.cal td.cal-today a.cal-hide { }
552 margin-bottom: 0.5ex;
554 border: 1px #ccc solid;
556 border-top: 1px solid #494f5d;
557 border-left: 1px solid #494f5d;
558 border-bottom: 1px solid #c6d2de;
559 border-right: 1px solid #c6d2de;
562 padding-left: .125em;
563 padding-right: .125em;
572 /* individual blocks */
578 /* entire difftextblock */
583 border: 1px black solid;
584 border-top: 1px #e8e6df solid;
585 border-left: 1px #e8e6df solid;
586 border-bottom: 1px #d2d2d2 solid;
587 border-right: 1px #b2b2b2 solid;
594 /* + - line prefix */
597 font-family: monospace;
603 .diff del, .diff ins {
605 text-decoration: none;
608 /* blocks containing deleted or added words */
609 .diff .original, .diff .deleted,
610 .diff .final, .diff .added {
613 /* blocks containing deleted words */
614 .diff .original, .diff .deleted {
618 /* blocks containing added words */
619 .diff .final, .diff .added {
625 .diff del { background: #f99; }
627 .diff ins { background: #9f9; }
632 td.pageinfo { font-weight: bold; }
633 .pageinfo-minoredit, .pageinfo-authorid {
642 background-color: #ffc0cb; /* pink */
653 padding-right: 0.8em;
656 border: thin solid blue;
664 font-family: monospace;
667 padding: 0.5ex 0.5em;
668 border: medium solid #fff8dc; /* darker ivory */
677 padding: 0.5ex 0.5em;
678 border: thin solid #aaaaaa;
684 /* Disabled Plugins */
691 .disabled-plugin .title {
693 background-color: inherit;
698 .disabled-plugin pre {
702 padding: 0.3ex 0.5em;
705 /* "(Redirected from ...)" message. */
717 border-collapse: collapse;
718 border: 2px #444 solid;
721 border-top: 2px #444 solid;
722 border-bottom: 2px #444 solid;
728 padding: 0.25em 0.5em;
733 border-right: 1px #444 solid;
743 * "E-mail" style blockquote
745 blockquote.mail-style-quote {
748 border: 1px solid #284;
751 .mail-style-quote blockquote.mail-style-quote {
754 background: transparent;
756 border-left: medium solid #284;
764 .floatleft { float: left; }
765 .floatright { float: right; }
768 /* border: thin black solid; */
774 padding: 0.5ex 0.5em;
776 div.wikiblog-header {
777 /* background-color: #ccf; */
779 div.wikiblog > div.wikiblog-footer {
780 /* background-color: #eee; */
781 padding: 0.2ex 0.5em;
783 h3.wikiblog-summary {
789 table.wikiblog-form {
791 border-collapse: collapse;
794 .wikiblog-form caption {
798 padding: 0.5ex 0.5em;
803 padding: 0 0 0.3em 0.5em;
806 padding: 0.25em 0.5em;
808 .wikiblog-form td.submit-button {
811 .wikiblog-form input[type=text],
812 .wikiblog-form textarea {
816 div.wikicomment div.wikicomment-footer {
817 padding: 0.2ex 0.5em;
819 div.wikicomment div.wikicomment-footer named-wiki {
822 table.interwiki-map {
826 text-decoration: underline;
830 .interwiki-map td.interwiki-url {
833 .interwiki-map th.interwiki-url {
838 background-color: #cdf;
840 margin: 2em auto 2em auto;
841 border: thin black solid;
844 .dialog h1, .dialog p, .dialog div {
849 margin: 0.5em 0 1em 0;
851 .dialog div.message {
852 background-color: white;
856 padding: 0.5em 0.5em;
859 margin: 1em 0 0.5em 0;
868 .gensmall{font-size:10px}
869 .genmed{font-size:11px}
870 td.cat{font-weight:bold;letter-spacing:1px;color:#000000;background: url(./images/cellpic1.png);height:27px}
871 /* Main table cell colours and backgrounds */
872 td.row1{background:#eaedf4;color:#000000}
873 td.row2{background:#d9e2ec;color:#000000}
874 td.row3{background:#cad9ea;color:#000000}
875 td.spacerow{background:#cad9ea;color:#000000}
877 /* This is the outline round the main forum tables */
878 .forumline{background:#ffffff;color:#000000;border:1px solid #006699}
881 .box { background:#ffffff; border: 1px solid #888888 }
882 .box-title { font-weight: normal; background-color: #ccc; color: black; text-align: center; }
883 .box-data { width: 160px; font-size: 9pt; font-weight: normal; }
884 .box-data .wiki { font-weight: normal; }
885 td.sidebar { border-spacing: 0px; margin: 0ex;}
888 div.rss { margin: 1em; padding: 1em; }
889 div.feed { margin: -0.5em; margin-bottom: 0em; padding: 0.3em;
890 font-weight: bold; font-size: 1.2em; }
891 .chandesc { font-weight: bold; }
892 div.rssitem { padding-top:1em; padding-bottom: 1em;
893 border-top: 2px solid #565c5e; /* Alcatel-Lucent grey */ }
894 div.itemname { padding-bottom: 1em; font-weight: bold; }
895 div.itemdesc { padding-left: 1em; }
896 div.authordate { font-style: italic; }
897 a.rssicon { font-weight:normal; font-size:small; vertical-align:middle; }
901 border: 1px outset gray;
906 .sqlresult tr.evenrow { background: #eee; }
907 .sqlresult tr.oddrow { background: white; }
910 border: 1px solid gray;
918 vertical-align: middle;
931 padding: 1em 1em 1.5em 1em;
932 border: 1px solid #aaaaaa;
938 /* the left column width is specified in class .portlet */
942 vertical-align: bottom;
947 * table class="boxed"
948 * will put a border around the table (but not around the cells)
950 * table class="bordered"
951 * will put a border around the table and the cells
953 * In both cases, the caption will be bold and centered under the table
955 * In both cases, the headers (th) will have a "#d8d8d8" background
958 table.boxed, table.bordered, table.bordered th, table.bordered td {
961 border-collapse: collapse;
965 table.boxed td, table.bordered td,
966 table.boxed th, table.bordered th {
973 table.boxed caption, table.bordered caption {
976 caption-side: bottom;
980 table.boxed th, table.bordered th {
982 background-color: #d8d8d8;
985 /* plugin BoxRight */
987 background-color: #e9fbff;
996 td.tdselected, td.tdunselected {
1005 background-color: #554295;
1010 background-color: #e9e8de;
1013 /* Main wiki browse banner */
1014 .browsebanner table {
1016 background-color: #e9fbff;
1017 border-style: solid;
1022 .browsebanner table td {
1025 font-style: oblique;
1031 vertical-align: middle;
1038 * c-file-style: cc-mode