]> git.donarmstrong.com Git - roundcube.git/blobdiff - skins/default/mail.css
Imported Upstream version 0.2~stable
[roundcube.git] / skins / default / mail.css
index a406e423a7c00e33895cb114d5612bfe80ac4116..9590ba94783e6415f2e7a369bf73eee94f50bfe5 100644 (file)
@@ -4,12 +4,14 @@
 #messagetoolbar
 {
   position: absolute;
-  top: 45px;
+  top: 47px;
   left: 200px;
-  right: 250px;
+  right: 200px;
   height: 35px;
   white-space: nowrap;
 /*  border: 1px solid #cccccc; */
+  /* css hack for IE */
+  width: expression((parseInt(document.documentElement.clientWidth)-400)+'px');
 }
 
 #messagetoolbar a
@@ -28,7 +30,7 @@
 {
   position: absolute;
   left: 375px;
-  top: 10px;
+  top: 8px;
 }
 
 #messagetoolbar select.mboxlist option
   padding-left: 2px;
 }
 
-#listcontrols
+#markmessagemenu
 {
   position: absolute;
-  left: 200px;
-  bottom: 20px;
-  height: 16px;
-  width: 500px;
+  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;
+}
+
+ul.toolbarmenu
+{
+  margin: 0;
+  padding: 0;
+  list-style: none;
+}
+
+ul.toolbarmenu li
+{
+  font-size: 11px;
+  white-space: nowrap;
+  min-width: 130px;
+  width: auto !important;
+  width: 130px;
+}
+
+ul.toolbarmenu li a
+{
+  display: block;
+  color: #a0a0a0;
+  padding: 2px 8px 3px 12px;
+  text-decoration: none;
+}
+
+ul.toolbarmenu li a.active:hover
+{
+  background-color: #ddd;
+}
+
+#searchfilter
+{
+  position: absolute;
+  right: 18px;
+  top: 8px;
+  width: 240px;
+  text-align: right;
+}
+
+#searchfilter label
+{
   font-size: 11px;
 }
 
 #listcontrols a:visited,
 #mailboxcontrols a,
 #mailboxcontrols a:active,
-#mailboxcontrols a:visited
+#mailboxcontrols a:visited,
+td.formlinks a,
+td.formlinks a:visited
 {
   color: #999999;
   font-size: 11px;
 #listcontrols a.active:visited,
 #mailboxcontrols a.active,
 #mailboxcontrols a.active:active,
-#mailboxcontrols a.active:visited
+#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
 {
   color: #CC0000;
 }
   text-decoration: underline;
 }
 
+#listcontrols,
+#mailboxcontrols
+{
+  padding-right: 2em;
+}
+
 #messagecountbar
 {
   position: absolute;
   bottom: 16px;
-  right: 30px;
+  right: 20px;
   width: 300px;
   height: 20px;
   text-align: right;
   color: #333333;
 }
 
+#mainscreen 
+{
+  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');
+}
+
+#mailrightcontainer
+{
+  position: absolute;
+  top: 0px;
+  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');
+}
+         
 #messagepartcontainer
 {
   position: absolute;
   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;
-  top: 85px;
-  left: 200px;
-  right: 30px;
-  bottom: 40px;
+  width: 100%;
+  top: 0px;
+  bottom: 0px;
   border: 1px solid #999999;
   background-color: #F9F9F9;
   overflow: auto;
   /* css hack for IE */
-  width: expression((parseInt(document.documentElement.clientWidth)-230)+'px');
-  height: expression((parseInt(document.documentElement.clientHeight)-125)+'px');
+  height: expression(parseInt(this.parentNode.offsetHeight)+'px');
 }
 
 #mailpreviewframe
 {
   position: absolute;
-  top: 305px;
-  left: 200px;
-  right: 30px;
-  bottom: 40px;
+  width: 100%;
+  top: 205px;
+  bottom: 0px;
   border: 1px solid #999999;
   background-color: #F9F9F9;
   /* css hack for IE */
-  width: expression((parseInt(document.documentElement.clientWidth)-230)+'px');
-  height: expression((parseInt(document.documentElement.clientHeight)-135-document.getElementById('mailcontframe').offsetHeight)+'px');
+  height: expression((parseInt(this.parentNode.offsetHeight)-205)+'px');
 }
 
 #messagecontframe
 {
+  position: relative;
+  top: 0px;
+  left: 0px;
+  right: 0px;
+  bottom: 0px;
   width: 100%;
   height: 100%;
-  border: 0;
-}
-
-/*\*/
-html>body*#messagecontframe
-{
-  [height: 40%;
-  height: 40%;
-  ]height: 100%;
 }
