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.
49 lines
1.7 KiB
49 lines
1.7 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; |
|
background-image: -webkit-gradient(linear, left top, left bottom, from(#f7fbf7), to(#cecfd6), color-stop(0.5, #ced3ce)); |
|
background-image: linear-gradient(to bottom, #f7fbf7 0%, #ced3ce 50%, #cecfd6 100%); |
|
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); |
|
border-color: #9cacc0; |
|
} |
|
.mblRadioButtonChecked, |
|
.mblRadioButton:checked { |
|
background-image: -webkit-gradient(linear, left top, left bottom, from(#f7fbf7), to(#cecfd6), color-stop(0.5, #ced3ce)); |
|
background-image: linear-gradient(to bottom, #f7fbf7 0%, #ced3ce 50%, #cecfd6 100%); |
|
} |
|
.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: #0851ad; |
|
} |
|
.mblRadioButtonChecked.mblRadioButtonSelected, |
|
.mblRadioButton:checked.mblRadioButtonSelected { |
|
background-image: -webkit-gradient(linear, left top, left bottom, from(#088eef), to(#0851ad), color-stop(0.5, #0869c6)); |
|
background-image: linear-gradient(to bottom, #088eef 0%, #0869c6 50%, #0851ad 100%); |
|
} |
|
.mblRadioButtonChecked.mblRadioButtonSelected::after, |
|
.mblRadioButton:checked.mblRadioButtonSelected::after { |
|
border-color: white; |
|
}
|
|
|