]> git.donarmstrong.com Git - roundcube.git/blobdiff - skins/default/mail.css
Imported Upstream version 0.7
[roundcube.git] / skins / default / mail.css
index bb614dbd7517dc263e1a29ab9a7a2643d9e96ad3..4dfc206741146bdb1508c52cf051e94b841ec22a 100644 (file)
-/***** RoundCube|Mail mail task styles *****/
+/***** Roundcube|Mail mail task styles *****/
 
 
 #messagetoolbar
 {
   position: absolute;
   top: 47px;
-  left: 200px;
-  right: 200px;
+  left: 205px;
+  right: 10px;
   height: 35px;
+  min-width: 650px;
   white-space: nowrap;
 /*  border: 1px solid #cccccc; */
-  /* css hack for IE */
-  width: expression((parseInt(document.documentElement.clientWidth)-400)+'px');
 }
 
 #messagetoolbar a
 {
+  display: block;
+  float: left;
   padding-right: 10px;
 }
 
-#messagetoolbar select
-{
-  font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
-  font-size: 11px;
-  color: #333333;
+#messagetoolbar a.button,
+#messagetoolbar a.buttonPas {
+  display: block;
+  float: left;
+  width: 32px;
+  height: 32px;
+  padding: 0;
+  margin: 0 5px;
+  overflow: hidden;
+  background: url(images/mail_toolbar.png) 0 0 no-repeat transparent;
+  opacity: 0.99; /* this is needed to make buttons appear correctly in Chrome */
+}
+
+#messagetoolbar a.buttonPas {
+  opacity: 0.35;
+}
+
+#messagetoolbar a.checkmailSel {
+  background-position: 0 -32px;
+}
+
+#messagetoolbar a.back {
+  background-position: -32px 0;
+}
+
+#messagetoolbar a.backSel {
+  background-position: -32px -32px;
+}
+
+#messagetoolbar a.compose {
+  background-position: -64px 0;
+}
+
+#messagetoolbar a.composeSel {
+  background-position: -64px -32px;
+}
+
+#messagetoolbar a.reply {
+  background-position: -96px 0;
+}
+
+#messagetoolbar a.replySel {
+  background-position: -96px -32px;
+}
+
+#messagetoolbar a.replyAll {
+  background-position: -128px 0;
+}
+
+#messagetoolbar a.replyAllSel {
+  background-position: -128px -32px;
+}
+
+#messagetoolbar a.forward {
+  background-position: -160px 0;
+}
+
+#messagetoolbar a.forwardSel {
+  background-position: -160px -32px;
+}
+
+#messagetoolbar a.delete {
+  background-position: -192px 0;
+}
+
+#messagetoolbar a.deleteSel {
+  background-position: -192px -32px;
+}
+
+#messagetoolbar a.markmessage {
+  background-position: -256px 0;
+}
+
+#messagetoolbar a.messagemenu {
+  background-position: -288px 0;
+}
+
+#messagetoolbar a.spellcheck {
+  background-position: -384px 0;
+}
+
+#messagetoolbar a.spellcheckSel {
+  background-position: -384px -32px;
+}
+
+#messagetoolbar a.attach {
+  background-position: -352px 0;
+}
+
+#messagetoolbar a.attachSel {
+  background-position: -352px -32px;
+}
+
+#messagetoolbar a.insertsig {
+  background-position: -448px 0;
+}
+
+#messagetoolbar a.insertsigSel {
+  background-position: -448px -32px;
+}
+
+#messagetoolbar a.savedraft {
+  background-position: -322px 0;
+}
+
+#messagetoolbar a.savedraftSel {
+  background-position: -322px -32px;
+}
+
+#messagetoolbar a.send {
+  background-position: -416px 0;
+}
+
+#messagetoolbar a.sendSel {
+  background-position: -416px -32px;
 }
 
 #messagetoolbar select.mboxlist
 {
-  position: absolute;
-  left: 375px;
-  top: 8px;
+  position: relative;
+  margin: 0 8px;
+  top: 6px;
 }
 
 #messagetoolbar select.mboxlist option
   padding-left: 15px;
 }
 
-#messagetoolbar select.mboxlist option[value="0"]
+#messagetoolbar select.mboxlist option[value=""]
 {
   padding-left: 2px;
 }
 
-#markmessagemenu
+#messagemenu li a.active:hover,
+#markmessagemenu li a.active:hover
 {
-  position: absolute;
-  top: 32px;
-  left: 90px;
-  width: auto;
-  visibility: hidden;
-  background-color: #F9F9F9;
-  border: 1px solid #CCC;
-  padding: 1px;
-  opacity: 0.9;
-  filter:alpha(opacity=90);
-  z-index: 240;
+  color: #fff;
+  background-color: #c00;
 }
 
-ul.toolbarmenu
+#messagemenu li a
 {
-  margin: 0;
-  padding: 0;
-  list-style: none;
+  background: url(images/messageactions.png) no-repeat 7px 0;
+  background-position: 7px 20px;
 }
 
