Fix inline-block/contextmenu display on IE and FF2
authorMichael M Slusarz <slusarz@curecanti.org>
Fri, 6 Mar 2009 06:51:57 +0000 (23:51 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Fri, 6 Mar 2009 07:51:39 +0000 (00:51 -0700)
imp/js/src/ContextSensitive.js
imp/themes/ie6_or_less-dimp.css
imp/themes/ie6_or_less.css
imp/themes/ie7-dimp.css
imp/themes/ie7.css
imp/themes/screen-dimp.css
imp/themes/screen.css

index 3b5d0b9..a38ce4b 100644 (file)
@@ -261,7 +261,7 @@ var ContextSensitive = Class.create({
             }
             this.submenus.set(id, submenu);
             $(submenu).addClassName('contextMenu');
-            $(id).addClassName('contextSubmenu').insert({ top: new Element('SPAN', { className: 'contextExpand' }) });
+            $(id).addClassName('contextSubmenu');
         }
     },
 
index b986a3d..4ea81ab 100644 (file)
@@ -61,3 +61,9 @@ form#compose {
 .htmlMessage ul li, .htmlMessage ol li {
     margin-left: 2em;
 }
+
+/* Fixes broken inline-block. */
+div.msgStatus div, #msgHeadersContent .subject span, span.iconImg, span.contextImg, span.spellcheckPopdownImg {
+    zoom: 1;
+    *display: inline;
+}
index 4f6a2eb..803f272 100644 (file)
@@ -6,3 +6,9 @@
 .htmlMessage ul li, .htmlMessage ol li {
     margin-left: 2em;
 }
+
+/* Fixes broken inline-block. */
+span.spellcheckPopdownImg, span.threadImg, .downloadAtc, .downloadZipAtc, .saveImgAtc, .stripAtc {
+    zoom: 1;
+    *display: inline;
+}
index 0ce5452..051dc47 100644 (file)
@@ -53,3 +53,9 @@ form#compose {
 .htmlMessage ul li , .htmlMessage ol li {
     margin-left: 2em;
 }
+
+/* Fixes broken inline-block. */
+div.msgStatus div, #msgHeadersContent .subject span, span.iconImg, span.contextImg, span.spellcheckPopdownImg {
+    zoom: 1;
+    *display: inline;
+}
index 22efa61..c49656f 100644 (file)
@@ -6,3 +6,9 @@
 .htmlMessage ul li, .htmlMessage ol li {
     margin-left: 2em;
 }
+
+/* Fixes broken inline-block. */
+span.spellcheckPopdownImg, span.threadImg, .downloadAtc, .downloadZipAtc, .saveImgAtc, .stripAtc {
+    zoom: 1;
+    *display: inline;
+}
index c1f6b2d..1f5c6a8 100644 (file)
@@ -111,6 +111,7 @@ div.msgStatus {
     width: 8%;
 }
 div.msgStatus div, #msgHeadersContent .subject span {
+    display: -moz-inline-stack;
     display: inline-block;
     padding-right: 2px;
     width: 16px;
@@ -809,16 +810,13 @@ span.attachName:hover {
     color: #fff;
     cursor: pointer;
 }
-.context a span.contextExpand {
-    float: right;
-    width: 16px;
-    height: 16px;
-    margin-top: -1px;
-    background: url("graphics/popright.png") no-repeat;
-}
 .context div.sep {
     border-bottom: 1px #d4d4d4 solid;
 }
+.contextSubmenu {
+    background: url("graphics/popright.png") 95% 50% no-repeat;
+    padding-left: 16px;
+}
 
 /* Email Addresses. */
 a.address {
@@ -965,6 +963,7 @@ a.address:hover img {
 
 /* Images */
 span.iconImg, span.contextImg, span.spellcheckPopdownImg {
+    display: -moz-inline-stack;
     display: inline-block;
     height: 16px;
     width: 16px;
index 08e4cbb..b0ee19a 100644 (file)
@@ -345,6 +345,7 @@ table.multipleMsgs td.msgheader {
 span.spellcheckPopdownImg {
     cursor: pointer;
     background: url("graphics/popdown.png") no-repeat center center;
+    display: -moz-inline-stack;
     display: inline-block;
     height: 16px;
     width: 16px;
@@ -440,6 +441,7 @@ ul.nav-audio {
 span.threadImg {
     height: 20px;
     width: 20px;
+    display: -moz-inline-stack;
     display: inline-block;
     vertical-align: middle;
 }
@@ -513,6 +515,7 @@ span.threadImg8 {
 }
 
 .downloadAtc, .downloadZipAtc, .saveImgAtc, .stripAtc {
+    display: -moz-inline-stack;
     display: inline-block;
     height: 16px;
     width: 16px;