| 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: -webkit-gradient(linear, left top, left bottom, from(#fdfdfd), to(#cecece), color-stop(0.5, #f8f8f8), color-stop(0.5, #eeeeee)); |
| 11 |
background-image: linear-gradient(to bottom, #fdfdfd 0%, #f8f8f8 50%, #eeeeee 50%, #cecece 100%); |
| 12 |
font: inherit; |
| 13 |
cursor: pointer; |
| 14 |
-webkit-appearance: none; |
| 15 |
-webkit-tap-highlight-color: rgba(255, 255, 255, 0); |
| 16 |
-webkit-transform: translateY(0.45em); |
| 17 |
transform: translateY(0.45em); |
| 18 |
border-color: #9cacc0; |
| 19 |
} |
| 20 |
.mblRadioButtonChecked, |
| 21 |
.mblRadioButton:checked { |
| 22 |
background-image: -webkit-gradient(linear, left top, left bottom, from(#00a200), to(#00d300), color-stop(0.2, #00ba00), color-stop(0.2, #00ba00)); |
| 23 |
background-image: linear-gradient(to bottom, #00a200 0%, #00ba00 20%, #00ba00 20%, #00d300 100%); |
| 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: white; |
| 40 |
} |
| 41 |
.mblRadioButtonChecked.mblRadioButtonSelected, |
| 42 |
.mblRadioButton:checked.mblRadioButtonSelected { |
| 43 |
background-image: -webkit-gradient(linear, left top, left bottom, from(#306ea1), to(#266093), color-stop(0.06, #4090d3), color-stop(0.5, #306ea1)); |
| 44 |
background-image: linear-gradient(to bottom, #306ea1 0%, #4090d3 6%, #306ea1 50%, #266093 100%); |
| 45 |
} |
| 46 |
.mblRadioButtonChecked.mblRadioButtonSelected::after, |
| 47 |
.mblRadioButton:checked.mblRadioButtonSelected::after { |
| 48 |
border-color: white; |
| 49 |
} |