-ul.toolbarmenu li
+#messagemenu li a.printlink
 {
-  font-size: 11px;
-  white-space: nowrap;
-  min-width: 130px;
-  width: auto !important;
-  width: 130px;
+  background-position: 7px 1px;
 }
 
-ul.toolbarmenu li a
+#messagemenu li a.downloadlink
 {
-  display: block;
-  color: #a0a0a0;
-  padding: 2px 8px 3px 12px;
-  text-decoration: none;
+  background-position: 7px -17px;
 }
 
-ul.toolbarmenu li a.active:hover
+#messagemenu li a.sourcelink
 {
-  background-color: #ddd;
+  background-position: 7px -35px;
 }
 
-#searchfilter
+#messagemenu li a.openlink
 {
-  position: absolute;
-  right: 18px;
-  top: 8px;
-  text-align: right;
+  background-position: 7px -53px;
 }
 
-#searchfilter label
+#messagemenu li a.editlink
 {
-  font-size: 11px;
+  background-position: 7px -71px;
 }
 
-#listcontrols a,
-#listcontrols a:active,
-#listcontrols a:visited,
-#mailboxcontrols a,
-#mailboxcontrols a:active,
-#mailboxcontrols a:visited,
-td.formlinks a,
-td.formlinks a:visited
+#markmessagemenu li a
 {
-  color: #999999;
-  font-size: 11px;
-  text-decoration: none;
+  background: url(images/messageicons.png) no-repeat;
 }
 
-#listcontrols a.active,
-#listcontrols a.active:active,
-#listcontrols a.active:visited,
-#mailboxcontrols a.active,
-#mailboxcontrols a.active:active,
-#mailboxcontrols a.active:visited,
-ul.toolbarmenu li a.active,
-ul.toolbarmenu li a.active:active,
-ul.toolbarmenu li a.active:visited,
-td.formlinks a,
-td.formlinks a:visited
+#markmessagemenu li a.readlink
 {
-  color: #CC0000;
+  background-position: 7px -51px;
 }
 
-#listcontrols a.active:hover,
-#mailboxcontrols a.active:hover
+#markmessagemenu li a.unreadlink
 {
-  text-decoration: underline;
+  background-position: 7px -119px;
 }
 
-#listcontrols,
-#mailboxcontrols
+#markmessagemenu li a.flaggedlink
 {
-  padding-right: 2em;
+  background-position: 7px -153px;
 }
 
-#messagecountbar
+#markmessagemenu li a.unflaggedlink
+{
+  background-position: 7px -136px;
+}
+
+#searchfilter
 {
-  position: absolute;
-  bottom: 16px;
-  right: 20px;
-  width: 300px;
-  height: 20px;
-  text-align: right;
   white-space: nowrap;
+  position: absolute;
+  right: 198px;
+  vertical-align: middle;
 }
 
-#messagecountbar span
+#searchfilter label
 {
   font-size: 11px;
-  color: #333333;
 }
 
-#mainscreen 
+#mailleftcontainer
 {
   position: absolute;
-  top: 85px;
-  right: 20px;
-  bottom: 40px;
-  left: 20px;
-  /* css hack for IE */
-  width: expression((parseInt(document.documentElement.clientWidth)-40)+'px');
-  height: expression((parseInt(document.documentElement.clientHeight)-125)+'px');
+  top: 0;
+  left: 0;
+  bottom: 0;
+  width: 195px;
 }
 
 #mailrightcontainer
 {
   position: absolute;
-  top: 0px;
+  top: 0;
   left: 170px;
-  bottom: 0px;
-  right: 0px;
-  /* css hack for IE */
-  width: expression((parseInt(this.parentNode.offsetWidth)-170)+'px');
-  height: expression(parseInt(this.parentNode.offsetHeight)+'px');
+  bottom: 0;
+  right: 0;
+  min-width: 600px;
+}
+
+#mailrightcontent
+{
+  position: absolute;
+  top: 0;
+  left: 0;
+  right: 0;
+  bottom: 0;
 }
-         
+
 #messagepartcontainer
 {
   position: absolute;
@@ -189,22 +265,17 @@ td.formlinks a:visited
   left: 20px;
   right: 20px;
   bottom: 20px;
-  /* css hack for IE */
-  width: expression((parseInt(document.documentElement.clientWidth)-40)+'px');
-  height: expression((parseInt(document.documentElement.clientHeight)-100)+'px');
 }
 
 #mailcontframe
 {
   position: absolute;
   width: 100%;
-  top: 0px;
-  bottom: 0px;
+  top: 0;
+  bottom: 0;
   border: 1px solid #999999;
   background-color: #F9F9F9;
-  overflow: auto;
-  /* css hack for IE */
-  height: expression(parseInt(this.parentNode.offsetHeight)+'px');
+  overflow: hidden;
 }
 
 #mailpreviewframe
@@ -215,8 +286,6 @@ td.formlinks a:visited
   bottom: 0px;
   border: 1px solid #999999;
   background-color: #F9F9F9;
-  /* css hack for IE */
-  height: expression((parseInt(this.parentNode.offsetHeight)-205)+'px');
 }
 
 #messagecontframe
