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/
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.
12 * The Original Code is Mozilla Communicator client code, released
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
24 /* ===== checkbox.css ===================================================
25 == Styles used by the XUL checkbox element.
26 ======================================================================= */
28 @namespace url(http://www.w3.org/1999/xhtml);
30 /* ::::: checkbox ::::: */
32 input[type="checkbox"] {
33 -moz-appearance: checkbox;
34 -moz-box-align: center;
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;
44 background: -moz-Field no-repeat 50% 50%;
47 input[type="checkbox"]:hover:active {
48 background-color: -moz-Dialog;
51 /* ..... disabled state ..... */
53 input[type="checkbox"][disabled="true"] {
54 background-color: -moz-Dialog;
57 /* ..... checked state ..... */
59 input[type="checkbox"][_moz-input-checked] {
60 list-style-image: url("chrome://global/skin/checkbox/cbox-check.gif");
63 input[type="checkbox"][_moz-input-checked][disabled="true"] {
64 list-style-image: url("chrome://global/skin/checkbox/cbox-check-dis.gif") !important