From 9db190c7e736ec8d063187d4241b59feaf7dc2d1 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Wed, 22 Jun 2011 11:28:20 +0200 Subject: update to MediaWiki 1.17.0 --- skins/common/diff.css | 84 +++++---------------------------------------------- 1 file changed, 8 insertions(+), 76 deletions(-) (limited to 'skins/common/diff.css') diff --git a/skins/common/diff.css b/skins/common/diff.css index 6afa3734..80286d8e 100644 --- a/skins/common/diff.css +++ b/skins/common/diff.css @@ -11,9 +11,6 @@ td.diff-ntitle { td.diff-marker { text-align: right; } -.rtl td.diff-marker { - text-align: left; -} td.diff-lineno { font-weight: bold; } @@ -41,7 +38,7 @@ table.diff { border: none; width: 98%; border-spacing: 4px; - + /* Fixed layout is required to ensure that cells containing long URLs don't widen in Safari, Internet Explorer, or iCab */ table-layout: fixed; @@ -57,87 +54,22 @@ table.diff col.diff-content { } table.diff td div { /* Force-wrap very long lines such as URLs or page-widening char strings. - CSS 3 draft..., but Gecko doesn't support it yet: - https://bugzilla.mozilla.org/show_bug.cgi?id=99457 */ + CSS 3 only (In Gecko 1.9.1 / Firefox 3.5): + https://bugzilla.mozilla.org/show_bug.cgi?id=99457 + https://developer.mozilla.org/web-tech/2008/08/20/word-wrap-break-word/ + https://developer.mozilla.org/En/CSS/Word-wrap */ word-wrap: break-word; - + /* As fallback, scrollbars will be added for very wide cells instead of text overflowing or widening */ overflow: auto; - + /* The above rule breaks on very old versions of Mozilla due to a bug which collapses the table cells to a single line. - + In Mozilla 1.1 and below with JavaScript enabled, the rule will be overridden with this by diff.js; wide cell contents then spill horizontally without widening the rest of the table: */ /* overflow: visible; */ } - -/* - * Styles for the HTML Diff - */ -div.diff-switchtype{ - text-align: center; - font-weight: bold; - font-size: smaller; -} - -span.diff-html-added { - font-size: 100%; - background-color: #20ff20 -} - -span.diff-html-removed { - font-size: 100%; - text-decoration: line-through; - background-color: #ff2020 -} - -span.diff-html-changed { - background: url(images/diffunderline.gif) bottom repeat-x; - /* Hack for IE5.5, see http://lists.wikimedia.org/pipermail/wikitech-l/2008-November/040273.html */ - *background-color: #c6c6fd; /* light blue */ -} - -span.diff-html-added img{ - border: 5px solid #ccffcc; -} - -span.diff-html-removed img{ - border: 5px solid #fdc6c6; -} - -span.diff-html-changed img{ - border: 5px dotted #000099; - -} - -span.diff-html-changed { - position: relative; /* this is key */ - cursor: help; -} - -span.diff-html-changed span.tip { - display: none; /* so is this */ -} - -/* tooltip will display on :hover event */ - -span.diff-html-changed:hover span.tip { - display: block; - z-index: 95; - position: absolute; - top: 2.5em; - left: 0; - width: auto; - line-height: 1.2em; - padding: 3px 7px 4px 6px; - border: 1px solid #336; - background-color: #f7f7ee; - font-size: 10px; - text-align: left; -} - - -- cgit v1.2.2