| 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 |
background-image: none; |
| 11 |
background-color: rgba(0, 0, 0, 0); |
| 12 |
border-style: none; |
| 13 |
font: inherit; |
| 14 |
cursor: pointer; |
| 15 |
-webkit-appearance: none; |
| 16 |
-webkit-tap-highlight-color: rgba(255, 255, 255, 0); |
| 17 |
-webkit-transform: translateY(0.45em); |
| 18 |
transform: translateY(0.45em); |
| 19 |
border-color: #5c5c5c; |
| 20 |
} |
| 21 |
.mblRadioButtonChecked, |
| 22 |
.mblRadioButton:checked { |
| 23 |
background-color: transparent; |
| 24 |
} |
| 25 |
.mblRadioButtonChecked::after, |
| 26 |
.mblRadioButton:checked::after { |
| 27 |
position: absolute; |
| 28 |
content: ""; |
| 29 |
width: 0.3em; |
| 30 |
height: 0.6em; |
| 31 |
top: 0; |
| 32 |
left: 0.25em; |
| 33 |
border-width: 0.15em; |
| 34 |
border-style: none solid solid none; |
| 35 |
-webkit-transform: rotate(45deg); |
| 36 |
transform: rotate(45deg); |
| 37 |
-webkit-transform-origin: 50% 50%; |
| 38 |
transform-origin: 50% 50%; |
| 39 |
border-color: #007aff; |
| 40 |
} |
| 41 |
.mblRadioButtonChecked.mblRadioButtonSelected, |
| 42 |
.mblRadioButton:checked.mblRadioButtonSelected { |
| 43 |
background-image: none; |
| 44 |
} |
| 45 |
.mblRadioButtonChecked.mblRadioButtonSelected::after, |
| 46 |
.mblRadioButton:checked.mblRadioButtonSelected::after { |
| 47 |
border-color: #007aff; |
| 48 |
} |
| 49 |
.mblRadioButton { |
| 50 |
border-style: solid; |
| 51 |
border-width: 1px; |
| 52 |
border-radius: 999px; |
| 53 |
background-image: none; |
| 54 |
background-color: transparent; |
| 55 |
-webkit-tap-highlight-color: none; |
| 56 |
border-color: #5c5c5c; |
| 57 |
} |
| 58 |
.mblRadioButtonChecked, |
| 59 |
.mblRadioButton:checked { |
| 60 |
background-image: none; |
| 61 |
} |
| 62 |
.mblRadioButtonChecked::after, |
| 63 |
.mblRadioButton:checked::after { |
| 64 |
position: absolute; |
| 65 |
content: ""; |
| 66 |
width: 0.65em; |
| 67 |
height: 0.65em; |
| 68 |
top: 0.17em; |
| 69 |
left: 0.17em; |
| 70 |
border-style: none; |
| 71 |
background-color: #007aff; |
| 72 |
border-radius: 1em; |
| 73 |
border-color: #007aff; |
| 74 |
} |
| 75 |
.mblRadioButtonChecked.mblRadioButtonSelected, |
| 76 |
.mblRadioButton:checked.mblRadioButtonSelected { |
| 77 |
background-image: none; |
| 78 |
box-shadow: 0px 0px 1px 4px #1f5366 inset; |
| 79 |
} |
| 80 |
.mblRadioButtonChecked.mblRadioButtonSelected::after, |
| 81 |
.mblRadioButton:checked.mblRadioButtonSelected::after { |
| 82 |
border-color: #007aff; |
| 83 |
} |