| 1 |
@import "variables.less"; |
| 2 |
@import "../common/RadioButton.less"; |
| 3 |
.mblRadioButton { |
| 4 |
border-style: solid; |
| 5 |
border-width: 1px; |
| 6 |
border-radius: 999px; |
| 7 |
background-image: none; |
| 8 |
background-color: transparent; |
| 9 |
-webkit-tap-highlight-color: none; |
| 10 |
.mblRadioButton-styles; |
| 11 |
} |
| 12 |
.mblRadioButtonChecked, |
| 13 |
.mblRadioButton:checked { |
| 14 |
background-image: none; |
| 15 |
&::after { |
| 16 |
position: absolute; |
| 17 |
content: ""; |
| 18 |
width: 0.65em; |
| 19 |
height: 0.65em; |
| 20 |
top: 0.17em; |
| 21 |
left: 0.17em; |
| 22 |
|
| 23 |
border-style: none; |
| 24 |
background-color: @ios7-checkbox-tick-color; |
| 25 |
border-radius: 1em; |
| 26 |
|
| 27 |
.mblRadioButtonChecked-after-styles; |
| 28 |
} |
| 29 |
&.mblRadioButtonSelected { |
| 30 |
background-image: none; |
| 31 |
box-shadow: 0px 0px 1px 4px @ios7-checkbox-checked-color inset; |
| 32 |
&::after { |
| 33 |
.mblRadioButtonChecked-Selected-after-styles; |
| 34 |
|
| 35 |
} |
| 36 |
} |
| 37 |
} |