[css] fix popup css (login box) for IE7 stable
authorKatia Saurfelt <katia.saurfelt@logilab.fr>
Tue, 25 Jan 2011 15:16:05 +0100
branchstable
changeset 6892 e73245c14516
parent 6891 e409a012c505
child 6893 2e10337c9c2c
[css] fix popup css (login box) for IE7
web/data/cubicweb.css
web/data/cubicweb.ie.css
web/data/cubicweb.old.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;
--- 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{
--- 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 {