home *** CD-ROM | disk | FTP | other *** search
/ ftp.swcp.com / ftp.swcp.com.zip / ftp.swcp.com / mac / mozilla-macos9-1.3.1.sea.bin / Mozilla1.3.1 / Chrome / comm.jar / content / editor / EditorContent.css < prev    next >
Cascading Style Sheet File  |  2003-06-08  |  4KB  |  127 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. /* smileys */
  65. span.moz-smiley-s1,
  66. span.moz-smiley-s2,
  67. span.moz-smiley-s3,
  68. span.moz-smiley-s4,
  69. span.moz-smiley-s5,
  70. span.moz-smiley-s6,
  71. span.moz-smiley-s7 {
  72.   min-height: 17px; margin-left: 2px; margin-top: 2px;
  73.   padding-left: 20px; 
  74.   background-repeat: no-repeat; 
  75.   background-position: center center;
  76.  
  77.  
  78. }
  79.  
  80. span.moz-smiley-s1 > span,
  81. span.moz-smiley-s2 > span,
  82. span.moz-smiley-s3 > span,
  83. span.moz-smiley-s4 > span,
  84. span.moz-smiley-s5 > span,
  85. span.moz-smiley-s6 > span,
  86. span.moz-smiley-s7 > span {
  87.     display: none;
  88. }
  89.  
  90.  
  91.  
  92. span.moz-smiley-s1 {
  93.   background-image: url(chrome://editor/content/images/smile_n.gif);
  94. }
  95.  
  96.  
  97. span.moz-smiley-s2 {
  98.   background-image: url(chrome://editor/content/images/frown_n.gif);
  99. }
  100.  
  101.  
  102. span.moz-smiley-s3 {
  103.   background-image: url(chrome://editor/content/images/wink_n.gif);
  104. }
  105.  
  106.  
  107. span.moz-smiley-s4 { 
  108.   background-image: url(chrome://editor/content/images/tongue_n.gif);
  109. }
  110.  
  111. span.moz-smiley-s5 {
  112.   background-image: url(chrome://editor/content/images/laughing_n.gif);
  113. }
  114.  
  115. span.moz-smiley-s6 {
  116.   background-image: url(chrome://editor/content/images/embarrassed_n.gif);
  117. }
  118.  
  119.  
  120. span.moz-smiley-s7 {
  121.   background-image: url(chrome://editor/content/images/undecided_n.gif);
  122. }
  123.  
  124. img {
  125.   -moz-force-broken-image-icon: 1;
  126. }
  127.