Vector: Restore old focus animation on the "More" dropdown
authorBartosz Dziewoński <matma.rex@gmail.com>
Thu, 5 Jun 2014 17:57:02 +0000 (19:57 +0200)
committerKrinkle <krinklemail@gmail.com>
Mon, 9 Jun 2014 17:49:49 +0000 (17:49 +0000)
Per post-merge review of I09c8031c, it's not consistent with anything
we have elsewhere.

Bug: 66363
Change-Id: I89cf29fcb92d29d782c4091f39879f3837579bdb

skins/vector/components/tabs.less

index e43f69a..3cb8589 100644 (file)
@@ -173,14 +173,11 @@ div.vectorMenu h3 a {
        .background-image-svg('images/arrow-down-icon.svg', 'images/arrow-down-icon.png');
        background-position: 100% 70%;
        background-repeat: no-repeat;
-       .transition(all 250ms);
+       .transition(background-position 250ms);
 }
 
 div.vectorMenu.menuForceShow h3 a {
-       -webkit-transform: rotate(-45deg) translate(-5px, 5px);
-       -moz-transform: rotate(-45deg) translate(-5px, 5px);
-       -ms-transform: rotate(-45deg) translate(-5px, 5px);
-       transform: rotate(-45deg) translate(-5px, 5px);
+       background-position: 100% 100%;
 }
 
 div.vectorMenuFocus h3 a {