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 / EditorOverride.css < prev    next >
Cascading Style Sheet File  |  2003-06-08  |  3KB  |  111 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. /* Styles to alter look of things in the Editor content window 
  24.  *  that should NOT be removed when we display in completely WYSIWYG 
  25.  *  "Browser Preview" mode.
  26.  *  Anything that should change, like appearance of table borders
  27.  *  and Named Anchors, should be placed in EditorContent.css instead of here.
  28. */
  29.  
  30. /* Primary cursor is text I-beam */
  31.  
  32. :canvas, a:link {
  33.   cursor: text;
  34. }
  35.  
  36. /* Use default arrow over objects with size that 
  37.    are selected when clicked on.
  38.    Override the browser's pointer cursor over links
  39. */
  40.  
  41. img, img[usemap], area,
  42. object, object[usemap], 
  43. applet, hr, button, input, isindex, textarea, select,
  44. a:link img, a:visited img, a:active img,
  45. a[name]:empty {
  46.   cursor: default;
  47. }
  48.  
  49. a:visited, a:active {
  50.   cursor: text;
  51.   color : inherit;
  52. }
  53.  
  54. /* Prevent clicking on links from going to link */
  55. a:link img, a:visited img {
  56.   -moz-user-input: none;
  57. }
  58.  
  59. /* We suppress user/author's prefs for link underline, 
  60.    so we must set explicitly. This isn't good!
  61. */
  62. a:link {
  63.   text-decoration: underline -moz-anchor-decoration;
  64.   color: -moz-hyperlinktext;
  65. }
  66.  
  67. /* Allow double-clicks on these widgets to open properties dialogs
  68.    XXX except when the widget has disabled attribute */
  69. input, button, textarea {
  70.   -moz-user-select: all !important;
  71.   -moz-user-input: auto !important;
  72.   -moz-user-focus: none !important;
  73. }
  74.  
  75. /* XXX Still need a better way of blocking other events to these widgets */
  76. select, input[disabled], input[type="checkbox"], input[type="radio"], input[type="file"] {
  77.   -moz-user-select: all !important;
  78.   -moz-user-input: none !important;
  79.   -moz-user-focus: none !important;
  80. }
  81.  
  82. isindex[prompt]
  83. {
  84.   -moz-user-select: none !important;
  85.   -moz-user-input: none !important;
  86.   -moz-user-focus: none !important;
  87. }
  88.  
  89. input[type="hidden"] {
  90.   border: 1px solid black !important;
  91.   visibility: visible !important;
  92. }
  93.  
  94. label {
  95.     -moz-user-select: all !important;
  96. }
  97.  
  98. :-moz-display-comboboxcontrol-frame {
  99.   -moz-user-select: text !important;
  100. }
  101.  
  102. option {
  103.   -moz-user-select: text !important;
  104. }
  105.  
  106. #mozToc.readonly {
  107.   -moz-user-select: all !important;
  108.   -moz-user-input: none ! important;
  109. }
  110.  
  111.