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; }
58 div.wikitext table p { margin-top: 0.3em; margin-bottom: 0.3em;}
64 img { vertical-align: baseline; }
65 input { margin: 0.1em; }
66 input.numeric { text-align: right; }
69 background-color: #e0f3f7;
73 border: 1px solid #d8d8e7;
74 background-color: white;
80 * The div inside the wikiadmin upload form does not
81 * have a class yet, so it must be referenced indirectly
83 /* div.wikiaction, div.wikiadmin { */
84 div.wikiaction, form.wikiadmin div {
85 border-bottom: 1px solid #d8d8e7;
86 border-right: 1px solid #d8d8e7;
87 border-top: 1px solid #96a2ae;
88 border-left: 1px solid #96a2ae;
93 /* Emulate the display behaviour of a table, to shrink it's width.
94 * ie5.1Mac ignores this */
98 /* Add space between the input field and following buttons, but not after the last button. */
99 div.wikiaction input[type=text], div.wikiadmin input[type=text], form.wikiadmin input[type=file] { margin-right: 0.5em; }
101 div#navbuttons, div#signin, div#actionbuttons { line-height: 3.0ex; }
104 .wikiunknown a, .named-wikiunknown a {
105 border-top: 1px solid #c6d2de;
106 border-left: 1px solid #c6d2de;
107 border-bottom: 1px solid #a2a2a2;
108 border-right: 1px solid #a2a2a2;
116 img.linkicon { vertical-align: middle; }
118 img.inlineimage { vertical-align: middle; }
121 * Edit Page & View Source
123 /* color: inherit; and background: inherit; display as lime in NS4 */
132 /* deleted & added words */
133 .diff del, .diff ins {
143 form { margin: 0ex; }
161 font-family: monospace;
164 border-style: dashed;
171 /* Main wiki text box */
174 margin-bottom: 0.5ex;
180 /* Mozilla RecentChanges Sidebar */
184 body.sidebar div.wikitext {
187 body.sidebar div.wikitext ul { padding-left: 1em; }
188 body.sidebar h2 { margin-top: 0; }
194 /* text-decoration: none; */
199 a.wikiaction, a.wiki-rc-action, a.wikiunsafe,
200 input.wikiaction, input.button, input.wikiadmin {
201 text-decoration: none;
202 /* don't wrap text buttons */
206 input.wikiaction, input.button, input.wikiadmin {
211 .wikiunsafe { background-color: #fcc; }
214 .wikiunknown, .named-wikiunknown {
218 /* QuestionMark #600 */
219 .wikiunknown a, .named-wikiunknown a {
221 background-color: #eee;
222 text-decoration: none;
229 text-decoration: underline;
231 h1 .backlinks { text-decoration: none; color: inherit; }
233 /* Interwiki links */
234 .wikipage { font-weight: normal; }
235 .interwiki, i.interwiki .wikipage, em .interwiki .wikipage { font-style: oblique; }
236 .interwiki .wikipage, i .interwiki, em .interwiki { font-style: normal; }
242 border: 1px solid #aaaaaa;
243 background-color: #f9f9f9;
247 div.toc ul { list-style: none }
249 div.toc p.toctitle { font-weight: bold; font-size: 1.6em; margin-bottom: 1ex; }
250 div.toc p { margin: 0; }
252 .toclist a { text-decoration: none; }
257 div.toc p.toctitle, h2, h3, h4, h5, h6 {
258 font-family: Verdana, Arial, Helvetica, sans-serif;
260 padding-bottom: .17em;
261 border-bottom: 1px solid #aaaaaa;
264 h1, h1 .backlinks, h2, .wikitext h2 a, h3, .wikitext h3 a, h4, .wikitext h4 a, h5, h6 {
265 text-decoration: none;
273 text-decoration: none;
276 .pagelist thead td u { text-decoration: none; }
277 .pagelist tr { vertical-align: top; }
278 .pagelist tr.evenrow { background: #eee; }
279 .pagelist tr.oddrow { background: white; }
281 background-color: #d8d8d8;
287 padding: 5px 0px 5px 0px;
292 input.gridbutton, a.gridbutton, a:hover.gridbutton, a:visited.gridbutton {
293 text-decoration: none;
300 .toolbar, input.button, #signin {
301 font-family: Verdana, Arial, Helvetica, sans-serif;
309 margin-left: -20px; /* Because there is no list symbol */
310 list-style-type: none;
314 text-decoration: none;
321 .edit-toolbar img, .edit-toolbar input {
322 background-color: #fff;
323 border: 1px solid ButtonFace;
330 #navbuttons, #actionbuttons {
334 #navbuttons .named-wiki,
335 #actionbuttons .named-wiki,
336 #navbuttons .wikiaction,
337 #actionbuttons .wikiaction,
338 #navbuttons .wikiadmin,
339 #actionbuttons .wikiadmin {
341 color: #565c5e; /* Alcatel-Lucent grey */
344 #navbuttons .named-wiki:hover,
345 #actionbuttons .named-wiki:hover,
346 #navbuttons .wikiaction:hover,
347 #actionbuttons .wikiaction:hover,
348 #navbuttons .wikiadmin:hover,
349 #actionbuttons .wikiadmin:hover {
350 text-decoration: underline;
354 border: 1px solid #aaaaaa;
356 border-collapse: collapse;
361 #actionbuttons td.spacer {
368 #actionbuttons td.bold a {
373 font-family: Verdana, Arial, Helvetica, sans-serif;
377 border-top: 1px #aaaaaa solid;
382 border: 1px black solid;
383 /* "paper" borders */
384 border-top: 1px #e8e6df solid;
385 border-left: 1px #e8e6df solid;
386 border-bottom: 1px #d2d2d2 solid;
387 border-right: 1px #b2b2b2 solid;
391 * Edit Page & View Source
394 /* Make the textarea the full page width */
397 margin-bottom: 0.5ex;
412 #toolbar { padding:0px; }
417 .search-context { background: white; }
427 background-color: white;
428 border: 1px solid #d0d0d0;
433 background-color: #f08000;
436 background-color: #f0f0f0;
444 background-color: white;
455 list-style-image: none;
458 /* PageTrail plugin */
460 background-color: #FFFF99;
464 /* IncludePage plugin */
465 .transclusion-title {
469 text-decoration: underline;
470 margin-bottom: 0.25ex;
471 margin-right: 0.25em;
473 .transclusion, .wiki-edithelp {
477 border: 1px solid gray;
479 padding-right: 0.8em;
483 margin-right: 0.25em;
484 margin-bottom: 0.1ex;
488 border: medium solid #fff8dc; /* darker ivory */
490 padding-right: 0.5em;
492 padding-bottom: 0.75ex;
499 font-family: Verdana, Arial, Helvetica, sans-serif;
501 padding-right: 0.5em;
503 padding-bottom: 0.5ex;
511 border: 1px outset gray;
525 /* Month-name header */
526 table.cal-header { font-size: larger; }
527 table.cal-header tr, table.cal-header td { text-align: center; }
530 text-decoration: none;
533 /* Day-names header */
534 table.cal tbody tr .cal-dayname { }
538 text-decoration: underline;
541 /* Individual days */
542 a.cal-hide { text-decoration: none; }
546 table.cal td.cal-today {
548 border: 1px solid gray;
551 table.cal td.cal-today a.cal-hide { }
559 margin-bottom: 0.5ex;
561 border: 1px #ccc solid;
563 border-top: 1px solid #494f5d;
564 border-left: 1px solid #494f5d;
565 border-bottom: 1px solid #c6d2de;
566 border-right: 1px solid #c6d2de;
569 padding-left: .125em;
570 padding-right: .125em;
579 /* individual blocks */
585 /* entire difftextblock */
590 border: 1px black solid;
591 border-top: 1px #e8e6df solid;
592 border-left: 1px #e8e6df solid;
593 border-bottom: 1px #d2d2d2 solid;
594 border-right: 1px #b2b2b2 solid;
601 /* + - line prefix */
604 font-family: monospace;
610 .diff del, .diff ins {
612 text-decoration: none;
615 /* blocks containing deleted or added words */
616 .diff .original, .diff .deleted,
617 .diff .final, .diff .added {
620 /* blocks containing deleted words */
621 .diff .original, .diff .deleted {
625 /* blocks containing added words */
626 .diff .final, .diff .added {
632 .diff del { background: #f99; }
634 .diff ins { background: #9f9; }
639 td.pageinfo { font-weight: bold; }
640 .pageinfo-minoredit, .pageinfo-authorid {
649 background-color: #ffc0cb; /* pink */
660 padding-right: 0.8em;
663 border: thin solid blue;
671 font-family: monospace;
674 padding: 0.5ex 0.5em;
675 border: medium solid #fff8dc; /* darker ivory */
684 padding: 0.5ex 0.5em;
685 border: thin solid #aaaaaa;
691 /* Disabled Plugins */
698 .disabled-plugin .title {
700 background-color: inherit;
705 .disabled-plugin pre {
709 padding: 0.3ex 0.5em;
712 /* "(Redirected from ...)" message. */
724 border-collapse: collapse;
725 border: 2px #444 solid;
728 border-top: 2px #444 solid;
729 border-bottom: 2px #444 solid;
735 padding: 0.25em 0.5em;
740 border-right: 1px #444 solid;
750 * "E-mail" style blockquote
752 blockquote.mail-style-quote {
755 border: 1px solid #284;
758 .mail-style-quote blockquote.mail-style-quote {
761 background: transparent;
763 border-left: medium solid #284;
771 .floatleft { float: left; }
772 .floatright { float: right; }
775 /* border: thin black solid; */
781 padding: 0.5ex 0.5em;
783 div.wikiblog-header {
784 /* background-color: #ccf; */
786 div.wikiblog > div.wikiblog-footer {
787 /* background-color: #eee; */
788 padding: 0.2ex 0.5em;
790 h3.wikiblog-summary {
796 table.wikiblog-form {
798 border-collapse: collapse;
801 .wikiblog-form caption {
805 padding: 0.5ex 0.5em;
810 padding: 0 0 0.3em 0.5em;
813 padding: 0.25em 0.5em;
815 .wikiblog-form td.submit-button {
818 .wikiblog-form input[type=text],
819 .wikiblog-form textarea {
823 div.wikicomment div.wikicomment-footer {
824 padding: 0.2ex 0.5em;
826 div.wikicomment div.wikicomment-footer named-wiki {
829 table.interwiki-map {
833 text-decoration: underline;
837 .interwiki-map td.interwiki-url {
840 .interwiki-map th.interwiki-url {
845 background-color: #cdf;
847 margin: 2em auto 2em auto;
848 border: thin black solid;
851 .dialog h1, .dialog p, .dialog div {
856 margin: 0.5em 0 1em 0;
858 .dialog div.message {
859 background-color: white;
863 padding: 0.5em 0.5em;
866 margin: 1em 0 0.5em 0;
875 .gensmall{font-size:10px}
876 .genmed{font-size:11px}
877 td.cat{font-weight:bold;letter-spacing:1px;color:#000000;background: url(./images/cellpic1.png);height:27px}
878 /* Main table cell colours and backgrounds */
879 td.row1{background:#eaedf4;color:#000000}
880 td.row2{background:#d9e2ec;color:#000000}
881 td.row3{background:#cad9ea;color:#000000}
882 td.spacerow{background:#cad9ea;color:#000000}
884 /* This is the outline round the main forum tables */
885 .forumline{background:#ffffff;color:#000000;border:1px solid #006699}
888 .box { background:#ffffff; border: 1px solid #888888 }
889 .box-title { font-weight: normal; background-color: #ccc; color: black; text-align: center; }
890 .box-data { width: 160px; font-size: 9pt; font-weight: normal; }
891 .box-data .wiki { font-weight: normal; }
892 td.sidebar { border-spacing: 0px; margin: 0ex;}
895 div.rss { margin: 1em; padding: 1em; }
896 div.feed { margin: -0.5em; margin-bottom: 0em; padding: 0.3em;
897 font-weight: bold; font-size: 1.2em; }
898 .chandesc { font-weight: bold; }
899 div.rssitem { padding-top:1em; padding-bottom: 1em;
900 border-top: 2px solid #565c5e; /* Alcatel-Lucent grey */ }
901 div.itemname { padding-bottom: 1em; font-weight: bold; }
902 div.itemdesc { padding-left: 1em; }
903 div.authordate { font-style: italic; }
904 a.rssicon { font-weight:normal; font-size:small; vertical-align:middle; }
908 border: 1px outset gray;
913 .sqlresult tr.evenrow { background: #eee; }
914 .sqlresult tr.oddrow { background: white; }
917 border: 1px solid gray;
925 vertical-align: middle;
938 padding: 1em 1em 1.5em 1em;
940 border: 1px solid #aaaaaa;
946 /* the left column width is specified in class .portlet */
950 vertical-align: bottom;
955 * table class="boxed"
956 * will put a border around the table (but not around the cells)
958 * table class="bordered"
959 * will put a border around the table and the cells
961 * In both cases, the caption will be bold and centered under the table
963 * In both cases, the headers (th) will have a "#d8d8d8" background
966 table.boxed, table.bordered, table.bordered th, table.bordered td {
969 border-collapse: collapse;
973 table.boxed td, table.bordered td,
974 table.boxed th, table.bordered th {
981 table.boxed caption, table.bordered caption {
984 caption-side: bottom;
988 table.boxed th, table.bordered th {
990 background-color: #d8d8d8;
993 /* plugin BoxRight */
995 background-color: #e9fbff;
1004 td.tdselected, td.tdunselected {
1013 background-color: #554295;
1018 background-color: #e9e8de;
1021 /* Main wiki browse banner */
1022 .browsebanner table {
1024 background-color: #e9fbff;
1025 border-style: solid;
1030 .browsebanner table td {
1033 font-style: oblique;
1039 vertical-align: middle;
1046 * c-file-style: cc-mode