| 1 |
|
| 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 |
font: inherit; |
| 11 |
cursor: pointer; |
| 12 |
-webkit-appearance: none; |
| 13 |
-webkit-tap-highlight-color: rgba(255, 255, 255, 0); |
| 14 |
-webkit-transform: translateY(0.45em); |
| 15 |
transform: translateY(0.45em); |
| 16 |
opacity: 0; |
| 17 |
margin: 0; |
| 18 |
margin-top: 8px; |
| 19 |
margin-bottom: 8px; |
| 20 |
transform: none; |
| 21 |
z-index: 1; |
| 22 |
} |
| 23 |
.mblRadioButtonChecked::after, |
| 24 |
.mblRadioButton:checked::after { |
| 25 |
position: absolute; |
| 26 |
content: ""; |
| 27 |
width: 0.3em; |
| 28 |
height: 0.6em; |
| 29 |
top: 0; |
| 30 |
left: 0.25em; |
| 31 |
border-width: 0.15em; |
| 32 |
border-style: none solid solid none; |
| 33 |
-webkit-transform: rotate(45deg); |
| 34 |
transform: rotate(45deg); |
| 35 |
-webkit-transform-origin: 50% 50%; |
| 36 |
transform-origin: 50% 50%; |
| 37 |
border-color: black; |
| 38 |
} |
| 39 |
.mblRadioButtonChecked.mblRadioButtonSelected::after, |
| 40 |
.mblRadioButton:checked.mblRadioButtonSelected::after { |
| 41 |
border-color: white; |
| 42 |
} |
| 43 |
.mblRadioButton + .mblCheckableInputDecorator:before { |
| 44 |
content: ''; |
| 45 |
width: 20px; |
| 46 |
height: 20px; |
| 47 |
position: absolute; |
| 48 |
border: 2px solid #ffffff; |
| 49 |
background-color: transparent; |
| 50 |
margin-left: -25px; |
| 51 |
z-index: 0; |
| 52 |
border-radius: 15px; |
| 53 |
margin-top: 8px; |
| 54 |
margin-bottom: 8px; |
| 55 |
} |
| 56 |
.mblRadioButton:not([disabled]):active + .mblCheckableInputDecorator:before, |
| 57 |
.mblRadioButton:not([disabled]) + .mblCheckableInputDecorator:active:before { |
| 58 |
background-color: Highlight; |
| 59 |
} |
| 60 |
.mblRadioButtonChecked + .mblCheckableInputDecorator:before { |
| 61 |
background-image: url("images/dark/radiobtn.png"); |
| 62 |
background-position: 50% 50%; |
| 63 |
background-size: 13px 13px; |
| 64 |
background-repeat: no-repeat; |
| 65 |
} |
| 66 |
.mblRadioButton[disabled] + .mblCheckableInputDecorator:before { |
| 67 |
border-color: #808080; |
| 68 |
} |
| 69 |
.mblRadioButton[disabled].mblRadioButtonChecked + .mblCheckableInputDecorator:before { |
| 70 |
background-image: url("images/radiobtn-disabled.png"); |
| 71 |
background-position: 50% 50%; |
| 72 |
background-size: 13px 13px; |
| 73 |
background-repeat: no-repeat; |
| 74 |
} |