@@ -228,12 +297,14 @@ td.formlinks a:visited
   bottom: 0px;
   width: 100%;
   height: 100%;
+  min-height: 100%; /* Chrome 14 bug */
 }
 
 #messagepartframe
 {
   width: 100%;
   height: 100%;
+  min-height: 100%; /* Chrome 14 bug */
   border: 1px solid #999999;
   background-color: #F9F9F9;
 }
@@ -246,8 +317,6 @@ td.formlinks a:visited
   left: 220px;
   right: 20px;
   height: 40px;
-  /* css hack for IE */
-  width: expression((parseInt(document.documentElement.clientWidth)-240)+'px');
 }
 
 #partheader table td
@@ -267,32 +336,16 @@ td.formlinks a:visited
 
 /** mailbox list styles */
 
-#mailboxlist-header
-{
-  display: block;
-  height: 12px;
-  margin: 0;
-  padding: 3px 10px 4px 10px;
-  background-color: #EBEBEB;
-  background-image: url(images/listheader_aqua.gif); 
-  border-bottom: 1px solid #999;
-  color: #333333;
-  font-size: 11px;
-  font-weight: bold;  
-}
-
 #mailboxlist-container
 {
   position: absolute;
-  top: 0px;
-  left: 0px;
-  width: 160px;
-  bottom: 0px;
+  top: 0;
+  left: 0;
+  width: 100%;
+  bottom: 0;
   border: 1px solid #999;
   background-color: #F9F9F9;
-  overflow: auto;
-  /* css hack for IE */
-  height: expression(parseInt(this.parentNode.offsetHeight)+'px');
+  overflow: hidden;
 }
 
 #mailboxlist
@@ -305,6 +358,7 @@ td.formlinks a:visited
   list-style-type: none;
   overflow: hidden;
   white-space: nowrap;
+  background-color: #FFF;
 }
 
 #mailboxlist li
@@ -312,17 +366,21 @@ td.formlinks a:visited
   display: block;
   position: relative;
   font-size: 11px;
-  background: url(images/icons/folder-closed.png) no-repeat;
-  background-position: 5px 1px;
+  background: url(images/icons/folders.png) 5px 0 no-repeat;
   border-bottom: 1px solid #EBEBEB;
 }
 
+#mailboxlist li ul li:last-child
+{
+  border-bottom: none;
+}
+
 #mailboxlist li div
 {
   position: absolute;
   left: 8px !important;
   left: -16px;
-  top: 2px;
+  top: 1px;
   width: 14px;
   height: 16px;
 }
@@ -345,27 +403,27 @@ td.formlinks a:visited
 
 #mailboxlist li.inbox
 {
-  background-image: url(images/icons/folder-inbox.png);
+  background-position: 5px -18px;
 }
 
 #mailboxlist li.drafts
 {
-  background-image: url(images/icons/folder-drafts.png);
+  background-position: 5px -37px;
 }
 
 #mailboxlist li.sent
 {
-  background-image: url(images/icons/folder-sent.png);
+  background-position: 5px -54px;
 }
 
 #mailboxlist li.junk
 {
-  background-image: url(images/icons/folder-junk.png);
+  background-position: 5px -73px;
 }
 
 #mailboxlist li.trash
 {
-  background-image: url(images/icons/folder-trash.png);
+  background-position: 5px -91px;
 }
 
 #mailboxlist li a
@@ -377,6 +435,7 @@ td.formlinks a:visited
   padding-top: 2px;
   padding-bottom: 2px;
   text-decoration: none;
+  height: 15px;
 }
 
 #mailboxlist li.unread
@@ -411,42 +470,138 @@ td.formlinks a:visited
 #mailboxlist ul {
   list-style: none;
   padding: 0;
-  margin:0;
-  border-top: 1px solid #EBEBEB;  
+  margin: 0;
+  border-top: 1px solid #EBEBEB;
   padding-left: 15px;
   background-position: 25px 1px;
-  background-color: #F9F9F9;
+  background-color: #FFF;
   color: blue;
   font-weight: normal;
 }
 
+#listcontrols
+{
+  position: relative;
+  white-space: nowrap;
+  left: 4px;
+  line-height: 22px;
+  width: auto;
+  min-width: 300px;
+}
+
+#listcontrols a,
+#listcontrols span
+{
+  display: block;
+  float: left;
+  font-size: 11px;
+}
 
-#mailfooter
+#listcontrols input
 {
-  position: absolute;
-  left: 20px;
-  right: 20px;
-  bottom: 18px;
-  height: 20px;
-  /* css hack for IE */
-  width: expression((parseInt(document.documentElement.clientWidth)-40)+'px');
+  margin-top: 6px;
 }
 
