michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); michael@0: michael@0: checkbox { michael@0: -moz-appearance: checkbox-container; michael@0: -moz-box-align: center; michael@0: margin: 4px 2px; michael@0: } michael@0: michael@0: .checkbox-icon { michael@0: margin-right: 2px; michael@0: } michael@0: michael@0: .checkbox-label { michael@0: margin: 1px 0 !important; michael@0: } michael@0: michael@0: /* ..... disabled state ..... */ michael@0: michael@0: checkbox[disabled="true"] { michael@0: color: GrayText !important; michael@0: } michael@0: michael@0: /* ::::: checkmark image ::::: */ michael@0: michael@0: .checkbox-check { michael@0: -moz-appearance: checkbox; michael@0: margin: 1px 1px 0; michael@0: /* vertical-align tells native theming where to snap to. However, this doesn't michael@0: * always work reliably because of bug 503833. */ michael@0: vertical-align: top; michael@0: width: 1.3em; michael@0: height: 1.3em; michael@0: } michael@0: michael@0: