# HG changeset patch # User Katia Saurfelt # Date 1295964965 -3600 # Node ID e73245c14516e6c1ace3212f6d718e8c3a0fc5d2 # Parent e409a012c505f52638d535fd39321c18fa6d9d01 [css] fix popup css (login box) for IE7 diff -r e409a012c505 -r e73245c14516 web/data/cubicweb.css --- a/web/data/cubicweb.css Wed Jan 26 09:32:34 2011 +0100 +++ b/web/data/cubicweb.css Tue Jan 25 15:16:05 2011 +0100 @@ -221,7 +221,6 @@ table#header { background: %(headerBgColor)s url("banner.png") repeat-x top left; - text-align: left; width: 100%; } @@ -233,10 +232,6 @@ color: %(defaultColor)s; } -table#header td#headtext { - float: left; -} - table#header td#header-right { padding-top: 1em; float: right; @@ -253,10 +248,6 @@ } /* Popup on login box and userActionBox */ -div.popupWrapper { - position: relative; -} - div.popup { position: absolute; background: #fff; diff -r e409a012c505 -r e73245c14516 web/data/cubicweb.ie.css --- a/web/data/cubicweb.ie.css Wed Jan 26 09:32:34 2011 +0100 +++ b/web/data/cubicweb.ie.css Tue Jan 25 15:16:05 2011 +0100 @@ -4,10 +4,20 @@ margin-top: 0px; } +table#header td#header-right div.popupWrapper { + position: relative; + z-index: 400; +} + +table#header td#header-right{ + text-align:right; +} + /* quick and dirty solution for pop to be correctly displayed on right edge of window */ div.popupWrapper{ direction:rtl; + text-align:right; } div#rqlinput input.rqlsubmit{ diff -r e409a012c505 -r e73245c14516 web/data/cubicweb.old.css --- a/web/data/cubicweb.old.css Wed Jan 26 09:32:34 2011 +0100 +++ b/web/data/cubicweb.old.css Tue Jan 25 15:16:05 2011 +0100 @@ -228,7 +228,6 @@ table#header { background: #ff7700 url("banner.png") left top repeat-x; - text-align: left; width: 100%; } @@ -240,10 +239,6 @@ color: #000; } -table#header td#headtext { - float: left; -} - table#header td#header-right { padding-top: 1em; float: right; @@ -262,12 +257,16 @@ /* Popup on login box and userActionBox */ +.popupWrapper{ + position:relative; +} + div.popup { position: absolute; background: #fff; border: 1px solid black; text-align: left; - z-index:400; + z-index: 400; } div.popup ul li a {