From cd6f7182867a608fbb74544736e21218822e625b Mon Sep 17 00:00:00 2001 From: Trevor Parscal Date: Tue, 10 Nov 2009 19:39:19 +0000 Subject: [PATCH] Simple search auto-hiding label was rendering wrong in IE6 because IE6 was assuming some strange default for the 'top' css property - now we just specify it as 0.25em and things look good everywhere. Also, in RTL, there was a double-thick blue line next to the search box in some browsers, which is now fixed. --- skins/vector/main-ltr.css | 6 ++++++ skins/vector/main-rtl.css | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/skins/vector/main-ltr.css b/skins/vector/main-ltr.css index b6bfee99b3..6f80480e51 100644 --- a/skins/vector/main-ltr.css +++ b/skins/vector/main-ltr.css @@ -208,6 +208,7 @@ body { body.rtl div.vectorMenu { direction: rtl; } + /* OVERRIDDEN BY COMPLIANT BROWSERS */ /* @noflip */ #head div.vectorMenu h5 { float: left; @@ -218,6 +219,10 @@ body { margin-left: -1px; font-size:100% !important; } + /* IGNORED BY IE6 */ + #head div.vectorMenu > h5 { + background-image: none; + } /* OVERRIDDEN BY COMPLIANT BROWSERS */ div.vectorMenu h5 a { display: inline-block; @@ -332,6 +337,7 @@ body { } #simpleSearch label { font-size: 0.8em; + top: 0.25em; } #simpleSearch input#searchInput { margin: 0; diff --git a/skins/vector/main-rtl.css b/skins/vector/main-rtl.css index 438ca3bb37..75a71756eb 100644 --- a/skins/vector/main-rtl.css +++ b/skins/vector/main-rtl.css @@ -208,6 +208,7 @@ body { body.rtl div.vectorMenu { direction: rtl; } + /* OVERRIDDEN BY COMPLIANT BROWSERS */ /* @noflip */ #head div.vectorMenu h5 { float: left; @@ -218,6 +219,10 @@ body { margin-left: -1px; font-size:100% !important; } + /* IGNORED BY IE6 */ + #head div.vectorMenu > h5 { + background-image: none; + } /* OVERRIDDEN BY COMPLIANT BROWSERS */ div.vectorMenu h5 a { display: inline-block; @@ -332,6 +337,7 @@ body { } #simpleSearch label { font-size: 0.8em; + top: 0.25em; } #simpleSearch input#searchInput { margin: 0; -- 2.20.1