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 h1 { font-weight: bold; }
235 /* Interwiki links */
236 .wikipage { font-weight: normal; }
237 .interwiki, i.interwiki .wikipage, em .interwiki .wikipage { font-style: oblique; }
238 .interwiki .wikipage, i .interwiki, em .interwiki { font-style: normal; }
244 border: 1px solid #aaaaaa;
245 background-color: #f9f9f9;
249 div.toc ul { list-style: none }
251 div.toc p.toctitle { font-weight: bold; font-size: 1.6em; margin-bottom: 1ex; }
252 div.toc p { margin: 0; }
254 .toclist a { text-decoration: none; }
259 div.toc p.toctitle, h2, h3, h4, h5, h6 {
260 font-family: Verdana, Arial, Helvetica, sans-serif;
262 padding-bottom: .17em;
263 border-bottom: 1px solid #aaaaaa;
266 h1, h1 .backlinks, h2, .wikitext h2 a, h3, .wikitext h3 a, h4, .wikitext h4 a, h5, h6 {
267 text-decoration: none;
275 text-decoration: none;
278 .pagelist thead td u { text-decoration: none; }
279 .pagelist tr { vertical-align: top; }
280 .pagelist tr.evenrow { background: #eee; }
281 .pagelist tr.oddrow { background: white; }
283 background-color: #d8d8d8;
289 padding: 5px 0px 5px 0px;
294 input.gridbutton, a.gridbutton, a:hover.gridbutton, a:visited.gridbutton {
295 text-decoration: none;
302 .toolbar, input.button, #signin {
303 font-family: Verdana, Arial, Helvetica, sans-serif;
311 margin-left: -20px; /* Because there is no list symbol */
312 list-style-type: none;
316 text-decoration: none;
323 .edit-toolbar img, .edit-toolbar input {
324 background-color: #fff;
325 border: 1px solid ButtonFace;
332 #navbuttons, #actionbuttons {
336 #navbuttons .named-wiki,
337 #actionbuttons .named-wiki,
338 #navbuttons .wikiaction,
339 #actionbuttons .wikiaction,
340 #navbuttons .wikiadmin,
341 #actionbuttons .wikiadmin {
343 color: #565c5e; /* Alcatel-Lucent grey */
346 #navbuttons .named-wiki:hover,
347 #actionbuttons .named-wiki:hover,
348 #navbuttons .wikiaction:hover,
349 #actionbuttons .wikiaction:hover,
350 #navbuttons .wikiadmin:hover,
351 #actionbuttons .wikiadmin:hover {
352 text-decoration: underline;
356 border: 1px solid #aaaaaa;
358 border-collapse: collapse;
363 #actionbuttons td.spacer {
370 #actionbuttons td.bold a {
375 font-family: Verdana, Arial, Helvetica, sans-serif;
379 border-top: 1px #aaaaaa solid;
384 border: 1px black solid;
385 /* "paper" borders */
386 border-top: 1px #e8e6df solid;
387 border-left: 1px #e8e6df solid;
388 border-bottom: 1px #d2d2d2 solid;
389 border-right: 1px #b2b2b2 solid;
393 * Edit Page & View Source
396 /* Make the textarea the full page width */
399 margin-bottom: 0.5ex;
414 #toolbar { padding:0px; }
419 .search-context { background: white; }
429 background-color: white;
430 border: 1px solid #d0d0d0;
435 background-color: #f08000;
438 background-color: #f0f0f0;
446 background-color: white;
457 list-style-image: none;
460 /* PageTrail plugin */
462 background-color: #FFFF99;
466 /* IncludePage plugin */
467 .transclusion-title {
471 text-decoration: underline;
472 margin-bottom: 0.25ex;
473 margin-right: 0.25em;
475 .transclusion, .wiki-edithelp {
479 border: 1px solid gray;
481 padding-right: 0.8em;
485 margin-right: 0.25em;
486 margin-bottom: 0.1ex;
490 border: medium solid #fff8dc; /* darker ivory */
492 padding-right: 0.5em;
494 padding-bottom: 0.75ex;
501 font-family: Verdana, Arial, Helvetica, sans-serif;
503 padding-right: 0.5em;
505 padding-bottom: 0.5ex;
513 border: 1px outset gray;
527 /* Month-name header */
528 table.cal-header { font-size: larger; }
529 table.cal-header tr, table.cal-header td { text-align: center; }
532 text-decoration: none;
535 /* Day-names header */
536 table.cal tbody tr .cal-dayname { }
540 text-decoration: underline;
543 /* Individual days */
544 a.cal-hide { text-decoration: none; }
548 table.cal td.cal-today {
550 border: 1px solid gray;
553 table.cal td.cal-today a.cal-hide { }
561 margin-bottom: 0.5ex;
563 border: 1px #ccc solid;
565 border-top: 1px solid #494f5d;
566 border-left: 1px solid #494f5d;
567 border-bottom: 1px solid #c6d2de;
568 border-right: 1px solid #c6d2de;
571 padding-left: .125em;
572 padding-right: .125em;
581 /* individual blocks */
587 /* entire difftextblock */
592 border: 1px black solid;
593 border-top: 1px #e8e6df solid;
594 border-left: 1px #e8e6df solid;
595 border-bottom: 1px #d2d2d2 solid;
596 border-right: 1px #b2b2b2 solid;
603 /* + - line prefix */
606 font-family: monospace;
612 .diff del, .diff ins {
614 text-decoration: none;
617 /* blocks containing deleted or added words */
618 .diff .original, .diff .deleted,
619 .diff .final, .diff .added {
622 /* blocks containing deleted words */
623 .diff .original, .diff .deleted {
627 /* blocks containing added words */
628 .diff .final, .diff .added {
634 .diff del { background: #f99; }
636 .diff ins { background: #9f9; }
641 td.pageinfo { font-weight: bold; }
642 .pageinfo-minoredit, .pageinfo-authorid {
651 background-color: #ffc0cb; /* pink */
662 padding-right: 0.8em;
665 border: thin solid blue;
673 font-family: monospace;
676 padding: 0.5ex 0.5em;
677 border: medium solid #fff8dc; /* darker ivory */
686 padding: 0.5ex 0.5em;
687 border: thin solid #aaaaaa;
693 /* Disabled Plugins */
700 .disabled-plugin .title {
702 background-color: inherit;
707 .disabled-plugin pre {
711 padding: 0.3ex 0.5em;
714 /* "(Redirected from ...)" message. */
726 border-collapse: collapse;
727 border: 2px #444 solid;
730 border-top: 2px #444 solid;
731 border-bottom: 2px #444 solid;
737 padding: 0.25em 0.5em;
742 border-right: 1px #444 solid;
752 * "E-mail" style blockquote
754 blockquote.mail-style-quote {
757 border: 1px solid #284;
760 .mail-style-quote blockquote.mail-style-quote {
763 background: transparent;
765 border-left: medium solid #284;
773 .floatleft { float: left; }
774 .floatright { float: right; }
777 /* border: thin black solid; */
783 padding: 0.5ex 0.5em;
785 div.wikiblog-header {
786 /* background-color: #ccf; */
788 div.wikiblog > div.wikiblog-footer {
789 /* background-color: #eee; */
790 padding: 0.2ex 0.5em;
792 h3.wikiblog-summary {
798 table.wikiblog-form {
800 border-collapse: collapse;
803 .wikiblog-form caption {
807 padding: 0.5ex 0.5em;
812 padding: 0 0 0.3em 0.5em;
815 padding: 0.25em 0.5em;
817 .wikiblog-form td.submit-button {
820 .wikiblog-form input[type=text],
821 .wikiblog-form textarea {
825 div.wikicomment div.wikicomment-footer {
826 padding: 0.2ex 0.5em;
828 div.wikicomment div.wikicomment-footer named-wiki {
831 table.interwiki-map {
835 text-decoration: underline;
839 .interwiki-map td.interwiki-url {
842 .interwiki-map th.interwiki-url {
847 background-color: #cdf;
849 margin: 2em auto 2em auto;
850 border: thin black solid;
853 .dialog h1, .dialog p, .dialog div {
858 margin: 0.5em 0 1em 0;
860 .dialog div.message {
861 background-color: white;
865 padding: 0.5em 0.5em;
868 margin: 1em 0 0.5em 0;
877 .gensmall{font-size:10px}
878 .genmed{font-size:11px}
879 td.cat{font-weight:bold;letter-spacing:1px;color:#000000;background: url(./images/cellpic1.png);height:27px}
880 /* Main table cell colours and backgrounds */
881 td.row1{background:#eaedf4;color:#000000}
882 td.row2{background:#d9e2ec;color:#000000}
883 td.row3{background:#cad9ea;color:#000000}
884 td.spacerow{background:#cad9ea;color:#000000}
886 /* This is the outline round the main forum tables */
887 .forumline{background:#ffffff;color:#000000;border:1px solid #006699}
890 .box { background:#ffffff; border: 1px solid #888888 }
891 .box-title { font-weight: normal; background-color: #ccc; color: black; text-align: center; }
892 .box-data { width: 160px; font-size: 9pt; font-weight: normal; }
893 .box-data .wiki { font-weight: normal; }
894 td.sidebar { border-spacing: 0px; margin: 0ex;}
897 div.rss { margin: 1em; padding: 1em; }
898 div.feed { margin: -0.5em; margin-bottom: 0em; padding: 0.3em;
899 font-weight: bold; font-size: 1.2em; }
900 .chandesc { font-weight: bold; }
901 div.rssitem { padding-top:1em; padding-bottom: 1em;
902 border-top: 2px solid #565c5e; /* Alcatel-Lucent grey */ }
903 div.itemname { padding-bottom: 1em; font-weight: bold; }
904 div.itemdesc { padding-left: 1em; }
905 div.authordate { font-style: italic; }
906 a.rssicon { font-weight:normal; font-size:small; vertical-align:middle; }
910 border: 1px outset gray;
915 .sqlresult tr.evenrow { background: #eee; }
916 .sqlresult tr.oddrow { background: white; }
919 border: 1px solid gray;
927 vertical-align: middle;
940 padding: 1em 1em 1.5em 1em;
942 border: 1px solid #aaaaaa;
948 /* the left column width is specified in class .portlet */
952 vertical-align: bottom;
957 * table class="boxed"
958 * will put a border around the table (but not around the cells)
960 * table class="bordered"
961 * will put a border around the table and the cells
963 * In both cases, the caption will be bold and centered under the table
965 * In both cases, the headers (th) will have a "#d8d8d8" background
968 table.boxed, table.bordered, table.bordered th, table.bordered td {
971 border-collapse: collapse;
975 table.boxed td, table.bordered td,
976 table.boxed th, table.bordered th {
983 table.boxed caption, table.bordered caption {
986 caption-side: bottom;
990 table.boxed th, table.bordered th {
992 background-color: #d8d8d8;
995 /* plugin BoxRight */
997 background-color: #e9fbff;
1006 td.tdselected, td.tdunselected {
1015 background-color: #554295;
1020 background-color: #e9e8de;
1023 /* Main wiki browse banner */
1024 .browsebanner table {
1026 background-color: #e9fbff;
1027 border-style: solid;
1032 .browsebanner table td {
1035 font-style: oblique;
1041 vertical-align: middle;
1048 * c-file-style: cc-mode