-/**/
 
 #messagepartframe
 {
-  position: absolute;
-  top: 0px;
-  left: 0px;
-  right: 0px;
-  bottom: 0px;
-  width: auto;
-  height: auto;
+  width: 100%;
+  height: 100%;
   border: 1px solid #999999;
   background-color: #F9F9F9;
 }
@@ -169,7 +245,10 @@ html>body*#messagecontframe
   position: absolute;
   top: 10px;
   left: 220px;
+  right: 20px;
   height: 40px;
+  /* css hack for IE */
+  width: expression((parseInt(document.documentElement.clientWidth)-240)+'px');
 }
 
 #partheader table td
@@ -191,16 +270,13 @@ html>body*#messagecontframe
 
 #mailboxlist-header
 {
-  position: absolute;
-  top: 85px;
-  left: 20px;
-  width: 145px !important;
-/*  width: 162px; */
-  height: 13px;
-  padding: 3px 10px 2px 10px;
+  display: block;
+  height: 12px;
+  margin: 0;
+  padding: 3px 10px 4px 10px;
   background-color: #EBEBEB;
   background-image: url(images/listheader_aqua.gif); 
-  border: 1px solid #CCCCCC;
+  border-bottom: 1px solid #999;
   color: #333333;
   font-size: 11px;
   font-weight: bold;  
@@ -209,20 +285,20 @@ html>body*#messagecontframe
 #mailboxlist-container
 {
   position: absolute;
-  top: 105px;
-  left: 20px;
-  width: 165px;
-  bottom: 40px;
-  border: 1px solid #CCCCCC;
+  top: 0px;
+  left: 0px;
+  width: 160px;
+  bottom: 0px;
+  border: 1px solid #999;
   background-color: #F9F9F9;
   overflow: auto;
   /* css hack for IE */
-  height: expression((parseInt(document.documentElement.clientHeight)-145)+'px');
+  height: expression(parseInt(this.parentNode.offsetHeight)+'px');
 }
 
 #mailboxlist
 {
-  width: 100%;
+  position:relative;
   height: auto;
   margin: 0px;
   padding: 0px;
@@ -234,12 +310,38 @@ html>body*#messagecontframe
 
 #mailboxlist li
 {
- /* height: 18px; */
+  display: block;
+  position: relative;
   font-size: 11px;
   background: url(images/icons/folder-closed.png) no-repeat;
-  background-position: 10px 1px;
+  background-position: 5px 1px;
   border-bottom: 1px solid #EBEBEB;
-/* IE 5.5  margin-left: -16px; */
+}
+
+#mailboxlist li div
+{
+  position: absolute;
+  left: 8px !important;
+  left: -16px;
+  top: 2px;
+  width: 14px;
+  height: 16px;
+}
+
+#mailboxlist li div.collapsed,
+#mailboxlist li div.expanded
+{
+  cursor: pointer;
+}
+
+#mailboxlist li div.collapsed
+{
+  background: url(images/icons/collapsed.png) bottom right no-repeat;
+}
+
+#mailboxlist li div.expanded
+{
+  background: url(images/icons/expanded.png) bottom right no-repeat;
 }
 
 #mailboxlist li.inbox
@@ -269,30 +371,33 @@ html>body*#messagecontframe
 
 #mailboxlist li a
 {
+  cursor: default;
   display: block;
-  padding-left: 32px;
+  position: relative;
+  padding-left: 25px;
   padding-top: 2px;
   padding-bottom: 2px;
   text-decoration: none;
 }
 
-#mailboxlist li, #mailboxlist li.unread
-{  
- /* background-image: url(images/mailbox_list.gif); */
-}
-
 #mailboxlist li.unread
 {
   font-weight: bold;
 }
 
-#mailboxlist li.selected
+#mailboxlist li.virtual > a
+{
+  color: #666;
+}
+
+#mailboxlist li.selected,
+#mailboxlist li.droptarget li.selected
 {
   background-color: #929292;
-  border-bottom: 1px solid #898989;
 }
 
-#mailboxlist li.selected a
+#mailboxlist li.selected > a,
+#mailboxlist li.droptarget li.selected a
 {
   color: #FFF;
   font-weight: bold;
@@ -309,39 +414,37 @@ html>body*#messagecontframe
   padding: 0;
   margin:0;
   border-top: 1px solid #EBEBEB;  
-}
-
-#mailboxlist ul li {
   padding-left: 15px;
   background-position: 25px 1px;
-}
-
-#mailboxlist li.selected li {
   background-color: #F9F9F9;
-}
-
-#mailboxlist li.unread li {
+  color: blue;
   font-weight: normal;
 }
 
