home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 April / CMCD0404.ISO / Software / Complet / thunderbird / chrome / mail.jar / content / editor / EditorContent.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2003-05-27  |  5.3 KB  |  198 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.  *   Daniel Glazman <glazman@netscape.com>
  22.  */
  23.  
  24. /* Styles to alter look of things in the Editor content window 
  25.  *  for the "Normal Edit Mode" These settings will be removed
  26.  *  when we display in completely WYSIWYG "Edit Preview" mode
  27.  *  Anything that should never change, like cursors, should be 
  28.  *  place in EditorOverride.css, instead of here.
  29. */
  30.  
  31. a[name] {
  32.   min-height: 17px; margin-left: 2px; margin-top: 2px;
  33.   padding-left: 20px; 
  34.   background-image: url(chrome://editor/content/images/tag-anchor.gif);
  35.   background-repeat: no-repeat; 
  36.   background-position: top left;
  37. }
  38.  
  39. /* Force border display for empty cells 
  40.    and tables with 0 border
  41. */
  42. table {
  43.   empty-cells: show;
  44. }
  45.  
  46. /* give a red dotted border to tables and cells with no border
  47.    otherwise they are invisible
  48. */
  49. table[empty-cells],
  50.   table[border="0"],
  51.   /* next two selectors on line below for the case where tbody is omitted */
  52.   table[border="0"] > tr > td, table[border="0"] > tr > th,
  53.   table[border="0"] > thead > tr > td, table[border="0"] > tbody > tr > td, table[border="0"] > tfoot > tr > td,
  54.   table[border="0"] > thead > tr > th, table[border="0"] > tbody > tr > th, table[border="0"] > tfoot > tr > th,
  55.   table:not([border]),
  56.   /* next two selectors on line below for the case where tbody is omitted */
  57.   table:not([border]) > tr > td, table:not([border]) > tr >  th,
  58.   table:not([border]) > thead > tr > td, table:not([border]) > tbody > tr > td, table:not([border]) > tfoot > tr > td,
  59.   table:not([border]) > thead > tr > th, table:not([border]) > tbody > tr > th, table:not([border]) > tfoot > tr > th
  60. {
  61.   border: 1px dotted red;
  62. }
  63.  
  64. /* give a green dashed border to forms otherwise they are invisible
  65. */
  66. form
  67. {
  68.   border: 2px dashed green;
  69. }
  70. /* give a green dotted border to labels otherwise they are invisible
  71. */
  72. label
  73. {
  74.   border: 1px dotted green;
  75. }
  76.  
  77. /* smileys */
  78. span.moz-smiley-s1,
  79. span.moz-smiley-s2,
  80. span.moz-smiley-s3,
  81. span.moz-smiley-s4,
  82. span.moz-smiley-s5,
  83. span.moz-smiley-s6,
  84. span.moz-smiley-s7, 
  85. span.moz-smiley-s8, 
  86. span.moz-smiley-s9, 
  87. span.moz-smiley-s10, 
  88. span.moz-smiley-s11, 
  89. span.moz-smiley-s12, 
  90. span.moz-smiley-s13, 
  91. span.moz-smiley-s14, 
  92. span.moz-smiley-s15, 
  93. span.moz-smiley-s16 
  94.  
  95. {
  96.   min-height: 17px; margin-left: 2px; margin-top: 2px;
  97.   padding-left: 20px; 
  98.   background-repeat: no-repeat; 
  99.   background-position: center center;
  100.   -moz-user-select: all;
  101.  
  102. }
  103.  
  104. span.moz-smiley-s1 > span,
  105. span.moz-smiley-s2 > span,
  106. span.moz-smiley-s3 > span,
  107. span.moz-smiley-s4 > span,
  108. span.moz-smiley-s5 > span,
  109. span.moz-smiley-s6 > span,
  110. span.moz-smiley-s7 > span,
  111. span.moz-smiley-s8 > span, 
  112. span.moz-smiley-s9 > span, 
  113. span.moz-smiley-s10 > span, 
  114. span.moz-smiley-s11 > span, 
  115. span.moz-smiley-s12 > span, 
  116. span.moz-smiley-s13 > span, 
  117. span.moz-smiley-s14 > span, 
  118. span.moz-smiley-s15 > span, 
  119. span.moz-smiley-s16 > span 
  120.  
  121. {
  122.     display: none;
  123. }
  124.  
  125.  
  126.  
  127. span.moz-smiley-s1 {
  128.   background-image: url(chrome://editor/content/images/smile_n.gif);
  129. }
  130.  
  131.  
  132. span.moz-smiley-s2 {
  133.   background-image: url(chrome://editor/content/images/frown_n.gif);
  134. }
  135.  
  136.  
  137. span.moz-smiley-s3 {
  138.   background-image: url(chrome://editor/content/images/wink_n.gif);
  139. }
  140.  
  141.  
  142. span.moz-smiley-s4 { 
  143.   background-image: url(chrome://editor/content/images/tongue_n.gif);
  144. }
  145.  
  146. span.moz-smiley-s5 {
  147.   background-image: url(chrome://editor/content/images/laughing_n.gif);
  148. }
  149.  
  150. span.moz-smiley-s6 {
  151.   background-image: url(chrome://editor/content/images/embarrassed_n.gif);
  152. }
  153.  
  154. span.moz-smiley-s7 {
  155.   background-image: url(chrome://editor/content/images/undecided_n.gif);
  156. }
  157.  
  158. span.moz-smiley-s8 {
  159.   background-image: url(chrome://editor/content/images/surprise_n.gif);
  160. }
  161.  
  162. span.moz-smiley-s9 {
  163.   background-image: url(chrome://editor/content/images/kiss_n.gif);
  164. }
  165.  
  166. span.moz-smiley-s10 {
  167.   background-image: url(chrome://editor/content/images/yell_n.gif);
  168. }
  169.  
  170. span.moz-smiley-s11 {
  171.   background-image: url(chrome://editor/content/images/cool_n.gif);
  172. }
  173.  
  174. span.moz-smiley-s12 {
  175.   background-image: url(chrome://editor/content/images/money_n.gif);
  176. }
  177.  
  178. span.moz-smiley-s13 {
  179.   background-image: url(chrome://editor/content/images/foot_n.gif);
  180. }
  181.  
  182. span.moz-smiley-s14 {
  183.   background-image: url(chrome://editor/content/images/innocent_n.gif);
  184. }
  185.  
  186. span.moz-smiley-s15 {
  187.   background-image: url(chrome://editor/content/images/cry_n.gif);
  188. }
  189.  
  190. span.moz-smiley-s16 {
  191.   background-image: url(chrome://editor/content/images/sealed_n.gif);
  192. }
  193.  
  194.  
  195. img {
  196.   -moz-force-broken-image-icon: 1;
  197. }
  198.