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 ::::: */
14 -moz-box-align: center;
18 padding-inline-start: 2px;
19 padding-inline-end: 0;
23 margin-inline-start: 2px;
24 border: 1px solid transparent;
27 padding-inline-start: 1px;
28 padding-inline-end: 0px;
32 margin-inline-end: 2px;
39 /* ..... focused state ..... */
41 radio[focused="true"] > .radio-label-box {
42 border: 1px dotted #008484;
45 /* ..... disabled state ..... */
47 radio[disabled="true"] > .radio-check-box1 {
48 background-color: #000000;
49 border: 1px solid #8050B0;
52 radio[disabled="true"] {
56 /* ::::: checkmark image ::::: */
60 border: 1px solid #FF9F00;
64 background-color: #000000;
72 list-style-image: none;
75 radio:not([disabled="true"]):hover > .radio-check-box1,
76 radio:not([disabled="true"]):hover:active > .radio-check-box1 {
77 border: 1px solid #FFCF00;
80 radio:not([disabled="true"]):hover > .radio-label-box,
81 radio:not([disabled="true"]):hover:active > .radio-label-box {
85 /* ..... selected state ..... */
87 radio[selected="true"] > .radio-check-box1 > .radio-check-box2 {
88 list-style-image: url("chrome://global/skin/radio/radio-check.gif");
91 radio[selected="true"]:hover > .radio-check-box1 > .radio-check-box2,
92 radio[selected="true"]:hover:active > .radio-check-box1 > .radio-check-box2{
93 list-style-image: url("chrome://global/skin/radio/radio-check-hover.gif");
96 radio[selected="true"][disabled="true"] > .radio-check-box1 > .radio-check-box2 {
97 list-style-image: url("chrome://global/skin/radio/radio-check-disabled.gif") !important