From: Bartosz DziewoƄski Date: Mon, 9 Jun 2014 17:09:41 +0000 (+0200) Subject: Vector: Hide the superfluous "Variants" menu label again X-Git-Tag: 1.31.0-rc.0~15436 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=fc67642d0684e5e043ea0c552775adb2787f0026;p=lhc%2Fweb%2Fwiklou.git Vector: Hide the superfluous "Variants" menu label again 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 --- diff --git a/skins/vector/components/tabs.less b/skins/vector/components/tabs.less index 3cb858935a..9e39fbb29c 100644 --- a/skins/vector/components/tabs.less +++ b/skins/vector/components/tabs.less @@ -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 {