bump maxversions
[themes.git] / EarlyBlue / global / radio.css
CommitLineData
9099c61d
RK
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/. */
128000f4 4
74d14f90 5/* ===== radio.css ===================================================
6 == Styles used by the XUL radio element.
7 ======================================================================= */
8
e181d49e
RK
9@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
10
74d14f90 11/* ::::: radio ::::: */
12
13radio {
d36c7ec4 14 margin: 1px 2px;
76983f4c 15 border-left: 1px transparent;
16 border-right: 1px transparent;
17}
18
19.radio-spacer-box {
20 -moz-box-align: center;
21 border-right: 4px solid transparent;
22 border-top: 1px;
23 border-bottom: 1px;
24}
25
26.radio-label-center-box {
27 -moz-box-align: center;
74d14f90 28}
29
30.radio-label-box {
74d14f90 31 border: 1px solid transparent;
55509a91 32 -moz-box-align: center;
74d14f90 33}
34
76983f4c 35.radio-icon[src] {
e181d49e 36 -moz-margin-end: 2px;
74d14f90 37}
38
39.radio-label {
40 margin: 0px !important;
41}
42
43/* ..... focused state ..... */
44
76983f4c 45radio[focused="true"] > .radio-label-center-box > .radio-label-box {
74d14f90 46 border: 1px dotted #9999CC;
47}
48
49/* ..... disabled state ..... */
50
76983f4c 51radio[disabled="true"] > .radio-spacer-box > .radio-check-box1 {
e181d49e
RK
52 background-color: #CCD0DD;
53}
54
55radio[disabled="true"] {
74d14f90 56 color: #999999;
57}
76983f4c 58
74d14f90 59/* ::::: checkmark image ::::: */
60
61.radio-check-box1 {
74d14f90 62 border: 2px outset #CCD0DD;
569543b3 63 border-radius: 50%;
74d14f90 64 width: 12px;
65 height: 12px;
e181d49e
RK
66 background-color: #FFFFFF;
67 /* background-color: transparent; */
74d14f90 68}
69
70.radio-check-box2 {
569543b3 71 border-radius: 50%;
74d14f90 72 padding: 1px;
73 width: 4px;
74 height: 4px;
75 list-style-image: none;
76983f4c 76}
74d14f90 77
30ca92d0 78radio:hover:active > .radio-spacer-box > .radio-check-box1 {
74d14f90 79 border: 2px inset #CCD0DD;
80}
81
76983f4c 82radio[disabled="true"]:hover:active > .radio-spacer-box > .radio-check-box1 {
74d14f90 83 border: 2px outset #CCD0DD;
84}
85
86/* ..... selected state ..... */
87
76983f4c 88radio[selected="true"] > .radio-spacer-box > .radio-check-box1 > .radio-check-box2 {
74d14f90 89 list-style-image: url("chrome://global/skin/radio/radio-check.gif");
90}
76983f4c 91
92radio[selected="true"][disabled="true"] > .radio-spacer-box > .radio-check-box1 > .radio-check-box2 {
74d14f90 93 list-style-image: url("chrome://global/skin/radio/radio-check-disabled.gif") !important
94}