http://www.mediawiki.org/wiki/Special:Code/MediaWiki/90972

Revision: 90972
Author:   santhosh
Date:     2011-06-28 15:47:44 +0000 (Tue, 28 Jun 2011)
Log Message:
-----------
FIX : Bug 29609 - The TT icon overlaps with the "select font" link when 
wgBetterDirectionality is enabled.

Modified Paths:
--------------
    trunk/extensions/WebFonts/css/webfonts.css

Modified: trunk/extensions/WebFonts/css/webfonts.css
===================================================================
--- trunk/extensions/WebFonts/css/webfonts.css  2011-06-28 15:45:17 UTC (rev 
90971)
+++ trunk/extensions/WebFonts/css/webfonts.css  2011-06-28 15:47:44 UTC (rev 
90972)
@@ -1,3 +1,8 @@
+li#pt-webfont{
+       background: url(images/font-icon.png) no-repeat scroll left top 
transparent;
+       padding-left: 15px !important;
+}
+
 div#webfonts-menu{
        margin: 0;
        padding:0;
@@ -2,2 +7,3 @@
        font-size: 100%;
+       z-index: 99999
 }
@@ -8,7 +14,6 @@
        margin: 0;
        padding:5px;
        font-size: 100%;
-       z-index: 99999;
 }
 
 
@@ -34,16 +39,19 @@
 div.webfontMenuFocus {
        background-position: -22px 60%;
 }
+
 /* @noflip */
-body.rtl div.webfontMenu {
+body.rtl div.webfontMenu ul li {
        direction: rtl;
 }
+
 div.webfontMenu div.menu {
        position: relative;
        display: none;
        clear: both;
        text-align: left;
 }
+
 /* OVERRIDDEN BY COMPLIANT BROWSERS */
 /* @noflip */
 body.rtl div.webfontMenu div.menu {
@@ -115,9 +123,6 @@
 }
 div.webfontMenu a {
        display: block;
-       padding-left:20px;
-       background-image: url(images/font-icon.png);
-       background-position: 0px 60%;
-       background-repeat: no-repeat;
-
+       padding-left:5px;
+       padding-right:5px;
 }


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to