toolkit/themes/osx/global/radio.css

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/toolkit/themes/osx/global/radio.css	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,43 @@
     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 +radiogroup {
    1.11 +  margin: 1px 0px 1px 0px;
    1.12 +}
    1.13 +
    1.14 +radio {
    1.15 +  -moz-appearance: radio-container;
    1.16 +  -moz-box-align: center;
    1.17 +  margin: 4px 2px;
    1.18 +  -moz-user-focus: ignore;
    1.19 +}
    1.20 +
    1.21 +.radio-label-box {
    1.22 +  -moz-margin-start: 0px;
    1.23 +  padding: 0px;
    1.24 +}
    1.25 +
    1.26 +.radio-icon {
    1.27 +  -moz-margin-end: 2px;
    1.28 +}
    1.29 +
    1.30 +.radio-label {
    1.31 +  margin: 1px 0 !important;
    1.32 +}
    1.33 +
    1.34 +radio[disabled="true"] {
    1.35 +  color: GrayText !important;
    1.36 +}
    1.37 +
    1.38 +.radio-check, .radio-check-box1 {
    1.39 +  -moz-appearance: radio;
    1.40 +  margin: 0 1px 1px;
    1.41 +  /* vertical-align tells native theming where to snap to. However, this doesn't
    1.42 +   * always work reliably because of bug 503833. */
    1.43 +  vertical-align: bottom;
    1.44 +  width: 1.3em;
    1.45 +  height: 1.3em;
    1.46 +}

mercurial