File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,8 +31,6 @@ export default function ComplexCheckbox(props) {
3131 [ `${ classSelector } -overflow-ellipsis` ] : textOverflowEllipsis ,
3232 [ `${ classSelector } -card` ] : type === 'card' ,
3333 [ `${ classSelector } -card-disabled` ] : type === 'card' && props . disabled ,
34- [ `${ classSelector } -card-checked` ] :
35- type === 'card' && ( props . checked || props . defaultChecked ) ,
3634 } ) }
3735 { ...otherProps }
3836 >
Original file line number Diff line number Diff line change 3232 min-width : 120px ;
3333 & :hover {
3434 // background: @gray-2;
35- border : 1px solid #496bf5 ;
35+ border : 1px solid @blue-4 ;
3636 }
37- &-checked {
38- background-color : #f5f7ff ;
39- border : 1px solid @color-blue5 ;
37+ & . @{prefix} -checkbox -checked {
38+ background-color : @blue-1 ;
39+ border : 1px solid @blue-4 ;
4040 & :hover {
41- background : #f5f8ff ;
41+ background : @blue-1 ;
4242 }
4343 }
4444 &-disabled {
4545 background : #fff ;
46- & .@{complex-checkbox- prefix-cls} -card -checked {
46+ & .@{prefix} -checkbox -checked {
4747 background : #f5f5f5 !important ;
4848 border : 1px solid #e8e8e8 ;
4949 }
Original file line number Diff line number Diff line change 3535
3636 & :hover {
3737 // background: @gray-2;
38- border : 1px solid #496bf5 ;
38+ border : 1px solid @blue-4 ;
3939 }
4040
4141 &-checked {
42- background-color : #f5f8ff ;
43- border : 1px solid @color-blue5 ;
42+ background-color : @blue-1 ;
43+ border : 1px solid @blue-4 ;
4444
4545 & :hover {
46- background : #f5f8ff ;
46+ background : @blue-1 ;
4747 }
4848 }
4949
You can’t perform that action at this time.
0 commit comments