-#mailfooter table tr td
+#listcontrols a.button,
+#listcontrols a.buttonPas
 {
-  white-space: nowrap;
-  vertical-align: bottom;
+  display: block;
+  float: left;
+  width: 15px;
+  height: 15px;
+  padding: 0;
+  margin-top: 4px;
+  margin-right: 2px;
+  overflow: hidden;
+  background: url(images/mail_footer.png) 0 0 no-repeat transparent;
+  opacity: 0.99; /* this is needed to make buttons appear correctly in Chrome */
+}
+
+#listcontrols a.buttonPas
+{
+  opacity: 0.35;
+}
+
+#listcontrols a.all {
+  background-position: -30px 0;
+}
+
+#listcontrols a.allsel {
+  background-position: -30px -15px;
+}
+
+#listcontrols a.page {
+  background-position: -135px 0;
+}
+
+#listcontrols a.pagesel {
+  background-position: -135px -15px;
+}
+
+#listcontrols a.unread {
+  background-position: -45px 0;
+}
+
+#listcontrols a.unreadsel {
+  background-position: -45px -15px;
+}
+
+#listcontrols a.invert {
+  background-position: -60px 0;
+}
+
+#listcontrols a.invertsel {
+  background-position: -60px -15px;
+}
+
+#listcontrols a.none {
+  background-position: -75px 0;
+}
+
+#listcontrols a.nonesel {
+  background-position: -75px -15px;
+}
+
+#listcontrols a.expand-all {
+  background-position: -90px 0;
+}
+
+#listcontrols a.expand-allsel {
+  background-position: -90px -15px;
+}
+
+#listcontrols a.collapse-all {
+  background-position: -105px 0;
 }
 
-#mailboxcontrols,
-#listcontrols,
-#countcontrols,
-#quotabox
+#listcontrols a.collapse-allsel {
+  background-position: -105px -15px;
+}
+
+#listcontrols a.expand-unread {
+  background-position: -120px 0;
+}
+
+#listcontrols a.expand-unreadsel {
+  background-position: -120px -15px;
+}
+
+#countcontrols
 {
+  position: absolute;
+  top: 4px;
+  right: 4px;
+  min-width: 25em;
   white-space: nowrap;
   font-size: 11px;
 }
 
+#countcontrols a.button,
+#countcontrols a.buttonPas
+{
+  float: right;
+}
+
 
 /** message list styles */
 
@@ -461,22 +616,16 @@ body.messagelist
   width: 100%;
   display: table;
   table-layout: fixed;
-  /* css hack for IE */
-  width: expression('auto');
 }
 
 #messagelist thead tr td
 {
   height: 20px;
-  padding-top: 0px;
-  padding-bottom: 0px;
-  padding-left: 2px;
-  padding-right: 4px;
+  padding: 0 4px 0 2px;
   vertical-align: middle;
   border-bottom: 1px solid #999999;
   color: #333333;
-  background-color: #EBEBEB;
-  background-image: url(images/listheader_aqua.gif); 
+  background: url(images/listheader.gif) top left repeat-x #CCC;
   font-size: 11px;
   font-weight: bold;
 }
@@ -484,17 +633,17 @@ body.messagelist
 #messagelist thead tr td.sortedASC,
 #messagelist thead tr td.sortedDESC
 {
-  background-image: url(images/listheader_dark.gif); 
+  background-position: 0 -26px;
 }
 
 #messagelist thead tr td.sortedASC a
 {
-  background: url(images/sort_asc.gif) top right no-repeat;
+  background: url(images/icons/sort.gif) right 0 no-repeat;
 }
 
 #messagelist thead tr td.sortedDESC a
 {
-  background: url(images/sort_desc.gif) top right no-repeat;
+  background: url(images/icons/sort.gif) right -14px no-repeat;
 }
 
 #messagelist thead tr td a
@@ -506,15 +655,26 @@ body.messagelist
   text-decoration: none;
 }
 
+#messagelist thead tr td.size
+{
+  text-align: left;
+}
+
+#messagelist thead tr td.subject
+{
+  padding-left: 18px;
+}
+
 #messagelist tbody tr td
 {
-  height: 16px;
-  padding: 2px;
-  padding-right: 4px;
+  height: 20px;
+  padding: 0;
   font-size: 11px;
   overflow: hidden;
+  vertical-align: middle;
   white-space: nowrap;
   text-overflow: ellipsis;
+  -o-text-overflow: ellipsis;
   border-bottom: 1px solid #EBEBEB;
   cursor: default;
 }
@@ -527,91 +687,246 @@ body.messagelist
   cursor: inherit;
 }
 
-#messagelist tbody tr td.subject a
+#messagelist td img
 {
-  cursor: default;
+  vertical-align: middle;
+  display: inline-block;
 }
 
-#messagelist col
+#messagelist tbody tr td.flag,
+#messagelist tbody tr td.status,
+#messagelist tbody tr td.subject span.status
 {
-  display: table-column;
-  text-align: left;
-  vertical-align: middle;
+  cursor: pointer;
 }
 
