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 /* ===== radio.css ===================================================
6 == Styles used by the XUL radio element.
7 ======================================================================= */
9 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
11 /* ::::: radio ::::: */
15 border-left: 1px transparent;
16 border-right: 1px transparent;
20 -moz-box-align: center;
21 border-right: 4px solid transparent;
26 .radio-label-center-box {
27 -moz-box-align: center;
31 border: 1px solid transparent;
32 -moz-box-align: center;
40 margin: 0px !important;
43 /* ..... focused state ..... */
45 radio[focused="true"] > .radio-label-center-box > .radio-label-box {
46 border: 1px dotted #008484;
49 /* ..... disabled state ..... */
51 radio[disabled="true"] > .radio-spacer-box > .radio-check-box1 {
52 background-color: #000000;
55 radio[disabled="true"] {
59 /* ::::: checkmark image ::::: */
62 /* -moz-box-align: center;
63 -moz-box-pack: center; */
64 border: 1px solid #FF9F00;
68 background-color: #000000;
69 /* background-color: transparent; */
77 list-style-image: none;
80 radio:hover > .radio-spacer-box > .radio-check-box1,
81 radio:hover:active > .radio-spacer-box > .radio-check-box1 {
82 border: 1px solid #FFCF00;
85 radio:hover > .radio-label-center-box > .radio-label-box,
86 radio:hover:active > .radio-label-center-box > .radio-label-box {
90 radio[disabled="true"] > .radio-spacer-box > .radio-check-box1 {
91 border: 1px solid #8050B0 !important;
94 /* ..... selected state ..... */
96 radio[selected="true"] > .radio-spacer-box > .radio-check-box1 > .radio-check-box2 {
97 list-style-image: url("chrome://global/skin/radio/radio-check.gif");
100 radio[selected="true"][disabled="true"] > .radio-spacer-box > .radio-check-box1 > .radio-check-box2 {
101 list-style-image: url("chrome://global/skin/radio/radio-check-disabled.gif") !important