first part of syncing LCARStrek with Firefox 52 browser windows theme changes
[themes.git] / EarlyBlue / global / radio.css
... / ...
CommitLineData
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/. */
4
5/* ===== radio.css ===================================================
6 == Styles used by the XUL radio element.
7 ======================================================================= */
8
9@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
10
11/* ::::: radio ::::: */
12
13radio {
14 margin: 1px 2px;
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;
28}
29
30.radio-label-box {
31 border: 1px solid transparent;
32 -moz-box-align: center;
33}
34
35.radio-icon[src] {
36 margin-inline-end: 2px;
37}
38
39.radio-label {
40 margin: 0px !important;
41}
42
43/* ..... focused state ..... */
44
45radio[focused="true"] > .radio-label-center-box > .radio-label-box {
46 border: 1px dotted #9999CC;
47}
48
49/* ..... disabled state ..... */
50
51radio[disabled="true"] > .radio-spacer-box > .radio-check-box1 {
52 background-color: #CCD0DD;
53}
54
55radio[disabled="true"] {
56 color: #999999;
57}
58
59/* ::::: checkmark image ::::: */
60
61.radio-check-box1 {
62 border: 2px outset #CCD0DD;
63 border-radius: 50%;
64 width: 12px;
65 height: 12px;
66 background-color: #FFFFFF;
67 /* background-color: transparent; */
68}
69
70.radio-check-box2 {
71 border-radius: 50%;
72 padding: 1px;
73 width: 4px;
74 height: 4px;
75 list-style-image: none;
76}
77
78radio:hover:active > .radio-spacer-box > .radio-check-box1 {
79 border: 2px inset #CCD0DD;
80}
81
82radio[disabled="true"]:hover:active > .radio-spacer-box > .radio-check-box1 {
83 border: 2px outset #CCD0DD;
84}
85
86/* ..... selected state ..... */
87
88radio[selected="true"] > .radio-spacer-box > .radio-check-box1 > .radio-check-box2 {
89 list-style-image: url("chrome://global/skin/radio/radio-check.gif");
90}
91
92radio[selected="true"][disabled="true"] > .radio-spacer-box > .radio-check-box1 > .radio-check-box2 {
93 list-style-image: url("chrome://global/skin/radio/radio-check-disabled.gif") !important
94}