-#messagelist tr td.icon,
-#messagelist tr td.flag
+#messagelist tr td.flag span,
+#messagelist tr td.status span,
+#messagelist tr td.attachment span,
+#messagelist tr td.priority span
 {
-  width: 16px;
+  display: block;
+  width: 15px;
+}
+
+#messagelist tr td div.collapsed,
+#messagelist tr td div.expanded,
+#messagelist tr td.threads div.listmenu,
+#messagelist tr td.attachment span.attachment,
+#messagelist tr td.attachment span.report,
+#messagelist tr td.priority span.priority,
+#messagelist tr td.priority span.prio1,
+#messagelist tr td.priority span.prio2,
+#messagelist tr td.priority span.prio3,
+#messagelist tr td.priority span.prio4,
+#messagelist tr td.priority span.prio5,
+#messagelist tr td.flag span.flagged,
+#messagelist tr td.flag span.unflagged,
+#messagelist tr td.flag span.unflagged:hover,
+#messagelist tr td.status span.status,
+#messagelist tr td.status span.msgicon,
+#messagelist tr td.status span.deleted,
+#messagelist tr td.status span.unread,
+#messagelist tr td.status span.unreadchildren,
+#messagelist tr td.subject span.msgicon,
+#messagelist tr td.subject span.deleted,
+#messagelist tr td.subject span.unread,
+#messagelist tr td.subject span.replied,
+#messagelist tr td.subject span.forwarded,
+#messagelist tr td.subject span.unreadchildren
+{
+  display: inline-block;
   vertical-align: middle;
-  cursor: pointer;
+  height: 17px;
+  width: 15px;
+  background: url(images/messageicons.png) center no-repeat;
 }
 
-#messagelist tbody tr td.flag img:hover,
-#messagelist thead tr td.flag img
+#messagelist tr td.attachment span.attachment
 {
-  background: url(images/icons/unflagged.png) center no-repeat;
+  background-position: 0 -170px;
 }
 
-#messagelist tr td.subject
+#messagelist tr td.attachment span.report
 {
-  overflow: hidden;
-  vertical-align: middle;
+  background-position: 0 -255px;
 }
 
-#messagelist tr td.size
+#messagelist tr td.priority span.priority
 {
-  width: 70px;
-  text-align: right;
-  vertical-align: middle;
+  background-position: 0 -309px;
 }
 
-#messagelist thead tr td.size
+#messagelist tr td.priority span.prio5
 {
-  text-align: left;
+  background-position: 0 -358px;
 }
 
-#messagelist tr td.from,
-#messagelist tr td.to
+#messagelist tr td.priority span.prio4
 {
-  width: 180px;
-  vertical-align: middle;
+  background-position: 0 -340px;
 }
 
-#messagelist tr td.date
+#messagelist tr td.priority span.prio3
 {
-  width: 118px;
-  vertical-align: middle;
+  background-position: 0 -324px;
 }
 
-#messagelist tr.message
+#messagelist tr td.priority span.prio2
 {
-  background-color: #FFFFFF;
+  background-position: 0 -309px;
 }
 
-/*
-#messagelist tr.odd
+#messagelist tr td.priority span.prio1
 {
-  background-color: #F9F9F9;
+  background-position: 0 -290px;
 }
-*/
 
-#messagelist tr.unread
+#messagelist tr td.flag span.flagged
 {
-  font-weight: bold;
-  background-color: #FFFFFF;
+  background-position: 0 -153px;
 }
 
-#messagelist tr.flagged td,
-#messagelist tr.flagged td a
+#messagelist tr td.flag span.unflagged:hover
 {
-  color: #CC0000;
+  background-position: 0 -136px;
 }
 
-#messagelist tr.selected td
+#messagelist tr td.subject span.msgicon,
+#messagelist tr td.subject span.unreadchildren
 {
-  color: #FFFFFF;
-  background-color: #CC3333;
+  background-position: 0 -51px;
+  margin: 0 2px;
+}
+
+#messagelist tr td.subject span.replied
+{
+  background-position: 0 -85px;
+}
+
+#messagelist tr td.subject span.forwarded
+{
+  background-position: 0 -68px;
+}
+
+#messagelist tr td.subject span.replied.forwarded
+{
+  background-position: 0 -102px;
+}
+
+#messagelist tr td.status span.msgicon,
+#messagelist tr td.flag span.unflagged,
+#messagelist tr td.status span.unreadchildren
+{
+  background-position: 0 17px; /* no icon */
+}
+
+#messagelist tr td.status span.msgicon:hover
+{
+  background-position: 0 -272px;
+}
+
+#messagelist tr td.status span.deleted,
+#messagelist tr td.subject span.deleted
+{
+  background-position: 0 -187px;
+}
+
+#messagelist tr td.status span.status,
+#messagelist tr td.status span.unread,
+#messagelist tr td.subject span.unread
+{
+  background-position: 0 -119px;
+}
+
+#messagelist tr td div.collapsed
+{
+  background-position: 0 -221px;
+  cursor: pointer;
+}
+
+#messagelist tr td div.expanded
+{
+  background-position: 0 -204px;
+  cursor: pointer;
+}
+
+#messagelist tr td.threads div.listmenu
+{
+  background-position: 0 -238px;
+  cursor: pointer;
+}
+
+#messagelist tbody tr td.subject
+{
+  width: 99%;
+}
+
+#messagelist tbody tr td.subject a
+{
+  cursor: default;
+  vertical-align: middle; /* #1487091 */
+}
+
+/* thread parent message with unread children */
+#messagelist tbody tr.unroot td.subject a
+{
+  text-decoration: underline;
+}
+
+#messagelist tr td.attachment,
+#messagelist tr td.threads,
+#messagelist tr td.status,
+#messagelist tr td.flag,
+#messagelist tr td.priority
+{
+  width: 17px;
+  padding: 0 0 0 2px;
+}
+
+#messagelist tr td.size
+{
+  width: 60px;
+  text-align: right;
+  padding: 0 2px;
+}
+
+#messagelist tr td.from,
+#messagelist tr td.to,
+#messagelist tr td.cc,
+#messagelist tr td.replyto
+{
+  width: 180px;
+  padding: 0 2px;
+}
+
+#messagelist tr td.date
+{
+  width: 118px;
+  padding: 0 2px;
+}
+
+#messagelist tr.message
+{
+  background-color: #FFF;
+}
+
+#messagelist tr.unread
+{
+  font-weight: bold;
+  background-color: #FFFFFF;
+}
+
+#messagelist tr.flagged td,
+#messagelist tr.flagged td a
+{
+  color: #CC0000;
+}
+
+#messagelist tr.selected td
+{
+  color: #FFFFFF;
+  background-color: #CC3333;
 }
 
 #messagelist tr.unfocused td
