More IE fixes for RTL, getting quite close now.
authorTrevor Parscal <tparscal@users.mediawiki.org>
Tue, 14 Jul 2009 07:25:50 +0000 (07:25 +0000)
committerTrevor Parscal <tparscal@users.mediawiki.org>
Tue, 14 Jul 2009 07:25:50 +0000 (07:25 +0000)
skins/Vector.php
skins/vector/main-ltr.css
skins/vector/main-rtl.css

index c82da20..d209a01 100644 (file)
@@ -703,7 +703,7 @@ class VectorTemplate extends QuickTemplate {
                                        if ( count( $this->data[ 'variant_urls' ] ) > 0 ) {
 ?>
 <div id="variants" class="vectorMenu">
-       <h5><span><?php $this->msg('variants') ?></span><a href="#">&nbsp;</a></h5>
+       <h5><span><?php $this->msg('variants') ?></span><a href="#"></a></h5>
        <div class="menu">
                <ul <?php $this->html('userlangattributes') ?>>
                        <?php foreach ($this->data['variant_urls'] as $key => $link ): ?>
@@ -733,7 +733,7 @@ class VectorTemplate extends QuickTemplate {
                                        if ( count( $this->data[ 'action_urls' ] ) > 0 ) {
 ?>
 <div id="p-cactions" class="vectorMenu">
-       <h5><span><?php $this->msg('actions') ?></span><a href="#">&nbsp;</a></h5>
+       <h5><span><?php $this->msg('actions') ?></span><a href="#"></a></h5>
        <div class="menu">
                <ul <?php $this->html('userlangattributes') ?>>
                        <?php foreach ($this->data['action_urls'] as $key => $link ): ?>
@@ -775,6 +775,7 @@ class VectorTemplate extends QuickTemplate {
        </form>
 </div>
 <?php
+
                                break;
                        }
                        echo "\n<!-- /{$name} -->\n";
index ddd4427..ee795a4 100644 (file)
@@ -168,6 +168,7 @@ div#head h5 {
                padding-top: 1.25em;
        }
        /* IGNORED BY IE6 */
+       /* @noflip */
        div.vectorTabs a > span {
                float: left;
                display: block;
@@ -190,12 +191,14 @@ div#head h5 {
        /* @noflip */
        div.vectorMenu {
                float: left;
+               direction: ltr;
        }
        div.vectorMenu {
                background-image: url(images/arrow-down-icon.png);
                background-position: center center;
                background-repeat: no-repeat;
        }
+       /* @noflip */
        div.vectorMenu h5 {
                float: left;
        }
@@ -214,6 +217,7 @@ div#head h5 {
                display: block;
        }
        div.vectorMenu div.menu {
+               position: relative;
                display: none;
                clear: both;
        }
@@ -233,6 +237,7 @@ div#head h5 {
        div.vectorMenu li {
                padding: 0;
                margin: 0;
+               text-align: left;
        }
        /* OVERRIDDEN BY COMPLIANT BROWSERS */
        div.vectorMenu li a {
@@ -252,13 +257,13 @@ div#head h5 {
                float: left;
        }
        div#p-search {
-               margin-right: 0.75em;
+               margin-right: 0.5em;
+               margin-left: 0.5em;
        }
        div#p-search form,
        div#p-search input {
-               float: left;
+               margin: 0;
                margin-top: 0.4em;
-               margin-left: 0.25em;
        }
 /* Panel */
 div#panel {
index 77f41e4..26017d8 100644 (file)
@@ -168,8 +168,9 @@ div#head h5 {
                padding-top: 1.25em;
        }
        /* IGNORED BY IE6 */
+       /* @noflip */
        div.vectorTabs a > span {
-               float: right;
+               float: left;
                display: block;
        }
        div.vectorTabs li.selected a,
@@ -190,14 +191,16 @@ div#head h5 {
        /* @noflip */
        div.vectorMenu {
                float: left;
+               direction: ltr;
        }
        div.vectorMenu {
                background-image: url(images/arrow-down-icon.png);
                background-position: center center;
                background-repeat: no-repeat;
        }
+       /* @noflip */
        div.vectorMenu h5 {
-               float: right;
+               float: left;
        }
        /* OVERRIDDEN BY COMPLIANT BROWSERS */
        div.vectorMenu h5 a {
@@ -214,6 +217,7 @@ div#head h5 {
                display: block;
        }
        div.vectorMenu div.menu {
+               position: relative;
                display: none;
                clear: both;
        }
@@ -233,6 +237,7 @@ div#head h5 {
        div.vectorMenu li {
                padding: 0;
                margin: 0;
+               text-align: right;
        }
        /* OVERRIDDEN BY COMPLIANT BROWSERS */
        div.vectorMenu li a {
@@ -252,13 +257,13 @@ div#head h5 {
                float: left;
        }
        div#p-search {
-               margin-left: 0.75em;
+               margin-left: 0.5em;
+               margin-right: 0.5em;
        }
        div#p-search form,
        div#p-search input {
-               float: right;
+               margin: 0;
                margin-top: 0.4em;
-               margin-right: 0.25em;
        }
 /* Panel */
 div#panel {