Vector: Hide the superfluous "Variants" menu label again
authorBartosz Dziewoński <matma.rex@gmail.com>
Mon, 9 Jun 2014 17:09:41 +0000 (19:09 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Mon, 9 Jun 2014 18:54:19 +0000 (18:54 +0000)
Follow-up to I09c8031c.

Also removed a piece of temporary hacky CSS from Iabda8155.
The other hacks from it were removed, this one persisted.

Bug: 66364
Change-Id: I4d5ae0858e1685a60c42d8080fec2753f25ea9ad

skins/vector/components/tabs.less

index 3cb8589..9e39fbb 100644 (file)
@@ -143,15 +143,23 @@ div#mw-head div.vectorMenu h3 {
        margin-right: -1px;
 }
 
-div#mw-head div.vectorMenu h4,
-div.vectorMenu#p-variants #mw-vector-current-variant {
-       display: inline-block;
-       float: left;
-       font-size: 0.8em;
-       padding-left: 0.5em;
-       padding-top: 1.375em;
-       font-weight: normal;
-       border: none;
+// The "Variants" menu has a really funny structure
+div#mw-head div.vectorMenu#p-variants {
+       #p-variants-label span {
+               display: none;
+       }
+
+       #mw-vector-current-variant {
+               display: inline-block;
+               float: left;
+               padding-right: 20px;
+               font-size: 0.8em;
+               padding-left: 0.5em;
+               padding-top: 1.375em;
+               font-weight: normal;
+               border: none;
+               background-image: none;
+       }
 }
 
 div.vectorMenu h3 span {