home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 January / 01_02.iso / software / netscape62win / skinclas.xpi / bin / chrome / classic.jar / skin / classic / messenger / messageBody.css < prev    next >
Cascading Style Sheet File  |  2001-08-31  |  4KB  |  140 lines

  1. /*
  2.  * The contents of this file are subject to the Netscape Public
  3.  * License Version 1.1 (the "License"); you may not use this file
  4.  * except in compliance with the License. You may obtain a copy of
  5.  * the License at http://www.mozilla.org/NPL/
  6.  *
  7.  * Software distributed under the License is distributed on an "AS
  8.  * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  9.  * implied. See the License for the specific language governing
  10.  * rights and limitations under the License.
  11.  *
  12.  * The Original Code is Mozilla Communicator client code, released
  13.  * March 31, 1998.
  14.  *
  15.  * The Initial Developer of the Original Code is Netscape
  16.  * Communications Corporation. Portions created by Netscape are
  17.  * Copyright (C) 1998-1999 Netscape Communications Corporation. All
  18.  * Rights Reserved.
  19.  *
  20.  * Contributor(s):
  21.  *
  22.  */
  23.  
  24. /* ===== messageBody.css ================================================
  25.   == Styles for the body of a mail message.
  26.   ======================================================================= */
  27.  
  28. /* 
  29.  * These are the style attributes for the XUL display.
  30.  */
  31. window                                  { overflow: auto; }
  32. mailheader                            { display: block; }
  33. mailattachcount                      { display: none; }
  34.  
  35. box[name=header-attachment] { background-color: #EFEFEF; border: 0px solid #EFEFEF; border-left-width: 4px; }
  36. box[name=header-part1]      { background-color: #EFEFEF; border: 0px solid #EFEFEF; border-left-width: 4px; }
  37. box[name=header-part2]      { background-color: #DEDEDE; border: 0px solid #DEDEDE; border-left-width: 4px; }
  38. box[name=header-part3]      { background-color: #DEDEDE; border: 0px solid #DEDEDE; border-left-width: 4px; }
  39. box[name=header-seamonkey]  { background-color: #DEDEDE; border: 0px solid #DEDEDE; border-left-width: 4px; }
  40.  
  41. headerdisplayname                  { font-weight: bold;  white-space: pre; }
  42. header                                  { text-align: left; }
  43.  
  44. menubar[name=attachment-menubar]  { background-color: #EFEFEF; border: 0px solid #EFEFEF; }
  45. menu[name=attachment-menu]        { background-color: #EFEFEF; border: 0px solid #EFEFEF; }
  46.  
  47. /* 
  48.  * For printing/HTML display...
  49.  */
  50. table[name=header-part1]    { background-color: #EFEFEF; border: 0px solid #EFEFEF; border-left-width: 4px; }
  51. table[name=header-part2]    { background-color: #DEDEDE; border: 0px solid #DEDEDE; border-left-width: 4px; }
  52. table[name=header-part3]    { background-color: #DEDEDE; border: 0px solid #DEDEDE; border-left-width: 4px; }
  53. div.headerdisplayname       { font-weight: bold;  white-space: pre; display: inline; }
  54.  
  55. html {
  56.   background-color: white;
  57. }
  58.  
  59.  
  60. /* ::::: message text, incl. quotes ::::: */
  61.  
  62. .moz-text-flowed blockquote {
  63.   margin: inherit;
  64.   border-width: medium;
  65.   border-color: gray;
  66. }
  67.  
  68. .moz-text-plain pre {
  69.   margin: inherit;
  70.   font-family: inherit;
  71. }
  72. .moz-text-plain[wrap="true"] {
  73.   white-space: -moz-pre-wrap;
  74. }
  75. .moz-text-plain[wrap="false"] {
  76.   white-space: pre;
  77. }
  78. .moz-text-plain[wrap="flow"] .moz-txt-sig {
  79.   white-space: -moz-pre-wrap;
  80. }
  81. .moz-text-plain[graphical-quote="false"] blockquote {
  82.   margin: inherit;
  83.   border-left: inherit;
  84.   padding-left: inherit;
  85. }
  86. .moz-text-plain[graphical-quote="true"] blockquote {
  87.   margin: inherit;
  88.   border-width: medium;
  89.   border-color: gray;
  90. }
  91. .moz-text-plain[graphical-quote="true"] .moz-txt-citetags {
  92.   display: none;
  93. }
  94.  
  95. /* ::::: signature ::::: */
  96.  
  97. .moz-txt-sig,
  98. .moz-signature {
  99.   color: gray;
  100. }
  101. .moz-txt-sig > a,
  102. .moz-signature > a {
  103.   color: #7777FF /* light blue */;
  104. }
  105.  
  106.  
  107. /* ::::: smilies ::::: */
  108.  
  109. span[-moz-smiley] {
  110.   min-height: 17px; margin-left: 2px; margin-top: 2px;
  111.   padding-left: 20px; 
  112.   background-repeat: no-repeat; 
  113.   background-position: center center;
  114. }
  115. span[-moz-smiley] > span {
  116.     display: none;
  117. }
  118.  
  119. span[-moz-smiley="s1"] {
  120.   background-image: url(chrome://global/skin/smiley/smile_n.gif);
  121. }
  122. span[-moz-smiley="s2"] {
  123.   background-image: url(chrome://global/skin/smiley/frown_n.gif);
  124. }
  125. span[-moz-smiley="s3"] {
  126.   background-image: url(chrome://global/skin/smiley/wink_n.gif);
  127. }
  128. span[-moz-smiley="s4"] { 
  129.   background-image: url(chrome://global/skin/smiley/tongue_n.gif);
  130. }
  131. span[-moz-smiley="s5"] {
  132.   background-image: url(chrome://global/skin/smiley/laughing_n.gif);
  133. }
  134. span[-moz-smiley="s6"] {
  135.   background-image: url(chrome://global/skin/smiley/embarrassed_n.gif);
  136. }
  137. span[-moz-smiley="s7"] {
  138.   background-image: url(chrome://global/skin/smiley/undecided_n.gif);
  139. }
  140.