toolkit/themes/osx/global/checkbox.css

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     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 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
     7 checkbox {
     8   -moz-appearance: checkbox-container;
     9   -moz-box-align: center;
    10   margin: 4px 2px;
    11 }
    13 .checkbox-icon {
    14   margin-right: 2px;
    15 }
    17 .checkbox-label {
    18   margin: 1px 0 !important;
    19 }
    21 /* ..... disabled state ..... */
    23 checkbox[disabled="true"] {
    24   color: GrayText !important;
    25 }
    27 /* ::::: checkmark image ::::: */
    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 }

mercurial