Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 /* ===== checkbox.css ===================================================
6 == Styles used by the XUL checkbox element.
7 ======================================================================= */
9 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
11 /* ::::: checkbox ::::: */
13 checkbox {
14 -moz-box-align: center;
15 margin: 2px 4px;
16 padding-top: 1px;
17 padding-bottom: 1px;
18 -moz-padding-start: 4px;
19 -moz-padding-end: 2px;
20 }
22 .checkbox-label-box {
23 -moz-margin-start: 2px;
24 border: 1px solid transparent;
25 padding: 0px 1px;
26 }
28 .checkbox-icon {
29 -moz-margin-end: 2px;
30 }
32 .checkbox-label {
33 margin: 0 !important;
34 }
36 /* ..... focused state ..... */
38 checkbox:focus > .checkbox-label-box {
39 border: 1px dotted gray;
40 }
42 /* ..... disabled state ..... */
44 checkbox[disabled="true"] > .checkbox-check {
45 background-color: gray;
46 }
48 checkbox[disabled="true"] {
49 color: GrayText;
50 }
52 checkbox[disabled="true"]:-moz-system-metric(windows-classic) {
53 color: ThreeDShadow;
54 text-shadow: 1px 1px ThreeDHighlight;
55 }
57 /* ::::: checkmark image ::::: */
59 .checkbox-check {
60 -moz-box-align: center;
61 border: 1px solid #555555;
62 min-width: 13px;
63 min-height: 13px;
64 background: white;
65 background: white no-repeat 50% 50%;
66 }
68 checkbox:hover:active > .checkbox-check {
69 background-color: -moz-Dialog;
70 }
72 /* ..... checked state ..... */
74 checkbox[checked="true"] > .checkbox-check {
75 background-image: url("chrome://global/skin/checkbox/cbox-check.gif");
76 }
78 checkbox[checked="true"][disabled="true"] > .checkbox-check {
79 background-image: url("chrome://global/skin/checkbox/cbox-check-dis.gif") !important;
80 }