-#mailboxlist li.unread li.unread {
-  font-weight: bold;
-}
 
-#mailboxlist li.selected li a{
-  color: black;
-  font-weight: normal;
+#mailfooter
+{
+  position: absolute;
+  left: 20px;
+  right: 20px;
+  bottom: 18px;
+  height: 20px;
+  /* css hack for IE */
+  width: expression((parseInt(document.documentElement.clientWidth)-40)+'px');
 }
 
+#mailfooter table tr td
+{
+  white-space: nowrap;
+  vertical-align: bottom;
+}
 
-#mailboxcontrols
+#mailboxcontrols,
+#listcontrols,
+#countcontrols,
+#quotabox
 {
-  position: absolute;
-  left: 20px;
-  width: 160px;
-  bottom: 20px;
-  height: 16px;
-  overflow: hidden;
+  white-space: nowrap;
   font-size: 11px;
 }
 
@@ -360,7 +463,7 @@ body.messagelist
   display: table;
   table-layout: fixed;
   /* css hack for IE */
-  width: expression(document.getElementById('mailcontframe').clientWidth);
+  width: expression('auto');
 }
 
 #messagelist thead tr td
@@ -414,13 +517,20 @@ body.messagelist
   white-space: nowrap;
   text-overflow: ellipsis;
   border-bottom: 1px solid #EBEBEB;
-  cursor: pointer;
+  cursor: default;
 }
 
 #messagelist tbody tr td a
 {
   color: #000;
   text-decoration: none;
+  white-space: nowrap;
+  cursor: inherit;
+}
+
+#messagelist tbody tr td.subject a
+{
+  cursor: default;
 }
 
 #messagelist col
@@ -430,10 +540,18 @@ body.messagelist
   vertical-align: middle;
 }
 
-#messagelist tr td.icon
+#messagelist tr td.icon,
+#messagelist tr td.flag
 {
   width: 16px;
   vertical-align: middle;
+  cursor: pointer;
+}
+
+#messagelist tbody tr td.flag img:hover,
+#messagelist thead tr td.flag img
+{
+  background: url(images/icons/unflagged.png) center no-repeat;
 }
 
 #messagelist tr td.subject
@@ -444,11 +562,16 @@ body.messagelist
 
 #messagelist tr td.size
 {
-  width: 60px;
+  width: 70px;
   text-align: right;
   vertical-align: middle;
 }
 
+#messagelist thead tr td.size
+{
+  text-align: left;
+}
+
 #messagelist tr td.from,
 #messagelist tr td.to
 {
@@ -480,6 +603,12 @@ body.messagelist
   background-color: #FFFFFF;
 }
 
+#messagelist tr.flagged td,
+#messagelist tr.flagged td a
+{
+  color: #CC0000;
+}
+
 #messagelist tr.selected td
 {
   color: #FFFFFF;
@@ -502,17 +631,18 @@ body.messagelist
   color: #FFFFFF;
 }
 
