home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 April / CMCD0404.ISO / Software / Complet / thunderbird / chrome / qute.jar / skin / classic / messenger / messageBody.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2003-03-23  |  6.3 KB  |  255 lines

  1. /* ***** BEGIN LICENSE BLOCK *****
  2.  * Version: NPL 1.1/GPL 2.0/LGPL 2.1
  3.  *
  4.  * The contents of this file are subject to the Netscape Public License
  5.  * Version 1.1 (the "License"); you may not use this file except in
  6.  * compliance with the License. You may obtain a copy of the License at
  7.  * http://www.mozilla.org/NPL/
  8.  *
  9.  * Software distributed under the License is distributed on an "AS IS" basis,
  10.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  11.  * for the specific language governing rights and limitations under the
  12.  * License.
  13.  *
  14.  * The Original Code is mozilla.org code.
  15.  *
  16.  * The Initial Developer of the Original Code is 
  17.  * Netscape Communications Corporation.
  18.  * Portions created by the Initial Developer are Copyright (C) 1998
  19.  * the Initial Developer. All Rights Reserved.
  20.  *
  21.  * Contributor(s):
  22.  *  Joe Hewitt <hewitt@netscape.com>
  23.  *
  24.  * Alternatively, the contents of this file may be used under the terms of
  25.  * either the GNU General Public License Version 2 or later (the "GPL"), or 
  26.  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  27.  * in which case the provisions of the GPL or the LGPL are applicable instead
  28.  * of those above. If you wish to allow use of your version of this file only
  29.  * under the terms of either the GPL or the LGPL, and not to allow others to
  30.  * use your version of this file under the terms of the NPL, indicate your
  31.  * decision by deleting the provisions above and replace them with the notice
  32.  * and other provisions required by the GPL or the LGPL. If you do not delete
  33.  * the provisions above, a recipient may use your version of this file under
  34.  * the terms of any one of the NPL, the GPL or the LGPL.
  35.  *
  36.  * ***** END LICENSE BLOCK ***** */
  37.  
  38. /* ===== messageBody.css =================================================
  39.   == Styles for the body of a mail message.
  40.   ======================================================================= */
  41.  
  42. /* XXX Breaks the HTML rules below (.moz-class stuff), at least on Linux.
  43.    "html|.class" doesn't work.
  44. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  45. @namespace html url("http://www.w3.org/1999/xhtml"); 
  46. */
  47.  
  48. window {
  49.   overflow: auto;
  50. }
  51.  
  52. html|html {
  53.   /* XXX Doesn't seem to work. (Same with "html|body".) */
  54.   background-color: window;
  55. }
  56.  
  57. mailattachcount {
  58.   display: none;
  59. }
  60.  
  61. /* :::: message header ::::: */
  62.  
  63. header {
  64.   text-align: left;
  65. }
  66.  
  67. headerdisplayname {
  68.   font-weight: bold;
  69.   white-space: pre;
  70. }
  71.  
  72. .header-part1 {
  73.   background-color: #EFEFEF;
  74. }
  75.  
  76. .header-part2,
  77. .header-part3 {
  78.   background-color: #DEDEDE;
  79. }
  80.  
  81. div.headerdisplayname {
  82.   display: inline;
  83.   font-weight: bold;
  84.   white-space: pre;
  85. }
  86.  
  87. /* ::::: message text, incl. quotes ::::: */
  88.  
  89. .moz-text-flowed blockquote {
  90.   margin: inherit;
  91.   border-width: medium;
  92.   border-color: gray;
  93. }
  94.  
  95. .moz-text-plain pre {
  96.   margin: inherit;
  97.   font-family: inherit;
  98. }
  99.  
  100. .moz-text-plain[wrap="true"] {
  101.   white-space: -moz-pre-wrap;
  102. }
  103.  
  104. .moz-text-plain[wrap="false"] {
  105.   white-space: pre;
  106. }
  107.  
  108. .moz-text-plain[wrap="flow"] .moz-txt-sig {
  109.   white-space: -moz-pre-wrap;
  110. }
  111.  
  112. .moz-text-plain[graphical-quote="false"] blockquote {
  113.   margin: inherit;
  114.   border-left: inherit;
  115.   padding-left: inherit;
  116. }
  117.  
  118. .moz-text-plain[graphical-quote="true"] blockquote {
  119.   margin: inherit;
  120.   border-width: medium;
  121.   border-color: gray;
  122. }
  123.  
  124. .moz-text-plain[graphical-quote="true"] .moz-txt-citetags {
  125.   display: none;
  126. }
  127.  
  128. span.moz-txt-underscore {
  129.   text-decoration: underline;
  130. }
  131.  
  132. /* ::::: signature ::::: */
  133.  
  134. .moz-txt-sig,
  135. .moz-signature {
  136.   color: gray;
  137. }
  138.  
  139. .moz-txt-sig > a,
  140. .moz-signature > a {
  141.   color: #7777FF; /* light blue */
  142. }
  143.  
  144.  
  145. /* ::::: smilies ::::: */
  146.  
  147. span.moz-smiley-s1,
  148. span.moz-smiley-s2,
  149. span.moz-smiley-s3,
  150. span.moz-smiley-s4,
  151. span.moz-smiley-s5,
  152. span.moz-smiley-s6,
  153. span.moz-smiley-s7, 
  154. span.moz-smiley-s8, 
  155. span.moz-smiley-s9, 
  156. span.moz-smiley-s10, 
  157. span.moz-smiley-s11, 
  158. span.moz-smiley-s12, 
  159. span.moz-smiley-s13, 
  160. span.moz-smiley-s14, 
  161. span.moz-smiley-s15, 
  162. span.moz-smiley-s16 
  163.  
  164. {
  165.   min-height: 17px; margin-left: 2px; margin-top: 2px;
  166.   padding-left: 20px; 
  167.   background-repeat: no-repeat; 
  168.   background-position: center center;
  169.   -moz-user-select: all;
  170. }
  171.  
  172. span.moz-smiley-s1 > span,
  173. span.moz-smiley-s2 > span,
  174. span.moz-smiley-s3 > span,
  175. span.moz-smiley-s4 > span,
  176. span.moz-smiley-s5 > span,
  177. span.moz-smiley-s6 > span,
  178. span.moz-smiley-s7 > span, 
  179. span.moz-smiley-s8 > span, 
  180. span.moz-smiley-s9 > span, 
  181. span.moz-smiley-s10 > span, 
  182. span.moz-smiley-s11 > span, 
  183. span.moz-smiley-s12 > span, 
  184. span.moz-smiley-s13 > span, 
  185. span.moz-smiley-s14 > span, 
  186. span.moz-smiley-s15 > span, 
  187. span.moz-smiley-s16 > span 
  188. {
  189.     display: none;
  190. }
  191.  
  192. span.moz-smiley-s1 {
  193.   background-image: url("chrome://editor/content/images/smile_n.gif");
  194. }
  195.  
  196. span.moz-smiley-s2 {
  197.   background-image: url("chrome://editor/content/images/frown_n.gif");
  198. }
  199.  
  200. span.moz-smiley-s3 {
  201.   background-image: url("chrome://editor/content/images/wink_n.gif");
  202. }
  203.  
  204. span.moz-smiley-s4 { 
  205.   background-image: url("chrome://editor/content/images/tongue_n.gif");
  206. }
  207.  
  208. span.moz-smiley-s5 {
  209.   background-image: url("chrome://editor/content/images/laughing_n.gif");
  210. }
  211.  
  212. span.moz-smiley-s6 {
  213.   background-image: url("chrome://editor/content/images/embarrassed_n.gif");
  214. }
  215.  
  216. span.moz-smiley-s7 {
  217.   background-image: url("chrome://editor/content/images/undecided_n.gif");
  218. }
  219.  
  220. span.moz-smiley-s8 {
  221.   background-image: url("chrome://editor/content/images/surprise_n.gif");
  222. }
  223.  
  224. span.moz-smiley-s9 {
  225.   background-image: url("chrome://editor/content/images/kiss_n.gif");
  226. }
  227.  
  228. span.moz-smiley-s10 {
  229.   background-image: url("chrome://editor/content/images/yell_n.gif");
  230. }
  231.  
  232. span.moz-smiley-s11 {
  233.   background-image: url("chrome://editor/content/images/cool_n.gif");
  234. }
  235.  
  236. span.moz-smiley-s12 {
  237.   background-image: url("chrome://editor/content/images/money_n.gif");
  238. }
  239.  
  240. span.moz-smiley-s13 {
  241.   background-image: url("chrome://editor/content/images/foot_n.gif");
  242. }
  243.  
  244. span.moz-smiley-s14 {
  245.   background-image: url("chrome://editor/content/images/innocent_n.gif");
  246. }
  247.  
  248. span.moz-smiley-s15 {
  249.   background-image: url("chrome://editor/content/images/cry_n.gif");
  250. }
  251.  
  252. span.moz-smiley-s16 {
  253.   background-image: url("chrome://editor/content/images/sealed_n.gif");
  254. }
  255.