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 h1 { font-weight: bold; }
210 /* Interwiki links */
211 .wikipage { font-weight: normal; }
212 .interwiki, i.interwiki .wikipage, em .interwiki .wikipage { font-style: oblique; }
213 .interwiki .wikipage, i .interwiki, em .interwiki { font-style: normal; }
215 /* CreateToc plugin =================================================== */
218 border: 1px solid #aaaaaa;
219 background-color: #f9f9f9;
223 div.toc ul { list-style: none }
225 div.toc p.toctitle { font-weight: bold; font-size: 1.6em; margin-bottom: 1ex; }
226 div.toc p { margin: 0; }
228 .toclist a { text-decoration: none; }
233 div.toc p.toctitle, h2, h3, h4, h5, h6 {
234 font-family: Verdana, Arial, Helvetica, sans-serif;
236 padding-bottom: .17em;
237 border-bottom: 1px solid #aaaaaa;
240 h1, h1 .backlinks, h2, .wikitext h2 a, h3, .wikitext h3 a, h4, .wikitext h4 a, h5, h6 {
241 text-decoration: none;
249 text-decoration: none;
252 .pagelist thead td u { text-decoration: none; }
253 .pagelist tr { vertical-align: top; }
254 .pagelist tr.evenrow { background: #eee; }
255 .pagelist tr.oddrow { background: white; }
257 background-color: #d8d8d8;
263 padding: 5px 0px 5px 0px;
268 input.gridbutton, a.gridbutton, a:hover.gridbutton, a:visited.gridbutton {
269 text-decoration: none;
276 .toolbar, input.button {
277 font-family: Verdana, Arial, Helvetica, sans-serif;
285 margin-left: -20px; /* Because there is no list symbol */
286 list-style-type: none;
290 text-decoration: none;
297 .edit-toolbar img, .edit-toolbar input {
298 background-color: #fff;
299 border: 1px solid ButtonFace;
310 #actionbuttons .named-wiki,
311 #actionbuttons .wikiaction,
312 #actionbuttons .wikiadmin {
314 color: #565c5e; /* Alcatel-Lucent grey */
317 #actionbuttons .named-wiki:hover,
318 #actionbuttons .wikiaction:hover,
319 #actionbuttons .wikiadmin:hover {
320 text-decoration: underline;
324 border: 1px solid #aaaaaa;
326 border-collapse: collapse;
331 #actionbuttons td.spacer {
338 #actionbuttons td.bold a {
343 font-family: Verdana, Arial, Helvetica, sans-serif;
347 border-top: 1px #aaaaaa solid;
352 border: 1px black solid;
353 /* "paper" borders */
354 border-top: 1px #e8e6df solid;
355 border-left: 1px #e8e6df solid;
356 border-bottom: 1px #d2d2d2 solid;
357 border-right: 1px #b2b2b2 solid;
361 * Edit Page & View Source
364 /* Make the textarea the full page width */
367 margin-bottom: 0.5ex;
382 #toolbar { padding:0px; }
387 .search-context { background: white; }
397 background-color: white;
398 border: 1px solid #d0d0d0;
403 background-color: #f08000;
406 background-color: #f0f0f0;
414 background-color: white;
425 list-style-image: none;
428 /* PageTrail plugin =================================================== */
431 background-color: #FFFF99;
435 /* IncludePage plugin ================================================= */
437 .transclusion-title {
441 text-decoration: underline;
442 margin-bottom: 0.25ex;
443 margin-right: 0.25em;
445 .transclusion, .wiki-edithelp {
449 border: 1px solid gray;
451 padding-right: 0.8em;
455 margin-right: 0.25em;
456 margin-bottom: 0.1ex;
460 border: medium solid #fff8dc; /* darker ivory */
462 padding-right: 0.5em;
464 padding-bottom: 0.75ex;
471 font-family: Verdana, Arial, Helvetica, sans-serif;
473 padding-right: 0.5em;
475 padding-bottom: 0.5ex;
479 /* Calendar plugin ==================================================== */
482 border: 1px outset gray;
496 /* Month-name header */
497 table.cal-header { font-size: larger; }
498 table.cal-header tr, table.cal-header td { text-align: center; }
501 text-decoration: none;
504 /* Day-names header */
505 table.cal tbody tr .cal-dayname { }
509 text-decoration: underline;
512 /* Individual days */
513 a.cal-hide { text-decoration: none; }
517 table.cal td.cal-today {
519 border: 1px solid gray;
522 table.cal td.cal-today a.cal-hide { }
524 /* Diff plugin ======================================================== */
530 /* deleted & added words */
531 .diff del, .diff ins {
539 margin-bottom: 0.5ex;
541 border: 1px #ccc solid;
543 border-top: 1px solid #494f5d;
544 border-left: 1px solid #494f5d;
545 border-bottom: 1px solid #c6d2de;
546 border-right: 1px solid #c6d2de;
549 padding-left: .125em;
550 padding-right: .125em;
559 /* individual blocks */
565 /* entire difftextblock */
570 border: 1px black solid;
571 border-top: 1px #e8e6df solid;
572 border-left: 1px #e8e6df solid;
573 border-bottom: 1px #d2d2d2 solid;
574 border-right: 1px #b2b2b2 solid;
581 /* + - line prefix */
584 font-family: monospace;
590 .diff del, .diff ins {
592 text-decoration: none;
595 /* blocks containing deleted or added words */
596 .diff .original, .diff .deleted,
597 .diff .final, .diff .added {
600 /* blocks containing deleted words */
601 .diff .original, .diff .deleted {
605 /* blocks containing added words */
606 .diff .final, .diff .added {
612 .diff del { background: #f99; }
614 .diff ins { background: #9f9; }
616 /* PageInfo plugin ==================================================== */
618 td.pageinfo { font-weight: bold; }
619 .pageinfo-minoredit, .pageinfo-authorid {
628 background-color: #ffc0cb; /* pink */
639 padding-right: 0.8em;
642 border: thin solid blue;
650 font-family: monospace;
653 padding: 0.5ex 0.5em;
654 border: medium solid #fff8dc; /* darker ivory */
663 padding: 0.5ex 0.5em;
664 border: thin solid #aaaaaa;
670 /* Disabled Plugins */
677 .disabled-plugin .title {
679 background-color: inherit;
684 .disabled-plugin pre {
688 padding: 0.3ex 0.5em;
691 /* RedirectTo plugin ================================================== */
693 /* "(Redirected from ...)" message. */
705 border-collapse: collapse;
706 border: 2px #444 solid;
709 border-top: 2px #444 solid;
710 border-bottom: 2px #444 solid;
716 padding: 0.25em 0.5em;
721 border-right: 1px #444 solid;
731 * "E-mail" style blockquote
733 blockquote.mail-style-quote {
736 border: 1px solid #284;
739 .mail-style-quote blockquote.mail-style-quote {
742 background: transparent;
744 border-left: medium solid #284;
752 .floatleft { float: left; }
753 .floatright { float: right; }
756 /* border: thin black solid; */
762 padding: 0.5ex 0.5em;
764 div.wikiblog-header {
765 /* background-color: #ccf; */
767 div.wikiblog > div.wikiblog-footer {
768 /* background-color: #eee; */
769 padding: 0.2ex 0.5em;
771 h3.wikiblog-summary {
777 table.wikiblog-form {
779 border-collapse: collapse;
782 .wikiblog-form caption {
786 padding: 0.5ex 0.5em;
791 padding: 0 0 0.3em 0.5em;
794 padding: 0.25em 0.5em;
796 .wikiblog-form td.submit-button {
799 .wikiblog-form input[type=text],
800 .wikiblog-form textarea {
804 div.wikicomment div.wikicomment-footer {
805 padding: 0.2ex 0.5em;
807 div.wikicomment div.wikicomment-footer named-wiki {
810 table.interwiki-map {
814 text-decoration: underline;
818 .interwiki-map td.interwiki-url {
821 .interwiki-map th.interwiki-url {
826 background-color: #cdf;
828 margin: 2em auto 2em auto;
829 border: thin black solid;
832 .dialog h1, .dialog p, .dialog div {
837 margin: 0.5em 0 1em 0;
839 .dialog div.message {
840 background-color: white;
844 padding: 0.5em 0.5em;
847 margin: 1em 0 0.5em 0;
855 .gensmall{font-size:10px}
856 .genmed{font-size:11px}
857 td.cat{font-weight:bold;letter-spacing:1px;color:#000000;background: url(./images/cellpic1.png);height:27px}
858 /* Main table cell colours and backgrounds */
859 td.row1{background:#eaedf4;color:#000000}
860 td.row2{background:#d9e2ec;color:#000000}
861 td.row3{background:#cad9ea;color:#000000}
862 td.spacerow{background:#cad9ea;color:#000000}
864 /* This is the outline round the main forum tables */
865 .forumline{background:#ffffff;color:#000000;border:1px solid #006699}
868 .box { background:#ffffff; border: 1px solid #888888 }
869 .box-title { font-weight: normal; background-color: #ccc; color: black; text-align: center; }
870 .box-data { width: 160px; font-size: 9pt; font-weight: normal; }
871 .box-data .wiki { font-weight: normal; }
872 td.sidebar { border-spacing: 0px; margin: 0ex;}
875 div.rss { margin: 1em; padding: 1em; }
876 div.feed { margin: -0.5em; margin-bottom: 0em; padding: 0.3em;
877 font-weight: bold; font-size: 1.2em; }
878 .chandesc { font-weight: bold; }
879 div.rssitem { padding-top:1em; padding-bottom: 1em;
880 border-top: 2px solid #565c5e; /* Alcatel-Lucent grey */ }
881 div.itemname { padding-bottom: 1em; font-weight: bold; }
882 div.itemdesc { padding-left: 1em; }
883 div.authordate { font-style: italic; }
884 a.rssicon { font-weight:normal; font-size:small; vertical-align:middle; }
888 border: 1px outset gray;
893 .sqlresult tr.evenrow { background: #eee; }
894 .sqlresult tr.oddrow { background: white; }
897 border: 1px solid gray;
900 /* TeX2png plugin ===================================================== */
904 vertical-align: middle;
907 /* PhotoAlbum plugin ================================================== */
916 padding: 1em 1em 1.5em 1em;
917 border: 1px solid #aaaaaa;
923 /* the left column width is specified in class .portlet */
927 vertical-align: bottom;
932 * table class="boxed"
933 * will put a border around the table (but not around the cells)
935 * table class="bordered"
936 * will put a border around the table and the cells
938 * In both cases, the caption will be bold and centered under the table
940 * In both cases, the headers (th) will have a "#d8d8d8" background
943 table.boxed, table.bordered, table.bordered th, table.bordered td {
946 border-collapse: collapse;
950 table.boxed td, table.bordered td,
951 table.boxed th, table.bordered th {
958 table.boxed caption, table.bordered caption {
961 caption-side: bottom;
965 table.boxed th, table.bordered th {
967 background-color: #d8d8d8;
970 /* BoxRight plugin ==================================================== */
973 background-color: #e9fbff;
982 td.tdselected, td.tdunselected {
991 background-color: #554295;
996 background-color: #e9e8de;
999 /* Main wiki browse banner */
1000 .browsebanner table {
1002 background-color: #e9fbff;
1003 border-style: solid;
1008 .browsebanner table td {
1011 font-style: oblique;
1014 /* RateIt plugin ====================================================== */
1019 vertical-align: middle;
1026 * c-file-style: cc-mode