From: Trevor Parscal Date: Tue, 10 Nov 2009 19:39:19 +0000 (+0000) Subject: Simple search auto-hiding label was rendering wrong in IE6 because IE6 was assuming... X-Git-Tag: 1.31.0-rc.0~38860 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/journal.php?a=commitdiff_plain;h=cd6f7182867a608fbb74544736e21218822e625b;p=lhc%2Fweb%2Fwiklou.git 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. --- 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;