File tree Expand file tree Collapse file tree
common/stylus/theme/components
components/checkbox-single
common/stylus/theme/components
components/checkbox-single Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,7 +5,10 @@ $checkbox-label-padding-bottom := 10px
55$checkbox-label-padding-left := 0px
66$checkbox-label-padding-right := 0px
77
8+ $checkbox-ui-round-bgimg := url ('https://dpubstatic.udache.com/static/dpubimg/WJ4o6TwcmHnPBgq8xGecr_right.png' )
9+ $checkbox-ui-square-bgimg := url ('https://dpubstatic.udache.com/static/dpubimg/uS2n9DlRRxLZdND56hyPZ_right-square.png' ) // 方形复选框选中图形(对勾)
810$checkbox-ui-position-margin-top := 0px
911$checkbox-ui-position-margin-bottom := 0px
1012$checkbox-ui-position-margin-left := 10px
1113$checkbox-ui-position-margin-right := 0px
14+ $checkbox-ui-round-border-color_checked := $var (color-primary )
Original file line number Diff line number Diff line change 4545 border-width 0
4646.cube-checkbox-inner-ui-square_checked
4747 border-radius $var (checkbox-ui-square-radius )
48- background-image : url (https ://dpubstatic .udache .com /static /dpubimg /uS2n9DlRRxLZdND56hyPZ_right-square .png )
48+ background-color $var (checkbox-ui-square-bgc_checked )
49+ background-image $var (checkbox-ui-square-bgimg )
4950 background-size : 100% 100%
5051 background-repeat : no-repeat
5152.cube-checkbox-inner-ui-round_checked
5253 border-width 2px
53- border-color $var (color-primary )
54+ border-color $var (checkbox-ui-round-border-color_checked )
5455 border-radius $var (checkbox-ui-round-radius )
55- background-image : url (https ://dpubstatic .udache .com /static /dpubimg /WJ4o6TwcmHnPBgq8xGecr_right .png )
56+ background-color $var (checkbox-ui-round-bgc_checked )
57+ background-image $var (checkbox-ui-round-bgimg )
5658 background-size : 100% 100%
5759 background-repeat : no-repeat
5860.cube-checkbox-ui_disabled
Original file line number Diff line number Diff line change 11{
22 "name" : " @mpxjs/mpx-cube-ui" ,
3- "version" : " 1.4.14 " ,
3+ "version" : " 1.4.15-rn.1 " ,
44 "description" : " mpx components library" ,
55 "author" : " xiaolei <xiaolei@didichuxing.com>" ,
66 "publishConfig" : {
Original file line number Diff line number Diff line change @@ -5,7 +5,10 @@ $checkbox-label-padding-bottom := 10px
55$checkbox-label-padding-left := 0px
66$checkbox-label-padding-right := 0px
77
8+ $checkbox-ui-round-bgimg := url ('https://dpubstatic.udache.com/static/dpubimg/WJ4o6TwcmHnPBgq8xGecr_right.png' )
9+ $checkbox-ui-square-bgimg := url ('https://dpubstatic.udache.com/static/dpubimg/uS2n9DlRRxLZdND56hyPZ_right-square.png' ) // 方形复选框选中图形(对勾)
810$checkbox-ui-position-margin-top := 0px
911$checkbox-ui-position-margin-bottom := 0px
1012$checkbox-ui-position-margin-left := 10px
1113$checkbox-ui-position-margin-right := 0px
14+ $checkbox-ui-round-border-color_checked := $var (color-primary )
Original file line number Diff line number Diff line change 4545 border-width 0
4646.cube-checkbox-inner-ui-square_checked
4747 border-radius $var (checkbox-ui-square-radius )
48- background-image : url (https ://dpubstatic .udache .com /static /dpubimg /uS2n9DlRRxLZdND56hyPZ_right-square .png )
48+ background-color $var (checkbox-ui-square-bgc_checked )
49+ background-image $var (checkbox-ui-square-bgimg )
4950 background-size : 100% 100%
5051 background-repeat : no-repeat
5152.cube-checkbox-inner-ui-round_checked
5253 border-width 2px
53- border-color $var (color-primary )
54+ border-color $var (checkbox-ui-round-border-color_checked )
5455 border-radius $var (checkbox-ui-round-radius )
55- background-image : url (https ://dpubstatic .udache .com /static /dpubimg /WJ4o6TwcmHnPBgq8xGecr_right .png )
56+ background-color $var (checkbox-ui-round-bgc_checked )
57+ background-image $var (checkbox-ui-round-bgimg )
5658 background-size : 100% 100%
5759 background-repeat : no-repeat
5860.cube-checkbox-ui_disabled
You can’t perform that action at this time.
0 commit comments