@@ -636,68 +951,79 @@ body.messagelist
   color: #CCCCCC;
 }
 
-/* safari hacks \*/
-html>body*#messagelist[id$="messagelist"]:not([class="none"]) { width: 99.8%; }
-html>body*#messagelist[id$="messagelist"]:not([class="none"]) tr td.flag,
-html>body*#messagelist[id$="messagelist"]:not([class="none"]) tr td.icon { width: 20px; }
-html>body*input[type$="file"]:not([class="none"]) { background-color: transparent; border: 0; }
-/**/
+#listmenu
+{
+  padding: 6px;
+}
 
-#quotadisplay
+#listmenu legend
 {
-  color: #666666;
-  font-size: 11px;
+  color: #999999;
 }
 
-#quotadisplay img
+#listmenu fieldset
 {
-  vertical-align: middle;
-  margin-left: 4px;
-  border: 1px solid #999;
+  border: 1px solid #999999;
+  margin: 0 5px;
+  float: left;
 }
 
+#listmenu div
+{
+  padding: 8px 0 3px 0;
+  text-align: center;
+  clear: both;
+}
 
-/** message view styles */
+/***** tree indicators *****/
 
-#messageframe
+td span.branch div
 {
-  position: absolute;
-  top: 0px;
-  left: 170px;
-  right: 0px;
-  bottom: 0px;
-  border: 1px solid #999;
-  background-color: #FFF;
-  overflow: auto;
-  /* css hack for IE */
-  width: expression((parseInt(this.parentNode.offsetWidth)-170)+'px');
-  height: expression((parseInt(this.parentNode.offsetHeight))+'px');
+  float: left;
+  height: 16px;
+}
+
+td span.branch div.tree
+{
+  height: 17px;
+  width: 15px;
+  background: url(images/tree.gif) 0px 0px no-repeat;
 }
 
-#messagecanvas 
+td span.branch div.l1
 {
-  /* css hack for IE */
-  width: expression((parseInt(this.parentNode.offsetWidth)-20)+'px');
+  background-position: 0px 0px; /* L */
 }
 
-#printmessageframe
+td span.branch div.l2
+{
+  background-position: -30px 0px; /* | */
+}
+
+td span.branch div.l3
+{
+  background-position: -15px 0px; /* |- */
+}
+
+
+/** message view styles */
+
+#messageframe
 {
   position: absolute;
-  top: 0px;
-  left: 0px;
-  right: 0px;
-  bottom: 0px;
+  top: 0;
+  left: 180px;
+  right: 0;
+  bottom: 0;
   border: 1px solid #999;
   background-color: #FFF;
   overflow: auto;
-  /* css hack for IE */
-  width: expression((parseInt(document.documentElement.clientWidth)-220)+'px');
-  height: expression((parseInt(document.documentElement.clientHeight)-125)+'px');
+  z-index: 1;
 }
 
 div.messageheaderbox
 {
-  margin: 6px 8px 0px 8px;
+  margin: -14px 8px 0px 8px;
   border: 1px solid #ccc;
 }
 
@@ -705,20 +1031,14 @@ table.headers-table
 {
   width: 100%;
   background-color: #EBEBEB;
-  table-layout: fixed;
 }
 
+#messagebody #full-headers,
 #messagebody table.headers-table
 {
   width: auto;
   margin: 6px 8px;
   background-color: #F4F4F4;
-  border: 1px solid #ccc;
-}
-
-#messageframe table.headers-table
-{
-  border-bottom: 1px solid #ccc;
 }
 
 table.headers-table tr td