-#messagelist tr.deleted td a
-{
-  color: #CCCCCC;
-}
-
 #messagelist tr.deleted td,
 #messagelist tr.deleted td a
 {
   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; }
+/**/
 
 #quotadisplay
 {
@@ -524,26 +654,45 @@ body.messagelist
 {
   vertical-align: middle;
   margin-left: 4px;
-  border: 1px solid #666666;
+  border: 1px solid #999;
 }
 
 
 /** message view styles */
 
-
 #messageframe
 {
   position: absolute;
-  top: 85px;
-  left: 200px;
-  right: 30px;
-  bottom: 40px;
-  border: 1px solid #cccccc;
-  background-color: #FFFFFF;
+  top: 0px;
+  left: 170px;
+  right: 0px;
+  bottom: 0px;
+  border: 1px solid #999;
+  background-color: #FFF;
   overflow: auto;
   /* css hack for IE */
-  /* margin-bottom: 10px; */
-  width: expression((parseInt(document.documentElement.clientWidth)-240)+'px');
+  width: expression((parseInt(this.parentNode.offsetWidth)-170)+'px');
+  height: expression((parseInt(this.parentNode.offsetHeight))+'px');
+}
+
+#messagecanvas 
+{
+  /* css hack for IE */
+  width: expression((parseInt(this.parentNode.offsetWidth)-20)+'px');
+}
+
+#printmessageframe
+{
+  position: absolute;
+  top: 0px;
+  left: 0px;
+  right: 0px;
+  bottom: 0px;
+  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');
 }
 
@@ -568,6 +717,11 @@ table.headers-table
   border: 1px solid #ccc;
 }
 
+#messageframe table.headers-table
+{
+  border-bottom: 1px solid #ccc;
+}
+
 table.headers-table tr td
 {
   font-size: 11px;
@@ -586,20 +740,30 @@ table.headers-table td.header-title
 
 table.headers-table tr td.subject
 {
-  width: 95%;
+  width: 90%;
   font-weight: bold;
 }
 
+table.headers-table tr td.all
+{
+  width: 100%;
+  color: #666666;
+  text-align: left;
+  padding-right: 10px;
+  vertical-align: center;
+  text-align: center;
+}
+
 #attachment-list
 {
   margin: 0px;
-  padding: 0px 0px 0px 68px;
-  min-height: 18px;
+  padding: 0px 0px 0px 72px;
+  min-height: 16px;
   list-style-image: none;
   list-style-type: none;
-  background: url(images/icons/attachment.png) 52px 1px no-repeat #DFDFDF;
-  /* css hack for IE */
-  height: expression(Math.min(18, parseInt(this.clientHeight))+'px');
+  background: url(images/icons/attachment.png) 60px 2px no-repeat #DFDFDF;
+  /* IE6 hack */    
+  _height: expression(Math.min(16, parseInt(document.documentElement.clientHeight))+'px');
 }
 
 #attachment-list:after
@@ -617,7 +781,8 @@ table.headers-table tr td.subject
   float: left;
   height: 18px;
   font-size: 11px;
-  padding: 2px 10px 0px 10px;
+  padding: 2px 0px 0px 15px;
+  white-space: nowrap;
 }
 
 #attachment-list li a
@@ -633,30 +798,39 @@ table.headers-table tr td.subject
 #messagebody
 {
   position:relative;
-  min-height: 300px;
-  padding-top: 10px;
   padding-bottom: 10px;
   background-color: #FFFFFF;
 }
 
 div.message-part
 {
-  padding: 8px;
-  padding-top: 10px;
-  overflow: hidden;
+  padding: 10px 8px;
+  border-top: 1px solid #ccc;
+/*  overflow: hidden; */
 }
 
-div.message-part a
+#messagebody div:first-child
+{
+  border-top: 0;
+}
+
+div.message-part a,
+div.message-htmlpart a
 {
   color: #0000CC;
 }
 
