Debian Codegraph @

dojox/mobile/themes/common/RadioButton.less

raw
1 /* dojox.mobile.RadioButton */
2 .mblRadioButton {
3 position: relative;
4 margin: -0.5em 3px 0.3em 4px;
5 width: 1em;
6 height: 1em;
7 border-style: outset;
8 border-width: 1px;
9 border-radius: 0.5em;
10 .mbl-button-background-image();
11 font: inherit;
12 cursor: pointer;
13 .appearance(none);
14 .tap-highlight-color(rgba(255,255,255,0));
15 .transform(translateY(0.45em));
16 .mblRadioButton-styles;
17 }
18 .mblRadioButtonChecked,
19 .mblRadioButton:checked {
20 .mbl-button-checked-background-image();
21 &::after {
22 position: absolute;
23 content: "";
24 width: 0.3em;
25 height: 0.6em;
26 top: 0;
27 left: 0.25em;
28 border-width: 0.15em;
29 border-style: none solid solid none;
30 .transform(rotate(45deg));
31 .transform-origin(50% 50%);
32 .mblRadioButtonChecked-after-styles;
33 }
34 &.mblRadioButtonSelected {
35 .mbl-blue-button-selected-background-image();
36 &::after {
37 .mblRadioButtonChecked-Selected-after-styles;
38 }
39 }
40 }