update both themes to suite defaut (classic) changes up to 2010-04-12
[themes.git] / EarlyBlue / messenger / messageHeader.css
index 97ff2520c373a5b63ffe6b7b14477752155e1e08..7135678f8f240942c9372995e0b6bb6c9a9ea1e2 100644 (file)
@@ -13,7 +13,7 @@
  *
  * The Original Code is mozilla.org code.
  *
- * The Initial Developer of the Original Code is 
+ * The Initial Developer of the Original Code is
  * Netscape Communications Corporation.
  * Portions created by the Initial Developer are Copyright (C) 1998
  * the Initial Developer. All Rights Reserved.
@@ -24,7 +24,7 @@
  *   Robert Kaiser <KaiRo@KaiRo.at>
  *
  * Alternatively, the contents of this file may be used under the terms of
- * either the GNU General Public License Version 2 or later (the "GPL"), or 
+ * either the GNU General Public License Version 2 or later (the "GPL"), or
  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  * in which case the provisions of the GPL or the LGPL are applicable instead
  * of those above. If you wish to allow use of your version of this file only
  * ***** END LICENSE BLOCK ***** */
 
 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
-@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for XUL elements */
 
 /* ===== messageHeader.css ==============================================
   == Styles for the header toolbars of a mail message.
   ======================================================================= */
 
+/* ::::: msg header toolbars ::::: */
+
 #collapsedHeaderView,
-#expandedHeaderView
-  {
-    min-width             : 1px;
-  }
-
-mail-headerfield,
-mail-toggle-headerfield
-  { 
-    padding               : 0px; 
-    padding-left          : 1px; 
-    padding-right         : 1px; 
-  }
-
-.buttonTopSpacer     
-  { 
-    height                : 0.3em; 
-  }
-
-.buttonSpacer        
-  { 
-    width                 : 0.5em; 
-  }
-
-.headerValueBox 
-  { 
-    width                 : 7.7em;
-    -moz-box-pack         : end;
-  }
-
-.headerBox              
-  { 
-    overflow              : hidden; 
-    min-width             : 50px;
-  }
-
-#addToAddressBookButton 
-  {
-         list-style-image      : url("chrome://messenger/skin/addtoab.gif");
-    min-height            : 20px;
-    margin                : 0px;
-  }
+#expandedHeaderView {
+  min-width: 1px;
+}
+
+/* ::::: msg header buttons ::::: */
 
 #expandedAttachmentBox {
   width: 20em;
   height: 0px;
-  list-style-image: url("chrome://messenger/skin/attach.gif");
+  list-style-image: url("chrome://messenger/skin/icons/attach.gif");
 }
 
-#attachmentText
-{
+#attachmentText {
   font-weight: bold;
 }
 
-#attachmentTree {
-  margin: 3px;
-  marginleft: 0px;
-  height: 0px;
-  width: 20em;
+/* ::::: msg header captions ::::: */
+
+#msgHeaderView {
+  border-left: none;
+  border-right: none;
 }
 