+div.message-part pre,
 div.message-part div.pre
 {
   margin: 0px;
   padding: 0px;
-  white-space: pre;
   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 blockquote
@@ -683,13 +857,28 @@ 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;
+}
+
+div.message-htmlpart div.rcmBody
+{
+  margin: 8px;
+}
+
 #remote-objects-message
 {
   display: none;
-  height: 20px;
+  margin: 8px;
   min-height: 20px;
-  margin: 8px 8px 0px 8px;
-  padding: 10px 10px 6px 46px;  
+  padding: 10px 10px 6px 46px;
 }
 
 #remote-objects-message a
@@ -703,21 +892,27 @@ div.message-part blockquote blockquote blockquote
   color: #333333;
 }
 
+#messageviewlink
+{
+  position: absolute;
+  top: 8px;
+  right: 10px;
+  width: 15px;
+  height: 15px;
+  border: 0;
+}
 
 /** message compose styles */
 
-#priority-selector
+#compose-toolbar
 {
-  position: absolute;
-  left: 280px;
-  top: 10px;
+  white-space: nowrap;
 }
 
+#priority-selector,
 #receipt-selector
 {
-  position: absolute;
-  left: 450px;
-  top: 10px;
+  padding-left: 30px;
 }
 
 #compose-container
@@ -725,46 +920,27 @@ div.message-part blockquote blockquote blockquote
   position: absolute;
   top: 90px;
   left: 200px;
-  right: 40px;
-  bottom: 40px;
-  padding: 0px;
+  right: 25px;
+  bottom: 30px;
   margin: 0px;
   /* css hack for IE */
-  width: expression(document.documentElement.clientWidth-240);
-  height: expression((parseInt(document.documentElement.clientHeight)-130)+'px');
+  width: expression((parseInt(document.documentElement.clientWidth)-220)+'px');
+  height: expression((parseInt(document.documentElement.clientHeight)-120)+'px');
 }
 
-/*
-#compose-headers
+#compose-div
 {
   position: absolute;
-  top: 70px;
-  left: 200px;
-  height: 84px;
-  border-top: 1px solid #cccccc;
-  overflow: auto;
-}
-
-#compose-headers td
-{
-  padding-top: 1px;
-  padding-bottom: 1px;
-  border-right: 1px solid #cccccc;
-  border-bottom: 1px solid #cccccc;
-}
-*/
-
-#compose-headers
-{
+  top: 110px;
+  bottom: 40px;
   width: 100%;
+  vertical-align: top;
 }
 
-/*
-#compose-headers td
+#compose-headers
 {
   width: 100%;
 }
-*/
 
 #compose-headers td.top
 {
@@ -782,29 +958,17 @@ div.message-part blockquote blockquote blockquote
   white-space: nowrap;
 }
 
-#compose-headers td.add-button
-{
-  width: 40px !important;
-  text-align: right;
-  vertical-align: bottom;
-}
-
-#compose-headers td.add-button a
-{
-  color: #666666;
-  font-size: 11px;
-  text-decoration: none;
-}
-
-#compose-headers td textarea
+#compose-body,
+#compose-headers td textarea,
+#compose-headers td input
 {
   width: 100%;
-  height: 40px;
+  width: expression('99%');
 }
 
-#compose-headers td input
+#compose-headers td textarea
 {
-  width: 100%;
+  height: 38px;
 }
 
 #compose-cc,
@@ -816,11 +980,8 @@ div.message-part blockquote blockquote blockquote
 
 #compose-body
 {
-  margin-top: 5px;
-  margin-bottom: 10px;
-  width: 99%;
-  height: 90%;
-  min-height: 280px;
+  min-height: 100px;
+  height: 100%;
   font-size: 9pt;
   font-family: "Courier New", Courier, monospace;
 }
@@ -867,14 +1028,68 @@ div.message-part blockquote blockquote blockquote
   top: 150px;
   left: 20px;
   z-index: 200;
-  padding: 8px;
+  padding: 6px;
   visibility: hidden;
   border: 1px solid #CCCCCC;
   background-color: #F9F9F9;
 }
 
-#attachment-form input.button
+#attachment-form div
+{
+  padding: 2px;
+}
+
+#attachment-form div.buttons
+{
+  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
 {
-  margin-top: 8px;
+  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;
+}
+
+font.bold
+{
+  font-weight: bold;
+}