mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 15:07:13 +08:00
rearrage use of radio classes
This commit is contained in:
@ -3,21 +3,21 @@
|
||||
// -------------------------------
|
||||
|
||||
/* hide a radio button's icon by default */
|
||||
.radio-content {
|
||||
.radio-item {
|
||||
[class^="icon-"],
|
||||
[class*=" icon-"] {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.radio-item input {
|
||||
.radio-list input[type="radio"] {
|
||||
/* hide any radio button inputs elements (the ugly circles) */
|
||||
display: none;
|
||||
|
||||
/* when this radio-item is checked */
|
||||
&:checked + .radio-content {
|
||||
&:checked + .radio-item {
|
||||
|
||||
/* show the radio-content icon when checked */
|
||||
/* show the radio-item icon when checked */
|
||||
[class^="icon-"],
|
||||
[class*=" icon-"] {
|
||||
position: absolute;
|
||||
|
||||
Reference in New Issue
Block a user