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