toolkit/themes/osx/global/checkbox.css

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:9c4f14078140
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/. */
4
5 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
6
7 checkbox {
8 -moz-appearance: checkbox-container;
9 -moz-box-align: center;
10 margin: 4px 2px;
11 }
12
13 .checkbox-icon {
14 margin-right: 2px;
15 }
16
17 .checkbox-label {
18 margin: 1px 0 !important;
19 }
20
21 /* ..... disabled state ..... */
22
23 checkbox[disabled="true"] {
24 color: GrayText !important;
25 }
26
27 /* ::::: checkmark image ::::: */
28
29 .checkbox-check {
30 -moz-appearance: checkbox;
31 margin: 1px 1px 0;
32 /* vertical-align tells native theming where to snap to. However, this doesn't
33 * always work reliably because of bug 503833. */
34 vertical-align: top;
35 width: 1.3em;
36 height: 1.3em;
37 }
38
39

mercurial