home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2005 October / Gamestar_77_2005-10_dvd.iso / Programy / nsb-install-8-0.exe / chrome / fusion.jar / skin / fusion / global / textbox.css < prev    next >
Cascading Style Sheet File  |  2005-07-29  |  2KB  |  87 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-2001 Netscape Communications Corporation. All
  18.  * Rights Reserved.
  19.  *
  20.  * Contributor(s):
  21.  *   Joe Hewitt (hewitt@netscape.com)
  22.  */
  23.  
  24. /* ===== textbox.css ==================================================
  25.   == Styles used by the XUL textbox element.
  26.   ======================================================================= */
  27.  
  28. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  29. @namespace html url("http://www.w3.org/1999/xhtml");
  30.  
  31. /* ::::: textbox ::::: */
  32.  
  33. textbox
  34. {
  35.   cursor: text;
  36.   margin: 2px 4px;
  37.   border: 2px solid;
  38.   -moz-border-top-colors: ThreeDShadow ThreeDDarkShadow;
  39.   -moz-border-right-colors: ThreeDHighlight ThreeDLightShadow;
  40.   -moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow;
  41.   -moz-border-left-colors: ThreeDShadow ThreeDDarkShadow;
  42.   padding: 1px 0px 1px 2px;
  43.   background-color: -moz-Field;
  44.   color: -moz-FieldText;
  45. }
  46.  
  47. html|*.textbox-input,
  48. html|*.textbox-textarea {
  49.   margin: 0px !important;
  50.   border: none !important;
  51.   padding: 0px !important;
  52.   background-color: transparent;
  53.   color: inherit;
  54.   font: inherit;
  55. }
  56.  
  57. /* ..... readonly state ..... */
  58.  
  59. textbox[readonly="true"] {
  60.   background-color: transparent;
  61.   color: -moz-DialogText;
  62. }
  63.  
  64. /* ..... disabled state ..... */
  65.  
  66. textbox[disabled="true"] {
  67.   cursor: default;
  68.   background-color: -moz-Dialog;
  69.   color: GrayText;
  70. }
  71.  
  72. /* ::::: plain textbox ::::: */
  73.  
  74. textbox.plain {
  75.   -moz-appearance: none !important;
  76.   padding: 0px !important;
  77.   margin: 0px !important;
  78.   border: none !important;
  79. }
  80.  
  81. /* ::::: textboxes inside toolbarpaletteitems ::::: */
  82.  
  83. toolbarpaletteitem > toolbaritem > textbox > .textbox-input-box > html|*.textbox-input {
  84.   visibility: hidden;
  85. }
  86.  
  87.