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 div.wikitext table p { margin-top: 0.3em; margin-bottom: 0.3em;}
55 img { vertical-align: baseline; }
56 input { margin: 0.1em; }
57 input.numeric { text-align: right; }
60 background-color: #e0f3f7;
64 border: 1px solid #d8d8e7;
65 background-color: white;
86 * The div inside the wikiadmin upload form does not
87 * have a class yet, so it must be referenced indirectly
89 /* div.wikiaction, div.wikiadmin { */
90 div.wikiaction, form.wikiadmin div {
91 border-bottom: 1px solid #d8d8e7;
92 border-right: 1px solid #d8d8e7;
93 border-top: 1px solid #96a2ae;
94 border-left: 1px solid #96a2ae;
99 /* Emulate the display behaviour of a table, to shrink it's width. */
103 /* Add space between the input field and following buttons, but not after the last button. */
104 div.wikiaction input[type=text], div.wikiadmin input[type=text], form.wikiadmin input[type=file] { margin-right: 0.5em; }
106 div#actionbuttons { line-height: 3.0ex; }
109 .wikiunknown a, .named-wikiunknown a {
110 border-top: 1px solid #c6d2de;
111 border-left: 1px solid #c6d2de;
112 border-bottom: 1px solid #a2a2a2;
113 border-right: 1px solid #a2a2a2;
121 img.linkicon { vertical-align: middle; }
123 img.inlineimage { vertical-align: middle; }
130 font-family: monospace;
133 border-style: dashed;
140 /* Main wiki text box */
143 margin-bottom: 0.5ex;
148 /* Mozilla RecentChanges Sidebar */
152 body.sidebar div.wikitext {
155 body.sidebar div.wikitext ul { padding-left: 1em; }
156 body.sidebar h2 { margin-top: 0; }
162 /* text-decoration: none; */
167 a.wikiaction, a.wiki-rc-action, a.wikiunsafe,
168 input.wikiaction, input.button, input.wikiadmin {
169 text-decoration: none;
170 /* don't wrap text buttons */
174 input.wikiaction, input.button, input.wikiadmin {
179 .wikiunsafe { background-color: #fcc; }
182 .wikiunknown, .named-wikiunknown {
186 /* QuestionMark #600 */
187 .wikiunknown a, .named-wikiunknown a {
189 background-color: #eee;
190 text-decoration: none;
197 text-decoration: underline;
199 h1 .backlinks { text-decoration: none; color: inherit; }
201 /* Interwiki links */
202 .wikipage { font-weight: normal; }
203 .interwiki, i.interwiki .wikipage, em .interwiki .wikipage { font-style: oblique; }
204 .interwiki .wikipage, i .interwiki, em .interwiki { font-style: normal; }
206 /* CreateToc plugin =================================================== */
209 border: 1px solid #aaaaaa;
210 background-color: #f9f9f9;
214 div.toc ul { list-style: none }
216 div.toc p.toctitle { font-weight: bold; font-size: 1.6em; margin-bottom: 1ex; }
217 div.toc p { margin: 0; }
219 .toclist a { text-decoration: none; }
224 div.toc p.toctitle, h2, h3, h4, h5, h6 {
225 font-family: Verdana, Arial, Helvetica, sans-serif;
227 padding-bottom: .17em;
228 border-bottom: 1px solid #aaaaaa;
231 h1, h1 .backlinks, h2, .wikitext h2 a, h3, .wikitext h3 a, h4, .wikitext h4 a, h5, h6 {
232 text-decoration: none;
240 text-decoration: none;
243 .pagelist thead td u { text-decoration: none; }
244 .pagelist tr { vertical-align: top; }
245 .pagelist tr.evenrow { background: #eee; }
246 .pagelist tr.oddrow { background: white; }
248 background-color: #d8d8d8;
254 padding: 5px 0px 5px 0px;
259 input.gridbutton, a.gridbutton, a:hover.gridbutton, a:visited.gridbutton {
260 text-decoration: none;
267 .toolbar, input.button {
268 font-family: Verdana, Arial, Helvetica, sans-serif;
276 margin-left: -20px; /* Because there is no list symbol */
277 list-style-type: none;
281 text-decoration: none;
288 .edit-toolbar img, .edit-toolbar input {
289 background-color: #fff;
290 border: 1px solid ButtonFace;
301 #actionbuttons .named-wiki,
302 #actionbuttons .wikiaction,
303 #actionbuttons .wikiadmin {
305 color: #565c5e; /* Alcatel-Lucent grey */
308 #actionbuttons .named-wiki:hover,
309 #actionbuttons .wikiaction:hover,
310 #actionbuttons .wikiadmin:hover {
311 text-decoration: underline;
315 border: 1px solid #aaaaaa;
317 border-collapse: collapse;
322 #actionbuttons td.spacer {
329 #actionbuttons td.bold a {
334 font-family: Verdana, Arial, Helvetica, sans-serif;
338 border-top: 1px #aaaaaa solid;
343 /* "paper" borders */
344 border-top: 1px #e8e6df solid;
345 border-left: 1px #e8e6df solid;
346 border-bottom: 1px #d2d2d2 solid;
347 border-right: 1px #b2b2b2 solid;
351 * Edit Page & View Source
354 /* Make the textarea the full page width */
357 margin-bottom: 0.5ex;
372 #toolbar { padding:0px; }
377 .search-context { background: white; }
387 background-color: white;
388 border: 1px solid #d0d0d0;
393 background-color: #f08000;
396 background-color: #f0f0f0;
404 background-color: white;
415 list-style-image: none;
418 /* PageTrail plugin =================================================== */
421 background-color: #FFFF99;
425 /* IncludePage plugin ================================================= */
427 .transclusion-title {
431 text-decoration: underline;
432 margin-bottom: 0.25ex;
433 margin-right: 0.25em;
435 .transclusion, .wiki-edithelp {
439 border: 1px solid gray;
441 padding-right: 0.8em;
445 margin-right: 0.25em;
446 margin-bottom: 0.1ex;
450 border: medium solid #fff8dc; /* darker ivory */
452 padding-right: 0.5em;
454 padding-bottom: 0.75ex;
461 font-family: Verdana, Arial, Helvetica, sans-serif;
463 padding-right: 0.5em;
465 padding-bottom: 0.5ex;
469 /* Calendar plugin ==================================================== */
472 border: 1px outset gray;
486 /* Month-name header */
487 table.cal-header { font-size: larger; }
488 table.cal-header tr, table.cal-header td { text-align: center; }
491 text-decoration: none;
494 /* Day-names header */
495 table.cal tbody tr .cal-dayname { }
499 text-decoration: underline;
502 /* Individual days */
503 a.cal-hide { text-decoration: none; }
507 table.cal td.cal-today {
509 border: 1px solid gray;
512 table.cal td.cal-today a.cal-hide { }
514 /* Diff plugin ======================================================== */
520 /* deleted & added words */
521 .diff del, .diff ins {
529 margin-bottom: 0.5ex;
532 border-top: 1px solid #494f5d;
533 border-left: 1px solid #494f5d;
534 border-bottom: 1px solid #c6d2de;
535 border-right: 1px solid #c6d2de;
538 padding-left: .125em;
539 padding-right: .125em;
548 /* individual blocks */
553 /* entire difftextblock */
558 border-top: 1px #e8e6df solid;
559 border-left: 1px #e8e6df solid;
560 border-bottom: 1px #d2d2d2 solid;
561 border-right: 1px #b2b2b2 solid;
568 /* + - line prefix */
571 font-family: monospace;
577 .diff del, .diff ins {
579 text-decoration: none;
582 /* blocks containing deleted or added words */
583 .diff .original, .diff .deleted,
584 .diff .final, .diff .added {
587 /* blocks containing deleted words */
588 .diff .original, .diff .deleted {
592 /* blocks containing added words */
593 .diff .final, .diff .added {
599 .diff del { background: #f99; }
601 .diff ins { background: #9f9; }
603 /* PageInfo plugin ==================================================== */
605 td.pageinfo { font-weight: bold; }
606 .pageinfo-minoredit, .pageinfo-authorid {
611 /* Banners ============================================================ */
613 .error, .warning, .debug, .hint {
623 background-color: #ffc0cb; /* pink */
628 background-color: #ffd297; /* orange */
629 border-color: #FFA500; /* orange */
633 background-color: white;
634 border-color: #fff8dc; /* darker ivory */
638 background-color: #eeeeee;
642 p.error, p.warning, p.debug, p.hint,
643 div.error div.warning, div.debug, div.hint {
645 -moz-border-radius: 1em;
646 -webkit-border-radius: 1em;
649 span.error, span.warning, span.debug, span.hint {
653 /* Disabled Plugins ================================================== */
660 .disabled-plugin .title {
662 background-color: inherit;
667 .disabled-plugin pre {
671 padding: 0.3ex 0.5em;
674 /* RedirectTo plugin ================================================== */
676 /* "(Redirected from ...)" message. */
688 border-collapse: collapse;
689 border: 2px #444 solid;
692 border-top: 2px #444 solid;
693 border-bottom: 2px #444 solid;
699 padding: 0.25em 0.5em;
704 border-right: 1px #444 solid;
714 * "E-mail" style blockquote
716 blockquote.mail-style-quote {
719 border: 1px solid #284;
722 .mail-style-quote blockquote.mail-style-quote {
725 background-color: transparent;
727 border-left: medium solid #284;
735 .floatleft { float: left; }
736 .floatright { float: right; }
744 padding: 0.5ex 0.5em;
746 div.wikiblog-header {
747 /* background-color: #ccf; */
749 div.wikiblog > div.wikiblog-footer {
750 /* background-color: #eee; */
751 padding: 0.2ex 0.5em;
753 h3.wikiblog-summary {
759 table.wikiblog-form {
761 border-collapse: collapse;
764 .wikiblog-form caption {
768 padding: 0.5ex 0.5em;
773 padding: 0 0 0.3em 0.5em;
776 padding: 0.25em 0.5em;
778 .wikiblog-form td.submit-button {
781 .wikiblog-form input[type=text],
782 .wikiblog-form textarea {
786 div.wikicomment div.wikicomment-footer {
787 padding: 0.2ex 0.5em;
789 div.wikicomment div.wikicomment-footer named-wiki {
792 table.interwiki-map {
796 text-decoration: underline;
800 .interwiki-map td.interwiki-url {
803 .interwiki-map th.interwiki-url {
808 background-color: #cdf;
810 margin: 2em auto 2em auto;
811 border: thin black solid;
814 .dialog h1, .dialog p, .dialog div {
819 margin: 0.5em 0 1em 0;
821 .dialog div.message {
822 background-color: white;
826 padding: 0.5em 0.5em;
829 margin: 1em 0 0.5em 0;
837 .gensmall{font-size:10px}
838 .genmed{font-size:11px}
839 td.cat{font-weight:bold;letter-spacing:1px;color:#000000;background: url(./images/cellpic1.png);height:27px}
840 /* Main table cell colours and backgrounds */
841 td.row1{background:#eaedf4;color:#000000}
842 td.row2{background:#d9e2ec;color:#000000}
843 td.row3{background:#cad9ea;color:#000000}
844 td.spacerow{background:#cad9ea;color:#000000}
846 /* This is the outline round the main forum tables */
847 .forumline{background:#ffffff;color:#000000;border:1px solid #006699}
850 .box { background:#ffffff; border: 1px solid #888888 }
851 .box-title { font-weight: normal; background-color: #ccc; color: black; text-align: center; }
852 .box-data { width: 160px; font-size: 9pt; font-weight: normal; }
853 .box-data .wiki { font-weight: normal; }
854 td.sidebar { border-spacing: 0px; margin: 0ex;}
857 div.rss { margin: 1em; padding: 1em; }
858 div.feed { margin: -0.5em; margin-bottom: 0em; padding: 0.3em;
859 font-weight: bold; font-size: 1.2em; }
860 .chandesc { font-weight: bold; }
861 div.rssitem { padding-top:1em; padding-bottom: 1em;
862 border-top: 2px solid #565c5e; /* Alcatel-Lucent grey */ }
863 div.itemname { padding-bottom: 1em; font-weight: bold; }
864 div.itemdesc { padding-left: 1em; }
865 div.authordate { font-style: italic; }
866 a.rssicon { font-weight:normal; font-size:small; vertical-align:middle; }
870 border: 1px outset gray;
875 .sqlresult tr.evenrow { background: #eee; }
876 .sqlresult tr.oddrow { background: white; }
879 border: 1px solid gray;
882 /* TeX2png plugin ===================================================== */
885 vertical-align: middle;
888 /* PhotoAlbum plugin ================================================== */
897 padding: 1em 1em 1.5em 1em;
898 border: 1px solid #aaaaaa;
904 /* the left column width is specified in class .portlet */
908 vertical-align: bottom;
913 * table class="boxed"
914 * will put a border around the table (but not around the cells)
916 * table class="bordered"
917 * will put a border around the table and the cells
919 * In both cases, the caption will be bold and centered under the table
921 * In both cases, the headers (th) will have a "#d8d8d8" background
924 table.boxed, table.bordered, table.bordered th, table.bordered td {
927 border-collapse: collapse;
931 table.boxed td, table.bordered td,
932 table.boxed th, table.bordered th {
939 table.boxed caption, table.bordered caption {
942 caption-side: bottom;
946 table.boxed th, table.bordered th {
948 background-color: #d8d8d8;
951 /* BoxRight plugin ==================================================== */
954 background-color: #e9fbff;
963 td.tdselected, td.tdunselected {
972 background-color: #554295;
977 background-color: #e9e8de;
980 /* Main wiki browse banner */
981 .browsebanner table {
983 background-color: #e9fbff;
989 .browsebanner table td {
995 /* RateIt plugin ====================================================== */
1000 vertical-align: middle;
1007 * c-file-style: cc-mode