From 0fe3bb602c5c3067e58a8b141b118bf1417461cc Mon Sep 17 00:00:00 2001 From: Trevor Parscal Date: Thu, 25 Jun 2009 17:29:36 +0000 Subject: [PATCH] Corrected vertical alignment of text in navigation tabs --- skins/Vector.php | 4 ++-- skins/vector/main.css | 18 ++++++++++++------ 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/skins/Vector.php b/skins/Vector.php index c1622a2ae5..7f93e1f26c 100644 --- a/skins/Vector.php +++ b/skins/Vector.php @@ -556,7 +556,7 @@ class VectorTemplate extends QuickTemplate {
msg('namespaces') ?>
@@ -583,7 +583,7 @@ class VectorTemplate extends QuickTemplate {
msg('views') ?>
diff --git a/skins/vector/main.css b/skins/vector/main.css index b421cd29c1..6b06ba5ed8 100644 --- a/skins/vector/main.css +++ b/skins/vector/main.css @@ -149,7 +149,7 @@ div#head h5 { div#namespaces li, div#views li { float: left; - line-height: 3em; + height: 3em; background-image: url(images/tab-normal-fade.png); background-position: bottom left; background-repeat: repeat-x; @@ -172,20 +172,26 @@ div#head h5 { background-image: url(images/tab-break.png); background-position: bottom right; background-repeat: no-repeat; - color: #0645ad; } body.rtl div#namespaces a, body.rtl div#views a { background-position: bottom left; } - div#namespaces li.selected a, - div#views li.selected a:visited { + div#namespaces a span, + div#views a span { + color: #0645ad; + display: inline-block; + padding-top: 1.25em; + cursor: pointer; + } + div#namespaces li.selected a span, + div#views li.selected a:visited span { color: #333333; cursor: default; text-decoration: none; } - div#namespaces li.new a, - div#namespaces li.new a:visited{ + div#namespaces li.new a span, + div#namespaces li.new a:visited span{ color: #a55858; } /* Variants and Actions */ -- 2.20.1