home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 January / 01_02.iso / software / netscape62win / browser.xpi / bin / chrome / modern.jar / skin / modern / messenger / messageBody.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2001-08-31  |  4.0 KB  |  178 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. /* XXX Breaks the HTML rules below (.moz-class stuff), at least on Linux.
  29.    "html|.class" doesn't work.
  30. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  31. @namespace html url("http://www.w3.org/1999/xhtml"); 
  32. */
  33.  
  34. window {
  35.   overflow: auto;
  36. }
  37.  
  38. html|html {
  39.   /* XXX Doesn't seem to work. (Same with "html|body".) */
  40.   background-color: white;
  41. }
  42.  
  43. mailattachcount {
  44.   display: none;
  45. }
  46.  
  47. menu[name="attachment-menu"] {
  48.   background-color: #EFEFEF;
  49. }
  50.  
  51. /* :::: message header ::::: */
  52.  
  53. header {
  54.   text-align: left;
  55. }
  56.  
  57. headerdisplayname {
  58.   font-weight: bold;
  59.   white-space: pre;
  60. }
  61.  
  62. box[name="header-attachment"],
  63. box[name="header-part1"],
  64. table[name="header-part1"] {
  65.   border-left: 4px solid #EFEFEF;
  66.   background-color: #EFEFEF;
  67. }
  68.  
  69. box[name="header-part2"],
  70. box[name="header-part3"],
  71. box[name="header-seamonkey"],
  72. table[name="header-part2"],
  73. table[name="header-part3"] {
  74.   border: 4px solid #DEDEDE;
  75.   background-color: #DEDEDE;
  76. }
  77.  
  78. div.headerdisplayname {
  79.   display: inline;
  80.   font-weight: bold;
  81.   white-space: pre;
  82. }
  83.  
  84. /* ::::: message text, incl. quotes ::::: */
  85.  
  86. .moz-text-flowed blockquote {
  87.   margin: inherit;
  88.   border-width: medium;
  89.   border-color: gray;
  90. }
  91.  
  92. .moz-text-plain pre {
  93.   margin: inherit;
  94.   font-family: inherit;
  95. }
  96.  
  97. .moz-text-plain[wrap="true"] {
  98.   white-space: -moz-pre-wrap;
  99. }
  100.  
  101. .moz-text-plain[wrap="false"] {
  102.   white-space: pre;
  103. }
  104.  
  105. .moz-text-plain[wrap="flow"] .moz-txt-sig {
  106.   white-space: -moz-pre-wrap;
  107. }
  108.  
  109. .moz-text-plain[graphical-quote="false"] blockquote {
  110.   margin: inherit;
  111.   border-left: inherit;
  112.   padding-left: inherit;
  113. }
  114.  
  115. .moz-text-plain[graphical-quote="true"] blockquote {
  116.   margin: inherit;
  117.   border-width: medium;
  118.   border-color: gray;
  119. }
  120.  
  121. .moz-text-plain[graphical-quote="true"] .moz-txt-citetags {
  122.   display: none;
  123. }
  124.  
  125. /* ::::: signature ::::: */
  126.  
  127. .moz-txt-sig,
  128. .moz-signature {
  129.   color: gray;
  130. }
  131.  
  132. .moz-txt-sig > a,
  133. .moz-signature > a {
  134.   color: #7777FF; /* light blue */
  135. }
  136.  
  137.  
  138. /* ::::: smilies ::::: */
  139.  
  140. span[-moz-smiley] {
  141.   min-height: 17px; margin-left: 2px; margin-top: 2px;
  142.   padding-left: 20px; 
  143.   background-repeat: no-repeat; 
  144.   background-position: center center;
  145. }
  146.  
  147. span[-moz-smiley] > span {
  148.     display: none;
  149. }
  150.  
  151. span[-moz-smiley="s1"] {
  152.   background-image: url(chrome://global/skin/smiley/smile_n.gif);
  153. }
  154.  
  155. span[-moz-smiley="s2"] {
  156.   background-image: url(chrome://global/skin/smiley/frown_n.gif);
  157. }
  158.  
  159. span[-moz-smiley="s3"] {
  160.   background-image: url(chrome://global/skin/smiley/wink_n.gif);
  161. }
  162.  
  163. span[-moz-smiley="s4"] { 
  164.   background-image: url(chrome://global/skin/smiley/tongue_n.gif);
  165. }
  166.  
  167. span[-moz-smiley="s5"] {
  168.   background-image: url(chrome://global/skin/smiley/laughing_n.gif);
  169. }
  170.  
  171. span[-moz-smiley="s6"] {
  172.   background-image: url(chrome://global/skin/smiley/embarrassed_n.gif);
  173. }
  174.  
  175. span[-moz-smiley="s7"] {
  176.   background-image: url(chrome://global/skin/smiley/undecided_n.gif);
  177. }
  178.