@@ -727,42 +1047,49 @@ table.headers-table tr td
   border-bottom:1px solid #FFFFFF;
 }
 
-table.headers-table td.header-title
+table.headers-table tr td.header-title
 {
-  width: 80px;
+  width: 1%;
   color: #666666;
   font-weight: bold;
   text-align: right;
   white-space: nowrap;
-  padding-right: 4px;
+  padding: 0 4px 0 8px;
+}
+
+table.headers-table tr td.header
+{
+  width: 99%;
 }
 
 table.headers-table tr td.subject
 {
-  width: 90%;
   font-weight: bold;
 }
 
-table.headers-table tr td.all
+table.headers-table tr td.header span
 {
-  width: 100%;
-  color: #666666;
-  text-align: left;
-  padding-right: 10px;
-  vertical-align: center;
-  text-align: center;
+  white-space: nowrap;
 }
 
 #attachment-list
 {
-  margin: 0px;
-  padding: 0px 0px 0px 72px;
+  margin: 0;
+  padding: 0 4px 0 8px;
   min-height: 16px;
   list-style-image: none;
   list-style-type: none;
-  background: url(images/icons/attachment.png) 60px 2px no-repeat #DFDFDF;
-  /* IE6 hack */    
-  _height: expression(Math.min(16, parseInt(document.documentElement.clientHeight))+'px');
+  background: url(images/icons/attachment.png) 4px 2px no-repeat #DFDFDF;
+}
+
+#messageframe #attachment-list
+{
+  border-bottom: 1px solid #ccc;
+}
+
+.messageheaderbox #attachment-list
+{
+  border-top: 1px solid #ccc;
 }
 
 #attachment-list:after
@@ -801,7 +1128,8 @@ table.headers-table tr td.all
   background-color: #FFFFFF;
 }
 
-div.message-part
+div.message-part,
+div.message-htmlpart
 {
   padding: 10px 8px;
   border-top: 1px solid #ccc;
@@ -820,16 +1148,20 @@ div.message-htmlpart a
 }
 
 div.message-part pre,
+div.message-htmlpart pre,
 div.message-part div.pre
 {
   margin: 0px;
   padding: 0px;
   font-family: monospace;
   white-space: -moz-pre-wrap !important;
-  white-space: -o-pre-wrap !important;
   white-space: pre-wrap !important;
   white-space: pre;
-  word-wrap: break-word; /* IE (and Safari) */
+}
+
+div.message-part span.sig
+{
+  color: #666666;
 }
 
 div.message-part blockquote
@@ -856,12 +1188,6 @@ div.message-part blockquote blockquote blockquote
   border-right: 2px solid #bb0000;
 }
 
-body.iframe 
-{
-  /* css hack for IE */
-  width: expression((parseInt(document.documentElement.clientWidth))+'px');
-}
-
 body.iframe div.message-htmlpart
 {
   margin: 8px;
@@ -872,21 +1198,20 @@ div.message-htmlpart div.rcmBody
   margin: 8px;
 }
 
-#remote-objects-message
+#message-objects div
 {
-  display: none;
   margin: 8px;
   min-height: 20px;
   padding: 10px 10px 6px 46px;
 }
 
-#remote-objects-message a
+#message-objects div a
 {
   color: #666666;
   padding-left: 10px;
 }
 
-#remote-objects-message a:hover
+#message-objects div a:hover
 {
   color: #333333;
 }
@@ -901,39 +1226,97 @@ div.message-htmlpart div.rcmBody
   border: 0;
 }
 
-/** message compose styles */
+#full-headers
+{
+  color: #666666;
+  text-align: center;
+  padding: 2px 6px;
+  border-bottom: 1px solid #ccc;
+  background-color: #EBEBEB;
+}
 
-#compose-toolbar
+.messageheaderbox #full-headers
 {
-  white-space: nowrap;
+  border-bottom: 0;
+}
+
+div.more-headers
+{
+  cursor: pointer;
+  height: 8px;
+  border-bottom: 0;
+}
+
+div.show-headers
+{
+  background: url(images/icons/down_small.gif) no-repeat center;
+}
+
+div.hide-headers
+{
+  background: url(images/icons/up_small.gif) no-repeat center;
 }
 
-#priority-selector,
-#receipt-selector
+#headers-source
 {
-  padding-left: 30px;
+  margin: 0 0 2px 0;
+  padding: 0.5em;
+  height: 145px;
+  background: white;
+  overflow: auto;
+  font-size: 11px;
+  border: 1px solid #999999;
+  display: none;
+  text-align: left;
+  color: #333;
 }
 
