You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
74 lines
2.0 KiB
74 lines
2.0 KiB
/* dojox.mobile.RadioButton */ |
|
.mblRadioButton { |
|
position: relative; |
|
margin: -0.5em 3px 0.3em 4px; |
|
width: 1em; |
|
height: 1em; |
|
border-style: outset; |
|
border-width: 1px; |
|
border-radius: 0.5em; |
|
font: inherit; |
|
cursor: pointer; |
|
-webkit-appearance: none; |
|
-webkit-tap-highlight-color: rgba(255, 255, 255, 0); |
|
-webkit-transform: translateY(0.45em); |
|
transform: translateY(0.45em); |
|
opacity: 0; |
|
margin: 0; |
|
margin-top: 8px; |
|
margin-bottom: 8px; |
|
transform: none; |
|
z-index: 1; |
|
} |
|
.mblRadioButtonChecked::after, |
|
.mblRadioButton:checked::after { |
|
position: absolute; |
|
content: ""; |
|
width: 0.3em; |
|
height: 0.6em; |
|
top: 0; |
|
left: 0.25em; |
|
border-width: 0.15em; |
|
border-style: none solid solid none; |
|
-webkit-transform: rotate(45deg); |
|
transform: rotate(45deg); |
|
-webkit-transform-origin: 50% 50%; |
|
transform-origin: 50% 50%; |
|
border-color: black; |
|
} |
|
.mblRadioButtonChecked.mblRadioButtonSelected::after, |
|
.mblRadioButton:checked.mblRadioButtonSelected::after { |
|
border-color: white; |
|
} |
|
.mblRadioButton + .mblCheckableInputDecorator:before { |
|
content: ''; |
|
width: 20px; |
|
height: 20px; |
|
position: absolute; |
|
border: 2px solid #ffffff; |
|
background-color: transparent; |
|
margin-left: -25px; |
|
z-index: 0; |
|
border-radius: 15px; |
|
margin-top: 8px; |
|
margin-bottom: 8px; |
|
} |
|
.mblRadioButton:not([disabled]):active + .mblCheckableInputDecorator:before, |
|
.mblRadioButton:not([disabled]) + .mblCheckableInputDecorator:active:before { |
|
background-color: Highlight; |
|
} |
|
.mblRadioButtonChecked + .mblCheckableInputDecorator:before { |
|
background-image: url("images/dark/radiobtn.png"); |
|
background-position: 50% 50%; |
|
background-size: 13px 13px; |
|
background-repeat: no-repeat; |
|
} |
|
.mblRadioButton[disabled] + .mblCheckableInputDecorator:before { |
|
border-color: #808080; |
|
} |
|
.mblRadioButton[disabled].mblRadioButtonChecked + .mblCheckableInputDecorator:before { |
|
background-image: url("images/radiobtn-disabled.png"); |
|
background-position: 50% 50%; |
|
background-size: 13px 13px; |
|
background-repeat: no-repeat; |
|
}
|
|
|