[orca] Updating the firefox regression tests to use local stylesheets, etc.
- From: Joanmarie Diggs <joanied src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [orca] Updating the firefox regression tests to use local stylesheets, etc.
- Date: Sat, 6 Feb 2010 19:39:32 +0000 (UTC)
commit 892e251d2a45ce93e52e759727fa4ed3b9d3b61d
Author: Joanmarie Diggs <joanmarie diggs gmail com>
Date: Sat Feb 6 14:38:11 2010 -0500
Updating the firefox regression tests to use local stylesheets, etc.
test/html/common.css | 964 ++++++++++++++++++++++++++++++++++++++++++++++
test/html/common.js | 393 +++++++++++++++++++
test/html/orca-wiki.html | 91 +----
test/html/print.css | 54 +++
test/html/projection.css | 34 ++
test/html/screen.css | 488 +++++++++++++++++++++++
6 files changed, 1950 insertions(+), 74 deletions(-)
---
diff --git a/test/html/common.css b/test/html/common.css
new file mode 100644
index 0000000..4ad7175
--- /dev/null
+++ b/test/html/common.css
@@ -0,0 +1,964 @@
+/* common.css - MoinMoin Default Styles
+
+Copyright (c) 2001, 2002, 2003 by Juergen Hermann
+*/
+
+/* content styles */
+
+html {
+ background-color: white;
+ color: black;
+ font-family: Arial, Lucida Grande, sans-serif;
+ font-size: 1em;
+}
+
+body {
+ margin: 0;
+}
+
+/* Links */
+
+a {color: #0044B3;}
+a:visited {color: #597BB3;}
+a.nonexistent:visited, a.badinterwiki:visited,
+a.nonexistent, a.badinterwiki {color: gray;}
+
+a.www:before {content: url(../img/moin-www.png); margin: 0 0.2em;}
+a.http:before {content: url(../img/moin-www.png); margin: 0 0.2em;}
+a.https:before {content: url(../img/moin-www.png); margin: 0 0.2em;}
+a.file:before {content: url(../img/moin-ftp.png); margin: 0 0.2em;}
+a.ftp:before {content: url(../img/moin-ftp.png); margin: 0 0.2em;}
+a.nntp:before {content: url(../img/moin-news.png); margin: 0 0.2em;}
+a.news:before {content: url(../img/moin-news.png); margin: 0 0.2em;}
+a.telnet:before, a.ssh:before {content: url(../img/moin-telnet.png); margin: 0 0.2em;}
+a.irc:before, a.ircs:before {content: url(../img/moin-telnet.png); margin: 0 0.2em;}
+a.mailto:before {content: url(../img/moin-email.png); margin: 0 0.2em;}
+a.attachment:before {content: url(../img/moin-attach.png); margin: 0 0.2em;}
+a.badinterwiki:before {content: url(../img/moin-inter.png); margin: 0 0.2em;}
+a.interwiki:before {content: url(../img/moin-inter.png); margin: 0 0.2em;}
+
+li p {
+ margin: .25em 0;
+}
+
+li.gap {
+ margin-top: 0.5em;
+}
+
+dt {
+ margin-top: 0.5em;
+ font-weight: bold;
+}
+
+dd {
+ margin-top: 0;
+ margin-bottom: 0;
+}
+
+dd p {
+ margin: 0.25em 0;
+}
+
+a, img, img.drawing {
+ border: 0;
+}
+
+pre {
+ border: 1pt solid #AEBDCC;
+ background-color: #F3F5F7;
+ padding: 5pt;
+ font-family: courier, monospace;
+ white-space: pre;
+ /* begin css 3 or browser specific rules - do not remove!
+ see: http://forums.techguy.org/archive/index.php/t-249849.html */
+ white-space: pre-wrap;
+ word-wrap: break-word;
+ white-space: -moz-pre-wrap;
+ white-space: -pre-wrap;
+ white-space: -o-pre-wrap;
+ /* end css 3 or browser specific rules */
+}
+
+pre.comment {
+ background-color: #CCCCCC;
+ color: red;
+ padding: 0;
+ margin: 0;
+ border: 0;
+}
+
+pre.comment:before {
+ content: url(../img/attention.png);
+}
+
+
+/* .comment css definition must be top of .red/.green/.blue or it won't work */
+.comment { color: #555555; background-color: #DDDDFF; }
+
+.red { background-color: #FFCCCC; }
+.green { background-color: #CCFFCC; }
+.blue { background-color: #CCCCFF; }
+.yellow { background-color: #FFF29F; }
+.orange { background-color: #FFD59B; }
+
+.solid { border: 2px solid #000000; padding: 2px; }
+.dashed { border: 2px dashed #000000; padding: 2px; }
+.dotted { border: 2px dotted #000000; padding: 2px; }
+
+.left { text-align: left; }
+.center { text-align: center; }
+.right { text-align: right; }
+.justify { text-align: justify; }
+
+table
+{
+ margin: 0.5em 0 0 0.5em;
+ border-collapse: collapse;
+}
+
+th, td
+{
+ padding: 0.25em 0.5em 0.25em 0.5em;
+ border: 1pt solid #ADB9CC;
+}
+
+td p {
+ margin: 0;
+ padding: 0;
+}
+
+/* TableOfContents macro */
+div.table-of-contents {
+ border: 1px solid #bbbbbb;
+ color: black;
+ background-color: #eeeeee;
+ font-size: 80%;
+ text-align: left;
+ margin: 0.5em 0 0.5em 1em;
+ padding: 0.5em 0.75em 0.5em 0.5em;
+ max-width: 50%;
+ display: inline-table;
+}
+div.table-of-contents ol {
+ margin: 0;
+ padding: 0 0 0 2em;
+}
+div.table-of-contents ul {
+ margin: 0;
+ list-style:none;
+}
+div.table-of-contents li {
+ margin:0;
+ padding: 0;
+}
+p.table-of-contents-heading {
+ font-weight:bold;
+ padding:0;
+ margin: 0 0 0.5em 0;
+ letter-spacing: 0.075em;
+}
+
+/* Navigation macro */
+table.navigation {
+ background: #fff;
+ margin: 0;
+}
+
+.footnotes div {
+ width: 5em;
+ border-top: 1pt solid gray;
+}
+
+.footnotes ol {
+ padding: 0 2em;
+ margin: 0 0 1em;
+}
+
+.footnotes li {
+}
+
+.info {
+ float: right;
+ font-size: 0.7em;
+ color: gray;
+}
+
+#pageinfo {
+ margin-top: 2em;
+}
+
+.seperator {
+ color: gray;
+}
+
+#pagebottom {clear: both;}
+
+/* standard rule ---- */
+hr {
+ height: 1pt;
+ background-color: #9C9C9C;
+ border: 0;
+}
+
+/* custom rules ----- to ---------- */
+.hr1 {height: 2pt;}
+.hr2 {height: 3pt;}
+.hr3 {height: 4pt;}
+.hr4 {height: 5pt;}
+.hr5 {height: 6pt;}
+.hr6 {height: 7pt;}
+
+/* Replacement for deprecated html 3 <u> element and html 4 <strike> */
+.u {text-decoration: underline;}
+.strike {text-decoration: line-through;}
+
+/* eye catchers */
+.warning
+{
+ color: red;
+}
+
+.error
+{
+ color: red;
+}
+
+strong.highlight
+{
+ background-color: #CCE0FF;
+ padding: 1pt;
+}
+
+
+/* Recent changes */
+
+.rcrss {
+ float: right;
+ margin: 0;
+}
+
+.recentchanges[dir="rtl"] .rcrss {
+ float: left;
+}
+
+.recentchanges table {
+ clear: both;
+}
+
+.recentchanges td {
+ vertical-align: top;
+ border: none;
+ border-bottom: 1pt solid #E6EAF0;
+ background: #F2F4F7;
+}
+
+.rcdaybreak td {
+ background: #B8C5D9;
+ border: none;
+}
+
+.rcdaybreak td a {
+ font-size: 0.88em;
+}
+
+.rcicon1, .rcicon2 {
+ text-align: center;
+}
+
+.rcpagelink {
+ width: 33%;
+}
+
+.rctime {
+ font-size: 0.88em;
+ white-space: nowrap;
+}
+
+.rceditor {
+ white-space: nowrap;
+ font-size: 0.88em;
+}
+
+.rccomment {
+ width: 50%;
+ color: gray;
+ font-size: 0.88em;
+}
+
+
+/* User Preferences */
+
+.userpref table, .userpref td {
+ border: none;
+}
+
+/* CSS for new code_area markup used by Colorizer and ParserBase */
+
+div.codearea { /* the div makes the border */
+ margin: 0.5em 0;
+ padding: 0;
+ border: 1pt solid #AEBDCC;
+ background-color: #F3F5F7;
+ color: black;
+}
+
+div.codearea pre { /* the pre has no border and is inside the div */
+ margin: 0;
+ padding: 10pt;
+ border: none;
+}
+
+a.codenumbers { /* format of the line numbering link */
+ margin: 0 10pt;
+ font-size: 0.85em;
+ color: gray;
+}
+
+/* format of certain syntax spans */
+div.codearea pre span.LineNumber {color: gray;}
+div.codearea pre span.ID {color: #000000;}
+div.codearea pre span.Operator {color: #0000C0;}
+div.codearea pre span.Char {color: #004080;}
+div.codearea pre span.Comment {color: #008000;}
+div.codearea pre span.Number {color: #0080C0;}
+div.codearea pre span.String {color: #004080;}
+div.codearea pre span.SPChar {color: #0000C0;}
+div.codearea pre span.ResWord {color: #A00000;}
+div.codearea pre span.ConsWord {color: #008080; font-weight: bold;}
+div.codearea pre span.Error {color: #FF8080; border: solid 1.5pt #FF0000;}
+div.codearea pre span.ResWord2 {color: #0080ff; font-weight: bold;}
+div.codearea pre span.Special {color: #0000ff;}
+div.codearea pre span.Preprc {color: #803999;}
+
+/* for diff parser */
+div.codearea pre span.DiffAdded {color: #4876FF;}
+div.codearea pre span.DiffRemoved {color: #FF0000;}
+div.codearea pre span.DiffChanged {color: #FF7F50;}
+div.codearea pre span.DiffSeparator {color: #228B22; font-weight: bold}
+
+/* Search results */
+.advancedsearch {
+ border: 1pt solid #ADB9CC;
+}
+
+.advancedsearch td {
+ vertical-align: top;
+ background-color: #E7E7E7;
+ border: 0px;
+}
+
+.advancedsearch td.searchfor {
+ font-weight: bold;
+}
+
+.advancedsearch input {
+ border: 1px solid #ADB9CC;
+ background-color: #fff;
+}
+
+.advancedsearch input[disabled] {
+ background-color: #eee;
+}
+
+.advancedsearch td.submit {
+ border-top: 1px solid #ADB9CC;
+ background-color: #fff;
+ text-align: right;
+}
+
+.advancedsearch optioni, select {
+ border: 1px solid #ADB9CC;
+ background-color: #fff;
+}
+
+
+.searchresults dt {
+ margin-top: 1em;
+ font-weight: normal;
+}
+
+.searchresults dd, .searchresults p {
+ font-size: 0.85em;
+}
+
+.searchresults .searchhitinfobar {
+ color: #008000;
+ margin-left: 15px;
+ margin-top: 0;
+}
+
+p.searchstats {
+ font-size: 0.8em;
+ text-align: right;
+ width: 100%;
+ background-color: #E6EAF0;
+ border-top: 1px solid #9088DC;
+ padding: 2px;
+}
+
+p.searchhint {
+ background-color: #E6EAF0;
+ border: 1px solid #9088DC;
+ padding: 2px;
+}
+
+.searchpages {
+ margin-left: auto;
+ margin-right: auto;
+}
+
+.searchpages tr, .searchpages td {
+ border: 0;
+ padding: 5px;
+ margin: 0;
+ text-align: center;
+ vertical-align: middle;
+ color: #b93a58;
+ font-weight: bold;
+ font-size: 1.05em;
+}
+
+.searchpages td a, .searchpages td a:link {
+ text-decoration: underline;
+}
+
+/* MonthCalendar css */
+
+/* days without and with pages linked to them */
+a.cal-emptyday {
+ color: #777777;
+ text-align: center;
+}
+a.cal-usedday {
+ color: #000000;
+ font-weight: bold;
+ text-align: center;
+}
+/* general stuff: workdays, weekend, today */
+td.cal-workday {
+ background-color: #DDDDFF;
+ text-align: center;
+}
+td.cal-weekend {
+ background-color: #FFDDDD;
+ text-align: center;
+}
+td.cal-today {
+ background-color: #CCFFCC;
+ border-style: solid;
+ border-width: 2pt;
+ text-align: center;
+}
+/* invalid places on the monthly calendar sheet */
+td.cal-invalidday {
+ background-color: #CCCCCC;
+}
+/* links to prev/next month/year */
+a.cal-link {
+ color: #000000;
+ text-decoration: none;
+}
+th.cal-header {
+ background-color: #DDBBFF;
+ text-align: center;
+}
+
+/* for MonthCalendar mouseover info boxes */
+TABLE.tip {
+ color: black;
+ background-color: #FF8888;
+ font-size: small;
+ font-weight: normal;
+ border-style: solid;
+ border-width: 1px;
+}
+
+TH.tip {
+ background-color: #FF4444;
+ font-weight: bold;
+ text-align: center;
+}
+
+TD.tip {
+ text-align: left;
+}
+*[dir="rtl"] TD.tip {
+ text-align: right;
+}
+
+/* end MonthCalendar stuff */
+
+#message .hint {font-style: italic;}
+#message .info {
+ float: none;
+ font-size: 1em;
+ color: black;
+}
+#message .info:before {
+ content: url('../img/icon-info.png');
+ margin: 0 0.5em 0 0.25em;
+ vertical-align: middle;
+}
+#message .warning:before {
+ content: url('../img/alert.png');
+ margin: 0 0.5em 0 0.125em;
+ vertical-align: middle;
+}
+#message .error:before {
+ content: url('../img/icon-error.png');
+ margin: 0 0.5em 0 0.125em;
+ vertical-align: middle;
+}
+#message a.clear-link {
+ display: block;
+ margin: 0.75em 0 0 0;
+ font-size: small;
+}
+
+
+/* admonition start */
+#content div.caution,
+#content div.important,
+#content div.note,
+#content div.tip,
+#content div.warning {
+ border: 1pt solid #E5E5E5;
+ background-color: #F9F9FF;
+ color: black;
+
+ margin: 10pt 30pt 10pt 30pt;
+ background-repeat: no-repeat;
+ background-position: 8px 8px;
+ min-height: 64px; /*64=48+8+8 but doesn't work with IE*/
+ padding-left: 64px;
+}
+
+#content div.caution p,
+#content div.important p,
+#content div.note p,
+#content div.tip p,
+#content div.warning p {
+ margin-top: 8px; /*to align text with bg graphic*/
+}
+
+#content div.tip { background-image: url("../img/admon-tip.png"); }
+#content div.note { background-image: url("../img/admon-note.png"); }
+#content div.important { background-image: url("../img/admon-important.png"); }
+#content div.caution { background-image: url("../img/admon-caution.png"); }
+#content div.warning { background-image: url("../img/admon-warning.png"); }
+
+/* admonition end */
+
+ ....loading....
+<html>
+<head>
+</head>
+<body lang="en" dir="ltr" data-feedly-processed="yes" style="margin-bottom: 45px;">
+<div id="page">
+</div>
+<div class="body" lang="en" dir="ltr">
+</div>
+<div id="sidebar">
+<div class="section">
+</div>
+<div class="section">
+</div>
+<div class="section">
+</div>
+</div>
+<div id="footer">
+</div>
+<div id="feedlyMiniBarBox" style="position: fixed; bottom: 0px; right: 0px; height: 25px; z-index: 99000; width: 168px; margin-right: 24px;">
+</div>
+<div id="feedlyDialogHolderBox" style="position: fixed; top: 0px; left: 0px; z-index: 90000; height: 100%; width: 100%; display: none;">
+</div>
+<div id="feedlyPopupBox" style="position: fixed; bottom: 32px; right: 0px; z-index: 99000; height: 100px; width: 730px; margin-right: 24px; display: none;">
+</div>
+<div id="feedlySignPart" style="display: none;"></div>
+</body>
+</html>
+body {
+background-color:white;
+color:black;
+font-family:sans-serif;
+margin:0;
+}
+#body {
+margin:90px 230px 0 10px;
+padding:0;
+}
+a img {
+border:0 none;
+}
+a {
+color:#0000FF;
+}
+a:visited {
+color:#551A8B;
+}
+a:active {
+color:#FF0000;
+}
+.none {
+margin:0;
+padding:0;
+}
+.invisible {
+border:0 none;
+height:0;
+margin:0;
+padding:0;
+visibility:hidden;
+}
+.left {
+float:left;
+margin:10px;
+padding:0;
+}
+.right {
+float:right;
+margin:10px;
+padding:0;
+}
+.center {
+text-align:center;
+}
+div#search {
+font-size:80%;
+position:absolute;
+right:1em;
+text-align:right;
+top:5em;
+}
+div#search form {
+-moz-background-clip:border;
+-moz-background-inline-policy:continuous;
+-moz-background-origin:padding;
+background:transparent none repeat scroll 0 0;
+}
+input#searchinput {
+border:1px solid #888888;
+}
+input#searchinput {
+margin-right:1ex;
+}
+input#titlesearch, input#fullsearch {
+-moz-background-clip:border;
+-moz-background-inline-policy:continuous;
+-moz-background-origin:padding;
+background:white url(search_icon.gif) no-repeat scroll 2px center;
+border:1px solid #888888;
+cursor:pointer;
+padding:1px 1px 1px 15px;
+text-transform:none;
+}
+#sidebar {
+background-color:#FFFFFF;
+border-left:1px dashed #DDDDDD;
+margin-top:5em;
+padding-bottom:0;
+padding-right:10px;
+position:absolute;
+right:0;
+top:60px;
+width:210px;
+}
+#sidebar p {
+margin-top:0;
+padding-left:10px;
+padding-right:10px;
+}
+#sidebar div.section {
+background-color:#EEEEEE;
+color:#999999;
+margin-left:1em;
+padding-bottom:15px;
+padding-top:0;
+text-align:center;
+}
+#sidebar h3 {
+-moz-background-clip:border;
+-moz-background-inline-policy:continuous;
+-moz-background-origin:padding;
+background:#DDDDDD none repeat scroll 0 0;
+margin:0 0 10px;
+}
+#sidebar ul {
+list-style-type:none;
+margin:0;
+padding-left:10px;
+padding-right:10px;
+}
+#sidebar ul li {
+padding-bottom:0.5ex;
+}
+#sidebar ul ul {
+list-style-type:square;
+padding-left:2em;
+padding-right:0;
+}
+#sidebar a {
+display:block;
+}
+#copyright {
+clear:both;
+color:#AAAAAA;
+font-size:small;
+margin-top:10px;
+padding:5px 0;
+text-align:center;
+}
+#copyright a {
+color:#AAAAFF;
+}
+#copyright a:visited {
+color:#FFAAAA;
+}
+p.newsitem {
+clear:left;
+margin-bottom:20px;
+}
+p.newsitem img.newsicon {
+border:0 none;
+float:left;
+margin:0 10px 10px;
+}
+div.code {
+background-color:#E0E0E0;
+color:#000000;
+font-family:monospace;
+white-space:pre;
+}
+body {
+-moz-background-clip:border;
+-moz-background-inline-policy:continuous;
+-moz-background-origin:padding;
+background:white url(star.png) no-repeat scroll -100px -200px;
+font-family:sans-serif;
+height:101%;
+margin:0;
+padding:0;
+}
+#page {
+margin:0;
+padding:0;
+}
+div.in-column {
+float:right;
+margin:0 0 2em 1em;
+max-width:12em;
+}
+hr {
+-moz-background-clip:border;
+-moz-background-inline-policy:continuous;
+-moz-background-origin:padding;
+background:#888888 none repeat scroll 0 0;
+border:0 none;
+clear:both;
+color:#888888;
+height:1px;
+text-align:center;
+width:90%;
+}
+div.body {
+clear:both;
+}
+div.sidebar {
+border-left:1ex solid #EEEEEE;
+margin-top:4em;
+padding-left:1ex;
+position:absolute;
+right:0;
+text-align:left;
+top:60px;
+width:27ex;
+}
+div.sidebar h2 {
+-moz-background-clip:border;
+-moz-background-inline-policy:continuous;
+-moz-background-origin:padding;
+background:transparent url(t.png) repeat-y scroll left top;
+font-size:100%;
+margin-top:0;
+padding:5px 2ex;
+}
+ul.toc {
+list-style-image:none;
+list-style-position:outside;
+list-style-type:none;
+margin-left:0;
+margin-right:10px;
+padding:0 0 0 20px;
+}
+ul.toc li {
+list-style-image:none;
+list-style-position:outside;
+list-style-type:circle;
+}
+ul.toc li a {
+color:black;
+text-decoration:none;
+}
+ul.toc li a:hover {
+text-decoration:underline;
+}
+#general {
+-moz-background-clip:border;
+-moz-background-inline-policy:continuous;
+-moz-background-origin:padding;
+background:#2E3436 url(general_bg.png) repeat-x scroll 0 100%;
+font-size:70%;
+list-style-image:none;
+list-style-position:outside;
+list-style-type:none;
+margin:0;
+padding:0 1ex;
+text-align:right;
+}
+#general li {
+-moz-background-clip:border;
+-moz-background-inline-policy:continuous;
+-moz-background-origin:padding;
+background:transparent url(general_separator.png) no-repeat scroll 0 0;
+display:inline;
+margin-left:0;
+margin-top:0;
+padding-bottom:8px;
+padding-top:10px;
+}
+#general li a {
+color:#FFFFFF;
+font-weight:bold;
+line-height:30px;
+margin:0 2ex;
+text-decoration:none;
+}
+#general li a:hover {
+text-decoration:underline;
+}
+#general .home {
+-moz-background-clip:border;
+-moz-background-inline-policy:continuous;
+-moz-background-origin:padding;
+background:transparent url(general_separator.png) no-repeat scroll 100% 0;
+float:left;
+padding-bottom:0;
+padding-top:0;
+}
+#general .home a {
+-moz-background-clip:border;
+-moz-background-inline-policy:continuous;
+-moz-background-origin:padding;
+background:transparent url(foot.png) no-repeat scroll 7px 50%;
+float:left;
+margin-left:0;
+padding-left:27px;
+}
+#header {
+-moz-background-clip:border;
+-moz-background-inline-policy:continuous;
+-moz-background-origin:padding;
+background:#729FCF url(im.png) no-repeat scroll 15px 10px;
+float:left;
+font-size:75%;
+width:100%;
+}
+#header h1 {
+color:#EEEEEC;
+font-size:200%;
+margin:0 0 0 85px;
+padding-top:25px;
+}
+#tabs {
+-moz-background-clip:border;
+-moz-background-inline-policy:continuous;
+-moz-background-origin:padding;
+background:transparent url(bar.png) repeat-x scroll 0 100%;
+float:left;
+margin:0;
+padding:0;
+width:100%;
+}
+#portal-globalnav {
+float:right;
+list-style-image:none;
+list-style-position:outside;
+list-style-type:none;
+margin:0 3ex 0 0;
+}
+#portal-globalnav li {
+float:left;
+font-size:2ex;
+margin:0 0 0 0.2ex;
+}
+#portal-globalnav li a:hover {
+color:#111111;
+}
+#portal-globalnav li a {
+-moz-background-clip:border;
+-moz-background-inline-policy:continuous;
+-moz-background-origin:padding;
+background:transparent url(tab_left.png) no-repeat scroll 0 0;
+border-bottom:2px solid #CCCCCC;
+color:#555555;
+float:left;
+padding:7px 0 7px 7px;
+text-decoration:none;
+}
+#portal-globalnav li span {
+-moz-background-clip:border;
+-moz-background-inline-policy:continuous;
+-moz-background-origin:padding;
+background:transparent url(tab_right.png) no-repeat scroll 100% 0;
+padding:7px 28px 7px 19px;
+}
+#portal-globalnav li.selected a {
+-moz-background-clip:border;
+-moz-background-inline-policy:continuous;
+-moz-background-origin:padding;
+background:transparent url(tab_left.png) no-repeat scroll 0 -57px;
+border-bottom:medium none;
+color:#3566A5;
+padding-bottom:8px;
+padding-top:8px;
+}
+#portal-globalnav li.selected a span {
+-moz-background-clip:border;
+-moz-background-inline-policy:continuous;
+-moz-background-origin:padding;
+background:transparent url(tab_right.png) no-repeat scroll 100% -57px;
+padding-bottom:8px;
+padding-top:8px;
+}
+div#content, p#pageinfo {
+clear:both;
+margin:1em 220px 1em 1em;
+padding:1em;
+}
+div.table-of-contents {
+-moz-background-clip:border;
+-moz-background-inline-policy:continuous;
+-moz-background-origin:padding;
+background:#F0F0F0 none repeat scroll 0 0;
+border:1px dotted #888888;
+float:right;
+font-size:95%;
+margin:0 0 1em 1em;
+}
+div.table-of-contents p.table-of-contents-heading {
+font-weight:bold;
+margin:0.5em 1em;
+}
+div.table-of-contents ol {
+margin:1em 0.5em 1em 1em;
+padding:0;
+}
+div.table-of-contents ol li {
+margin:0 0 0 1em;
+padding:0;
+}
+div.table-of-contents ol ol {
+margin:0.5em 0.5em 0.5em 1em;
+padding:0;
+}
+
diff --git a/test/html/common.js b/test/html/common.js
new file mode 100644
index 0000000..2fa504b
--- /dev/null
+++ b/test/html/common.js
@@ -0,0 +1,393 @@
+//
+// MoinMoin commonly used JavaScript functions
+//
+
+// We keep here the state of the search box
+searchIsDisabled = false;
+
+function searchChange(e) {
+ // Update search buttons status according to search box content.
+ // Ignore empty or whitespace search term.
+ var value = e.value.replace(/\s+/, '');
+ if (value == '' || searchIsDisabled) {
+ searchSetDisabled(true);
+ } else {
+ searchSetDisabled(false);
+ }
+}
+
+function searchSetDisabled(flag) {
+ // Enable or disable search
+ document.getElementById('fullsearch').disabled = flag;
+ document.getElementById('titlesearch').disabled = flag;
+}
+
+function searchFocus(e) {
+ // Update search input content on focus
+ if (e.value == search_hint) {
+ e.value = '';
+ e.className = '';
+ searchIsDisabled = false;
+ }
+}
+
+function searchBlur(e) {
+ // Update search input content on blur
+ if (e.value == '') {
+ e.value = search_hint;
+ e.className = 'disabled';
+ searchIsDisabled = true;
+ }
+}
+
+function actionsMenuInit(title) {
+ // Initialize action menu
+ for (i = 0; i < document.forms.length; i++) {
+ var form = document.forms[i];
+ if (form.className == 'actionsmenu') {
+ // Check if this form needs update
+ var div = form.getElementsByTagName('div')[0];
+ var label = div.getElementsByTagName('label')[0];
+ if (label) {
+ // This is the first time: remove label and do buton.
+ div.removeChild(label);
+ var dobutton = div.getElementsByTagName('input')[0];
+ div.removeChild(dobutton);
+ // and add menu title
+ var select = div.getElementsByTagName('select')[0];
+ var item = document.createElement('option');
+ item.appendChild(document.createTextNode(title));
+ item.value = 'show';
+ select.insertBefore(item, select.options[0]);
+ select.selectedIndex = 0;
+ }
+ }
+ }
+}
+
+// use this instead of assigning to window.onload directly:
+function addLoadEvent(func) {
+ // alert("addLoadEvent " + func)
+ var oldonload = window.onload;
+ if (typeof window.onload != 'function') {
+ window.onload = func;
+ } else {
+ window.onload = function() {
+ oldonload();
+ func();
+ }
+ }
+}
+
+// copy from fckeditor browser check code (fckeditor.js:298, function : FCKeditor_IsCompatibleBrowser)
+function can_use_gui_editor() {
+ var sAgent = navigator.userAgent.toLowerCase() ;
+
+ // Internet Explorer 5.5+
+ if ( /* cc_on!@*/false && sAgent.indexOf("mac") == -1 )
+ {
+ var sBrowserVersion = navigator.appVersion.match(/MSIE (.\..)/)[1] ;
+ return ( sBrowserVersion >= 5.5 ) ;
+ }
+
+ // Gecko (Opera 9 tries to behave like Gecko at this point).
+ if ( navigator.product == "Gecko" && navigator.productSub >= 20030210 && !( typeof(opera) == 'object' && opera.postError ) )
+ return true ;
+
+ // Opera 9.50+
+ if ( window.opera && window.opera.version && parseFloat( window.opera.version() ) >= 9.5 )
+ return true ;
+
+/*
+ // disable safari : until fck devteam fix http://dev.fckeditor.net/ticket/2333
+
+ // Adobe AIR
+ // Checked before Safari because AIR have the WebKit rich text editor
+ // features from Safari 3.0.4, but the version reported is 420.
+ if ( sAgent.indexOf( ' adobeair/' ) != -1 )
+ return ( sAgent.match( / adobeair\/(\d+)/ )[1] >= 1 ) ; // Build must be at least v1
+
+ // Safari 3+
+ if ( sAgent.indexOf( ' applewebkit/' ) != -1 )
+ return ( sAgent.match( / applewebkit\/(\d+)/ )[1] >= 522 ) ; // Build must be at least 522 (v3)
+*/
+ return false ;
+
+}
+
+
+function update_edit_links() {
+ // Update editlink according if if the browser is compatible
+ if (can_use_gui_editor() == false){
+ //alert("update_edit_links: can't use gui editor");
+ return;
+ }
+ var editlinks = document.getElementsByName("editlink");
+ for (i = 0; i < editlinks.length; i++) {
+ var link = editlinks[i];
+ href = link.href.replace('editor=textonly','editor=guipossible');
+ link.href = href;
+ //alert("update_edit_links: modified to guipossible");
+ }
+}
+
+
+function add_gui_editor_links() {
+ // Add gui editor link after the text editor link
+
+ // If the variable is not set or browser is not compatible, exit
+ try {gui_editor_link_href}
+ catch (e) {
+ //alert("add_gui_editor_links: gui_editor_link_href not here");
+ return
+ }
+ if (can_use_gui_editor() == false){
+ //alert("add_gui_editor_links: can't use gui_editor");
+ return;
+ }
+ var all = document.getElementsByName('texteditlink');
+ for (i = 0; i < all.length; i++) {
+ var textEditorLink = all[i];
+ // Create a list item with a link
+ var guiEditorLink = document.createElement('a');
+ guiEditorLink.href = gui_editor_link_href;
+ var text = document.createTextNode(gui_editor_link_text);
+ guiEditorLink.appendChild(text);
+ var listItem = document.createElement('li')
+ listItem.appendChild(guiEditorLink);
+ // Insert in the editbar
+ var editbar = textEditorLink.parentNode.parentNode
+ var nextListItem = textEditorLink.parentNode.nextSibling;
+ editbar.insertBefore(listItem, nextListItem);
+ //alert("add_gui_editor_links: added gui editor link");
+ }
+}
+
+
+function show_switch2gui() {
+ // Show switch to gui editor link if the browser is compatible
+ if (can_use_gui_editor() == false) return;
+
+ var switch2gui = document.getElementById('switch2gui')
+ if (switch2gui) {
+ switch2gui.style.display = 'inline';
+ }
+}
+
+// for long documents with many comments this is expensive to calculate,
+// thus we keep it here:
+comments = null;
+
+function toggleComments() {
+ // Toggle visibility of every tag with class "comment"
+ for (i = 0; i < comments.length; i++){
+ el = comments[i];
+ if ( el.style.display != 'none' ) {
+ el.style.display = 'none';
+ } else {
+ el.style.display = '';
+ }
+ }
+}
+
+function show_toggleComments() {
+ // Show edit bar item for toggling inline comments on/off only if inline comments exist on the page
+ comments = getElementsByClassName('comment', null, document);
+ if (comments.length > 0) {
+ var buttons = getElementsByClassName('toggleCommentsButton', null, document);
+ for (i = 0; i < buttons.length; i++){
+ el = buttons[i];
+ el.style.display = '';
+ }
+ }
+}
+
+
+function load() {
+ // Do not name this "onload", it does not work with IE :-)
+ // TODO: create separate onload for each type of view and set the
+ // correct function name in the html.
+ // e.g <body onlod='editor_onload()'>
+
+ // login focus
+ if (document.forms['loginform']) {
+ document.forms['loginform'].elements['name'].focus();
+ }
+
+ // Page view stuff
+ update_edit_links();
+ add_gui_editor_links();
+
+ // Editor stuff
+ show_switch2gui();
+
+ // Enable menu item "ToggleComments" if inline comments exist
+ show_toggleComments();
+
+ // data browser widget
+ dbw_hide_buttons();
+}
+
+
+function before_unload(evt) {
+ // TODO: Better to set this in the editor html, as it does not make
+ // sense elsehwere.
+ // confirmleaving is available when editing
+ try {return confirmleaving();}
+ catch (e) {}
+}
+
+// Initialize after loading the page
+addLoadEvent(load)
+
+// Catch before unloading the page
+window.onbeforeunload = before_unload
+
+function dbw_update_search(dbw_id)
+{
+ var table = document.getElementById(dbw_id+'table');
+ var cell;
+ var shown;
+ var i
+ var cols = table.rows[0].cells.length;
+ var filter = new Array();
+ var dofilter = new Array();
+ var form = document.forms[dbw_id+'form'];
+
+ for (i = 0; i < cols; i++) {
+ dofilter[i] = false;
+ if (form[dbw_id+'filter'+i]) {
+ dofilter[i] = true;
+ filter[i] = form[dbw_id+'filter'+i].value;
+ if (filter[i] == '[all]')
+ dofilter[i] = false;
+ if (filter[i] == '[empty]')
+ filter[i] = '';
+ }
+ }
+
+ for (i = 1; i < table.rows.length; i++) {
+ var show = true;
+ for (col = 0; col < cols; col++) {
+ if (!dofilter[col])
+ continue;
+
+ cell = table.rows[i].cells[col];
+
+ if (filter[col] == '[notempty]') {
+ if (cell.abbr == '') {
+ show = false;
+ break;
+ }
+ } else if (filter[col] != cell.abbr) {
+ show = false;
+ break;
+ }
+ }
+ if (show)
+ table.rows[i].style.display = '';
+ else
+ table.rows[i].style.display = 'none';
+ }
+}
+
+function dbw_hide_buttons() {
+ var form;
+ var elem;
+ var name;
+
+ for (var fidx = 0; fidx < document.forms.length; fidx++) {
+ form = document.forms[fidx];
+ for (var eidx = 0; eidx < form.elements.length; eidx++) {
+ elem = form.elements[eidx];
+ name = elem.name;
+ if (name) {
+ if (name.indexOf('dbw.') >= 0 && name.substr(-7) == '.submit')
+ elem.style.display = 'none';
+ }
+ }
+ }
+}
+
+/* getElementsByClassName
+ Developed by Robert Nyman, http://www.robertnyman.com
+ Code/licensing: http://code.google.com/p/getelementsbyclassname/ (MIT license)
+ Version: 1.0.1
+*/
+var getElementsByClassName = function (className, tag, elm){
+ if (document.getElementsByClassName) {
+ getElementsByClassName = function (className, tag, elm) {
+ elm = elm || document;
+ var elements = elm.getElementsByClassName(className),
+ nodeName = (tag)? new RegExp("\\b" + tag + "\\b", "i") : null,
+ returnElements = [],
+ current;
+ for(var i=0, il=elements.length; i<il; i+=1){
+ current = elements[i];
+ if(!nodeName || nodeName.test(current.nodeName)) {
+ returnElements.push(current);
+ }
+ }
+ return returnElements;
+ };
+ }
+ else if (document.evaluate) {
+ getElementsByClassName = function (className, tag, elm) {
+ tag = tag || "*";
+ elm = elm || document;
+ var classes = className.split(" "),
+ classesToCheck = "",
+ xhtmlNamespace = "http://www.w3.org/1999/xhtml",
+ namespaceResolver = (document.documentElement.namespaceURI === xhtmlNamespace)? xhtmlNamespace : null,
+ returnElements = [],
+ elements,
+ node;
+ for(var j=0, jl=classes.length; j<jl; j+=1){
+ classesToCheck += "[contains(concat(' ', @class, ' '), ' " + classes[j] + " ')]";
+ }
+ try {
+ elements = document.evaluate(".//" + tag + classesToCheck, elm, namespaceResolver, 0, null);
+ }
+ catch (e) {
+ elements = document.evaluate(".//" + tag + classesToCheck, elm, null, 0, null);
+ }
+ while ((node = elements.iterateNext())) {
+ returnElements.push(node);
+ }
+ return returnElements;
+ };
+ }
+ else {
+ getElementsByClassName = function (className, tag, elm) {
+ tag = tag || "*";
+ elm = elm || document;
+ var classes = className.split(" "),
+ classesToCheck = [],
+ elements = (tag === "*" && elm.all)? elm.all : elm.getElementsByTagName(tag),
+ current,
+ returnElements = [],
+ match;
+ for(var k=0, kl=classes.length; k<kl; k+=1){
+ classesToCheck.push(new RegExp("(^|\\s)" + classes[k] + "(\\s|$)"));
+ }
+ for(var l=0, ll=elements.length; l<ll; l+=1){
+ current = elements[l];
+ match = false;
+ for(var m=0, ml=classesToCheck.length; m<ml; m+=1){
+ match = classesToCheck[m].test(current.className);
+ if (!match) {
+ break;
+ }
+ }
+ if (match) {
+ returnElements.push(current);
+ }
+ }
+ return returnElements;
+ };
+ }
+ return getElementsByClassName(className, tag, elm);
+};
+
+
+
diff --git a/test/html/orca-wiki.html b/test/html/orca-wiki.html
index 4a95f50..23cf762 100644
--- a/test/html/orca-wiki.html
+++ b/test/html/orca-wiki.html
@@ -6,81 +6,18 @@
<meta name="robots" content="index,nofollow">
<title>Orca - GNOME Live!</title>
-<script type="text/javascript" src="/wiki/common/js/common.js"></script>
+<script type="text/javascript" src="common.js"></script>
<script type="text/javascript">
-<!--// common functions
-
-// We keep here the state of the search box
-searchIsDisabled = false;
-
-function searchChange(e) {
- // Update search buttons status according to search box content.
- // Ignore empty or whitespace search term.
- var value = e.value.replace(/\s+/, '');
- if (value == '' || searchIsDisabled) {
- searchSetDisabled(true);
- } else {
- searchSetDisabled(false);
- }
-}
-
-function searchSetDisabled(flag) {
- // Enable or disable search
- document.getElementById('fullsearch').disabled = flag;
- document.getElementById('titlesearch').disabled = flag;
-}
-
-function searchFocus(e) {
- // Update search input content on focus
- if (e.value == 'Search') {
- e.value = '';
- e.className = '';
- searchIsDisabled = false;
- }
-}
-
-function searchBlur(e) {
- // Update search input content on blur
- if (e.value == '') {
- e.value = 'Search';
- e.className = 'disabled';
- searchIsDisabled = true;
- }
-}
-
-function actionsMenuInit(title) {
- // Initialize action menu
- for (i = 0; i < document.forms.length; i++) {
- var form = document.forms[i];
- if (form.className == 'actionsmenu') {
- // Check if this form needs update
- var div = form.getElementsByTagName('div')[0];
- var label = div.getElementsByTagName('label')[0];
- if (label) {
- // This is the first time: remove label and do buton.
- div.removeChild(label);
- var dobutton = div.getElementsByTagName('input')[0];
- div.removeChild(dobutton);
- // and add menu title
- var select = div.getElementsByTagName('select')[0];
- var item = document.createElement('option');
- item.appendChild(document.createTextNode(title));
- item.value = 'show';
- select.insertBefore(item, select.options[0]);
- select.selectedIndex = 0;
- }
- }
- }
-}
+<!--
+var search_hint = "Search";
//-->
</script>
-<link rel="stylesheet" type="text/css" charset="utf-8" media="all" href="http://live.gnome.org/moin_static164/gnome/css/common.css">
-
-<link rel="stylesheet" type="text/css" charset="utf-8" media="screen" href="http://live.gnome.org/moin_static164/gnome/css/screen.css">
-<link rel="stylesheet" type="text/css" charset="utf-8" media="print" href="http://live.gnome.org/moin_static164/gnome/css/print.css">
-<link rel="stylesheet" type="text/css" charset="utf-8" media="projection" href="http://live.gnome.org/moin_static164/gnome/projection.css">
+<link rel="stylesheet" type="text/css" charset="utf-8" media="all" href="common.css">
+<link rel="stylesheet" type="text/css" charset="utf-8" media="screen" href="screen.css">
+<link rel="stylesheet" type="text/css" charset="utf-8" media="print" href="print.css">
+<link rel="stylesheet" type="text/css" charset="utf-8" media="projection" href="projection.css">
<!-- css only for MSIE browsers -->
<!--[if IE]>
@@ -105,40 +42,43 @@ function actionsMenuInit(title) {
<div id="page">
<ul id="general">
+
<li id="siteaction-gnome_home" class="home">
<a href="http://www.gnome.org/" title="Home">Home</a>
</li>
<li id="siteaction-gnome_news">
-
<a href="http://news.gnome.org" title="News">News</a>
</li>
<li id="siteaction-gnome_projects">
<a href="http://www.gnome.org/projects/" title="Projects">Projects</a>
+
</li>
<li id="siteaction-gnome_art">
<a href="http://art.gnome.org" title="Art">Art</a>
-
</li>
<li id="siteaction-gnome_support">
<a href="http://www.gnome.org/support/" title="Support">Support</a>
</li>
<li id="siteaction-gnome_development">
+
<a href="http://developer.gnome.org" title="Development">Development</a>
</li>
<li id="siteaction-gnome_community">
-
<a href="http://www.gnome.org/community/" title="Community">Community</a>
</li>
</ul>
<div id="header">
<h1>
+
live.gnome.org
</h1>
<div id="control">
<div id="search">
-<form id="searchform" method="get" action="">
+
+
+<form id="searchform" method="get" action="/Orca">
<div>
<input type="hidden" name="action" value="fullsearch">
<input type="hidden" name="context" value="180">
@@ -148,6 +88,7 @@ function actionsMenuInit(title) {
onkeyup="searchChange(this)" onchange="searchChange(this)" alt="Search">
<input id="titlesearch" name="titlesearch" type="submit"
value="Titles" alt="Search Titles">
+
<input id="fullsearch" name="fullsearch" type="submit"
value="Text" alt="Search Full Text">
</div>
@@ -167,6 +108,8 @@ searchBlur(e);
</div>
+
+
<div id="tabs">
<ul id="portal-globalnav">
<li class="wikilink"><a href="/Home"><span>Home</span></a></li><li class="wikilink"><a href="/RecentChanges"><span>RecentChanges</span></a></li><li class="wikilink"><a href="/FindPage"><span>FindPage</span></a></li><li class="wikilink"><a href="/HelpContents"><span>HelpContents</span></a></li><li class="selected"><a href="/Orca"><span>Orca</span></a></li>
diff --git a/test/html/print.css b/test/html/print.css
new file mode 100644
index 0000000..6e30126
--- /dev/null
+++ b/test/html/print.css
@@ -0,0 +1,54 @@
+/* print.css - MoinMoin Default Styles
+
+Copyright (c) 2001, 2002, 2003 by Juergen Hermann
+*/
+
+/* content styles */
+
+html {
+ font-family: Times, serif;
+ font-size: 12pt;
+}
+
+body {
+ /* Give about 3.4cm in Mozilla/Firefox and about 2.2cm in Safari */
+ margin: 1.5cm;
+}
+
+a, a:visited, a.nonexistent, a.badinterwiki {
+ color: black;
+ text-decoration: none;
+}
+
+a:hover {
+ text-decoration: underline;
+}
+
+.info a {
+ color: gray;
+}
+
+pre {
+ font-size: 10pt;
+}
+
+a.interwiki:before, a.badinterwiki:before {
+ content: attr(title) ":";
+}
+
+a.interwiki img, a.badinterwiki img {
+ display: none;
+}
+
+.footnotes div {
+ width: 5em;
+ border-top: 1pt solid gray;
+}
+
+/* user interface styles */
+
+#header, #sidebar, #footer, #timings, #credits, #interwiki, #pagelocation {
+ display: none;
+}
+
+
diff --git a/test/html/projection.css b/test/html/projection.css
new file mode 100644
index 0000000..80706d9
--- /dev/null
+++ b/test/html/projection.css
@@ -0,0 +1,34 @@
+/* projection.css - MoinMoin Slide Styles
+
+Copyright (c) 2003 by Juergen Hermann
+*/
+
+ import url(screen.css);
+
+html { line-height: 1.8em; }
+
+body, b, em, a, span, div, p, td { font-size: 18pt; }
+
+h1 { font-size: 26pt; }
+h2 { font-size: 22pt; }
+h3 { font-size: 20pt; }
+h4 { font-size: 18pt; }
+h5 { font-size: 16pt; }
+h6 { font-size: 14pt; }
+
+tt, pre { font-size: 16pt; }
+sup, sub { font-size: 12pt; }
+
+table.navigation {
+ float: right;
+ margin: 2px;
+}
+
+.navigation td, .navigation a {
+ font-size: 10pt;
+ padding: 2px;
+}
+
+#interwiki, #pagelocation, #pageinfo { display: none; }
+
+
diff --git a/test/html/screen.css b/test/html/screen.css
new file mode 100644
index 0000000..bfe4b9b
--- /dev/null
+++ b/test/html/screen.css
@@ -0,0 +1,488 @@
+/* screen.css - MoinMoin Default Styles
+
+Copyright (c) 2001, 2002, 2003 by Juergen Hermann
+*/
+
+/* content styles */
+
+/* debug
+* {border: 1px dotted blue;}
+*/
+
+body {
+ padding: 0;
+ border: 0;
+}
+
+a:link { text-decoration: none; }
+a:link:hover, a:link:active { text-decoration: underline; color: green; }
+a:visited { text-decoration: none; color: blue; }
+a:visited:hover { text-decoration: none; color: red; }
+
+a.download {
+ font-size: 120%;
+ letter-spacing: 0.05em;
+ font-weight: bold;
+ background: #E7E7E7;
+ border: 1px solid #9C9C9C;
+ padding: 0.5em;
+ text-align: center;
+}
+
+input {
+ /* does strange effect to button (text size becomes bigger when clicking)
+ font-size: 1em;
+ font-family: Arial, Lucida Grande, sans-serif;
+ */
+}
+
+textarea {
+ font-size: 1em;
+ font-family: monospace;
+}
+
+.disabled {
+ /* IE ignore disabled attribute, but at least show items in gray */
+ color: gray;
+}
+
+/* user interface styles */
+
+#header {
+ margin: 1px;
+ padding: 1px;
+ /* background: #3D4551; */
+ background: #E7E7E7;
+ line-height: 1.1em;
+}
+
+#logo {
+ float: left;
+ margin: 5px 10px;
+ padding: 0;
+ /* For text only logo */
+ font-size: 1.4em;
+ line-height: 1em;
+ font-weight: bold;
+}
+
+*[dir="rtl"] #logo {
+ float: right;
+}
+
+#logo img {
+ vertical-align: middle;
+}
+
+#logo a {
+ color: black;
+ text-decoration: none;
+}
+
+#username {
+ display: inline;
+ margin: 5px 12px;
+ padding: 0;
+ text-align: right;
+ font-size: 0.82em;
+ white-space: nowrap;
+}
+
+*[dir="rtl"] #username {
+ text-align: left;
+ margin: 5px 0px;
+}
+
+#username li {
+ display: inline;
+ padding: 0 0.5em 0 0;
+}
+
+#username form {
+ display: inline;
+}
+
+#username input {
+ display: inline;
+ padding: 0;
+ margin: 0;
+ border: none;
+ background: #E7E7E7; /* inherit doesnt work on IE */
+ color: blue;
+ font-size: 0.82em;
+ cursor: pointer;
+}
+
+#username input:hover {
+ color: red;
+}
+
+#searchform {
+ float: right;
+ margin: 5px 10px;
+ padding: 0;
+ white-space: nowrap;
+ font-size: 0.82em;
+}
+
+*[dir="rtl"] #searchform {
+ float: left;
+}
+
+#searchform form div {
+ display: inline;
+}
+
+#pagetrail {
+ clear: right;
+ margin: 5px 12px;
+ padding: 0;
+ font-size: 0.88em;
+}
+
+*[dir="rtl"] #pagetrail {
+ clear: left;
+}
+
+#interwiki {
+ margin: 5px 12px;
+ display: inline;
+ font-size: 1em;
+}
+
+*[dir="rtl"] #interwiki {
+ margin: 5px 0px;
+ display: inline;
+ font-size: 1em;
+}
+
+#interwiki span:after {
+ content: ":";
+}
+
+#locationline {
+ clear: right;
+ padding: 0;
+}
+
+*[dir="rtl"] #locationline {
+ clear: left;
+}
+
+#pagelocation {
+ display: inline;
+ margin: 5px 12px;
+ padding: 0;
+ font-size: 1.5em;
+}
+
+#pagetrail li, #pagelocation li {
+ display: inline;
+ margin: 0;
+}
+
+/* XXX Warning: non-ascii characters! */
+#pagetrail li:after {
+ content: " » ";
+}
+
+*[dir="rtl"] #pagetrail li:after {
+ content: " « ";
+}
+
+#pagetrail li:last-child:after {
+ content: "";
+}
+
+#pagelocation li:after {
+ content: "/ ";
+}
+
+*[dir="rtl"] #pagelocation li:after {
+ content: " \\ "; /* TODO: check what looks best with RTL */
+}
+
+#pagelocation li:last-child:after {
+ content: "";
+}
+
+#navibar {
+ clear: both; /* problem: clear: right; aligns nicely right of logo,
+ but lets it float high in the header, disconnected from ground */
+ display: block;
+ margin: 0;
+ padding: 0 10px;
+ font-size: 0.82em;
+ zoom: 1; /* for avoiding a gap between navibar and pageline on IE */
+}
+
+#navibar li {
+ float: left;
+ display: inline;
+ margin: 0 2px;
+ padding: 2px 5px;
+ border: 1px solid #9C9C9C;
+ border-bottom: none;
+ white-space: nowrap;
+}
+
+*[dir="rtl"] #navibar li {
+ float: right;
+}
+
+#navibar li.wikilink {
+ background: white; /*url(../img/tab-wiki.png) repeat-x;*/
+}
+
+#navibar li.userlink {
+ background: #E6EAF0; /*url(../img/tab-user.png) repeat-x;*/
+}
+
+#navibar a, #navibar a:visited {
+ color: black;
+ text-decoration: none;
+}
+
+#navibar li.current a {
+ font-weight: bold;
+}
+
+#navibar li:hover {
+ background: #CCCCCC;
+}
+
+#navibar li.current, #navibar li.current:hover {
+ background: #81BBF2; /* url(../img/tab-selected.png) repeat-x; */
+}
+
+#pageline {
+ clear: both;
+ margin: 0;
+ padding: 0;
+ width: 100%;
+ /* sync these values, line-height is needed for IE */
+ height: 4px;
+ line-height: 4px;
+ border-bottom: 1px solid #9C9C9C;
+ background: #81BBF2;
+}
+
+.editbar {
+ clear: both;
+ display: block;
+ margin: 0;
+ padding: 0 8px;
+ white-space: nowrap;
+ background: white;
+ font-size: 0.8em;
+}
+
+.editbar form, .editbar form div {
+ display: inline;
+ margin: 0;
+}
+
+.editbar li {
+ display: inline;
+ padding: 0;
+ margin: 4px 6px;
+}
+
+*[dir="rtl"] .editbar li {
+ float: right;
+}
+
+#header .editbar {
+ border-bottom: 1px dotted #9C9C9C;
+}
+
+#footer .editbar {
+ border-top: 1px dotted #9C9C9C;
+ border-bottom: 1px solid #9C9C9C;
+}
+
+.editbar a, .editbar a:visited { color: #0044B3; }
+
+#message {
+ clear: both;
+ margin: 0;
+ padding: 5px 10px;
+ border-bottom: 1px solid #c9c9c9;
+ background: #E6EAF0;
+}
+
+#message p {
+ margin: 5px 0;
+ padding: 0;
+ /* font-weight: bold; */
+}
+
+#message div.buttons {
+ font-weight: normal;
+}
+
+.dialog form {
+ margin: 0 15px;
+}
+
+.dialog td {
+ border: none;
+ padding: 5px;
+}
+
+.dialog td.label {
+ text-align: right;
+ font-weight: bold;
+ width: 25%;
+}
+
+*[dir="rtl"] .dialog td.label {
+ text-align: left;
+}
+
+.dialog td.content input {
+ width: 100%;
+}
+
+#page {
+ background-color: white;
+ margin: 0;
+ padding: 2px 20px 20px 20px;
+
+ /* theses are some Firefox 1.5b1 specific extensions, see also the CSS3 draft.
+ -moz-column-width: 25em;
+ -moz-column-gap: 2em;
+ -moz-column-rule: solid black 0.3em; -- doesn't work yet with 1.5b1!
+
+ TODO: make text/gui editor NOT use #page css, we don't want columns there!
+ */
+}
+
+/* We use here dumb css1 ids because of IE suckiness */
+#editor-textarea, #editor-help {
+ font-family: monospace;
+ border: 1px solid #8cacbb;
+ color: black;
+ background-color: white;
+ padding: 3px;
+ width: 100%;
+ margin-top: 0.5em;
+}
+
+#editor-help {
+ font-size: small;
+ background-color: #EEEEFF;
+}
+
+#editor-comment {
+ font-size: 100%;
+ border: 1px solid #8cacbb;
+ color: black;
+ background-color: white;
+ vertical-align: middle;
+ padding: 1px;
+ display: inline;
+ width: 70%;
+}
+
+#preview, #previewbelow {
+ border: 1px solid #6C7680;
+ padding: 10px 30px 20px 30px;
+ background: url(../img/draft.png);
+ margin-top: 0.5em;
+}
+
+#textcha {
+ font-size: 100%;
+ margin-top: 0.5em;
+ border: 2px solid #FF8888;
+ color: black;
+ vertical-align: middle;
+ padding: 3px 2px;
+}
+
+#textcha-answer {
+ border: 2px solid #000000;
+ padding: 3px 2px;
+}
+
+input.button {
+ /*
+ border: 1px solid #8cacbb;
+ color: black;
+ background-color: #CCCCCC;
+ vertical-align: middle;
+ text-decoration: none;
+ font-size: 100%;
+ cursor: pointer;
+ margin: 2px;
+ padding: 1px;
+ display: inline;
+ */
+}
+
+#footer {
+ clear: both;
+ margin: 0;
+ padding: 0;
+}
+
+#credits, #version, #timings{
+ margin: 5px 10px;
+ padding: 0;
+ text-align: center;
+ font-size: 0.88em;
+ color: #6C7680;
+}
+
+#credits li, #timings li {
+ display: inline;
+ padding: 0 2px;
+ margin: 0 4px;
+}
+
+#credits img {
+ vertical-align: middle;
+}
+
+.diff {
+ width:99%;
+}
+
+.diff-header {
+ font-weight: bold;
+}
+
+.diff-title {
+ background-color: #C0C0C0;
+}
+
+.diff-added {
+ background-color: #E0FFE0;
+ vertical-align: sub;
+}
+
+.diff-removed {
+ background-color: #FFFFE0;
+ vertical-align: sub;
+}
+
+.diff-added span {
+ background-color: #80FF80;
+}
+
+.diff-removed span {
+ background-color: #FFFF80;
+}
+
+table.navigation {
+ float: right;
+ margin: 2px;
+}
+
+#openididentifier {
+ background: url(../../common/openid.png) no-repeat;
+ background-position: 0 50%;
+ padding-left: 18px;
+}
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]