-.emailDisplayImage
-  {
-    -moz-box-pack: end;
-  }
-
-.emailDisplayButton 
-  {
-    color                 : #336699;
-    cursor                : pointer;
-    margin                : 0px;
-    padding               : 0px; 
-    padding-left          : 1px; 
-    padding-right         : 1px; 
-  }
-
-.emailDisplayButton:hover
-  {
-    color                 : black;
-    background-color      : #336699;
-  }
-
-.showMoreAddressesButton 
-{
-  list-style-image      : url("chrome://global/skin/twisty-closed.gif");
-}
-
-.showFewerAddressesButton 
-{
-  list-style-image      : url("chrome://global/skin/twisty-open.gif");
-}
-
-.headerValue 
-  { 
-    white-space           : normal; 
-    min-width             : 50px; 
-  }
-
-.subjectvalue
- {
-  font-weight             : bold;
- }
-
-.headerdisplayname 
-  { 
-    font-weight           : bold; 
-    margin-right          : 0.5em; 
-    margin-left           : 0.5em; 
-    min-height: 16px;
-  }
-
-#msgHeaderView
-  {
-    border-left           : none;
-    border-right          : none;
-    border-bottom         : 1px solid #9999CC;
-  }
-       
-.expandHeaderViewButton {
-  list-style-image: url("chrome://global/skin/twisty-open.gif");
-  margin-left: .5em;
-  margin-right: .5em;
+#collapsedHeaderView,
+#expandedHeaderView {
+  border-bottom: 1px solid #9999CC;
+  min-width: 1px;
+}
+
+.headerNameBox {
+  width: 7.7em;
+}
+
+.headerName {
+  margin: 0;
+  -moz-margin-end: .25em;
+  min-height: 16px;
+  font-weight: bold;
+  text-align: right;
+}
+
+.headerValue {
+  margin: 0 0 3px;
+  min-width: 50px;
+  white-space: normal;
+  color: inherit;
+  background-color: transparent;
+}
+
+.headerValueBox {
+  margin: 0 0 3px;
+}
+
+.headerValueBox > .headerValue {
+  margin: 0;
+}
+
+.headerValueBox[singleline="true"] {
+  overflow: hidden;
+}
+
+.headerValueBox[singleline="true"] > .headerValue {
+  overflow: hidden;
+}
+
+.subjectvalue {
+  font-weight: bold;
+}
+
+.tagvalue {
+  margin-top: 0;
+  -moz-margin-start: 0;
+}
+
+/* ::::: msg header message ids ::::: */
+
+.messageIdDisplayButton {
+  color: #336699;
+  cursor: pointer;
+  margin: 0px;
+  padding: 0px 1px;
+}
+
+.messageIdDisplayButton:hover {
+  color: black;
+  background-color: #336699;
+}
+
+.messageIdDisplayImage {
+  -moz-padding-start: 2px;
+  -moz-box-pack: end;
+}
+
+/* ::::: msg header email addresses ::::: */
+
+.emailDisplayButton {
+  color: #336699;
+  cursor: pointer;
+  margin: 0px;
+  padding: 0px 1px;
+}
+
+.emailDisplayButton:hover {
+  color: black;
+  background-color: #336699;
+}
+
+.emailDisplayImage {
+  -moz-padding-start: 2px;
+  -moz-box-pack: end;
+}
+
+/* ::::: email address twisty ::::: */
+
+.addresstwisty {
+  margin: 1px;
+  list-style-image: url("chrome://global/skin/tree/twisty-closed.gif");
+}
+
+.addresstwisty[open] {
+  list-style-image: url("chrome://global/skin/tree/twisty-open.gif");
+}
+
+/* ::::: view expand and collapse twisties  ::::: */
+
+.expandHeaderViewButton,
+.collapsedHeaderViewButton  {
+  margin: 2px .5em 0;
+  padding: 0px;
 }
 
-.collapsedHeaderViewButton 
-{
-  list-style-image: url("chrome://global/skin/twisty-closed.gif");
-  margin-left: .5em;
+.expandHeaderViewButton {
+  list-style-image: url("chrome://global/skin/tree/twisty-open.gif");
 }
 
+.collapsedHeaderViewButton  {
+  list-style-image: url("chrome://global/skin/tree/twisty-closed.gif");
+}
 
 /* ::::: collapsed view styles ::::: */
 
@@ -181,35 +191,38 @@ mail-toggle-headerfield
   -moz-box-pack: center;
 }
 
-#collapseddateValue
-{
-  margin-left: .7em;
+#collapseddateValue {
+  margin: 0 .5em;
+  text-align: right;
 }
 
-#collapsedfromBox
-{
+#collapseddateValue > .textbox-input-box menupopup {
+  text-align: left;
+}
+
+#collapsedfromBox {
   width: 18em;
 }
 
-#collapseddateBox
-{
+#collapseddateBox {
   width: 12em;
 }
 
-.collapsedHeaderDisplayName 
-{ 
-  font-weight: bold; 
-  margin-left: .7em;
+.collapsedHeaderDisplayName {
+  margin-top: 2px;
+  margin-bottom: 2px;
+  -moz-margin-start: .55em;
+  -moz-margin-end: .5em;
   min-height: 16px;
+  font-weight: bold;
 }
 
-.collapsedAttachmentButton
-{
-  list-style-image: url("chrome://messenger/skin/message-mail-attach.gif");
-  margin-right: .5em;
-  margin-left: 1em;
+.collapsedHeaderValue {
+  background: transparent;
+  margin: 0;
 }
 
-[hide] {
-  visibility: hidden;
+.collapsedAttachmentButton {
+  list-style-image: url("chrome://messenger/skin/icons/message-mail-attach.gif");
+  -moz-margin-end: .5em;
 }