From 0c340931af7d41e6f1515188712ca71ce44108f1 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Wed, 8 Feb 2006 18:50:45 +0000 Subject: [PATCH] * (bug 4824) Separate out IE7 CSS compat hacks, fix for RTL pages --- RELEASE-NOTES | 1 + skins/MonoBook.php | 5 +-- skins/monobook/IE70Fixes.css | 69 ++++++++++++++++++++++++++++++++++++ 3 files changed, 73 insertions(+), 2 deletions(-) create mode 100644 skins/monobook/IE70Fixes.css diff --git a/RELEASE-NOTES b/RELEASE-NOTES index eb932eea0f..909449491a 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -605,6 +605,7 @@ fully support the editing toolbar, but was found to be too confusing. * (bug 4889) Fix image talk namespace for Tamil * (bug 4147) Added cleanupWatchlist.php to clear out bogus watchlist entries * (partial bug 3456) Disable auto redirect to Main Page after account creation +* (bug 4824) Separate out IE7 CSS compat hacks, fix for RTL pages === Caveats === diff --git a/skins/MonoBook.php b/skins/MonoBook.php index b3a84a6a07..d8447fd7f2 100644 --- a/skins/MonoBook.php +++ b/skins/MonoBook.php @@ -51,7 +51,7 @@ class MonoBookTemplate extends QuickTemplate { wfSuppressWarnings(); ?> - + html('headlinks') ?> @@ -61,7 +61,8 @@ class MonoBookTemplate extends QuickTemplate { data['printable']) ) { ?>media="print" href="text('stylepath') ?>/common/commonPrint.css" /> - + + data['jsvarurl' ]) { ?> diff --git a/skins/monobook/IE70Fixes.css b/skins/monobook/IE70Fixes.css new file mode 100644 index 0000000000..4866e08c07 --- /dev/null +++ b/skins/monobook/IE70Fixes.css @@ -0,0 +1,69 @@ +/* 7.0 - only fixes */ +/* content area */ +/* workaround for various ie float bugs */ + +/* This bit is needed to make links clickable... WTF */ +#column-content #content { + margin-left: 12.2em; + margin-top: 3em; + height: 1%; +} + +html.rtl #column-one { + /* For some reason it tries to inherit the padding-top into every div, + * and I can't figure out how to get it back off. + */ + padding-top: 0; +} +html.rtl #column-one #p-navigation { + margin-top: 160px; +} + +/* the tabs */ + +#p-cactions { + z-index: 3; +} + + +#p-cactions li { + padding-bottom: 0 !important; + border: none; + background-color: transparent; + cursor: default; + float: none !important; +} + +#p-cactions li a { + display: inline-block !important; + vertical-align: top; + padding-bottom: 0; + border: solid #aaa; + border-width: 1px 1px 0; +} +#p-cactions li.selected a { + border-color: #fabd23; + padding-bottom: 0.17em; +} +#p-cactions li a:hover { + padding-bottom: 0.17em; +} +#p-navigation a { + display: inline-block; + width: 100%; +} +#portal-personaltools { + padding-bottom: 0.1em; +} +textarea { + width: 96%; +} + +/* +div.editsection, +#catlinks, +div.tright, +div.tleft { + position: relative; +} +*/ -- 2.20.1