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.
106 * ie5.1Mac ignores this */
110 /* Add space between the input field and following buttons, but not after the last button. */
111 div.wikiaction input[type=text], div.wikiadmin input[type=text], form.wikiadmin input[type=file] { margin-right: 0.5em; }
113 div#actionbuttons { line-height: 3.0ex; }
116 .wikiunknown a, .named-wikiunknown a {
117 border-top: 1px solid #c6d2de;
118 border-left: 1px solid #c6d2de;
119 border-bottom: 1px solid #a2a2a2;
120 border-right: 1px solid #a2a2a2;
128 img.linkicon { vertical-align: middle; }
130 img.inlineimage { vertical-align: middle; }
137 font-family: monospace;
140 border-style: dashed;
147 /* Main wiki text box */
150 margin-bottom: 0.5ex;
155 /* Mozilla RecentChanges Sidebar */
159 body.sidebar div.wikitext {
162 body.sidebar div.wikitext ul { padding-left: 1em; }
163 body.sidebar h2 { margin-top: 0; }
169 /* text-decoration: none; */
174 a.wikiaction, a.wiki-rc-action, a.wikiunsafe,
175 input.wikiaction, input.button, input.wikiadmin {
176 text-decoration: none;
177 /* don't wrap text buttons */
181 input.wikiaction, input.button, input.wikiadmin {
186 .wikiunsafe { background-color: #fcc; }
189 .wikiunknown, .named-wikiunknown {
193 /* QuestionMark #600 */
194 .wikiunknown a, .named-wikiunknown a {
196 background-color: #eee;
197 text-decoration: none;
204 text-decoration: underline;
206 h1 .backlinks { text-decoration: none; color: inherit; }
208 /* Interwiki links */
209 .wikipage { font-weight: normal; }
210 .interwiki, i.interwiki .wikipage, em .interwiki .wikipage { font-style: oblique; }
211 .interwiki .wikipage, i .interwiki, em .interwiki { font-style: normal; }
213 /* CreateToc plugin =================================================== */
216 border: 1px solid #aaaaaa;
217 background-color: #f9f9f9;
221 div.toc ul { list-style: none }
223 div.toc p.toctitle { font-weight: bold; font-size: 1.6em; margin-bottom: 1ex; }
224 div.toc p { margin: 0; }
226 .toclist a { text-decoration: none; }
231 div.toc p.toctitle, h2, h3, h4, h5, h6 {
232 font-family: Verdana, Arial, Helvetica, sans-serif;
234 padding-bottom: .17em;
235 border-bottom: 1px solid #aaaaaa;
238 h1, h1 .backlinks, h2, .wikitext h2 a, h3, .wikitext h3 a, h4, .wikitext h4 a, h5, h6 {
239 text-decoration: none;
247 text-decoration: none;
250 .pagelist thead td u { text-decoration: none; }
251 .pagelist tr { vertical-align: top; }
252 .pagelist tr.evenrow { background: #eee; }
253 .pagelist tr.oddrow { background: white; }
255 background-color: #d8d8d8;
261 padding: 5px 0px 5px 0px;
266 input.gridbutton, a.gridbutton, a:hover.gridbutton, a:visited.gridbutton {
267 text-decoration: none;
274 .toolbar, input.button {
275 font-family: Verdana, Arial, Helvetica, sans-serif;
283 margin-left: -20px; /* Because there is no list symbol */
284 list-style-type: none;
288 text-decoration: none;
295 .edit-toolbar img, .edit-toolbar input {
296 background-color: #fff;
297 border: 1px solid ButtonFace;
308 #actionbuttons .named-wiki,
309 #actionbuttons .wikiaction,
310 #actionbuttons .wikiadmin {
312 color: #565c5e; /* Alcatel-Lucent grey */
315 #actionbuttons .named-wiki:hover,
316 #actionbuttons .wikiaction:hover,
317 #actionbuttons .wikiadmin:hover {
318 text-decoration: underline;
322 border: 1px solid #aaaaaa;
324 border-collapse: collapse;
329 #actionbuttons td.spacer {
336 #actionbuttons td.bold a {
341 font-family: Verdana, Arial, Helvetica, sans-serif;
345 border-top: 1px #aaaaaa solid;
350 border: 1px black solid;
351 /* "paper" borders */
352 border-top: 1px #e8e6df solid;
353 border-left: 1px #e8e6df solid;
354 border-bottom: 1px #d2d2d2 solid;
355 border-right: 1px #b2b2b2 solid;
359 * Edit Page & View Source
362 /* Make the textarea the full page width */
365 margin-bottom: 0.5ex;
380 #toolbar { padding:0px; }
385 .search-context { background: white; }
395 background-color: white;
396 border: 1px solid #d0d0d0;
401 background-color: #f08000;
404 background-color: #f0f0f0;
412 background-color: white;
423 list-style-image: none;
426 /* PageTrail plugin =================================================== */
429 background-color: #FFFF99;
433 /* IncludePage plugin ================================================= */
435 .transclusion-title {
439 text-decoration: underline;
440 margin-bottom: 0.25ex;
441 margin-right: 0.25em;
443 .transclusion, .wiki-edithelp {
447 border: 1px solid gray;
449 padding-right: 0.8em;
453 margin-right: 0.25em;
454 margin-bottom: 0.1ex;
458 border: medium solid #fff8dc; /* darker ivory */
460 padding-right: 0.5em;
462 padding-bottom: 0.75ex;
469 font-family: Verdana, Arial, Helvetica, sans-serif;
471 padding-right: 0.5em;
473 padding-bottom: 0.5ex;
477 /* Calendar plugin ==================================================== */
480 border: 1px outset gray;
494 /* Month-name header */
495 table.cal-header { font-size: larger; }
496 table.cal-header tr, table.cal-header td { text-align: center; }
499 text-decoration: none;
502 /* Day-names header */
503 table.cal tbody tr .cal-dayname { }
507 text-decoration: underline;
510 /* Individual days */
511 a.cal-hide { text-decoration: none; }
515 table.cal td.cal-today {
517 border: 1px solid gray;
520 table.cal td.cal-today a.cal-hide { }
522 /* Diff plugin ======================================================== */
528 /* deleted & added words */
529 .diff del, .diff ins {
537 margin-bottom: 0.5ex;
539 border: 1px #ccc solid;
541 border-top: 1px solid #494f5d;
542 border-left: 1px solid #494f5d;
543 border-bottom: 1px solid #c6d2de;
544 border-right: 1px solid #c6d2de;
547 padding-left: .125em;
548 padding-right: .125em;
557 /* individual blocks */
563 /* entire difftextblock */
568 border: 1px black solid;
569 border-top: 1px #e8e6df solid;
570 border-left: 1px #e8e6df solid;
571 border-bottom: 1px #d2d2d2 solid;
572 border-right: 1px #b2b2b2 solid;
579 /* + - line prefix */
582 font-family: monospace;
588 .diff del, .diff ins {
590 text-decoration: none;
593 /* blocks containing deleted or added words */
594 .diff .original, .diff .deleted,
595 .diff .final, .diff .added {
598 /* blocks containing deleted words */
599 .diff .original, .diff .deleted {
603 /* blocks containing added words */
604 .diff .final, .diff .added {
610 .diff del { background: #f99; }
612 .diff ins { background: #9f9; }
614 /* PageInfo plugin ==================================================== */
616 td.pageinfo { font-weight: bold; }
617 .pageinfo-minoredit, .pageinfo-authorid {
628 background-color: #ffc0cb; /* pink */
632 -moz-border-radius: 1em;
633 -webkit-border-radius: 1em;
642 background-color: #ffd297; /* orange */
643 border-color: #FFA500; /* orange */
646 -moz-border-radius: 1em;
647 -webkit-border-radius: 1em;
654 font-family: monospace;
657 padding: 0.5ex 0.5em;
658 border: medium solid #fff8dc; /* darker ivory */
667 padding: 0.5ex 0.5em;
668 border: thin solid #aaaaaa;
674 /* Disabled Plugins */
681 .disabled-plugin .title {
683 background-color: inherit;
688 .disabled-plugin pre {
692 padding: 0.3ex 0.5em;
695 /* RedirectTo plugin ================================================== */
697 /* "(Redirected from ...)" message. */
709 border-collapse: collapse;
710 border: 2px #444 solid;
713 border-top: 2px #444 solid;
714 border-bottom: 2px #444 solid;
720 padding: 0.25em 0.5em;
725 border-right: 1px #444 solid;
735 * "E-mail" style blockquote
737 blockquote.mail-style-quote {
740 border: 1px solid #284;
743 .mail-style-quote blockquote.mail-style-quote {
746 background: transparent;
748 border-left: medium solid #284;
756 .floatleft { float: left; }
757 .floatright { float: right; }
760 /* border: thin black solid; */
766 padding: 0.5ex 0.5em;
768 div.wikiblog-header {
769 /* background-color: #ccf; */
771 div.wikiblog > div.wikiblog-footer {
772 /* background-color: #eee; */
773 padding: 0.2ex 0.5em;
775 h3.wikiblog-summary {
781 table.wikiblog-form {
783 border-collapse: collapse;
786 .wikiblog-form caption {
790 padding: 0.5ex 0.5em;
795 padding: 0 0 0.3em 0.5em;
798 padding: 0.25em 0.5em;
800 .wikiblog-form td.submit-button {
803 .wikiblog-form input[type=text],
804 .wikiblog-form textarea {
808 div.wikicomment div.wikicomment-footer {
809 padding: 0.2ex 0.5em;
811 div.wikicomment div.wikicomment-footer named-wiki {
814 table.interwiki-map {
818 text-decoration: underline;
822 .interwiki-map td.interwiki-url {
825 .interwiki-map th.interwiki-url {
830 background-color: #cdf;
832 margin: 2em auto 2em auto;
833 border: thin black solid;
836 .dialog h1, .dialog p, .dialog div {
841 margin: 0.5em 0 1em 0;
843 .dialog div.message {
844 background-color: white;
848 padding: 0.5em 0.5em;
851 margin: 1em 0 0.5em 0;
859 .gensmall{font-size:10px}
860 .genmed{font-size:11px}
861 td.cat{font-weight:bold;letter-spacing:1px;color:#000000;background: url(./images/cellpic1.png);height:27px}
862 /* Main table cell colours and backgrounds */
863 td.row1{background:#eaedf4;color:#000000}
864 td.row2{background:#d9e2ec;color:#000000}
865 td.row3{background:#cad9ea;color:#000000}
866 td.spacerow{background:#cad9ea;color:#000000}
868 /* This is the outline round the main forum tables */
869 .forumline{background:#ffffff;color:#000000;border:1px solid #006699}
872 .box { background:#ffffff; border: 1px solid #888888 }
873 .box-title { font-weight: normal; background-color: #ccc; color: black; text-align: center; }
874 .box-data { width: 160px; font-size: 9pt; font-weight: normal; }
875 .box-data .wiki { font-weight: normal; }
876 td.sidebar { border-spacing: 0px; margin: 0ex;}
879 div.rss { margin: 1em; padding: 1em; }
880 div.feed { margin: -0.5em; margin-bottom: 0em; padding: 0.3em;
881 font-weight: bold; font-size: 1.2em; }
882 .chandesc { font-weight: bold; }
883 div.rssitem { padding-top:1em; padding-bottom: 1em;
884 border-top: 2px solid #565c5e; /* Alcatel-Lucent grey */ }
885 div.itemname { padding-bottom: 1em; font-weight: bold; }
886 div.itemdesc { padding-left: 1em; }
887 div.authordate { font-style: italic; }
888 a.rssicon { font-weight:normal; font-size:small; vertical-align:middle; }
892 border: 1px outset gray;
897 .sqlresult tr.evenrow { background: #eee; }
898 .sqlresult tr.oddrow { background: white; }
901 border: 1px solid gray;
904 /* TeX2png plugin ===================================================== */
908 vertical-align: middle;
911 /* PhotoAlbum plugin ================================================== */
920 padding: 1em 1em 1.5em 1em;
921 border: 1px solid #aaaaaa;
927 /* the left column width is specified in class .portlet */
931 vertical-align: bottom;
936 * table class="boxed"
937 * will put a border around the table (but not around the cells)
939 * table class="bordered"
940 * will put a border around the table and the cells
942 * In both cases, the caption will be bold and centered under the table
944 * In both cases, the headers (th) will have a "#d8d8d8" background
947 table.boxed, table.bordered, table.bordered th, table.bordered td {
950 border-collapse: collapse;
954 table.boxed td, table.bordered td,
955 table.boxed th, table.bordered th {
962 table.boxed caption, table.bordered caption {
965 caption-side: bottom;
969 table.boxed th, table.bordered th {
971 background-color: #d8d8d8;
974 /* BoxRight plugin ==================================================== */
977 background-color: #e9fbff;
986 td.tdselected, td.tdunselected {
995 background-color: #554295;
1000 background-color: #e9e8de;
1003 /* Main wiki browse banner */
1004 .browsebanner table {
1006 background-color: #e9fbff;
1007 border-style: solid;
1012 .browsebanner table td {
1015 font-style: oblique;
1018 /* RateIt plugin ====================================================== */
1023 vertical-align: middle;
1030 * c-file-style: cc-mode