|
|
|
@ -2,13 +2,15 @@
|
|
|
|
|
|
|
|
|
|
.bi-radio { |
|
|
|
|
& .radio-content, &.radio-content { |
|
|
|
|
.border-radius(8px); |
|
|
|
|
.border-radius(50%); |
|
|
|
|
border: 1px solid @color-bi-border-radio; |
|
|
|
|
.box-sizing(border-box); |
|
|
|
|
.transition(all .1s); |
|
|
|
|
|
|
|
|
|
&:after { |
|
|
|
|
content: ""; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&.hover, &:hover { |
|
|
|
|
border-color: @color-bi-border-hover-active-radio; |
|
|
|
|
} |
|
|
|
@ -18,16 +20,15 @@
|
|
|
|
|
border-color: @color-bi-border-hover-active-radio; |
|
|
|
|
background-color: @color-bi-background-active-radio; |
|
|
|
|
&:after { |
|
|
|
|
width: 8px; |
|
|
|
|
height: 8px; |
|
|
|
|
display: table; |
|
|
|
|
width: 50%; |
|
|
|
|
height: 50%; |
|
|
|
|
position: absolute; |
|
|
|
|
top: 50%; |
|
|
|
|
left: 50%; |
|
|
|
|
.border-radius(4px); |
|
|
|
|
.border-radius(50%); |
|
|
|
|
background-color: @color-bi-background-active-radio-content; |
|
|
|
|
.transform(translate(-50%, -50%)); |
|
|
|
|
@transition: all .1s cubic-bezier(.71,-.46,.88,.6),opacity .1s; |
|
|
|
|
@transition: all .1s cubic-bezier(.71, -.46, .88, .6), opacity .1s; |
|
|
|
|
.transition(@transition); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|