home *** CD-ROM | disk | FTP | other *** search
- /*
- * The contents of this file are subject to the Netscape Public
- * License Version 1.1 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.mozilla.org/NPL/
- *
- * Software distributed under the License is distributed on an "AS
- * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- * implied. See the License for the specific language governing
- * rights and limitations under the License.
- *
- * The Original Code is Mozilla Communicator client code, released
- * March 31, 1998.
- *
- * The Initial Developer of the Original Code is Netscape
- * Communications Corporation. Portions created by Netscape are
- * Copyright (C) 1998-2001 Netscape Communications Corporation. All
- * Rights Reserved.
- *
- * Contributor(s):
- * Joe Hewitt (hewitt@netscape.com)
- * Alex W. (Charamel) <lucx@shaw.ca>
- */
-
- /* ===== textbox.css ==================================================
- == Styles used by the XUL textbox element.
- ======================================================================= */
-
- @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
- @namespace html url("http://www.w3.org/1999/xhtml");
-
- /* ::::: textbox ::::: */
-
- textbox
- {
- cursor: text;
- margin: 2px 4px;
- border: 1px solid;
- -moz-border-top-colors: #E6DED1;
- -moz-border-bottom-colors: #D5CDBF;
- -moz-border-right-colors: #E6DED1;
- border-left-width:2px;
- -moz-border-left-colors: #E6DED1 white ;
- padding: 1px 2px 1px 2px;
- background:url("chrome://global/skin/textbox/textbox-body.png") repeat-x white ;
- color: -moz-FieldText;
- }
-
- /*focus outline*/
- textbox:focus{
- border: 1px solid;
- -moz-border-top-colors: #A9D0DF;
- -moz-border-bottom-colors: #A1C7D6;
- -moz-border-right-colors: #A9D0DF;
- -moz-border-left-colors: #A9D0DF white ;
- background:red!important;
- }
-
- html|*.textbox-input,
- html|*.textbox-textarea {
- margin: 0px !important;
- border: none !important;
- padding: 0px !important;
- background-color: inherit;
- color: inherit;
- font: inherit;
- }
-
- /* ..... readonly state ..... */
-
- textbox[readonly="true"] {
- background:#F3EDE3;
- border:none;
- }
-
- textbox[readonly="true"][disabled="true"]{
- -moz-opacity:1.0!important;
- }
-
- /* make read-only text-boxes in groupsboxes lighter*/
- groupbox textbox[readonly="true"] {
- background:#F4EFE6;
- border:none;
- }
-
- /* ..... disabled state ..... */
-
- textbox[disabled="true"] {
- cursor: default;
- color: #785130;
- -moz-opacity:0.4;
- }
-
- /* ::::: plain textbox ::::: */
-
- textbox.plain {
- -moz-appearance: none !important;
- padding: 0px !important;
- margin: 0px !important;
- border: none !important;
- }
-
- /* ::::: textboxes inside toolbarpaletteitems ::::: */
-
- toolbarpaletteitem > toolbaritem > textbox > .textbox-input-box > html|*.textbox-input {
- visibility: hidden;
- }
-
-