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

Revision: 99080
Author:   philip
Date:     2011-10-06 09:44:09 +0000 (Thu, 06 Oct 2011)
Log Message:
-----------
Fix Bug:31396. The bug was cause by r86861, which used CSS sprites to change 
the appearance of the arrow when the element is focused. This revision separate 
the focus arrow from the sprites image because it hardly possible to adjust the 
position of image **when the width are unfixed**.

Modified Paths:
--------------
    trunk/phase3/skins/vector/images/arrow-down-icon.png
    trunk/phase3/skins/vector/screen.css

Added Paths:
-----------
    trunk/phase3/skins/vector/images/arrow-down-focus-icon.png

Added: trunk/phase3/skins/vector/images/arrow-down-focus-icon.png
===================================================================
(Binary files differ)


Property changes on: trunk/phase3/skins/vector/images/arrow-down-focus-icon.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Modified: trunk/phase3/skins/vector/images/arrow-down-icon.png
===================================================================
(Binary files differ)

Modified: trunk/phase3/skins/vector/screen.css
===================================================================
--- trunk/phase3/skins/vector/screen.css        2011-10-06 08:47:59 UTC (rev 
99079)
+++ trunk/phase3/skins/vector/screen.css        2011-10-06 09:44:09 UTC (rev 
99080)
@@ -211,12 +211,14 @@
                float: left;
                /* @embed */
                background-image: url(images/arrow-down-icon.png);
-               background-position: 0px 60%;
+               background-position: 100% 60%;
                background-repeat: no-repeat;
                cursor: pointer;
        }
        div.vectorMenuFocus {
-               background-position: -22px 60%;
+        /* @embed */
+               background-image: url(images/arrow-down-focus-icon.png);
+               background-position: 100% 60%;
        }
        /* @noflip */
        body.rtl div.vectorMenu {


_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to