* (bug 4824) Separate out IE7 CSS compat hacks, fix for RTL pages
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 8 Feb 2006 18:50:45 +0000 (18:50 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 8 Feb 2006 18:50:45 +0000 (18:50 +0000)
RELEASE-NOTES
skins/MonoBook.php
skins/monobook/IE70Fixes.css [new file with mode: 0644]

index eb932ee..9094494 100644 (file)
@@ -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 ===
index b3a84a6..d8447fd 100644 (file)
@@ -51,7 +51,7 @@ class MonoBookTemplate extends QuickTemplate {
                wfSuppressWarnings();
 
 ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php $this->text('lang') ?>" lang="<?php $this->text('lang') ?>" dir="<?php $this->text('dir') ?>">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php $this->text('lang') ?>" lang="<?php $this->text('lang') ?>" dir="<?php $this->text('dir') ?>" class="<?php $this->text('dir') ?>">
        <head>
                <meta http-equiv="Content-Type" content="<?php $this->text('mimetype') ?>; charset=<?php $this->text('charset') ?>" />
                <?php $this->html('headlinks') ?>
@@ -61,7 +61,8 @@ class MonoBookTemplate extends QuickTemplate {
                <link rel="stylesheet" type="text/css" <?php if(empty($this->data['printable']) ) { ?>media="print"<?php } ?> href="<?php $this->text('stylepath') ?>/common/commonPrint.css" />
                <!--[if lt IE 5.5000]><style type="text/css">@import "<?php $this->text('stylepath') ?>/<?php $this->text('stylename') ?>/IE50Fixes.css";</style><![endif]-->
                <!--[if IE 5.5000]><style type="text/css">@import "<?php $this->text('stylepath') ?>/<?php $this->text('stylename') ?>/IE55Fixes.css";</style><![endif]-->
-               <!--[if gte IE 6]><style type="text/css">@import "<?php $this->text('stylepath') ?>/<?php $this->text('stylename') ?>/IE60Fixes.css";</style><![endif]-->
+               <!--[if IE 6]><style type="text/css">@import "<?php $this->text('stylepath') ?>/<?php $this->text('stylename') ?>/IE60Fixes.css";</style><![endif]-->
+               <!--[if IE 7]><style type="text/css">@import "<?php $this->text('stylepath') ?>/<?php $this->text('stylename') ?>/IE70Fixes.css";</style><![endif]-->
                <!--[if lt IE 7]><script type="<?php $this->text('jsmimetype') ?>" src="<?php $this->text('stylepath') ?>/common/IEFixes.js"></script>
                <meta http-equiv="imagetoolbar" content="no" /><![endif]-->
 <?php  if($this->data['jsvarurl'  ]) { ?>
diff --git a/skins/monobook/IE70Fixes.css b/skins/monobook/IE70Fixes.css
new file mode 100644 (file)
index 0000000..4866e08
--- /dev/null
@@ -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;
+}
+*/