1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/themes/osx/global/checkbox.css Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,39 @@ 1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.7 + 1.8 +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); 1.9 + 1.10 +checkbox { 1.11 + -moz-appearance: checkbox-container; 1.12 + -moz-box-align: center; 1.13 + margin: 4px 2px; 1.14 +} 1.15 + 1.16 +.checkbox-icon { 1.17 + margin-right: 2px; 1.18 +} 1.19 + 1.20 +.checkbox-label { 1.21 + margin: 1px 0 !important; 1.22 +} 1.23 + 1.24 +/* ..... disabled state ..... */ 1.25 + 1.26 +checkbox[disabled="true"] { 1.27 + color: GrayText !important; 1.28 +} 1.29 + 1.30 +/* ::::: checkmark image ::::: */ 1.31 + 1.32 +.checkbox-check { 1.33 + -moz-appearance: checkbox; 1.34 + margin: 1px 1px 0; 1.35 + /* vertical-align tells native theming where to snap to. However, this doesn't 1.36 + * always work reliably because of bug 503833. */ 1.37 + vertical-align: top; 1.38 + width: 1.3em; 1.39 + height: 1.3em; 1.40 +} 1.41 + 1.42 +