making attachment pane size correctly
[themes.git] / EarlyBlue / messenger / skin / msgHdrViewOverlay.css
index 91f41b5bcf2b02326c90f46bfda7b7d3e4bb6107..d61df3d5d3d0b72986679b95c16bd3107dae3905 100755 (executable)
 /*
-The contents of this file are subject to the Netscape Public
-License Version 1.1 (the "License"); you may not use this file
-except in compliance with the License. You may obtain a copy of
-the License at http://www.mozilla.org/NPL/
-
-Software distributed under the License is distributed on an "AS
-IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
-implied. See the License for the specific language governing
-rights and limitations under the License.
-
-The Original Code is Mozilla Communicator client code, released
-March 31, 1998.
-
-The Initial Developer of the Original Code is Netscape
-Communications Corporation. Portions created by Netscape are
- Copyright (C) 1998-1999 Netscape Communications Corporation. All
-Rights Reserved.
-*/
-
-
-/* These are the style attributes we are applying to the message header
- * view overlay which shows the message headers for a selected message.
- * some of this stuff originated from mailheaders.css
+ * The contents of this file are subject to the Netscape Public
+ * License Version 1.1 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.mozilla.org/NPL/
+ *
+ * Software distributed under the License is distributed on an "AS
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ * implied. See the License for the specific language governing
+ * rights and limitations under the License.
+ *
+ * The Original Code is Mozilla Communicator client code, released
+ * March 31, 1998.
+ *
+ * The Initial Developer of the Original Code is Netscape
+ * Communications Corporation. Portions created by Netscape are
+ * Copyright (C) 1998-2001 Netscape Communications Corporation. All
+ * Rights Reserved.
+ *
+ * Contributor(s):
+ *   Scott MacGregor (mscott@netscape.com)
+ *   Joe Hewitt (hewitt@netscape.com)
+ *   Robert Kaiser (KaiRo@KaiRo.at)
  */
 
+/* ===== msgHdrViewOverlay.css ==========================================
+  == Styles for the header toolbars of a mail message.
+  ======================================================================= */
+
 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to HTML */
 @namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for XUL elements */
 
+#collapsedHeaderView,
+#expandedHeaderView
+  {
+    min-width             : 1px;
+  }
+
 mail-emailaddress 
   {
     -moz-binding          : url(chrome://messenger/content/mailWidgets.xml#mail-emailaddress);
-    display               : inline;
+    display               : -moz-xul-inline-box;
   }
 
+.buttonTopSpacer     
+  { 
+    height                : 0.3em; 
+  }
 
-[hide] {
-  visibility: collapse;
+.buttonSpacer        
+  { 
+    width                 : 0.5em; 
+  }
+
+.headerValueBox 
+  { 
+    width                 : 7.0em;
+    text-align            : right;
+  }
+
+.headerBox              
+  { 
+    overflow              : hidden; 
+    min-width             : 50px;
+  }
+
+
+#addToAddressBookButton 
+  {
+    list-style-image      : url("chrome://messenger/skin/addtoab.gif");
+    min-height            : 20px;
+    margin                : 0px;
+  }
+
+#expandedAttachmentBox {
+  width: 20em;
+  height: 0px;
+  list-style-image: url("chrome://messenger/skin/message-mail-attach.gif");
 }
 
-spring.buttonTopSpacer     { height: .3em; }
-spring.buttonSpacer        { width: .5em; }
-box.headerBox              { overflow: hidden; min-width:50px;}
-box.header-part1           { background-color: #EEEEEE; border: none; }
-box.header-part2           { background-color: #CCCCCC; border: none; }
-box.header-part3           { background-color: #CCCCCC; border: none; }
-
-#addToAddressBookButton {
-       list-style-image:url("chrome://messenger/skin/addtoab.gif");
-  min-height: 20px;
-  margin: 0px;
+#attachmentText
+{
+  font-weight: bold;
 }
 
-#attachmentButton {
-  list-style-image:url("chrome://messenger/skin/attach.gif");
-  min-height: 20px;
-  margin: 0px;
+#attachmentTree {
+  margin: 3px;
+  height: 0px;
+  width: 20em;
 }
 
 .emailDisplayImage
   {
-    align                 : right;
+    text-align            : right;
   }
 
-.emailSeparator 
+.emailDisplayButton 
   {
-    display               : inline;
+    color                 : #336699;
+    cursor                : pointer;
+    min-height            : 16px;
   }
 
-.emailDisplayButton 
+.emailDisplayButton:hover
   {
-    color                 : blue;
-    text-decoration       : underline;
-    cursor                : pointer;
-/*    max-height            : 15px; */
+    background-color      : #336699;
+    color                 : #CCD0DD;
   }
 
 .showMoreAddressesButton 
   {
-    list-style-image      : url("chrome://messenger/skin/more.gif");
-    display               : inline;
+    list-style-image      : url("chrome://global/skin/twisty-closed.gif");
+/*    list-style-image      : url("chrome://messenger/skin/more.gif"); */
   }
 
 .showFewerAddressesButton 
   {
-    list-style-image      : url("chrome://messenger/skin/less.gif");
-    display               : inline;
+    list-style-image      : url("chrome://global/skin/twisty-open.gif");
+/*    list-style-image      : url("chrome://messenger/skin/less.gif"); */
   }
 
 html.headerValue   
@@ -99,12 +131,17 @@ html.subjectvalue
     font-weight           : bold; 
   }
 
+text.subjectvalue  
+  { 
+    font-weight           : bold; 
+  }
+
 text.headerdisplayname 
   { 
     font-weight           : bold; 
     margin-right          : 0.5em; 
     margin-left           : 0.5em; 
-    min-height            : 18px 
+    min-height            : 16px 
   }
 
 text.headerValue 
@@ -117,5 +154,66 @@ text.headerValue
   {
     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;
+}
+
+.collapsedHeaderViewButton 
+{
+  list-style-image: url("chrome://global/skin/twisty-closed.gif");
+  margin-left: .5em;
+}
+
+
+/* ::::: collapsed view styles ::::: */
+.collapsedToggleHdrBox
+{
+  vertical-align: middle;
+}
+
+#collapsedAttachmentBox {
+  text-align: center;
+}
+
+#collapseddateValue
+{
+  margin-left: .7em;
+}
+
+#collapsedfromBox
+{
+  width: 18em;
+}
+
+#collapseddateBox
+ {
+  width: 12em;
+}
+
+text.collapsedHeaderDisplayName 
+{ 
+  font-weight: bold; 
+  margin-left: .7em;
+  min-height: 16px;
+}
+
+.collapsedAttachmentButton
+{
+  list-style-image: url("chrome://messenger/skin/message-mail-attach.gif");
+  margin-right: .5em;
+  margin-left: 1em;
+}
+
+[hide] {
+  visibility: hidden;
+}
+
+
+
+
+