From fc67642d0684e5e043ea0c552775adb2787f0026 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bartosz=20Dziewo=C5=84ski?= Date: Mon, 9 Jun 2014 19:09:41 +0200 Subject: [PATCH] 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 --- skins/vector/components/tabs.less | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) 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 { -- 2.20.1