+
+/** message compose styles */
+
 #compose-container
 {
   position: absolute;
-  top: 90px;
-  left: 200px;
-  right: 25px;
-  bottom: 30px;
-  margin: 0px;
-  /* css hack for IE */
-  width: expression((parseInt(document.documentElement.clientWidth)-220)+'px');
-  height: expression((parseInt(document.documentElement.clientHeight)-120)+'px');
+  top: 0;
+  left: 185px;
+  right: 0;
+  bottom: 0;
+  margin: 0;
 }
 
 #compose-div
 {
   position: absolute;
-  top: 110px;
-  bottom: 40px;
+  top: 85px;
+  bottom: 0;
+  margin: 0;
   width: 100%;
-  vertical-align: top;
+}
+
+#compose-div .boxfooter
+{
+  height: 22px;
+  background: none;
+  border-top: 0;
+}
+
+#compose-div .boxlistcontent
+{
+  bottom: 23px;
+}
+
+#compose-body
+{
+  position: absolute;
+  left: 0;
+  right: 0;
+  top: 0;
+  bottom: 0;
+  margin: 0;
+  font-size: 9pt;
+  font-family: monospace;
+  border: 1px solid #999;
+  resize: none;
 }
 
 #compose-headers
@@ -941,6 +1324,12 @@ div.message-htmlpart div.rcmBody
   width: 100%;
 }
 
+#compose-headers td.editfield
+{
+  padding-right: 8px;
+  width: 95%;
+}
+
 #compose-headers td.top
 {
   vertical-align: top;
@@ -950,55 +1339,78 @@ div.message-htmlpart div.rcmBody
 #compose-subject td.title
 {
   width: 80px !important;
-  color: #666666;
   font-size: 11px;
   font-weight: bold;
   padding-right: 10px;
   white-space: nowrap;
+  color: #666;
 }
 
-#compose-body,
 #compose-headers td textarea,
 #compose-headers td input
 {
+  resize: none;
   width: 100%;
-  width: expression('99%');
+  border: 1px solid #999;
 }
 
 #compose-headers td textarea
 {
-  height: 38px;
+  height: 32px;
+}
+
+input.from_address
+{
+  width: 80% !important;
 }
 
 #compose-cc,
 #compose-bcc,
-#compose-replyto
+#compose-replyto,
+#compose-followupto
 {
   display: none;
 }
 
-#compose-body
+#compose-editorfooter
 {
-  min-height: 100px;
-  height: 100%;
-  font-size: 9pt;
-  font-family: "Courier New", Courier, monospace;
+  position: absolute;
+  right: 0;
+  bottom: 0;
+  text-align: right;
+}
+
+#compose-editorfooter label
+{
+  font-size: 11px;
+  font-weight: bold;
+  color: #666;
+}
+
+#compose-buttons
+{
+  position: absolute;
+  left: 0;
+  bottom: 0;
+  width: auto;
 }
 
 #compose-attachments
 {
   position: absolute;
-  top: 100px;
-  left: 20px;
-  width: 160px;
+  top: 0;
+  left: 0;
+  bottom: 0;
+  width: 175px;
+  border: 1px solid #999;
+  background-color: #F9F9F9;
 }
 
 #compose-attachments ul
 {
   margin: 0px;
   padding: 0px;
-  border: 1px solid #CCCCCC;
-  background-color: #F9F9F9;
+  background-color: #FFF;
   list-style-image: none;
   list-style-type: none;
 }
@@ -1013,24 +1425,19 @@ div.message-htmlpart div.rcmBody
   border-bottom: 1px solid #EBEBEB;
   white-space: nowrap;
   overflow: hidden;
+  text-overflow: ellipsis;
+  -o-text-overflow: ellipsis;
 }
 
-#attachment-title
+#compose-attachments ul li img
 {
-  background: url(images/icons/attachment.png) top left no-repeat;
-  padding: 0px 0px 3px 22px;
+  padding-right: 2px;
+  vertical-align: middle;
 }
 
 #attachment-form
 {
-  position: absolute;
-  top: 150px;
-  left: 20px;
-  z-index: 200;
   padding: 6px;
-  visibility: hidden;
-  border: 1px solid #CCCCCC;
-  background-color: #F9F9F9;
 }
 
 #attachment-form div
@@ -1043,52 +1450,18 @@ div.message-htmlpart div.rcmBody
   margin-top: 4px;
 }
 
-table.headers-table tr td.more-headers
-{
-  cursor: pointer;
-  width: 100%;
-  height: 8px;
-  border-bottom: 0;
-}
-
-table.headers-table tr td.all
-{
-  padding: 2px 6px 4px 6px;
-  border-bottom: 0;
-}
-
-td.show-headers
+#quota
 {
-  background: url(images/icons/down_small.gif) no-repeat center;
-}
-
-td.hide-headers
-{
-  background: url(images/icons/up_small.gif) no-repeat center;
-}
-
-#all-headers
-{
-  height: 150px;
-  display: none;
-}
-
-#headers-source
-{
-  margin: 0 5px;
-  padding: 0.5em;
-  height: 145px;
-  background: white;
-  overflow: auto;
-  font-size: 11px;
-  white-space: nowrap;
-  border: 1px solid #999999;
-  display: none;
-  text-align: left;
-  color: #333;
+  position: absolute;
+  top: 3px;
+  right: 8px;
+  width: 100px;
 }
 
-font.bold
+#quotaimg
 {
-  font-weight: bold;
+  position: absolute;
+  top: 3px;
+  right: 6px;
+  z-index: 101;
 }