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.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
30
/* ::::: checkbox ::::: */
33
-moz-appearance: checkbox-container;
34
-moz-box-align: center;
36
padding: 1px 2px 1px 4px;
41
border: 1px solid transparent;
53
/* ..... focused state ..... */
55
checkbox:focus > .checkbox-label-box {
56
border: 1px dotted ThreeDDarkShadow;
59
/* ..... disabled state ..... */
61
checkbox[disabled="true"] > .checkbox-check {
62
background-color: -moz-Dialog;
65
checkbox[disabled="true"] {
66
color: GrayText !important;
69
/* ::::: checkmark image ::::: */
72
-moz-appearance: checkbox;
73
-moz-box-align: center;
75
-moz-border-top-colors: ThreeDShadow ThreeDDarkShadow;
76
-moz-border-right-colors: ThreeDHighlight ThreeDLightShadow;
77
-moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow;
78
-moz-border-left-colors: ThreeDShadow ThreeDDarkShadow;
81
background: -moz-Field no-repeat 50% 50%;
85
checkbox:hover:active > .checkbox-check {
86
background-color: -moz-Dialog;
89
/* ..... checked state ..... */
91
checkbox[checked="true"] > .checkbox-check {
92
background-image: url("chrome://global/skin/checkbox/cbox-check.gif");
95
checkbox[checked="true"][disabled="true"] > .checkbox-check {
96
background-image: url("chrome://global/skin/checkbox/cbox-check-dis.gif") !important