CSS fixes re: new image code
authorMichael M Slusarz <slusarz@curecanti.org>
Thu, 15 Jan 2009 18:36:21 +0000 (11:36 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 15 Jan 2009 18:59:35 +0000 (11:59 -0700)
imp/templates/index/index.inc
imp/themes/screen-dimp.css

index e774978..c51245e 100644 (file)
@@ -279,7 +279,7 @@ function _simpleButton($id, $text, $image, $imagedir = null)
          <span class="iconImg attachmentImg" style="display:none"></span>
         </div>
         <div id="msgHeadersColl">
-         <a id="msg_newwin"><span class="iconImg newwinImg" title="<?php echo htmlspecialchars(_("Open in new window")) ?>"></span></a>
+         <a id="msg_newwin"><span class="iconImg newwinImg newwinCollapsed" title="<?php echo htmlspecialchars(_("Open in new window")) ?>"></span></a>
          <span class="date"></span>
          <span class="subject"></span>
          <span class="fromcontainer"><?php echo _("from") ?> <span class="from"></span></span>
index c3fca8b..0539728 100644 (file)
@@ -34,6 +34,7 @@ a.popdown:hover {
     border: 1px #000 solid;
     margin-right: 2px;
 }
+/* TODO? */
 #quota .used img {
     display: inline;
     float: none;
@@ -136,7 +137,7 @@ div#quota {
 }
 
 /* Message List */
-div.loading img, #folderLoading, #msgLoading {
+#folderLoading, #msgLoading {
     z-index: 1000;
     border: 1px #e0e0e0 solid;
     -moz-border-radius: 5px;
@@ -538,7 +539,7 @@ div.msgSize img {
 /* Actions */
 .dimpActions {
     background: #efefef;
-    padding: 4px 4px 4px 2px;
+    padding: 4px 4px 2px 2px;
     border: 1px silver solid;
     border-bottom: 0px;
     background: transparent url("graphics/backhead_s2.png") repeat-x;
@@ -554,8 +555,8 @@ div.msgSize img {
     padding: 2px 4px 4px 4px;
 }
 .dimpActions a img {
-    vertical-align: middle;
-    padding-right: 2px;
+    vertical-align: top;
+    padding-right: 3px;
 }
 .dimpActions a:hover {
     text-decoration: none;
@@ -580,7 +581,7 @@ div.msgSize img {
     padding-left: 4px;
     padding-right: 4px;
 }
-.dimpActions .disabled img {
+.dimpActions .disabled img, .dimpActions .disabled span.popdownImg {
     filter: alpha(opacity=25);
     -moz-opacity: .25;
     opacity: .25;
@@ -692,11 +693,6 @@ div.dimpActionsCompose {
     float: right;
     text-align: right;
 }
-#msg_newwin img {
-    float: right;
-    padding-left: 4px;
-    vertical-align: middle;
-}
 #msgHeadersColl span.subject {
     float: left;
     font-weight: bold;
@@ -1257,6 +1253,11 @@ span.tickImg {
 span.newwinImg {
     background-image: url("graphics/newwin.png");
 }
+span.newwinCollapsed {
+    float: right;
+    margin-left: 4px;
+    margin-right: 0px;
+}
 span.quotaImg {
     background-image: url("graphics/quotauncover.gif");
     width: 0px;
@@ -1303,4 +1304,5 @@ span.whitelistImg {
 }
 span.popdownImg {
     background-image: url("graphics/popdown.png");
+    margin-right: 0px;
 }